2025-08-11 13:15:05,241 - INFO - Domain Default found not creating 2025-08-11 13:15:05,372 - INFO - Project ctest-TestBasicPolicy-61342293 not found, creating it 2025-08-11 13:15:05,821 - INFO - Created Project:ctest-TestBasicPolicy-61342293, ID : 35845bc1-6da7-4396-9c46-70d0afa87e9e 2025-08-11 13:15:07,314 - INFO - ================================================================================ 2025-08-11 13:15:07,314 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 13:15:07,314 - 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-08-11 13:15:07,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-08-11 13:15:07,577 - INFO - Initial checks done. Running the testcase now 2025-08-11 13:15:07,577 - INFO - 2025-08-11 13:15:08,171 - DEBUG - Response for create_network : {'network': {'id': 'f5d43f14-a394-47a6-abcd-b42f12c3babf', 'name': 'ctest-vn-01979535', 'tenant_id': '35845bc16da743969c4670d0afa87e9e', 'project_id': '35845bc16da743969c4670d0afa87e9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61342293', 'ctest-vn-01979535'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:15:08,360 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a046230a-8cec-46d0-b2d5-2103e6e7a12a', 'name': '', 'tenant_id': '35845bc16da743969c4670d0afa87e9e', 'network_id': 'f5d43f14-a394-47a6-abcd-b42f12c3babf', 'ip_version': 4, 'cidr': '211.56.128.192/26', 'allocation_pools': [{'start': '211.56.128.194', 'end': '211.56.128.254'}], 'gateway_ip': '211.56.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.56.128.194', 'tags': [], 'project_id': '35845bc16da743969c4670d0afa87e9e'}} 2025-08-11 13:15:08,378 - INFO - Created VN ctest-vn-01979535 2025-08-11 13:15:08,432 - DEBUG - VN ctest-vn-01979535 UUID is f5d43f14-a394-47a6-abcd-b42f12c3babf 2025-08-11 13:15:08,769 - DEBUG - Response for create_network : {'network': {'id': 'a9e77c02-9f1c-4ad7-93ef-cbe5d4550032', 'name': 'ctest-vn-31927329', 'tenant_id': '35845bc16da743969c4670d0afa87e9e', 'project_id': '35845bc16da743969c4670d0afa87e9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61342293', 'ctest-vn-31927329'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:15:08,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '154387aa-c8c3-43b1-a5ef-eaf2bc752b50', 'name': '', 'tenant_id': '35845bc16da743969c4670d0afa87e9e', 'network_id': 'a9e77c02-9f1c-4ad7-93ef-cbe5d4550032', 'ip_version': 4, 'cidr': '22.235.31.64/26', 'allocation_pools': [{'start': '22.235.31.66', 'end': '22.235.31.126'}], 'gateway_ip': '22.235.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.235.31.66', 'tags': [], 'project_id': '35845bc16da743969c4670d0afa87e9e'}} 2025-08-11 13:15:08,969 - INFO - Created VN ctest-vn-31927329 2025-08-11 13:15:09,024 - DEBUG - VN ctest-vn-31927329 UUID is a9e77c02-9f1c-4ad7-93ef-cbe5d4550032 2025-08-11 13:15:09,172 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-01979535, 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-61342293:ctest-vn-31927329, 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-08-11 13:15:09,466 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5d43f14-a394-47a6-abcd-b42f12c3babf', 'name': 'ctest-vn-01979535', 'tenant_id': '35845bc16da743969c4670d0afa87e9e', 'project_id': '35845bc16da743969c4670d0afa87e9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a046230a-8cec-46d0-b2d5-2103e6e7a12a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61342293', 'ctest-vn-01979535'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61342293', 'ctest-policy-allow-all-34075885']], 'subnet_ipam': [{'subnet_cidr': '211.56.128.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:15:09,702 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9e77c02-9f1c-4ad7-93ef-cbe5d4550032', 'name': 'ctest-vn-31927329', 'tenant_id': '35845bc16da743969c4670d0afa87e9e', 'project_id': '35845bc16da743969c4670d0afa87e9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['154387aa-c8c3-43b1-a5ef-eaf2bc752b50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61342293', 'ctest-vn-31927329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61342293', 'ctest-policy-allow-all-34075885']], 'subnet_ipam': [{'subnet_cidr': '22.235.31.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:15:09,880 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-11 13:15:10,210 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-11 13:15:10,237 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9ee603c8-0d79-48cc-97e1-16c583c1be07 2025-08-11 13:15:10,250 - DEBUG - Requesting: http://10.0.0.57:8082/project/35845bc1-6da7-4396-9c46-70d0afa87e9e 2025-08-11 13:15:10,327 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f5d43f14-a394-47a6-abcd-b42f12c3babf 2025-08-11 13:15:10,338 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f5d43f14-a394-47a6-abcd-b42f12c3babf 2025-08-11 13:15:10,347 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2076eab-91de-4f00-8bea-da7c4499fdbd 2025-08-11 13:15:10,355 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2076eab-91de-4f00-8bea-da7c4499fdbd 2025-08-11 13:15:10,361 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/ff81ee49-8cbf-4db4-9755-e48129560349 2025-08-11 13:15:10,367 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 13:15:10,367 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f5d43f14-a394-47a6-abcd-b42f12c3babf 2025-08-11 13:15:10,376 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2076eab-91de-4f00-8bea-da7c4499fdbd 2025-08-11 13:15:10,390 - INFO - Verified VN network id 12 for VN f5d43f14-a394-47a6-abcd-b42f12c3babf 2025-08-11 13:15:10,390 - INFO - Verifications in API Server for VN ctest-vn-01979535 passed 2025-08-11 13:15:10,390 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f5d43f14-a394-47a6-abcd-b42f12c3babf 2025-08-11 13:15:10,399 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2076eab-91de-4f00-8bea-da7c4499fdbd 2025-08-11 13:15:10,406 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2076eab-91de-4f00-8bea-da7c4499fdbd 2025-08-11 13:15:10,412 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/ff81ee49-8cbf-4db4-9755-e48129560349 2025-08-11 13:15:10,427 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-01979535', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61342293', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17713852592231303078', 'uuid-lslong': '12379749064982641343'}, 'enable': 'true', 'created': '2025-08-11T13:15:08', 'last-modified': '2025-08-11T13:15:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981182'} 2025-08-11 13:15:10,433 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 13:15:10,434 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01979535 passed 2025-08-11 13:15:10,434 - DEBUG - ====Verifying policy data for ctest-vn-01979535 in API_Server ====== 2025-08-11 13:15:10,434 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-11 13:15:10,439 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9ee603c8-0d79-48cc-97e1-16c583c1be07 2025-08-11 13:15:10,450 - DEBUG - Requesting: http://10.0.0.57:8082/project/35845bc1-6da7-4396-9c46-70d0afa87e9e 2025-08-11 13:15:10,520 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/f5d43f14-a394-47a6-abcd-b42f12c3babf 2025-08-11 13:15:10,530 - DEBUG - ==>Verifying data for policy with id: 177ee20b-976f-442c-95ca-1dd49f28c762, fqn: ['default-domain', 'ctest-TestBasicPolicy-61342293', 'ctest-policy-allow-all-34075885'] 2025-08-11 13:15:10,531 - INFO - VN ctest-vn-01979535 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 13:15:10,531 - DEBUG - Verifying the vn in opserver 2025-08-11 13:15:10,531 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-01979535 virtual network link through opserver 10.0.0.57 2025-08-11 13:15:10,531 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-11 13:15:10,861 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-11 13:15:10,916 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-01979535', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-01979535?flat'} 2025-08-11 13:15:10,916 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-01979535 is found in opserver 2025-08-11 13:15:10,927 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 13:15:10,932 - DEBUG - VRF ids for VN ctest-vn-01979535: {} 2025-08-11 13:15:10,933 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-11 13:15:10,939 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9ee603c8-0d79-48cc-97e1-16c583c1be07 2025-08-11 13:15:10,951 - DEBUG - Requesting: http://10.0.0.57:8082/project/35845bc1-6da7-4396-9c46-70d0afa87e9e 2025-08-11 13:15:11,030 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a9e77c02-9f1c-4ad7-93ef-cbe5d4550032 2025-08-11 13:15:11,043 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a9e77c02-9f1c-4ad7-93ef-cbe5d4550032 2025-08-11 13:15:11,053 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/890b265d-4abc-46a6-9bed-2d9abef0fc28 2025-08-11 13:15:11,060 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/890b265d-4abc-46a6-9bed-2d9abef0fc28 2025-08-11 13:15:11,067 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/6b490010-d18b-41e8-934b-20261d063e2a 2025-08-11 13:15:11,073 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 13:15:11,073 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a9e77c02-9f1c-4ad7-93ef-cbe5d4550032 2025-08-11 13:15:11,082 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/890b265d-4abc-46a6-9bed-2d9abef0fc28 2025-08-11 13:15:11,095 - INFO - Verified VN network id 13 for VN a9e77c02-9f1c-4ad7-93ef-cbe5d4550032 2025-08-11 13:15:11,095 - INFO - Verifications in API Server for VN ctest-vn-31927329 passed 2025-08-11 13:15:11,096 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a9e77c02-9f1c-4ad7-93ef-cbe5d4550032 2025-08-11 13:15:11,108 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/890b265d-4abc-46a6-9bed-2d9abef0fc28 2025-08-11 13:15:11,115 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/890b265d-4abc-46a6-9bed-2d9abef0fc28 2025-08-11 13:15:11,122 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/6b490010-d18b-41e8-934b-20261d063e2a 2025-08-11 13:15:11,135 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-31927329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61342293', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12242890462731193047', 'uuid-lslong': '10659963030979543090'}, 'enable': 'true', 'created': '2025-08-11T13:15:08', 'last-modified': '2025-08-11T13:15:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.454412'} 2025-08-11 13:15:11,143 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 13:15:11,143 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31927329 passed 2025-08-11 13:15:11,143 - DEBUG - ====Verifying policy data for ctest-vn-31927329 in API_Server ====== 2025-08-11 13:15:11,143 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-11 13:15:11,148 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9ee603c8-0d79-48cc-97e1-16c583c1be07 2025-08-11 13:15:11,160 - DEBUG - Requesting: http://10.0.0.57:8082/project/35845bc1-6da7-4396-9c46-70d0afa87e9e 2025-08-11 13:15:11,234 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a9e77c02-9f1c-4ad7-93ef-cbe5d4550032 2025-08-11 13:15:11,245 - DEBUG - ==>Verifying data for policy with id: 177ee20b-976f-442c-95ca-1dd49f28c762, fqn: ['default-domain', 'ctest-TestBasicPolicy-61342293', 'ctest-policy-allow-all-34075885'] 2025-08-11 13:15:11,245 - INFO - VN ctest-vn-31927329 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 13:15:11,245 - DEBUG - Verifying the vn in opserver 2025-08-11 13:15:11,245 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-31927329 virtual network link through opserver 10.0.0.57 2025-08-11 13:15:11,245 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-11 13:15:11,256 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-31927329', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-31927329?flat'} 2025-08-11 13:15:11,256 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-31927329 is found in opserver 2025-08-11 13:15:11,267 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 13:15:11,273 - DEBUG - VRF ids for VN ctest-vn-31927329: {} 2025-08-11 13:15:11,334 - DEBUG - Services list from nova: [, , ] 2025-08-11 13:15:12,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3806-1) 2025-08-11 13:15:13,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3806-1) 2025-08-11 13:15:13,838 - INFO - Waiting for VM ctest-TestBasicPolicy-61342293-88519129 to be up.. 2025-08-11 13:15:13,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 13:15:19,063 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:15:19,063 - INFO - VM name : ctest-TestBasicPolicy-61342293-88519129 2025-08-11 13:15:19,138 - DEBUG - VM ctest-TestBasicPolicy-61342293-88519129 ID is bc1e26de-55a9-4a2e-8248-5dd9194792a3 2025-08-11 13:15:19,156 - DEBUG - VM ctest-TestBasicPolicy-61342293-88519129 launched on Node cn-jenkins-deploy-platform-ansible-os-3806-1 2025-08-11 13:15:19,224 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/bc1e26de-55a9-4a2e-8248-5dd9194792a3 2025-08-11 13:15:19,233 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/aa74227f-3743-4e81-956b-c286b776a526 2025-08-11 13:15:22,486 - 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 1011ms') 2025-08-11 13:15:22,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61342293-88519129 failed! 2025-08-11 13:15:22,544 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61342293:ctest-vn-01979535 is 211.56.128.193 and allocation pool is NOT set 2025-08-11 13:15:24,605 - 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=3.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.648 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.648/1.851/3.054/1.203 ms') 2025-08-11 13:15:24,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61342293-88519129 passed 2025-08-11 13:15:24,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:15:24,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61342293-88519129, IP 211.56.128.195, Port 22 2025-08-11 13:15:24,919 - DEBUG - VM ctest-TestBasicPolicy-61342293-88519129 is ready for SSH connections 2025-08-11 13:15:24,919 - INFO - Waiting for VM ctest-TestBasicPolicy-61342293-95613085 to be up.. 2025-08-11 13:15:24,990 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:15:24,990 - INFO - VM name : ctest-TestBasicPolicy-61342293-95613085 2025-08-11 13:15:25,060 - DEBUG - VM ctest-TestBasicPolicy-61342293-95613085 ID is 9ac070d7-efa0-4fa6-a9bf-fa94d635c4b1 2025-08-11 13:15:25,060 - DEBUG - VM ctest-TestBasicPolicy-61342293-95613085 launched on Node cn-jenkins-deploy-platform-ansible-os-3806-1 2025-08-11 13:15:25,131 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9ac070d7-efa0-4fa6-a9bf-fa94d635c4b1 2025-08-11 13:15:25,140 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d6b36327-72ef-4eb7-8204-201523810f55 2025-08-11 13:15:26,389 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.619 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.619/2.305/3.991/1.686 ms') 2025-08-11 13:15:26,389 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61342293-95613085 passed 2025-08-11 13:15:26,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:15:26,544 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61342293-95613085, IP 22.235.31.67, Port 22 2025-08-11 13:15:26,713 - DEBUG - VM ctest-TestBasicPolicy-61342293-95613085 is ready for SSH connections 2025-08-11 13:15:26,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:15:26,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.235.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 13:15:26,714 - DEBUG - ping -s 56 -c 3 -W 1 22.235.31.67 2025-08-11 13:15:30,396 - DEBUG - PING 22.235.31.67 (22.235.31.67): 56 data bytes 64 bytes from 22.235.31.67: seq=0 ttl=63 time=3.576 ms 64 bytes from 22.235.31.67: seq=1 ttl=63 time=0.791 ms 64 bytes from 22.235.31.67: seq=2 ttl=63 time=0.750 ms --- 22.235.31.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/1.705/3.576 ms 2025-08-11 13:15:30,396 - INFO - Ping to IP 22.235.31.67 from VM ctest-TestBasicPolicy-61342293-88519129 passed 2025-08-11 13:15:30,580 - DEBUG - Policy Update Response {"network-policy": {"uuid": "177ee20b-976f-442c-95ca-1dd49f28c762", "href": "http://10.0.0.57:8082/network-policy/177ee20b-976f-442c-95ca-1dd49f28c762"}} 2025-08-11 13:15:30,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:15:30,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.235.31.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-11 13:15:30,580 - DEBUG - ping -s 56 -c 3 -W 1 22.235.31.67 2025-08-11 13:15:33,801 - DEBUG - PING 22.235.31.67 (22.235.31.67): 56 data bytes --- 22.235.31.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 13:15:33,801 - WARNING - Ping to IP 22.235.31.67 from VM ctest-TestBasicPolicy-61342293-88519129 failed 2025-08-11 13:15:33,802 - INFO - Deleting VM ctest-TestBasicPolicy-61342293-95613085 2025-08-11 13:15:33,975 - INFO - Deleting VM ctest-TestBasicPolicy-61342293-88519129 2025-08-11 13:15:34,405 - INFO - Deleted policy ctest-policy-allow-all-34075885 2025-08-11 13:15:34,405 - INFO - Deleting VN ctest-vn-31927329 2025-08-11 13:15:34,453 - DEBUG - VN a9e77c02-9f1c-4ad7-93ef-cbe5d4550032 still in use: Unable to complete operation on network a9e77c02-9f1c-4ad7-93ef-cbe5d4550032. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20246e4a-271d-40fe-b857-cee655fe1c11'] 2025-08-11 13:15:34,453 - WARNING - Deleting VN ctest-vn-31927329 failed..Will retry 2025-08-11 13:15:36,563 - DEBUG - Response for deleting network () 2025-08-11 13:15:36,564 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/890b265d-4abc-46a6-9bed-2d9abef0fc28 2025-08-11 13:15:36,569 - DEBUG - Response Code: 404 2025-08-11 13:15:36,569 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-11 13:15:36,578 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9ee603c8-0d79-48cc-97e1-16c583c1be07 2025-08-11 13:15:36,637 - DEBUG - Requesting: http://10.0.0.57:8082/project/35845bc1-6da7-4396-9c46-70d0afa87e9e 2025-08-11 13:15:36,711 - INFO - Validated that VN ctest-vn-31927329 is not found in API Server 2025-08-11 13:15:36,729 - DEBUG - VN ctest-vn-31927329 is not present in Agent 10.0.0.57 2025-08-11 13:15:36,729 - INFO - Validated that VN ctest-vn-31927329 is not in any agent 2025-08-11 13:15:36,747 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31927329 info 2025-08-11 13:15:36,747 - INFO - Deleting VN ctest-vn-01979535 2025-08-11 13:15:36,866 - DEBUG - Response for deleting network () 2025-08-11 13:15:36,866 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2076eab-91de-4f00-8bea-da7c4499fdbd 2025-08-11 13:15:36,873 - DEBUG - Response Code: 404 2025-08-11 13:15:36,874 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-11 13:15:36,881 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9ee603c8-0d79-48cc-97e1-16c583c1be07 2025-08-11 13:15:36,938 - DEBUG - Requesting: http://10.0.0.57:8082/project/35845bc1-6da7-4396-9c46-70d0afa87e9e 2025-08-11 13:15:37,011 - INFO - Validated that VN ctest-vn-01979535 is not found in API Server 2025-08-11 13:15:37,023 - DEBUG - VN ctest-vn-01979535 is not present in Agent 10.0.0.57 2025-08-11 13:15:37,023 - INFO - Validated that VN ctest-vn-01979535 is not in any agent 2025-08-11 13:15:37,049 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01979535 info 2025-08-11 13:15:37,306 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 13:15:37,306 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-11 13:15:37,306 - INFO - -------------------------------------------------------------------------------- 2025-08-11 13:15:38,024 - INFO - Deleted project: ctest-TestBasicPolicy-61342293, ID : 35845bc1-6da7-4396-9c46-70d0afa87e9e