2026-02-03 00:23:19,257 - INFO - Domain Default found not creating 2026-02-03 00:23:19,426 - INFO - Project ctest-TestBasicPolicy-53564505 not found, creating it 2026-02-03 00:23:19,894 - INFO - Created Project:ctest-TestBasicPolicy-53564505, ID : 4d4d0096-a1f6-462a-8f5f-a95e8aa980c7 2026-02-03 00:23:21,474 - INFO - ================================================================================ 2026-02-03 00:23:21,474 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-03 00:23:21,474 - 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 2026-02-03 00:23:21,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-03 00:23:21,730 - INFO - Initial checks done. Running the testcase now 2026-02-03 00:23:21,730 - INFO - 2026-02-03 00:23:22,336 - DEBUG - Response for create_network : {'network': {'id': '21187e77-1288-4976-a65d-15bb3d8f5d14', 'name': 'ctest-vn-44057068', 'tenant_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'project_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53564505', 'ctest-vn-44057068'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 00:23:22,565 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea8c3964-f15a-4d9a-b9be-3e23f7690f8e', 'name': '', 'tenant_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'network_id': '21187e77-1288-4976-a65d-15bb3d8f5d14', 'ip_version': 4, 'cidr': '207.177.217.64/26', 'allocation_pools': [{'start': '207.177.217.66', 'end': '207.177.217.126'}], 'gateway_ip': '207.177.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.177.217.66', 'tags': [], 'project_id': '4d4d0096a1f6462a8f5fa95e8aa980c7'}} 2026-02-03 00:23:22,587 - INFO - Created VN ctest-vn-44057068 2026-02-03 00:23:22,641 - DEBUG - VN ctest-vn-44057068 UUID is 21187e77-1288-4976-a65d-15bb3d8f5d14 2026-02-03 00:23:22,958 - DEBUG - Response for create_network : {'network': {'id': '5583be87-4632-4de9-84f4-626185a0dbe7', 'name': 'ctest-vn-79191502', 'tenant_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'project_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53564505', 'ctest-vn-79191502'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 00:23:23,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdb7d88f-5a7c-4562-9690-b1f95e78eba1', 'name': '', 'tenant_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'network_id': '5583be87-4632-4de9-84f4-626185a0dbe7', 'ip_version': 4, 'cidr': '122.38.97.64/26', 'allocation_pools': [{'start': '122.38.97.66', 'end': '122.38.97.126'}], 'gateway_ip': '122.38.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.38.97.66', 'tags': [], 'project_id': '4d4d0096a1f6462a8f5fa95e8aa980c7'}} 2026-02-03 00:23:23,189 - INFO - Created VN ctest-vn-79191502 2026-02-03 00:23:23,241 - DEBUG - VN ctest-vn-79191502 UUID is 5583be87-4632-4de9-84f4-626185a0dbe7 2026-02-03 00:23:23,393 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-44057068, 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-53564505:ctest-vn-79191502, 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] 2026-02-03 00:23:23,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21187e77-1288-4976-a65d-15bb3d8f5d14', 'name': 'ctest-vn-44057068', 'tenant_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'project_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea8c3964-f15a-4d9a-b9be-3e23f7690f8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53564505', 'ctest-vn-44057068'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53564505', 'ctest-policy-allow-all-17276209']], 'subnet_ipam': [{'subnet_cidr': '207.177.217.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 00:23:23,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5583be87-4632-4de9-84f4-626185a0dbe7', 'name': 'ctest-vn-79191502', 'tenant_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'project_id': '4d4d0096a1f6462a8f5fa95e8aa980c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdb7d88f-5a7c-4562-9690-b1f95e78eba1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53564505', 'ctest-vn-79191502'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53564505', 'ctest-policy-allow-all-17276209']], 'subnet_ipam': [{'subnet_cidr': '122.38.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 00:23:24,073 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 00:23:24,376 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 00:23:24,408 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeaa701-f111-42ae-afc5-cd1ea8b3ed7d 2026-02-03 00:23:24,421 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4d0096-a1f6-462a-8f5f-a95e8aa980c7 2026-02-03 00:23:24,489 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/21187e77-1288-4976-a65d-15bb3d8f5d14 2026-02-03 00:23:24,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/21187e77-1288-4976-a65d-15bb3d8f5d14 2026-02-03 00:23:24,507 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/253acf61-82d7-42a5-a09b-5961273b87b7 2026-02-03 00:23:24,514 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/253acf61-82d7-42a5-a09b-5961273b87b7 2026-02-03 00:23:24,521 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d66bc514-8f59-440f-a587-c9a714b8b7bf 2026-02-03 00:23:24,528 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 00:23:24,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/21187e77-1288-4976-a65d-15bb3d8f5d14 2026-02-03 00:23:24,536 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/253acf61-82d7-42a5-a09b-5961273b87b7 2026-02-03 00:23:24,552 - INFO - Verified VN network id 12 for VN 21187e77-1288-4976-a65d-15bb3d8f5d14 2026-02-03 00:23:24,552 - INFO - Verifications in API Server for VN ctest-vn-44057068 passed 2026-02-03 00:23:24,552 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/21187e77-1288-4976-a65d-15bb3d8f5d14 2026-02-03 00:23:24,563 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/253acf61-82d7-42a5-a09b-5961273b87b7 2026-02-03 00:23:24,573 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/253acf61-82d7-42a5-a09b-5961273b87b7 2026-02-03 00:23:24,583 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d66bc514-8f59-440f-a587-c9a714b8b7bf 2026-02-03 00:23:24,598 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-44057068', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53564505', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2384795052569807222', 'uuid-lslong': '11987761677066001684'}, 'enable': 'true', 'created': '2026-02-03T00:23:22', 'last-modified': '2026-02-03T00:23:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934507'} 2026-02-03 00:23:24,604 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 00:23:24,604 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44057068 passed 2026-02-03 00:23:24,604 - DEBUG - ====Verifying policy data for ctest-vn-44057068 in API_Server ====== 2026-02-03 00:23:24,604 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 00:23:24,610 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeaa701-f111-42ae-afc5-cd1ea8b3ed7d 2026-02-03 00:23:24,621 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4d0096-a1f6-462a-8f5f-a95e8aa980c7 2026-02-03 00:23:24,691 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/21187e77-1288-4976-a65d-15bb3d8f5d14 2026-02-03 00:23:24,699 - DEBUG - ==>Verifying data for policy with id: a26eae8d-81c3-48f4-80c6-203eed0d77cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-53564505', 'ctest-policy-allow-all-17276209'] 2026-02-03 00:23:24,699 - INFO - VN ctest-vn-44057068 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 00:23:24,699 - DEBUG - Verifying the vn in opserver 2026-02-03 00:23:24,700 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-44057068 virtual network link through opserver 10.0.0.50 2026-02-03 00:23:24,700 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-03 00:23:25,001 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-03 00:23:25,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-44057068', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-44057068?flat'} 2026-02-03 00:23:25,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-44057068 is found in opserver 2026-02-03 00:23:25,077 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 00:23:25,081 - DEBUG - VRF ids for VN ctest-vn-44057068: {} 2026-02-03 00:23:25,081 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 00:23:25,087 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeaa701-f111-42ae-afc5-cd1ea8b3ed7d 2026-02-03 00:23:25,098 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4d0096-a1f6-462a-8f5f-a95e8aa980c7 2026-02-03 00:23:25,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5583be87-4632-4de9-84f4-626185a0dbe7 2026-02-03 00:23:25,179 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5583be87-4632-4de9-84f4-626185a0dbe7 2026-02-03 00:23:25,188 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cada7ee3-96b9-45c4-b316-f88519c73c51 2026-02-03 00:23:25,195 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cada7ee3-96b9-45c4-b316-f88519c73c51 2026-02-03 00:23:25,201 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ffe14276-3764-41d6-98be-a6d011d0364e 2026-02-03 00:23:25,208 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 00:23:25,208 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5583be87-4632-4de9-84f4-626185a0dbe7 2026-02-03 00:23:25,217 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cada7ee3-96b9-45c4-b316-f88519c73c51 2026-02-03 00:23:25,231 - INFO - Verified VN network id 13 for VN 5583be87-4632-4de9-84f4-626185a0dbe7 2026-02-03 00:23:25,231 - INFO - Verifications in API Server for VN ctest-vn-79191502 passed 2026-02-03 00:23:25,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5583be87-4632-4de9-84f4-626185a0dbe7 2026-02-03 00:23:25,240 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cada7ee3-96b9-45c4-b316-f88519c73c51 2026-02-03 00:23:25,246 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cada7ee3-96b9-45c4-b316-f88519c73c51 2026-02-03 00:23:25,251 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ffe14276-3764-41d6-98be-a6d011d0364e 2026-02-03 00:23:25,262 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-79191502', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53564505', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6161978203380534761', 'uuid-lslong': '9580390478317149159'}, 'enable': 'true', 'created': '2026-02-03T00:23:22', 'last-modified': '2026-02-03T00:23:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373673'} 2026-02-03 00:23:25,269 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 00:23:25,270 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79191502 passed 2026-02-03 00:23:25,270 - DEBUG - ====Verifying policy data for ctest-vn-79191502 in API_Server ====== 2026-02-03 00:23:25,270 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 00:23:25,277 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeaa701-f111-42ae-afc5-cd1ea8b3ed7d 2026-02-03 00:23:25,287 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4d0096-a1f6-462a-8f5f-a95e8aa980c7 2026-02-03 00:23:25,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5583be87-4632-4de9-84f4-626185a0dbe7 2026-02-03 00:23:25,365 - DEBUG - ==>Verifying data for policy with id: a26eae8d-81c3-48f4-80c6-203eed0d77cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-53564505', 'ctest-policy-allow-all-17276209'] 2026-02-03 00:23:25,365 - INFO - VN ctest-vn-79191502 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 00:23:25,365 - DEBUG - Verifying the vn in opserver 2026-02-03 00:23:25,365 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-79191502 virtual network link through opserver 10.0.0.50 2026-02-03 00:23:25,366 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-03 00:23:25,374 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-79191502', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-79191502?flat'} 2026-02-03 00:23:25,374 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-79191502 is found in opserver 2026-02-03 00:23:25,383 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 00:23:25,388 - DEBUG - VRF ids for VN ctest-vn-79191502: {} 2026-02-03 00:23:25,445 - DEBUG - Services list from nova: [, , ] 2026-02-03 00:23:26,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5181-1) 2026-02-03 00:23:27,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5181-1) 2026-02-03 00:23:27,791 - INFO - Waiting for VM ctest-TestBasicPolicy-53564505-83651425 to be up.. 2026-02-03 00:23:27,867 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 00:23:32,949 - DEBUG - VM is in ACTIVE state now 2026-02-03 00:23:32,949 - INFO - VM name : ctest-TestBasicPolicy-53564505-83651425 2026-02-03 00:23:33,028 - DEBUG - VM ctest-TestBasicPolicy-53564505-83651425 ID is 3719a7a7-83fd-46d1-9b28-42f43f1532b8 2026-02-03 00:23:33,051 - DEBUG - VM ctest-TestBasicPolicy-53564505-83651425 launched on Node cn-jenkins-deploy-platform-ansible-os-5181-1 2026-02-03 00:23:33,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3719a7a7-83fd-46d1-9b28-42f43f1532b8 2026-02-03 00:23:33,153 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/791343d3-5a0c-4d42-88f1-0c71475b223f 2026-02-03 00:23:36,441 - 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 1023ms') 2026-02-03 00:23:36,441 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53564505-83651425 failed! 2026-02-03 00:23:36,497 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53564505:ctest-vn-44057068 is 207.177.217.65 and allocation pool is NOT set 2026-02-03 00:23:38,563 - 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=8.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/4.355/8.281/3.926 ms') 2026-02-03 00:23:38,563 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53564505-83651425 passed 2026-02-03 00:23:38,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 00:23:38,713 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53564505-83651425, IP 207.177.217.67, Port 22 2026-02-03 00:23:38,868 - DEBUG - VM ctest-TestBasicPolicy-53564505-83651425 is ready for SSH connections 2026-02-03 00:23:38,869 - INFO - Waiting for VM ctest-TestBasicPolicy-53564505-97720540 to be up.. 2026-02-03 00:23:38,957 - DEBUG - VM is in ACTIVE state now 2026-02-03 00:23:38,957 - INFO - VM name : ctest-TestBasicPolicy-53564505-97720540 2026-02-03 00:23:39,034 - DEBUG - VM ctest-TestBasicPolicy-53564505-97720540 ID is 7cbdae1b-8567-4188-b39f-70116fcbbca4 2026-02-03 00:23:39,034 - DEBUG - VM ctest-TestBasicPolicy-53564505-97720540 launched on Node cn-jenkins-deploy-platform-ansible-os-5181-1 2026-02-03 00:23:39,114 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7cbdae1b-8567-4188-b39f-70116fcbbca4 2026-02-03 00:23:39,122 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f26688da-e483-4f30-ae29-461232c18834 2026-02-03 00:23:40,355 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.780 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.780/1.815/2.851/1.035 ms') 2026-02-03 00:23:40,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53564505-97720540 passed 2026-02-03 00:23:40,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 00:23:40,509 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53564505-97720540, IP 122.38.97.67, Port 22 2026-02-03 00:23:40,664 - DEBUG - VM ctest-TestBasicPolicy-53564505-97720540 is ready for SSH connections 2026-02-03 00:23:40,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 00:23:40,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.38.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-03 00:23:40,664 - DEBUG - ping -s 56 -c 3 -W 1 122.38.97.67 2026-02-03 00:23:44,729 - DEBUG - PING 122.38.97.67 (122.38.97.67): 56 data bytes 64 bytes from 122.38.97.67: seq=0 ttl=63 time=3.292 ms 64 bytes from 122.38.97.67: seq=1 ttl=63 time=1.067 ms 64 bytes from 122.38.97.67: seq=2 ttl=63 time=0.951 ms --- 122.38.97.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.770/3.292 ms 2026-02-03 00:23:44,729 - INFO - Ping to IP 122.38.97.67 from VM ctest-TestBasicPolicy-53564505-83651425 passed 2026-02-03 00:23:44,901 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a26eae8d-81c3-48f4-80c6-203eed0d77cf", "href": "http://10.0.0.50:8082/network-policy/a26eae8d-81c3-48f4-80c6-203eed0d77cf"}} 2026-02-03 00:23:44,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 00:23:44,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.38.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-03 00:23:44,901 - DEBUG - ping -s 56 -c 3 -W 1 122.38.97.67 2026-02-03 00:23:48,129 - DEBUG - PING 122.38.97.67 (122.38.97.67): 56 data bytes --- 122.38.97.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-03 00:23:48,129 - WARNING - Ping to IP 122.38.97.67 from VM ctest-TestBasicPolicy-53564505-83651425 failed 2026-02-03 00:23:48,129 - INFO - Deleting VM ctest-TestBasicPolicy-53564505-97720540 2026-02-03 00:23:48,205 - INFO - Deleting VM ctest-TestBasicPolicy-53564505-83651425 2026-02-03 00:23:48,585 - INFO - Deleted policy ctest-policy-allow-all-17276209 2026-02-03 00:23:48,585 - INFO - Deleting VN ctest-vn-79191502 2026-02-03 00:23:48,623 - DEBUG - VN 5583be87-4632-4de9-84f4-626185a0dbe7 still in use: Unable to complete operation on network 5583be87-4632-4de9-84f4-626185a0dbe7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93d89f87-861c-470b-be9a-585db8af2980'] 2026-02-03 00:23:48,623 - WARNING - Deleting VN ctest-vn-79191502 failed..Will retry 2026-02-03 00:23:50,725 - DEBUG - Response for deleting network () 2026-02-03 00:23:50,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cada7ee3-96b9-45c4-b316-f88519c73c51 2026-02-03 00:23:50,730 - DEBUG - Response Code: 404 2026-02-03 00:23:50,730 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 00:23:50,735 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeaa701-f111-42ae-afc5-cd1ea8b3ed7d 2026-02-03 00:23:50,787 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4d0096-a1f6-462a-8f5f-a95e8aa980c7 2026-02-03 00:23:50,858 - INFO - Validated that VN ctest-vn-79191502 is not found in API Server 2026-02-03 00:23:50,868 - DEBUG - VN ctest-vn-79191502 is not present in Agent 10.0.0.50 2026-02-03 00:23:50,868 - INFO - Validated that VN ctest-vn-79191502 is not in any agent 2026-02-03 00:23:50,882 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79191502 info 2026-02-03 00:23:50,882 - INFO - Deleting VN ctest-vn-44057068 2026-02-03 00:23:50,987 - DEBUG - Response for deleting network () 2026-02-03 00:23:50,987 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/253acf61-82d7-42a5-a09b-5961273b87b7 2026-02-03 00:23:50,994 - DEBUG - Response Code: 404 2026-02-03 00:23:50,994 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 00:23:50,999 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6eeaa701-f111-42ae-afc5-cd1ea8b3ed7d 2026-02-03 00:23:51,049 - DEBUG - Requesting: http://10.0.0.50:8082/project/4d4d0096-a1f6-462a-8f5f-a95e8aa980c7 2026-02-03 00:23:51,120 - INFO - Validated that VN ctest-vn-44057068 is not found in API Server 2026-02-03 00:23:51,129 - DEBUG - VN ctest-vn-44057068 is not present in Agent 10.0.0.50 2026-02-03 00:23:51,129 - INFO - Validated that VN ctest-vn-44057068 is not in any agent 2026-02-03 00:23:51,142 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44057068 info 2026-02-03 00:23:51,401 - DEBUG - No XMPP flaps were noticed during the test 2026-02-03 00:23:51,401 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-02-03 00:23:51,402 - INFO - -------------------------------------------------------------------------------- 2026-02-03 00:23:52,096 - INFO - Deleted project: ctest-TestBasicPolicy-53564505, ID : 4d4d0096-a1f6-462a-8f5f-a95e8aa980c7