2026-04-22 13:37:17,379 - INFO - Domain Default found not creating 2026-04-22 13:37:17,555 - INFO - Project ctest-TestBasicPolicy-58888182 not found, creating it 2026-04-22 13:37:17,997 - INFO - Created Project:ctest-TestBasicPolicy-58888182, ID : 40058c7b-b81b-4c98-823a-d72b1f027e69 2026-04-22 13:37:19,831 - INFO - ================================================================================ 2026-04-22 13:37:19,831 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-22 13:37:19,831 - 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-22 13:37:20,090 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2026-04-22 13:37:20,090 - INFO - Initial checks done. Running the testcase now 2026-04-22 13:37:20,090 - INFO - 2026-04-22 13:37:20,647 - DEBUG - Response for create_network : {'network': {'id': 'd78aae06-ba82-4a0b-979e-d7b6f8050475', 'name': 'ctest-vn-20345434', 'tenant_id': '40058c7bb81b4c98823ad72b1f027e69', 'project_id': '40058c7bb81b4c98823ad72b1f027e69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58888182', 'ctest-vn-20345434'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 13:37:20,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '3569a403-00d9-4c60-855a-422f051ff0cc', 'name': '', 'tenant_id': '40058c7bb81b4c98823ad72b1f027e69', 'network_id': 'd78aae06-ba82-4a0b-979e-d7b6f8050475', 'ip_version': 4, 'cidr': '180.196.12.64/26', 'allocation_pools': [{'start': '180.196.12.66', 'end': '180.196.12.126'}], 'gateway_ip': '180.196.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.196.12.66', 'tags': [], 'project_id': '40058c7bb81b4c98823ad72b1f027e69'}} 2026-04-22 13:37:20,865 - INFO - Created VN ctest-vn-20345434 2026-04-22 13:37:20,916 - DEBUG - VN ctest-vn-20345434 UUID is d78aae06-ba82-4a0b-979e-d7b6f8050475 2026-04-22 13:37:21,234 - DEBUG - Response for create_network : {'network': {'id': '5f7fd906-ab12-437a-ab77-0b154ec57d4a', 'name': 'ctest-vn-82882690', 'tenant_id': '40058c7bb81b4c98823ad72b1f027e69', 'project_id': '40058c7bb81b4c98823ad72b1f027e69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58888182', 'ctest-vn-82882690'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 13:37:21,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '135cc3e0-5a59-407a-b327-941aa270e7bf', 'name': '', 'tenant_id': '40058c7bb81b4c98823ad72b1f027e69', 'network_id': '5f7fd906-ab12-437a-ab77-0b154ec57d4a', 'ip_version': 4, 'cidr': '99.162.244.0/26', 'allocation_pools': [{'start': '99.162.244.2', 'end': '99.162.244.62'}], 'gateway_ip': '99.162.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.162.244.2', 'tags': [], 'project_id': '40058c7bb81b4c98823ad72b1f027e69'}} 2026-04-22 13:37:21,462 - INFO - Created VN ctest-vn-82882690 2026-04-22 13:37:21,512 - DEBUG - VN ctest-vn-82882690 UUID is 5f7fd906-ab12-437a-ab77-0b154ec57d4a 2026-04-22 13:37:21,664 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-20345434, 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-58888182:ctest-vn-82882690, 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-22 13:37:21,955 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd78aae06-ba82-4a0b-979e-d7b6f8050475', 'name': 'ctest-vn-20345434', 'tenant_id': '40058c7bb81b4c98823ad72b1f027e69', 'project_id': '40058c7bb81b4c98823ad72b1f027e69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3569a403-00d9-4c60-855a-422f051ff0cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58888182', 'ctest-vn-20345434'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58888182', 'ctest-policy-allow-all-36262461']], 'subnet_ipam': [{'subnet_cidr': '180.196.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-22 13:37:22,205 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f7fd906-ab12-437a-ab77-0b154ec57d4a', 'name': 'ctest-vn-82882690', 'tenant_id': '40058c7bb81b4c98823ad72b1f027e69', 'project_id': '40058c7bb81b4c98823ad72b1f027e69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['135cc3e0-5a59-407a-b327-941aa270e7bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58888182', 'ctest-vn-82882690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58888182', 'ctest-policy-allow-all-36262461']], 'subnet_ipam': [{'subnet_cidr': '99.162.244.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-22 13:37:22,364 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-22 13:37:22,655 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-22 13:37:22,686 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3d4477e5-6f25-4379-ad0e-f85d3877549d 2026-04-22 13:37:22,698 - DEBUG - Requesting: http://10.0.0.27:8082/project/40058c7b-b81b-4c98-823a-d72b1f027e69 2026-04-22 13:37:22,765 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d78aae06-ba82-4a0b-979e-d7b6f8050475 2026-04-22 13:37:22,775 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d78aae06-ba82-4a0b-979e-d7b6f8050475 2026-04-22 13:37:22,783 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0b82de2b-701a-4716-8021-ac70a1e88c56 2026-04-22 13:37:22,789 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0b82de2b-701a-4716-8021-ac70a1e88c56 2026-04-22 13:37:22,795 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/969aab71-b119-4bf8-a192-30a4c94c44bf 2026-04-22 13:37:22,801 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-22 13:37:22,801 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d78aae06-ba82-4a0b-979e-d7b6f8050475 2026-04-22 13:37:22,809 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0b82de2b-701a-4716-8021-ac70a1e88c56 2026-04-22 13:37:22,822 - INFO - Verified VN network id 11 for VN d78aae06-ba82-4a0b-979e-d7b6f8050475 2026-04-22 13:37:22,822 - INFO - Verifications in API Server for VN ctest-vn-20345434 passed 2026-04-22 13:37:22,822 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d78aae06-ba82-4a0b-979e-d7b6f8050475 2026-04-22 13:37:22,830 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0b82de2b-701a-4716-8021-ac70a1e88c56 2026-04-22 13:37:22,836 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0b82de2b-701a-4716-8021-ac70a1e88c56 2026-04-22 13:37:22,841 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/969aab71-b119-4bf8-a192-30a4c94c44bf 2026-04-22 13:37:22,851 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-20345434', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58888182', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15531417608862714379', 'uuid-lslong': '10925406926892500085'}, 'enable': 'true', 'created': '2026-04-22T13:37:20', 'last-modified': '2026-04-22T13:37:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918028'} 2026-04-22 13:37:22,856 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-22 13:37:22,856 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20345434 passed 2026-04-22 13:37:22,856 - DEBUG - ====Verifying policy data for ctest-vn-20345434 in API_Server ====== 2026-04-22 13:37:22,856 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-22 13:37:22,861 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3d4477e5-6f25-4379-ad0e-f85d3877549d 2026-04-22 13:37:22,874 - DEBUG - Requesting: http://10.0.0.27:8082/project/40058c7b-b81b-4c98-823a-d72b1f027e69 2026-04-22 13:37:22,949 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d78aae06-ba82-4a0b-979e-d7b6f8050475 2026-04-22 13:37:22,958 - DEBUG - ==>Verifying data for policy with id: 9f4b2bb0-fe05-471d-910f-dba4ca059e2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-58888182', 'ctest-policy-allow-all-36262461'] 2026-04-22 13:37:22,958 - INFO - VN ctest-vn-20345434 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-22 13:37:22,958 - DEBUG - Verifying the vn in opserver 2026-04-22 13:37:22,958 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-20345434 virtual network link through opserver 10.0.0.27 2026-04-22 13:37:22,958 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-22 13:37:23,253 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-22 13:37:23,310 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-20345434', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-20345434?flat'} 2026-04-22 13:37:23,310 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-20345434 is found in opserver 2026-04-22 13:37:23,319 - DEBUG - Do not have enough data to verify VN in agent 2026-04-22 13:37:23,323 - DEBUG - VRF ids for VN ctest-vn-20345434: {} 2026-04-22 13:37:23,323 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-22 13:37:23,328 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3d4477e5-6f25-4379-ad0e-f85d3877549d 2026-04-22 13:37:23,340 - DEBUG - Requesting: http://10.0.0.27:8082/project/40058c7b-b81b-4c98-823a-d72b1f027e69 2026-04-22 13:37:23,409 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5f7fd906-ab12-437a-ab77-0b154ec57d4a 2026-04-22 13:37:23,421 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5f7fd906-ab12-437a-ab77-0b154ec57d4a 2026-04-22 13:37:23,431 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/81aab410-6d12-46bd-9be2-fb16e6e92aba 2026-04-22 13:37:23,439 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/81aab410-6d12-46bd-9be2-fb16e6e92aba 2026-04-22 13:37:23,445 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0c7549d5-58b4-42cf-b6a1-666e8d6ebd19 2026-04-22 13:37:23,450 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-22 13:37:23,450 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5f7fd906-ab12-437a-ab77-0b154ec57d4a 2026-04-22 13:37:23,458 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/81aab410-6d12-46bd-9be2-fb16e6e92aba 2026-04-22 13:37:23,471 - INFO - Verified VN network id 12 for VN 5f7fd906-ab12-437a-ab77-0b154ec57d4a 2026-04-22 13:37:23,471 - INFO - Verifications in API Server for VN ctest-vn-82882690 passed 2026-04-22 13:37:23,471 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5f7fd906-ab12-437a-ab77-0b154ec57d4a 2026-04-22 13:37:23,479 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/81aab410-6d12-46bd-9be2-fb16e6e92aba 2026-04-22 13:37:23,485 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/81aab410-6d12-46bd-9be2-fb16e6e92aba 2026-04-22 13:37:23,490 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0c7549d5-58b4-42cf-b6a1-666e8d6ebd19 2026-04-22 13:37:23,500 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-82882690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58888182', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6881457378308539258', 'uuid-lslong': '12355356288858029386'}, 'enable': 'true', 'created': '2026-04-22T13:37:21', 'last-modified': '2026-04-22T13:37:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.330139'} 2026-04-22 13:37:23,505 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-22 13:37:23,507 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82882690 passed 2026-04-22 13:37:23,507 - DEBUG - ====Verifying policy data for ctest-vn-82882690 in API_Server ====== 2026-04-22 13:37:23,507 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-22 13:37:23,512 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3d4477e5-6f25-4379-ad0e-f85d3877549d 2026-04-22 13:37:23,521 - DEBUG - Requesting: http://10.0.0.27:8082/project/40058c7b-b81b-4c98-823a-d72b1f027e69 2026-04-22 13:37:23,589 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5f7fd906-ab12-437a-ab77-0b154ec57d4a 2026-04-22 13:37:23,597 - DEBUG - ==>Verifying data for policy with id: 9f4b2bb0-fe05-471d-910f-dba4ca059e2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-58888182', 'ctest-policy-allow-all-36262461'] 2026-04-22 13:37:23,597 - INFO - VN ctest-vn-82882690 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-22 13:37:23,598 - DEBUG - Verifying the vn in opserver 2026-04-22 13:37:23,598 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-82882690 virtual network link through opserver 10.0.0.27 2026-04-22 13:37:23,598 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-22 13:37:23,606 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-82882690', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-82882690?flat'} 2026-04-22 13:37:23,606 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-82882690 is found in opserver 2026-04-22 13:37:23,625 - DEBUG - Do not have enough data to verify VN in agent 2026-04-22 13:37:23,629 - DEBUG - VRF ids for VN ctest-vn-82882690: {} 2026-04-22 13:37:23,685 - DEBUG - Services list from nova: [, , ] 2026-04-22 13:37:24,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5666-1) 2026-04-22 13:37:25,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5666-1) 2026-04-22 13:37:25,770 - INFO - Waiting for VM ctest-TestBasicPolicy-58888182-93322918 to be up.. 2026-04-22 13:37:25,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-22 13:37:30,920 - DEBUG - VM is in ACTIVE state now 2026-04-22 13:37:30,920 - INFO - VM name : ctest-TestBasicPolicy-58888182-93322918 2026-04-22 13:37:30,992 - DEBUG - VM ctest-TestBasicPolicy-58888182-93322918 ID is 33760a29-b28f-4e65-b50a-911d3b588bc6 2026-04-22 13:37:31,012 - DEBUG - VM ctest-TestBasicPolicy-58888182-93322918 launched on Node cn-jenkins-deploy-platform-ansible-os-5666-1 2026-04-22 13:37:31,086 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/33760a29-b28f-4e65-b50a-911d3b588bc6 2026-04-22 13:37:31,094 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/41338089-34d8-48b8-8e24-c7e1d1506570 2026-04-22 13:37:34,358 - 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-04-22 13:37:34,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58888182-93322918 failed! 2026-04-22 13:37:34,412 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58888182:ctest-vn-20345434 is 180.196.12.65 and allocation pool is NOT set 2026-04-22 13:37:36,477 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.489/1.663/2.838/1.174 ms') 2026-04-22 13:37:36,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58888182-93322918 passed 2026-04-22 13:37:36,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 13:37:36,624 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58888182-93322918, IP 180.196.12.67, Port 22 2026-04-22 13:37:36,779 - DEBUG - VM ctest-TestBasicPolicy-58888182-93322918 is ready for SSH connections 2026-04-22 13:37:36,780 - INFO - Waiting for VM ctest-TestBasicPolicy-58888182-66520364 to be up.. 2026-04-22 13:37:36,845 - DEBUG - VM is in ACTIVE state now 2026-04-22 13:37:36,845 - INFO - VM name : ctest-TestBasicPolicy-58888182-66520364 2026-04-22 13:37:36,911 - DEBUG - VM ctest-TestBasicPolicy-58888182-66520364 ID is 62b36e1d-35ab-455e-8132-766bfda3307d 2026-04-22 13:37:36,911 - DEBUG - VM ctest-TestBasicPolicy-58888182-66520364 launched on Node cn-jenkins-deploy-platform-ansible-os-5666-1 2026-04-22 13:37:36,979 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/62b36e1d-35ab-455e-8132-766bfda3307d 2026-04-22 13:37:36,986 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/297fdc53-7600-497c-ba21-b89ea13bc077 2026-04-22 13:37:38,213 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.498/2.545/1.047 ms') 2026-04-22 13:37:38,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58888182-66520364 passed 2026-04-22 13:37:38,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 13:37:38,360 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58888182-66520364, IP 99.162.244.3, Port 22 2026-04-22 13:37:38,511 - DEBUG - VM ctest-TestBasicPolicy-58888182-66520364 is ready for SSH connections 2026-04-22 13:37:38,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 13:37:38,511 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.162.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-22 13:37:38,511 - DEBUG - ping -s 56 -c 3 -W 1 99.162.244.3 2026-04-22 13:37:42,467 - DEBUG - PING 99.162.244.3 (99.162.244.3): 56 data bytes 64 bytes from 99.162.244.3: seq=0 ttl=63 time=3.281 ms 64 bytes from 99.162.244.3: seq=1 ttl=63 time=0.759 ms 64 bytes from 99.162.244.3: seq=2 ttl=63 time=0.942 ms --- 99.162.244.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/1.660/3.281 ms 2026-04-22 13:37:42,467 - INFO - Ping to IP 99.162.244.3 from VM ctest-TestBasicPolicy-58888182-93322918 passed 2026-04-22 13:37:42,636 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9f4b2bb0-fe05-471d-910f-dba4ca059e2e", "href": "http://10.0.0.27:8082/network-policy/9f4b2bb0-fe05-471d-910f-dba4ca059e2e"}} 2026-04-22 13:37:42,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 13:37:42,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.162.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-22 13:37:42,636 - DEBUG - ping -s 56 -c 3 -W 1 99.162.244.3 2026-04-22 13:37:45,840 - DEBUG - PING 99.162.244.3 (99.162.244.3): 56 data bytes --- 99.162.244.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-22 13:37:45,841 - WARNING - Ping to IP 99.162.244.3 from VM ctest-TestBasicPolicy-58888182-93322918 failed 2026-04-22 13:37:45,841 - INFO - Deleting VM ctest-TestBasicPolicy-58888182-66520364 2026-04-22 13:37:45,902 - INFO - Deleting VM ctest-TestBasicPolicy-58888182-93322918 2026-04-22 13:37:46,235 - INFO - Deleted policy ctest-policy-allow-all-36262461 2026-04-22 13:37:46,235 - INFO - Deleting VN ctest-vn-82882690 2026-04-22 13:37:46,270 - DEBUG - VN 5f7fd906-ab12-437a-ab77-0b154ec57d4a still in use: Unable to complete operation on network 5f7fd906-ab12-437a-ab77-0b154ec57d4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a9f4c3a-882b-4216-aa8e-fa940a319266'] 2026-04-22 13:37:46,270 - WARNING - Deleting VN ctest-vn-82882690 failed..Will retry 2026-04-22 13:37:48,356 - DEBUG - Response for deleting network () 2026-04-22 13:37:48,356 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/81aab410-6d12-46bd-9be2-fb16e6e92aba 2026-04-22 13:37:48,361 - DEBUG - Response Code: 404 2026-04-22 13:37:48,361 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-22 13:37:48,366 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3d4477e5-6f25-4379-ad0e-f85d3877549d 2026-04-22 13:37:48,417 - DEBUG - Requesting: http://10.0.0.27:8082/project/40058c7b-b81b-4c98-823a-d72b1f027e69 2026-04-22 13:37:48,485 - INFO - Validated that VN ctest-vn-82882690 is not found in API Server 2026-04-22 13:37:48,493 - DEBUG - VN ctest-vn-82882690 is not present in Agent 10.0.0.27 2026-04-22 13:37:48,494 - INFO - Validated that VN ctest-vn-82882690 is not in any agent 2026-04-22 13:37:48,505 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82882690 info 2026-04-22 13:37:48,505 - INFO - Deleting VN ctest-vn-20345434 2026-04-22 13:37:48,589 - DEBUG - Response for deleting network () 2026-04-22 13:37:48,589 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0b82de2b-701a-4716-8021-ac70a1e88c56 2026-04-22 13:37:48,596 - DEBUG - Response Code: 404 2026-04-22 13:37:48,596 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-22 13:37:48,601 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3d4477e5-6f25-4379-ad0e-f85d3877549d 2026-04-22 13:37:48,653 - DEBUG - Requesting: http://10.0.0.27:8082/project/40058c7b-b81b-4c98-823a-d72b1f027e69 2026-04-22 13:37:48,724 - INFO - Validated that VN ctest-vn-20345434 is not found in API Server 2026-04-22 13:37:48,733 - DEBUG - VN ctest-vn-20345434 is not present in Agent 10.0.0.27 2026-04-22 13:37:48,733 - INFO - Validated that VN ctest-vn-20345434 is not in any agent 2026-04-22 13:37:48,745 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20345434 info 2026-04-22 13:37:48,996 - DEBUG - No XMPP flaps were noticed during the test 2026-04-22 13:37:48,996 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-04-22 13:37:48,996 - INFO - -------------------------------------------------------------------------------- 2026-04-22 13:37:49,672 - INFO - Deleted project: ctest-TestBasicPolicy-58888182, ID : 40058c7b-b81b-4c98-823a-d72b1f027e69