2025-09-09 07:04:42,144 - INFO - Domain Default found not creating 2025-09-09 07:04:42,289 - INFO - Project ctest-TestBasicPolicy-47115783 not found, creating it 2025-09-09 07:04:42,743 - INFO - Created Project:ctest-TestBasicPolicy-47115783, ID : c676c38c-0788-43f6-b3d6-4363684d245e 2025-09-09 07:04:44,308 - INFO - ================================================================================ 2025-09-09 07:04:44,308 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-09 07:04:44,308 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-09-09 07:04:44,568 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-09 07:04:44,568 - INFO - Initial checks done. Running the testcase now 2025-09-09 07:04:44,568 - INFO - 2025-09-09 07:04:45,145 - DEBUG - Response for create_network : {'network': {'id': 'f3f1b83a-796d-4061-834d-ec697a43b320', 'name': 'ctest-vn-05931792', 'tenant_id': 'c676c38c078843f6b3d64363684d245e', 'project_id': 'c676c38c078843f6b3d64363684d245e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47115783', 'ctest-vn-05931792'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 07:04:45,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '60c9f73c-e7d7-48ec-b910-aad02aa843d5', 'name': '', 'tenant_id': 'c676c38c078843f6b3d64363684d245e', 'network_id': 'f3f1b83a-796d-4061-834d-ec697a43b320', 'ip_version': 4, 'cidr': '89.60.247.64/26', 'allocation_pools': [{'start': '89.60.247.66', 'end': '89.60.247.126'}], 'gateway_ip': '89.60.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.60.247.66', 'tags': [], 'project_id': 'c676c38c078843f6b3d64363684d245e'}} 2025-09-09 07:04:45,380 - INFO - Created VN ctest-vn-05931792 2025-09-09 07:04:45,434 - DEBUG - VN ctest-vn-05931792 UUID is f3f1b83a-796d-4061-834d-ec697a43b320 2025-09-09 07:04:45,726 - DEBUG - Response for create_network : {'network': {'id': '96b447ee-0add-4de9-8d51-2daa210db9ef', 'name': 'ctest-vn-32889197', 'tenant_id': 'c676c38c078843f6b3d64363684d245e', 'project_id': 'c676c38c078843f6b3d64363684d245e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47115783', 'ctest-vn-32889197'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 07:04:45,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce0e66d4-aaf8-44b2-8534-ad20631cd191', 'name': '', 'tenant_id': 'c676c38c078843f6b3d64363684d245e', 'network_id': '96b447ee-0add-4de9-8d51-2daa210db9ef', 'ip_version': 4, 'cidr': '8.81.212.0/26', 'allocation_pools': [{'start': '8.81.212.2', 'end': '8.81.212.62'}], 'gateway_ip': '8.81.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.81.212.2', 'tags': [], 'project_id': 'c676c38c078843f6b3d64363684d245e'}} 2025-09-09 07:04:45,968 - INFO - Created VN ctest-vn-32889197 2025-09-09 07:04:46,018 - DEBUG - VN ctest-vn-32889197 UUID is 96b447ee-0add-4de9-8d51-2daa210db9ef 2025-09-09 07:04:46,133 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-05931792, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-32889197, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-09-09 07:04:46,435 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3f1b83a-796d-4061-834d-ec697a43b320', 'name': 'ctest-vn-05931792', 'tenant_id': 'c676c38c078843f6b3d64363684d245e', 'project_id': 'c676c38c078843f6b3d64363684d245e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60c9f73c-e7d7-48ec-b910-aad02aa843d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47115783', 'ctest-vn-05931792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47115783', 'ctest-policy-allow-all-93013417']], 'subnet_ipam': [{'subnet_cidr': '89.60.247.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-09 07:04:46,660 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96b447ee-0add-4de9-8d51-2daa210db9ef', 'name': 'ctest-vn-32889197', 'tenant_id': 'c676c38c078843f6b3d64363684d245e', 'project_id': 'c676c38c078843f6b3d64363684d245e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce0e66d4-aaf8-44b2-8534-ad20631cd191'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47115783', 'ctest-vn-32889197'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47115783', 'ctest-policy-allow-all-93013417']], 'subnet_ipam': [{'subnet_cidr': '8.81.212.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-09 07:04:46,822 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-09 07:04:47,159 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-09 07:04:47,189 - DEBUG - Requesting: http://10.0.0.48:8082/domain/466173c5-d85f-4e10-a140-912a3b737343 2025-09-09 07:04:47,202 - DEBUG - Requesting: http://10.0.0.48:8082/project/c676c38c-0788-43f6-b3d6-4363684d245e 2025-09-09 07:04:47,276 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f3f1b83a-796d-4061-834d-ec697a43b320 2025-09-09 07:04:47,288 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f3f1b83a-796d-4061-834d-ec697a43b320 2025-09-09 07:04:47,298 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a3299822-4672-4819-ae2d-eb27df6c9aea 2025-09-09 07:04:47,306 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a3299822-4672-4819-ae2d-eb27df6c9aea 2025-09-09 07:04:47,314 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/d4119f8c-7e16-4c14-ace1-8e569f8391b4 2025-09-09 07:04:47,320 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-09 07:04:47,320 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f3f1b83a-796d-4061-834d-ec697a43b320 2025-09-09 07:04:47,329 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a3299822-4672-4819-ae2d-eb27df6c9aea 2025-09-09 07:04:47,343 - INFO - Verified VN network id 11 for VN f3f1b83a-796d-4061-834d-ec697a43b320 2025-09-09 07:04:47,343 - INFO - Verifications in API Server for VN ctest-vn-05931792 passed 2025-09-09 07:04:47,344 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f3f1b83a-796d-4061-834d-ec697a43b320 2025-09-09 07:04:47,352 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a3299822-4672-4819-ae2d-eb27df6c9aea 2025-09-09 07:04:47,359 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a3299822-4672-4819-ae2d-eb27df6c9aea 2025-09-09 07:04:47,366 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/d4119f8c-7e16-4c14-ace1-8e569f8391b4 2025-09-09 07:04:47,380 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-05931792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47115783', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17578033381888573537', 'uuid-lslong': '9461478329942258464'}, 'enable': 'true', 'created': '2025-09-09T07:04:45', 'last-modified': '2025-09-09T07:04:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968997'} 2025-09-09 07:04:47,387 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-09 07:04:47,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05931792 passed 2025-09-09 07:04:47,387 - DEBUG - ====Verifying policy data for ctest-vn-05931792 in API_Server ====== 2025-09-09 07:04:47,387 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-09 07:04:47,393 - DEBUG - Requesting: http://10.0.0.48:8082/domain/466173c5-d85f-4e10-a140-912a3b737343 2025-09-09 07:04:47,407 - DEBUG - Requesting: http://10.0.0.48:8082/project/c676c38c-0788-43f6-b3d6-4363684d245e 2025-09-09 07:04:47,487 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f3f1b83a-796d-4061-834d-ec697a43b320 2025-09-09 07:04:47,498 - DEBUG - ==>Verifying data for policy with id: f70cdc5e-4bb9-4b90-8654-9529b943a4fa, fqn: ['default-domain', 'ctest-TestBasicPolicy-47115783', 'ctest-policy-allow-all-93013417'] 2025-09-09 07:04:47,498 - INFO - VN ctest-vn-05931792 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-09 07:04:47,498 - DEBUG - Verifying the vn in opserver 2025-09-09 07:04:47,498 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-05931792 virtual network link through opserver 10.0.0.48 2025-09-09 07:04:47,498 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-09 07:04:47,839 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-09 07:04:47,898 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-05931792', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-05931792?flat'} 2025-09-09 07:04:47,898 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-05931792 is found in opserver 2025-09-09 07:04:47,908 - DEBUG - Do not have enough data to verify VN in agent 2025-09-09 07:04:47,912 - DEBUG - VRF ids for VN ctest-vn-05931792: {} 2025-09-09 07:04:47,912 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-09 07:04:47,918 - DEBUG - Requesting: http://10.0.0.48:8082/domain/466173c5-d85f-4e10-a140-912a3b737343 2025-09-09 07:04:47,929 - DEBUG - Requesting: http://10.0.0.48:8082/project/c676c38c-0788-43f6-b3d6-4363684d245e 2025-09-09 07:04:48,000 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/96b447ee-0add-4de9-8d51-2daa210db9ef 2025-09-09 07:04:48,012 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/96b447ee-0add-4de9-8d51-2daa210db9ef 2025-09-09 07:04:48,021 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/753d5d2c-45b2-4d27-a2b2-ca5fa42c61eb 2025-09-09 07:04:48,029 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/753d5d2c-45b2-4d27-a2b2-ca5fa42c61eb 2025-09-09 07:04:48,035 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/fe7b52cf-b0df-467c-a4e1-550ba8b69401 2025-09-09 07:04:48,042 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-09 07:04:48,042 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/96b447ee-0add-4de9-8d51-2daa210db9ef 2025-09-09 07:04:48,050 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/753d5d2c-45b2-4d27-a2b2-ca5fa42c61eb 2025-09-09 07:04:48,062 - INFO - Verified VN network id 12 for VN 96b447ee-0add-4de9-8d51-2daa210db9ef 2025-09-09 07:04:48,062 - INFO - Verifications in API Server for VN ctest-vn-32889197 passed 2025-09-09 07:04:48,062 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/96b447ee-0add-4de9-8d51-2daa210db9ef 2025-09-09 07:04:48,071 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/753d5d2c-45b2-4d27-a2b2-ca5fa42c61eb 2025-09-09 07:04:48,077 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/753d5d2c-45b2-4d27-a2b2-ca5fa42c61eb 2025-09-09 07:04:48,090 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/fe7b52cf-b0df-467c-a4e1-550ba8b69401 2025-09-09 07:04:48,103 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-32889197', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47115783', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10859383689207172585', 'uuid-lslong': '10182970441183640047'}, 'enable': 'true', 'created': '2025-09-09T07:04:45', 'last-modified': '2025-09-09T07:04:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467309'} 2025-09-09 07:04:48,111 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-09 07:04:48,111 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32889197 passed 2025-09-09 07:04:48,111 - DEBUG - ====Verifying policy data for ctest-vn-32889197 in API_Server ====== 2025-09-09 07:04:48,111 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-09 07:04:48,117 - DEBUG - Requesting: http://10.0.0.48:8082/domain/466173c5-d85f-4e10-a140-912a3b737343 2025-09-09 07:04:48,129 - DEBUG - Requesting: http://10.0.0.48:8082/project/c676c38c-0788-43f6-b3d6-4363684d245e 2025-09-09 07:04:48,205 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/96b447ee-0add-4de9-8d51-2daa210db9ef 2025-09-09 07:04:48,216 - DEBUG - ==>Verifying data for policy with id: f70cdc5e-4bb9-4b90-8654-9529b943a4fa, fqn: ['default-domain', 'ctest-TestBasicPolicy-47115783', 'ctest-policy-allow-all-93013417'] 2025-09-09 07:04:48,216 - INFO - VN ctest-vn-32889197 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-09 07:04:48,216 - DEBUG - Verifying the vn in opserver 2025-09-09 07:04:48,216 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-32889197 virtual network link through opserver 10.0.0.48 2025-09-09 07:04:48,216 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-09 07:04:48,226 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-32889197', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-32889197?flat'} 2025-09-09 07:04:48,226 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-32889197 is found in opserver 2025-09-09 07:04:48,238 - DEBUG - Do not have enough data to verify VN in agent 2025-09-09 07:04:48,242 - DEBUG - VRF ids for VN ctest-vn-32889197: {} 2025-09-09 07:04:48,301 - DEBUG - Services list from nova: [, , ] 2025-09-09 07:04:49,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4059-1) 2025-09-09 07:04:50,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4059-1) 2025-09-09 07:04:50,652 - INFO - Waiting for VM ctest-TestBasicPolicy-47115783-23486706 to be up.. 2025-09-09 07:04:50,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 07:04:55,816 - DEBUG - VM is in ACTIVE state now 2025-09-09 07:04:55,816 - INFO - VM name : ctest-TestBasicPolicy-47115783-23486706 2025-09-09 07:04:55,891 - DEBUG - VM ctest-TestBasicPolicy-47115783-23486706 ID is 25b2f9d6-3a56-49a9-9de6-56c3298f7123 2025-09-09 07:04:55,912 - DEBUG - VM ctest-TestBasicPolicy-47115783-23486706 launched on Node cn-jenkins-deploy-platform-ansible-os-4059-1 2025-09-09 07:04:55,997 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/25b2f9d6-3a56-49a9-9de6-56c3298f7123 2025-09-09 07:04:56,006 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/fb04ea3e-fe6c-44d6-b07e-7c87016547c8 2025-09-09 07:04:59,259 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-09-09 07:04:59,259 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47115783-23486706 failed! 2025-09-09 07:04:59,314 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47115783:ctest-vn-05931792 is 89.60.247.65 and allocation pool is NOT set 2025-09-09 07:05:01,375 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.431/4.909/9.387/4.478 ms') 2025-09-09 07:05:01,375 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47115783-23486706 passed 2025-09-09 07:05:01,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:05:01,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47115783-23486706, IP 89.60.247.67, Port 22 2025-09-09 07:05:01,692 - DEBUG - VM ctest-TestBasicPolicy-47115783-23486706 is ready for SSH connections 2025-09-09 07:05:01,692 - INFO - Waiting for VM ctest-TestBasicPolicy-47115783-51836680 to be up.. 2025-09-09 07:05:01,781 - DEBUG - VM is in ACTIVE state now 2025-09-09 07:05:01,781 - INFO - VM name : ctest-TestBasicPolicy-47115783-51836680 2025-09-09 07:05:01,873 - DEBUG - VM ctest-TestBasicPolicy-47115783-51836680 ID is 1ae6c529-38c4-49d4-9101-c724565cc1b6 2025-09-09 07:05:01,873 - DEBUG - VM ctest-TestBasicPolicy-47115783-51836680 launched on Node cn-jenkins-deploy-platform-ansible-os-4059-1 2025-09-09 07:05:01,949 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1ae6c529-38c4-49d4-9101-c724565cc1b6 2025-09-09 07:05:01,958 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3117b08c-c9af-4354-9c46-adb881151170 2025-09-09 07:05:03,209 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.567/1.989/3.411/1.422 ms') 2025-09-09 07:05:03,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47115783-51836680 passed 2025-09-09 07:05:03,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:05:03,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47115783-51836680, IP 8.81.212.3, Port 22 2025-09-09 07:05:03,433 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-09 07:05:03,510 - DEBUG - VM ctest-TestBasicPolicy-47115783-51836680 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-09 07:05:08,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:05:08,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47115783-51836680, IP 8.81.212.3, Port 22 2025-09-09 07:05:08,671 - DEBUG - VM ctest-TestBasicPolicy-47115783-51836680 is ready for SSH connections 2025-09-09 07:05:08,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:05:08,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.81.212.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 07:05:08,671 - DEBUG - ping -s 56 -c 3 -W 1 8.81.212.3 2025-09-09 07:05:12,850 - DEBUG - PING 8.81.212.3 (8.81.212.3): 56 data bytes 64 bytes from 8.81.212.3: seq=0 ttl=63 time=4.910 ms 64 bytes from 8.81.212.3: seq=1 ttl=63 time=0.987 ms 64 bytes from 8.81.212.3: seq=2 ttl=63 time=0.954 ms --- 8.81.212.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.954/2.283/4.910 ms 2025-09-09 07:05:12,851 - INFO - Ping to IP 8.81.212.3 from VM ctest-TestBasicPolicy-47115783-23486706 passed 2025-09-09 07:05:13,034 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f70cdc5e-4bb9-4b90-8654-9529b943a4fa", "href": "http://10.0.0.48:8082/network-policy/f70cdc5e-4bb9-4b90-8654-9529b943a4fa"}} 2025-09-09 07:05:13,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 07:05:13,035 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.81.212.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 07:05:13,035 - DEBUG - ping -s 56 -c 3 -W 1 8.81.212.3 2025-09-09 07:05:16,280 - DEBUG - PING 8.81.212.3 (8.81.212.3): 56 data bytes --- 8.81.212.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-09 07:05:16,280 - WARNING - Ping to IP 8.81.212.3 from VM ctest-TestBasicPolicy-47115783-23486706 failed 2025-09-09 07:05:16,280 - INFO - Deleting VM ctest-TestBasicPolicy-47115783-51836680 2025-09-09 07:05:16,358 - INFO - Deleting VM ctest-TestBasicPolicy-47115783-23486706 2025-09-09 07:05:16,749 - INFO - Deleted policy ctest-policy-allow-all-93013417 2025-09-09 07:05:16,750 - INFO - Deleting VN ctest-vn-32889197 2025-09-09 07:05:16,786 - DEBUG - VN 96b447ee-0add-4de9-8d51-2daa210db9ef still in use: Unable to complete operation on network 96b447ee-0add-4de9-8d51-2daa210db9ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1335fdc2-cf3d-4a59-b84a-9ee3ac943cb1'] 2025-09-09 07:05:16,786 - WARNING - Deleting VN ctest-vn-32889197 failed..Will retry 2025-09-09 07:05:18,887 - DEBUG - Response for deleting network () 2025-09-09 07:05:18,887 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/753d5d2c-45b2-4d27-a2b2-ca5fa42c61eb 2025-09-09 07:05:18,892 - DEBUG - Response Code: 404 2025-09-09 07:05:18,892 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-09 07:05:18,897 - DEBUG - Requesting: http://10.0.0.48:8082/domain/466173c5-d85f-4e10-a140-912a3b737343 2025-09-09 07:05:18,957 - DEBUG - Requesting: http://10.0.0.48:8082/project/c676c38c-0788-43f6-b3d6-4363684d245e 2025-09-09 07:05:19,037 - INFO - Validated that VN ctest-vn-32889197 is not found in API Server 2025-09-09 07:05:19,046 - DEBUG - VN ctest-vn-32889197 is not present in Agent 10.0.0.48 2025-09-09 07:05:19,046 - INFO - Validated that VN ctest-vn-32889197 is not in any agent 2025-09-09 07:05:19,062 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32889197 info 2025-09-09 07:05:19,062 - INFO - Deleting VN ctest-vn-05931792 2025-09-09 07:05:19,163 - DEBUG - Response for deleting network () 2025-09-09 07:05:19,163 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a3299822-4672-4819-ae2d-eb27df6c9aea 2025-09-09 07:05:19,169 - DEBUG - Response Code: 404 2025-09-09 07:05:19,169 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-09 07:05:19,174 - DEBUG - Requesting: http://10.0.0.48:8082/domain/466173c5-d85f-4e10-a140-912a3b737343 2025-09-09 07:05:19,228 - DEBUG - Requesting: http://10.0.0.48:8082/project/c676c38c-0788-43f6-b3d6-4363684d245e 2025-09-09 07:05:19,299 - INFO - Validated that VN ctest-vn-05931792 is not found in API Server 2025-09-09 07:05:19,308 - DEBUG - VN ctest-vn-05931792 is not present in Agent 10.0.0.48 2025-09-09 07:05:19,309 - INFO - Validated that VN ctest-vn-05931792 is not in any agent 2025-09-09 07:05:19,322 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05931792 info 2025-09-09 07:05:19,576 - DEBUG - No XMPP flaps were noticed during the test
2025-09-09 07:05:19,576 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-09-09 07:05:19,576 - INFO - -------------------------------------------------------------------------------- 2025-09-09 07:05:20,289 - INFO - Deleted project: ctest-TestBasicPolicy-47115783, ID : c676c38c-0788-43f6-b3d6-4363684d245e