2026-06-01 15:48:51,466 - INFO - Domain Default found not creating 2026-06-01 15:48:51,633 - INFO - Project ctest-TestBasicPolicy-97907598 not found, creating it 2026-06-01 15:48:52,075 - INFO - Created Project:ctest-TestBasicPolicy-97907598, ID : 3f9e4708-a2ef-433c-be31-9d6cd6034dde 2026-06-01 15:48:53,567 - INFO - ================================================================================ 2026-06-01 15:48:53,567 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 15:48:53,568 - 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-06-01 15:48:53,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2026-06-01 15:48:53,826 - INFO - Initial checks done. Running the testcase now 2026-06-01 15:48:53,826 - INFO - 2026-06-01 15:48:54,376 - DEBUG - Response for create_network : {'network': {'id': '46f23c9e-d024-41f6-820f-185631049852', 'name': 'ctest-vn-92820719', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-vn-92820719'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:48:54,550 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7ee8b51-9ba1-4cd0-8495-37ef07c53757', 'name': '', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'network_id': '46f23c9e-d024-41f6-820f-185631049852', 'ip_version': 4, 'cidr': '196.135.63.128/26', 'allocation_pools': [{'start': '196.135.63.130', 'end': '196.135.63.190'}], 'gateway_ip': '196.135.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.135.63.130', 'tags': [], 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde'}} 2026-06-01 15:48:54,567 - INFO - Created VN ctest-vn-92820719 2026-06-01 15:48:54,617 - DEBUG - VN ctest-vn-92820719 UUID is 46f23c9e-d024-41f6-820f-185631049852 2026-06-01 15:48:54,942 - DEBUG - Response for create_network : {'network': {'id': '97d10d0f-65ec-44c2-aad7-224436b59c3a', 'name': 'ctest-vn-69298694', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-vn-69298694'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:48:55,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '9748f177-c437-4076-a9d6-f99dad5ada91', 'name': '', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'network_id': '97d10d0f-65ec-44c2-aad7-224436b59c3a', 'ip_version': 4, 'cidr': '114.59.111.128/26', 'allocation_pools': [{'start': '114.59.111.130', 'end': '114.59.111.190'}], 'gateway_ip': '114.59.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.59.111.130', 'tags': [], 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde'}} 2026-06-01 15:48:55,147 - INFO - Created VN ctest-vn-69298694 2026-06-01 15:48:55,197 - DEBUG - VN ctest-vn-69298694 UUID is 97d10d0f-65ec-44c2-aad7-224436b59c3a 2026-06-01 15:48:55,345 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719, 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-97907598:ctest-vn-69298694, 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-06-01 15:48:55,638 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46f23c9e-d024-41f6-820f-185631049852', 'name': 'ctest-vn-92820719', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7ee8b51-9ba1-4cd0-8495-37ef07c53757'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-vn-92820719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-policy-allow-all-89179097']], 'subnet_ipam': [{'subnet_cidr': '196.135.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:48:55,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97d10d0f-65ec-44c2-aad7-224436b59c3a', 'name': 'ctest-vn-69298694', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9748f177-c437-4076-a9d6-f99dad5ada91'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-vn-69298694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-policy-allow-all-89179097']], 'subnet_ipam': [{'subnet_cidr': '114.59.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 15:48:56,025 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 15:48:56,320 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 15:48:56,351 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea 2026-06-01 15:48:56,362 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde 2026-06-01 15:48:56,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852 2026-06-01 15:48:56,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852 2026-06-01 15:48:56,456 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510 2026-06-01 15:48:56,463 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510 2026-06-01 15:48:56,469 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7958837a-43c7-4242-92bc-89669c4a6bdf 2026-06-01 15:48:56,475 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 15:48:56,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852 2026-06-01 15:48:56,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510 2026-06-01 15:48:56,494 - INFO - Verified VN network id 11 for VN 46f23c9e-d024-41f6-820f-185631049852 2026-06-01 15:48:56,494 - INFO - Verifications in API Server for VN ctest-vn-92820719 passed 2026-06-01 15:48:56,494 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852 2026-06-01 15:48:56,503 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510 2026-06-01 15:48:56,510 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510 2026-06-01 15:48:56,517 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7958837a-43c7-4242-92bc-89669c4a6bdf 2026-06-01 15:48:56,527 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97907598', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5112215179813470710', 'uuid-lslong': '9371736108049930322'}, 'enable': 'true', 'created': '2026-06-01T15:48:54', 'last-modified': '2026-06-01T15:48:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916735'} 2026-06-01 15:48:56,533 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 15:48:56,533 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92820719 passed 2026-06-01 15:48:56,534 - DEBUG - ====Verifying policy data for ctest-vn-92820719 in API_Server ====== 2026-06-01 15:48:56,534 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 15:48:56,538 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea 2026-06-01 15:48:56,548 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde 2026-06-01 15:48:56,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852 2026-06-01 15:48:56,633 - DEBUG - ==>Verifying data for policy with id: 07f0cf23-7dd4-4319-897d-62af16467c65, fqn: ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-policy-allow-all-89179097'] 2026-06-01 15:48:56,633 - INFO - VN ctest-vn-92820719 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 15:48:56,633 - DEBUG - Verifying the vn in opserver 2026-06-01 15:48:56,633 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719 virtual network link through opserver 10.0.0.38 2026-06-01 15:48:56,633 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 15:48:56,925 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 15:48:56,985 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719?flat'} 2026-06-01 15:48:56,985 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719 is found in opserver 2026-06-01 15:48:56,993 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 15:48:56,997 - DEBUG - VRF ids for VN ctest-vn-92820719: {} 2026-06-01 15:48:56,997 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 15:48:57,003 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea 2026-06-01 15:48:57,014 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde 2026-06-01 15:48:57,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a 2026-06-01 15:48:57,099 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a 2026-06-01 15:48:57,109 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9 2026-06-01 15:48:57,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9 2026-06-01 15:48:57,123 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8e7f893-0aac-4ab3-9698-ed1d9d951362 2026-06-01 15:48:57,130 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 15:48:57,130 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a 2026-06-01 15:48:57,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9 2026-06-01 15:48:57,153 - INFO - Verified VN network id 12 for VN 97d10d0f-65ec-44c2-aad7-224436b59c3a 2026-06-01 15:48:57,153 - INFO - Verifications in API Server for VN ctest-vn-69298694 passed 2026-06-01 15:48:57,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a 2026-06-01 15:48:57,163 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9 2026-06-01 15:48:57,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9 2026-06-01 15:48:57,176 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8e7f893-0aac-4ab3-9698-ed1d9d951362 2026-06-01 15:48:57,189 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97907598', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10939539329645298882', 'uuid-lslong': '12310345782811532346'}, 'enable': 'true', 'created': '2026-06-01T15:48:54', 'last-modified': '2026-06-01T15:48:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343844'} 2026-06-01 15:48:57,194 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 15:48:57,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69298694 passed 2026-06-01 15:48:57,195 - DEBUG - ====Verifying policy data for ctest-vn-69298694 in API_Server ====== 2026-06-01 15:48:57,195 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 15:48:57,200 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea 2026-06-01 15:48:57,211 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde 2026-06-01 15:48:57,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a 2026-06-01 15:48:57,294 - DEBUG - ==>Verifying data for policy with id: 07f0cf23-7dd4-4319-897d-62af16467c65, fqn: ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-policy-allow-all-89179097'] 2026-06-01 15:48:57,294 - INFO - VN ctest-vn-69298694 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 15:48:57,294 - DEBUG - Verifying the vn in opserver 2026-06-01 15:48:57,294 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694 virtual network link through opserver 10.0.0.38 2026-06-01 15:48:57,294 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 15:48:57,303 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694?flat'} 2026-06-01 15:48:57,303 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694 is found in opserver 2026-06-01 15:48:57,312 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 15:48:57,316 - DEBUG - VRF ids for VN ctest-vn-69298694: {} 2026-06-01 15:48:57,374 - DEBUG - Services list from nova: [, , ] 2026-06-01 15:48:58,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5872-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5872-1) 2026-06-01 15:48:59,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5872-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5872-1) 2026-06-01 15:48:59,551 - INFO - Waiting for VM ctest-TestBasicPolicy-97907598-47201647 to be up.. 2026-06-01 15:48:59,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 15:49:04,718 - DEBUG - VM is in ACTIVE state now 2026-06-01 15:49:04,718 - INFO - VM name : ctest-TestBasicPolicy-97907598-47201647 2026-06-01 15:49:04,798 - DEBUG - VM ctest-TestBasicPolicy-97907598-47201647 ID is 7c4f9042-5f82-4a6b-b29a-4486a0a4e898 2026-06-01 15:49:04,818 - DEBUG - VM ctest-TestBasicPolicy-97907598-47201647 launched on Node cn-jenkins-deploy-platform-ansible-os-5872-1 2026-06-01 15:49:04,895 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7c4f9042-5f82-4a6b-b29a-4486a0a4e898 2026-06-01 15:49:04,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9c12c719-7862-4ddf-bdba-05095c0ee44a 2026-06-01 15:49:08,161 - 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 1009ms') 2026-06-01 15:49:08,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97907598-47201647 failed! 2026-06-01 15:49:08,217 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719 is 196.135.63.129 and allocation pool is NOT set 2026-06-01 15:49:10,279 - 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=6.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/3.563/6.731/3.168 ms') 2026-06-01 15:49:10,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97907598-47201647 passed 2026-06-01 15:49:10,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:49:10,425 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97907598-47201647, IP 196.135.63.131, Port 22 2026-06-01 15:49:10,580 - DEBUG - VM ctest-TestBasicPolicy-97907598-47201647 is ready for SSH connections 2026-06-01 15:49:10,580 - INFO - Waiting for VM ctest-TestBasicPolicy-97907598-63940602 to be up.. 2026-06-01 15:49:10,658 - DEBUG - VM is in ACTIVE state now 2026-06-01 15:49:10,659 - INFO - VM name : ctest-TestBasicPolicy-97907598-63940602 2026-06-01 15:49:10,740 - DEBUG - VM ctest-TestBasicPolicy-97907598-63940602 ID is 37e399a3-34f8-4eae-b115-3d1304bfa175 2026-06-01 15:49:10,740 - DEBUG - VM ctest-TestBasicPolicy-97907598-63940602 launched on Node cn-jenkins-deploy-platform-ansible-os-5872-1 2026-06-01 15:49:10,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/37e399a3-34f8-4eae-b115-3d1304bfa175 2026-06-01 15:49:10,822 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c35f40de-5db2-4a13-abf6-5674499c0971 2026-06-01 15:49:12,053 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.603 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.603/1.885/3.168/1.282 ms') 2026-06-01 15:49:12,053 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97907598-63940602 passed 2026-06-01 15:49:12,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:49:12,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97907598-63940602, IP 114.59.111.131, Port 22 2026-06-01 15:49:12,360 - DEBUG - VM ctest-TestBasicPolicy-97907598-63940602 is ready for SSH connections 2026-06-01 15:49:12,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:49:12,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.59.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 15:49:12,361 - DEBUG - ping -s 56 -c 3 -W 1 114.59.111.131 2026-06-01 15:49:16,377 - DEBUG - PING 114.59.111.131 (114.59.111.131): 56 data bytes 64 bytes from 114.59.111.131: seq=0 ttl=63 time=3.936 ms 64 bytes from 114.59.111.131: seq=1 ttl=63 time=1.109 ms 64 bytes from 114.59.111.131: seq=2 ttl=63 time=0.792 ms --- 114.59.111.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.945/3.936 ms 2026-06-01 15:49:16,377 - INFO - Ping to IP 114.59.111.131 from VM ctest-TestBasicPolicy-97907598-47201647 passed 2026-06-01 15:49:16,553 - DEBUG - Policy Update Response {"network-policy": {"uuid": "07f0cf23-7dd4-4319-897d-62af16467c65", "href": "http://10.0.0.38:8082/network-policy/07f0cf23-7dd4-4319-897d-62af16467c65"}} 2026-06-01 15:49:16,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 15:49:16,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.59.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 15:49:16,553 - DEBUG - ping -s 56 -c 3 -W 1 114.59.111.131 2026-06-01 15:49:19,753 - DEBUG - PING 114.59.111.131 (114.59.111.131): 56 data bytes --- 114.59.111.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-01 15:49:19,753 - WARNING - Ping to IP 114.59.111.131 from VM ctest-TestBasicPolicy-97907598-47201647 failed 2026-06-01 15:49:19,754 - INFO - Deleting VM ctest-TestBasicPolicy-97907598-63940602 2026-06-01 15:49:19,830 - INFO - Deleting VM ctest-TestBasicPolicy-97907598-47201647 2026-06-01 15:49:20,246 - INFO - Deleted policy ctest-policy-allow-all-89179097 2026-06-01 15:49:20,246 - INFO - Deleting VN ctest-vn-69298694 2026-06-01 15:49:20,282 - DEBUG - VN 97d10d0f-65ec-44c2-aad7-224436b59c3a still in use: Unable to complete operation on network 97d10d0f-65ec-44c2-aad7-224436b59c3a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b12a105-4257-466e-9739-67e26d26dd55'] 2026-06-01 15:49:20,282 - WARNING - Deleting VN ctest-vn-69298694 failed..Will retry 2026-06-01 15:49:22,379 - DEBUG - Response for deleting network () 2026-06-01 15:49:22,379 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9 2026-06-01 15:49:22,386 - DEBUG - Response Code: 404 2026-06-01 15:49:22,386 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 15:49:22,390 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea 2026-06-01 15:49:22,446 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde 2026-06-01 15:49:22,525 - INFO - Validated that VN ctest-vn-69298694 is not found in API Server 2026-06-01 15:49:22,534 - DEBUG - VN ctest-vn-69298694 is not present in Agent 10.0.0.38 2026-06-01 15:49:22,534 - INFO - Validated that VN ctest-vn-69298694 is not in any agent 2026-06-01 15:49:22,547 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69298694 info 2026-06-01 15:49:22,547 - INFO - Deleting VN ctest-vn-92820719 2026-06-01 15:49:22,648 - DEBUG - Response for deleting network () 2026-06-01 15:49:22,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510 2026-06-01 15:49:22,657 - DEBUG - Response Code: 404 2026-06-01 15:49:22,658 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 15:49:22,666 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea 2026-06-01 15:49:22,719 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde 2026-06-01 15:49:22,791 - INFO - Validated that VN ctest-vn-92820719 is not found in API Server 2026-06-01 15:49:22,800 - DEBUG - VN ctest-vn-92820719 is not present in Agent 10.0.0.38 2026-06-01 15:49:22,800 - INFO - Validated that VN ctest-vn-92820719 is not in any agent 2026-06-01 15:49:22,813 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92820719 info 2026-06-01 15:49:23,066 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 15:49:23,066 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-06-01 15:49:23,066 - INFO - -------------------------------------------------------------------------------- 2026-06-01 15:49:23,743 - INFO - Deleted project: ctest-TestBasicPolicy-97907598, ID : 3f9e4708-a2ef-433c-be31-9d6cd6034dde