2026-04-03 10:52:41,927 - INFO - Domain Default found not creating 2026-04-03 10:52:42,136 - INFO - Project ctest-TestBasicPolicy-90815266 not found, creating it 2026-04-03 10:52:42,639 - INFO - Created Project:ctest-TestBasicPolicy-90815266, ID : d5d8a8a8-2a10-4882-8edc-e24b2da808ee 2026-04-03 10:52:44,304 - INFO - ================================================================================ 2026-04-03 10:52:44,304 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-03 10:52:44,304 - 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-04-03 10:52:44,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-04-03 10:52:44,577 - INFO - Initial checks done. Running the testcase now 2026-04-03 10:52:44,577 - INFO - 2026-04-03 10:52:45,191 - DEBUG - Response for create_network : {'network': {'id': 'a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15', 'name': 'ctest-vn-92630434', 'tenant_id': 'd5d8a8a82a1048828edce24b2da808ee', 'project_id': 'd5d8a8a82a1048828edce24b2da808ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90815266', 'ctest-vn-92630434'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:52:45,425 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea1151ee-86f0-4425-b8dc-6efd8d7c451d', 'name': '', 'tenant_id': 'd5d8a8a82a1048828edce24b2da808ee', 'network_id': 'a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15', 'ip_version': 4, 'cidr': '149.52.17.0/26', 'allocation_pools': [{'start': '149.52.17.2', 'end': '149.52.17.62'}], 'gateway_ip': '149.52.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.52.17.2', 'tags': [], 'project_id': 'd5d8a8a82a1048828edce24b2da808ee'}} 2026-04-03 10:52:45,449 - INFO - Created VN ctest-vn-92630434 2026-04-03 10:52:45,503 - DEBUG - VN ctest-vn-92630434 UUID is a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15 2026-04-03 10:52:45,814 - DEBUG - Response for create_network : {'network': {'id': '8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce', 'name': 'ctest-vn-39003788', 'tenant_id': 'd5d8a8a82a1048828edce24b2da808ee', 'project_id': 'd5d8a8a82a1048828edce24b2da808ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90815266', 'ctest-vn-39003788'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:52:46,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '0589bbed-f883-49b2-bf50-1f623e985a9c', 'name': '', 'tenant_id': 'd5d8a8a82a1048828edce24b2da808ee', 'network_id': '8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce', 'ip_version': 4, 'cidr': '24.107.16.192/26', 'allocation_pools': [{'start': '24.107.16.194', 'end': '24.107.16.254'}], 'gateway_ip': '24.107.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.107.16.194', 'tags': [], 'project_id': 'd5d8a8a82a1048828edce24b2da808ee'}} 2026-04-03 10:52:46,084 - INFO - Created VN ctest-vn-39003788 2026-04-03 10:52:46,139 - DEBUG - VN ctest-vn-39003788 UUID is 8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce 2026-04-03 10:52:46,266 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-92630434, 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-90815266:ctest-vn-39003788, 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-04-03 10:52:46,586 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15', 'name': 'ctest-vn-92630434', 'tenant_id': 'd5d8a8a82a1048828edce24b2da808ee', 'project_id': 'd5d8a8a82a1048828edce24b2da808ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea1151ee-86f0-4425-b8dc-6efd8d7c451d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90815266', 'ctest-vn-92630434'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90815266', 'ctest-policy-allow-all-93260238']], 'subnet_ipam': [{'subnet_cidr': '149.52.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:52:46,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce', 'name': 'ctest-vn-39003788', 'tenant_id': 'd5d8a8a82a1048828edce24b2da808ee', 'project_id': 'd5d8a8a82a1048828edce24b2da808ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0589bbed-f883-49b2-bf50-1f623e985a9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90815266', 'ctest-vn-39003788'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90815266', 'ctest-policy-allow-all-93260238']], 'subnet_ipam': [{'subnet_cidr': '24.107.16.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:52:47,035 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-03 10:52:47,340 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-03 10:52:47,376 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8768d7b1-4bb9-4889-82d6-90e1e1aeec74 2026-04-03 10:52:47,392 - DEBUG - Requesting: http://10.0.0.22:8082/project/d5d8a8a8-2a10-4882-8edc-e24b2da808ee 2026-04-03 10:52:47,467 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15 2026-04-03 10:52:47,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15 2026-04-03 10:52:47,489 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a09aac13-2035-4aee-a069-93e7f6e8d327 2026-04-03 10:52:47,497 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a09aac13-2035-4aee-a069-93e7f6e8d327 2026-04-03 10:52:47,505 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4627c9f4-d89c-4814-af4d-ccd397fcfe03 2026-04-03 10:52:47,512 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 10:52:47,512 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15 2026-04-03 10:52:47,521 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a09aac13-2035-4aee-a069-93e7f6e8d327 2026-04-03 10:52:47,537 - INFO - Verified VN network id 11 for VN a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15 2026-04-03 10:52:47,537 - INFO - Verifications in API Server for VN ctest-vn-92630434 passed 2026-04-03 10:52:47,537 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15 2026-04-03 10:52:47,547 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a09aac13-2035-4aee-a069-93e7f6e8d327 2026-04-03 10:52:47,555 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a09aac13-2035-4aee-a069-93e7f6e8d327 2026-04-03 10:52:47,562 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4627c9f4-d89c-4814-af4d-ccd397fcfe03 2026-04-03 10:52:47,575 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-92630434', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90815266', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11663188537252793365', 'uuid-lslong': '9721979332882328853'}, 'enable': 'true', 'created': '2026-04-03T10:52:45', 'last-modified': '2026-04-03T10:52:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011315'} 2026-04-03 10:52:47,581 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 10:52:47,581 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92630434 passed 2026-04-03 10:52:47,582 - DEBUG - ====Verifying policy data for ctest-vn-92630434 in API_Server ====== 2026-04-03 10:52:47,582 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-03 10:52:47,588 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8768d7b1-4bb9-4889-82d6-90e1e1aeec74 2026-04-03 10:52:47,601 - DEBUG - Requesting: http://10.0.0.22:8082/project/d5d8a8a8-2a10-4882-8edc-e24b2da808ee 2026-04-03 10:52:47,678 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a1dbf82e-2f5c-4c15-86eb-68b1aa23ed15 2026-04-03 10:52:47,688 - DEBUG - ==>Verifying data for policy with id: 4a74fefe-4def-408e-9c82-149adfad0db4, fqn: ['default-domain', 'ctest-TestBasicPolicy-90815266', 'ctest-policy-allow-all-93260238'] 2026-04-03 10:52:47,689 - INFO - VN ctest-vn-92630434 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 10:52:47,689 - DEBUG - Verifying the vn in opserver 2026-04-03 10:52:47,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-92630434 virtual network link through opserver 10.0.0.22 2026-04-03 10:52:47,689 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-03 10:52:47,992 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-03 10:52:48,069 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-92630434', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-92630434?flat'} 2026-04-03 10:52:48,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-92630434 is found in opserver 2026-04-03 10:52:48,080 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 10:52:48,087 - DEBUG - VRF ids for VN ctest-vn-92630434: {} 2026-04-03 10:52:48,087 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-03 10:52:48,094 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8768d7b1-4bb9-4889-82d6-90e1e1aeec74 2026-04-03 10:52:48,106 - DEBUG - Requesting: http://10.0.0.22:8082/project/d5d8a8a8-2a10-4882-8edc-e24b2da808ee 2026-04-03 10:52:48,185 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce 2026-04-03 10:52:48,197 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce 2026-04-03 10:52:48,207 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49d029a4-9f37-4f89-b830-8a07414d1f66 2026-04-03 10:52:48,215 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49d029a4-9f37-4f89-b830-8a07414d1f66 2026-04-03 10:52:48,222 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/61e56fc3-37df-40d9-917d-d63d9936c7c7 2026-04-03 10:52:48,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 10:52:48,231 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce 2026-04-03 10:52:48,240 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49d029a4-9f37-4f89-b830-8a07414d1f66 2026-04-03 10:52:48,256 - INFO - Verified VN network id 12 for VN 8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce 2026-04-03 10:52:48,256 - INFO - Verifications in API Server for VN ctest-vn-39003788 passed 2026-04-03 10:52:48,256 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce 2026-04-03 10:52:48,267 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49d029a4-9f37-4f89-b830-8a07414d1f66 2026-04-03 10:52:48,275 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49d029a4-9f37-4f89-b830-8a07414d1f66 2026-04-03 10:52:48,283 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/61e56fc3-37df-40d9-917d-d63d9936c7c7 2026-04-03 10:52:48,300 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-39003788', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90815266', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10172946231032957229', 'uuid-lslong': '13538451542342649550'}, 'enable': 'true', 'created': '2026-04-03T10:52:45', 'last-modified': '2026-04-03T10:52:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495439'} 2026-04-03 10:52:48,308 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 10:52:48,308 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39003788 passed 2026-04-03 10:52:48,309 - DEBUG - ====Verifying policy data for ctest-vn-39003788 in API_Server ====== 2026-04-03 10:52:48,309 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-03 10:52:48,316 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8768d7b1-4bb9-4889-82d6-90e1e1aeec74 2026-04-03 10:52:48,329 - DEBUG - Requesting: http://10.0.0.22:8082/project/d5d8a8a8-2a10-4882-8edc-e24b2da808ee 2026-04-03 10:52:48,408 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce 2026-04-03 10:52:48,419 - DEBUG - ==>Verifying data for policy with id: 4a74fefe-4def-408e-9c82-149adfad0db4, fqn: ['default-domain', 'ctest-TestBasicPolicy-90815266', 'ctest-policy-allow-all-93260238'] 2026-04-03 10:52:48,419 - INFO - VN ctest-vn-39003788 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 10:52:48,419 - DEBUG - Verifying the vn in opserver 2026-04-03 10:52:48,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-39003788 virtual network link through opserver 10.0.0.22 2026-04-03 10:52:48,419 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-03 10:52:48,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-39003788', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-39003788?flat'} 2026-04-03 10:52:48,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-39003788 is found in opserver 2026-04-03 10:52:48,439 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 10:52:48,444 - DEBUG - VRF ids for VN ctest-vn-39003788: {} 2026-04-03 10:52:48,514 - DEBUG - Services list from nova: [, , ] 2026-04-03 10:52:49,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5587-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5587-1) 2026-04-03 10:52:50,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5587-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5587-1) 2026-04-03 10:52:50,889 - INFO - Waiting for VM ctest-TestBasicPolicy-90815266-77188145 to be up.. 2026-04-03 10:52:50,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-03 10:52:56,083 - DEBUG - VM is in ACTIVE state now 2026-04-03 10:52:56,083 - INFO - VM name : ctest-TestBasicPolicy-90815266-77188145 2026-04-03 10:52:56,179 - DEBUG - VM ctest-TestBasicPolicy-90815266-77188145 ID is be028727-0736-4817-b498-63fcdc7b4b39 2026-04-03 10:52:56,206 - DEBUG - VM ctest-TestBasicPolicy-90815266-77188145 launched on Node cn-jenkins-deploy-platform-ansible-os-5587-1 2026-04-03 10:52:56,297 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/be028727-0736-4817-b498-63fcdc7b4b39 2026-04-03 10:52:56,307 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9f73e30e-81e5-4475-881b-b064baa341a9 2026-04-03 10:52:59,577 - 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 1021ms') 2026-04-03 10:52:59,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90815266-77188145 failed! 2026-04-03 10:52:59,635 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90815266:ctest-vn-92630434 is 149.52.17.1 and allocation pool is NOT set 2026-04-03 10:53:01,706 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.065/5.512/9.959/4.447 ms') 2026-04-03 10:53:01,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90815266-77188145 passed 2026-04-03 10:53:01,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:53:01,871 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90815266-77188145, IP 149.52.17.3, Port 22 2026-04-03 10:53:02,046 - DEBUG - VM ctest-TestBasicPolicy-90815266-77188145 is ready for SSH connections 2026-04-03 10:53:02,046 - INFO - Waiting for VM ctest-TestBasicPolicy-90815266-18277414 to be up.. 2026-04-03 10:53:02,160 - DEBUG - VM is in ACTIVE state now 2026-04-03 10:53:02,160 - INFO - VM name : ctest-TestBasicPolicy-90815266-18277414 2026-04-03 10:53:02,251 - DEBUG - VM ctest-TestBasicPolicy-90815266-18277414 ID is b4206cfa-e5b8-4eee-b74c-512829d0ed44 2026-04-03 10:53:02,251 - DEBUG - VM ctest-TestBasicPolicy-90815266-18277414 launched on Node cn-jenkins-deploy-platform-ansible-os-5587-1 2026-04-03 10:53:02,358 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b4206cfa-e5b8-4eee-b74c-512829d0ed44 2026-04-03 10:53:02,371 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f7d40a27-e1d3-4760-97af-8dfc1608ecec 2026-04-03 10:53:03,632 - 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=5.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.832 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.832/3.329/5.826/2.497 ms') 2026-04-03 10:53:03,632 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90815266-18277414 passed 2026-04-03 10:53:03,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:53:03,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90815266-18277414, IP 24.107.16.195, Port 22 2026-04-03 10:53:03,962 - DEBUG - VM ctest-TestBasicPolicy-90815266-18277414 is ready for SSH connections 2026-04-03 10:53:03,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:53:03,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.107.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-03 10:53:03,962 - DEBUG - ping -s 56 -c 3 -W 1 24.107.16.195 2026-04-03 10:53:08,125 - DEBUG - PING 24.107.16.195 (24.107.16.195): 56 data bytes 64 bytes from 24.107.16.195: seq=0 ttl=63 time=4.791 ms 64 bytes from 24.107.16.195: seq=1 ttl=63 time=1.140 ms 64 bytes from 24.107.16.195: seq=2 ttl=63 time=1.382 ms --- 24.107.16.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.140/2.437/4.791 ms 2026-04-03 10:53:08,126 - INFO - Ping to IP 24.107.16.195 from VM ctest-TestBasicPolicy-90815266-77188145 passed 2026-04-03 10:53:08,316 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4a74fefe-4def-408e-9c82-149adfad0db4", "href": "http://10.0.0.22:8082/network-policy/4a74fefe-4def-408e-9c82-149adfad0db4"}} 2026-04-03 10:53:08,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:53:08,316 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.107.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-03 10:53:08,316 - DEBUG - ping -s 56 -c 3 -W 1 24.107.16.195 2026-04-03 10:53:11,574 - DEBUG - PING 24.107.16.195 (24.107.16.195): 56 data bytes --- 24.107.16.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-03 10:53:11,574 - WARNING - Ping to IP 24.107.16.195 from VM ctest-TestBasicPolicy-90815266-77188145 failed 2026-04-03 10:53:11,574 - INFO - Deleting VM ctest-TestBasicPolicy-90815266-18277414 2026-04-03 10:53:11,659 - INFO - Deleting VM ctest-TestBasicPolicy-90815266-77188145 2026-04-03 10:53:12,125 - INFO - Deleted policy ctest-policy-allow-all-93260238 2026-04-03 10:53:12,125 - INFO - Deleting VN ctest-vn-39003788 2026-04-03 10:53:12,172 - DEBUG - VN 8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce still in use: Unable to complete operation on network 8d2d90b2-d3de-492d-bbe2-3df2ae2c46ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b70d3f78-544e-48d3-971a-8630d35811de'] 2026-04-03 10:53:12,172 - WARNING - Deleting VN ctest-vn-39003788 failed..Will retry 2026-04-03 10:53:14,303 - DEBUG - Response for deleting network () 2026-04-03 10:53:14,304 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49d029a4-9f37-4f89-b830-8a07414d1f66 2026-04-03 10:53:14,310 - DEBUG - Response Code: 404 2026-04-03 10:53:14,311 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-03 10:53:14,317 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8768d7b1-4bb9-4889-82d6-90e1e1aeec74 2026-04-03 10:53:14,376 - DEBUG - Requesting: http://10.0.0.22:8082/project/d5d8a8a8-2a10-4882-8edc-e24b2da808ee 2026-04-03 10:53:14,449 - INFO - Validated that VN ctest-vn-39003788 is not found in API Server 2026-04-03 10:53:14,461 - DEBUG - VN ctest-vn-39003788 is not present in Agent 10.0.0.22 2026-04-03 10:53:14,461 - INFO - Validated that VN ctest-vn-39003788 is not in any agent 2026-04-03 10:53:14,475 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39003788 info 2026-04-03 10:53:14,476 - INFO - Deleting VN ctest-vn-92630434 2026-04-03 10:53:14,601 - DEBUG - Response for deleting network () 2026-04-03 10:53:14,601 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a09aac13-2035-4aee-a069-93e7f6e8d327 2026-04-03 10:53:14,608 - DEBUG - Response Code: 404 2026-04-03 10:53:14,608 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-03 10:53:14,614 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8768d7b1-4bb9-4889-82d6-90e1e1aeec74 2026-04-03 10:53:14,674 - DEBUG - Requesting: http://10.0.0.22:8082/project/d5d8a8a8-2a10-4882-8edc-e24b2da808ee 2026-04-03 10:53:14,745 - INFO - Validated that VN ctest-vn-92630434 is not found in API Server 2026-04-03 10:53:14,757 - DEBUG - VN ctest-vn-92630434 is not present in Agent 10.0.0.22 2026-04-03 10:53:14,757 - INFO - Validated that VN ctest-vn-92630434 is not in any agent 2026-04-03 10:53:14,775 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92630434 info 2026-04-03 10:53:15,044 - DEBUG - No XMPP flaps were noticed during the test 2026-04-03 10:53:15,044 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-04-03 10:53:15,044 - INFO - -------------------------------------------------------------------------------- 2026-04-03 10:53:15,789 - INFO - Deleted project: ctest-TestBasicPolicy-90815266, ID : d5d8a8a8-2a10-4882-8edc-e24b2da808ee