2026-01-08 19:28:37,162 - INFO - Domain Default found not creating 2026-01-08 19:28:37,331 - INFO - Project ctest-TestBasicPolicy-18397528 not found, creating it 2026-01-08 19:28:37,789 - INFO - Created Project:ctest-TestBasicPolicy-18397528, ID : ac1e84bb-9929-4fa5-a964-a46219ab65fb 2026-01-08 19:28:39,233 - INFO - ================================================================================ 2026-01-08 19:28:39,233 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-08 19:28:39,233 - 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-01-08 19:28:39,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-08 19:28:39,497 - INFO - Initial checks done. Running the testcase now 2026-01-08 19:28:39,497 - INFO - 2026-01-08 19:28:40,041 - DEBUG - Response for create_network : {'network': {'id': '19e48a4f-459e-46c3-b484-21bdafe4a75b', 'name': 'ctest-vn-21708217', 'tenant_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'project_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18397528', 'ctest-vn-21708217'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 19:28:40,205 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e81c4a11-e6df-42b1-93aa-fccd2e0b0c76', 'name': '', 'tenant_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'network_id': '19e48a4f-459e-46c3-b484-21bdafe4a75b', 'ip_version': 4, 'cidr': '3.189.185.192/26', 'allocation_pools': [{'start': '3.189.185.194', 'end': '3.189.185.254'}], 'gateway_ip': '3.189.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.189.185.194', 'tags': [], 'project_id': 'ac1e84bb99294fa5a964a46219ab65fb'}} 2026-01-08 19:28:40,222 - INFO - Created VN ctest-vn-21708217 2026-01-08 19:28:40,275 - DEBUG - VN ctest-vn-21708217 UUID is 19e48a4f-459e-46c3-b484-21bdafe4a75b 2026-01-08 19:28:40,593 - DEBUG - Response for create_network : {'network': {'id': 'c644fd7d-9de7-462d-be4a-6f51a233887b', 'name': 'ctest-vn-47380058', 'tenant_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'project_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18397528', 'ctest-vn-47380058'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 19:28:40,798 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb4bc839-bdb8-49e4-bb99-57645677daf5', 'name': '', 'tenant_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'network_id': 'c644fd7d-9de7-462d-be4a-6f51a233887b', 'ip_version': 4, 'cidr': '144.22.97.64/26', 'allocation_pools': [{'start': '144.22.97.66', 'end': '144.22.97.126'}], 'gateway_ip': '144.22.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.22.97.66', 'tags': [], 'project_id': 'ac1e84bb99294fa5a964a46219ab65fb'}} 2026-01-08 19:28:40,816 - INFO - Created VN ctest-vn-47380058 2026-01-08 19:28:40,867 - DEBUG - VN ctest-vn-47380058 UUID is c644fd7d-9de7-462d-be4a-6f51a233887b 2026-01-08 19:28:40,980 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-21708217, 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-18397528:ctest-vn-47380058, 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-01-08 19:28:41,267 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19e48a4f-459e-46c3-b484-21bdafe4a75b', 'name': 'ctest-vn-21708217', 'tenant_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'project_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e81c4a11-e6df-42b1-93aa-fccd2e0b0c76'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18397528', 'ctest-vn-21708217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18397528', 'ctest-policy-allow-all-66100503']], 'subnet_ipam': [{'subnet_cidr': '3.189.185.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-08 19:28:41,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c644fd7d-9de7-462d-be4a-6f51a233887b', 'name': 'ctest-vn-47380058', 'tenant_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'project_id': 'ac1e84bb99294fa5a964a46219ab65fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb4bc839-bdb8-49e4-bb99-57645677daf5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18397528', 'ctest-vn-47380058'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18397528', 'ctest-policy-allow-all-66100503']], 'subnet_ipam': [{'subnet_cidr': '144.22.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-08 19:28:41,655 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 19:28:41,948 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 19:28:41,979 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b29f63dd-f0b4-424c-97fa-d3047b4e06cd 2026-01-08 19:28:41,991 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac1e84bb-9929-4fa5-a964-a46219ab65fb 2026-01-08 19:28:42,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19e48a4f-459e-46c3-b484-21bdafe4a75b 2026-01-08 19:28:42,080 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19e48a4f-459e-46c3-b484-21bdafe4a75b 2026-01-08 19:28:42,090 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a517625-19e1-4bb1-ad2b-d16f1d8f3810 2026-01-08 19:28:42,099 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a517625-19e1-4bb1-ad2b-d16f1d8f3810 2026-01-08 19:28:42,107 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/94254b69-3dd4-4ad4-83a8-000a37227516 2026-01-08 19:28:42,114 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-08 19:28:42,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19e48a4f-459e-46c3-b484-21bdafe4a75b 2026-01-08 19:28:42,124 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a517625-19e1-4bb1-ad2b-d16f1d8f3810 2026-01-08 19:28:42,139 - INFO - Verified VN network id 11 for VN 19e48a4f-459e-46c3-b484-21bdafe4a75b 2026-01-08 19:28:42,140 - INFO - Verifications in API Server for VN ctest-vn-21708217 passed 2026-01-08 19:28:42,140 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19e48a4f-459e-46c3-b484-21bdafe4a75b 2026-01-08 19:28:42,149 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a517625-19e1-4bb1-ad2b-d16f1d8f3810 2026-01-08 19:28:42,157 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a517625-19e1-4bb1-ad2b-d16f1d8f3810 2026-01-08 19:28:42,165 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/94254b69-3dd4-4ad4-83a8-000a37227516 2026-01-08 19:28:42,177 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-21708217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18397528', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1865768218713278147', 'uuid-lslong': '13007558722336368475'}, 'enable': 'true', 'created': '2026-01-08T19:28:40', 'last-modified': '2026-01-08T19:28:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928000'} 2026-01-08 19:28:42,183 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-08 19:28:42,183 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21708217 passed 2026-01-08 19:28:42,184 - DEBUG - ====Verifying policy data for ctest-vn-21708217 in API_Server ====== 2026-01-08 19:28:42,184 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 19:28:42,189 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b29f63dd-f0b4-424c-97fa-d3047b4e06cd 2026-01-08 19:28:42,200 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac1e84bb-9929-4fa5-a964-a46219ab65fb 2026-01-08 19:28:42,269 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19e48a4f-459e-46c3-b484-21bdafe4a75b 2026-01-08 19:28:42,277 - DEBUG - ==>Verifying data for policy with id: 354ba3c2-a8a7-4c8a-ad98-6fda03141a9c, fqn: ['default-domain', 'ctest-TestBasicPolicy-18397528', 'ctest-policy-allow-all-66100503'] 2026-01-08 19:28:42,277 - INFO - VN ctest-vn-21708217 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-08 19:28:42,277 - DEBUG - Verifying the vn in opserver 2026-01-08 19:28:42,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-21708217 virtual network link through opserver 10.0.0.38 2026-01-08 19:28:42,277 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-08 19:28:42,570 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-08 19:28:42,636 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-21708217', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-21708217?flat'} 2026-01-08 19:28:42,636 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-21708217 is found in opserver 2026-01-08 19:28:42,646 - DEBUG - Do not have enough data to verify VN in agent 2026-01-08 19:28:42,650 - DEBUG - VRF ids for VN ctest-vn-21708217: {} 2026-01-08 19:28:42,650 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 19:28:42,656 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b29f63dd-f0b4-424c-97fa-d3047b4e06cd 2026-01-08 19:28:42,667 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac1e84bb-9929-4fa5-a964-a46219ab65fb 2026-01-08 19:28:42,734 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c644fd7d-9de7-462d-be4a-6f51a233887b 2026-01-08 19:28:42,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c644fd7d-9de7-462d-be4a-6f51a233887b 2026-01-08 19:28:42,754 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/583927ee-b84d-4ebb-8a1b-3921eae0a242 2026-01-08 19:28:42,761 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/583927ee-b84d-4ebb-8a1b-3921eae0a242 2026-01-08 19:28:42,768 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/19e2bbc9-7894-48ef-a4d2-1d5b3f4768b9 2026-01-08 19:28:42,775 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-08 19:28:42,775 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c644fd7d-9de7-462d-be4a-6f51a233887b 2026-01-08 19:28:42,784 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/583927ee-b84d-4ebb-8a1b-3921eae0a242 2026-01-08 19:28:42,797 - INFO - Verified VN network id 12 for VN c644fd7d-9de7-462d-be4a-6f51a233887b 2026-01-08 19:28:42,797 - INFO - Verifications in API Server for VN ctest-vn-47380058 passed 2026-01-08 19:28:42,798 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c644fd7d-9de7-462d-be4a-6f51a233887b 2026-01-08 19:28:42,806 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/583927ee-b84d-4ebb-8a1b-3921eae0a242 2026-01-08 19:28:42,812 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/583927ee-b84d-4ebb-8a1b-3921eae0a242 2026-01-08 19:28:42,818 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/19e2bbc9-7894-48ef-a4d2-1d5b3f4768b9 2026-01-08 19:28:42,829 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-47380058', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18397528', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14286822633887974957', 'uuid-lslong': '13711894411887216763'}, 'enable': 'true', 'created': '2026-01-08T19:28:40', 'last-modified': '2026-01-08T19:28:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355612'} 2026-01-08 19:28:42,835 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-08 19:28:42,835 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47380058 passed 2026-01-08 19:28:42,835 - DEBUG - ====Verifying policy data for ctest-vn-47380058 in API_Server ====== 2026-01-08 19:28:42,835 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 19:28:42,841 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b29f63dd-f0b4-424c-97fa-d3047b4e06cd 2026-01-08 19:28:42,852 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac1e84bb-9929-4fa5-a964-a46219ab65fb 2026-01-08 19:28:42,920 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c644fd7d-9de7-462d-be4a-6f51a233887b 2026-01-08 19:28:42,929 - DEBUG - ==>Verifying data for policy with id: 354ba3c2-a8a7-4c8a-ad98-6fda03141a9c, fqn: ['default-domain', 'ctest-TestBasicPolicy-18397528', 'ctest-policy-allow-all-66100503'] 2026-01-08 19:28:42,929 - INFO - VN ctest-vn-47380058 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-08 19:28:42,929 - DEBUG - Verifying the vn in opserver 2026-01-08 19:28:42,929 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-47380058 virtual network link through opserver 10.0.0.38 2026-01-08 19:28:42,929 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-08 19:28:42,939 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-47380058', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-47380058?flat'} 2026-01-08 19:28:42,939 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-47380058 is found in opserver 2026-01-08 19:28:42,948 - DEBUG - Do not have enough data to verify VN in agent 2026-01-08 19:28:42,953 - DEBUG - VRF ids for VN ctest-vn-47380058: {} 2026-01-08 19:28:43,013 - DEBUG - Services list from nova: [, , ] 2026-01-08 19:28:44,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4984-1) 2026-01-08 19:28:45,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4984-1) 2026-01-08 19:28:45,225 - INFO - Waiting for VM ctest-TestBasicPolicy-18397528-15216194 to be up.. 2026-01-08 19:28:45,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 19:28:50,386 - DEBUG - VM is in ACTIVE state now 2026-01-08 19:28:50,387 - INFO - VM name : ctest-TestBasicPolicy-18397528-15216194 2026-01-08 19:28:50,467 - DEBUG - VM ctest-TestBasicPolicy-18397528-15216194 ID is 499a2ab9-c76c-49c2-98d6-517a0e98c9d3 2026-01-08 19:28:50,489 - DEBUG - VM ctest-TestBasicPolicy-18397528-15216194 launched on Node cn-jenkins-deploy-platform-ansible-os-4984-1 2026-01-08 19:28:50,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/499a2ab9-c76c-49c2-98d6-517a0e98c9d3 2026-01-08 19:28:50,575 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13822d6c-9cbe-4aae-bef7-70e6a29c0970 2026-01-08 19:28:53,842 - 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 1022ms') 2026-01-08 19:28:53,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18397528-15216194 failed! 2026-01-08 19:28:53,899 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18397528:ctest-vn-21708217 is 3.189.185.193 and allocation pool is NOT set 2026-01-08 19:28:55,960 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 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 = 2.714/5.759/8.804/3.045 ms') 2026-01-08 19:28:55,961 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18397528-15216194 passed 2026-01-08 19:28:56,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 19:28:56,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18397528-15216194, IP 3.189.185.195, Port 22 2026-01-08 19:28:56,267 - DEBUG - VM ctest-TestBasicPolicy-18397528-15216194 is ready for SSH connections 2026-01-08 19:28:56,267 - INFO - Waiting for VM ctest-TestBasicPolicy-18397528-55760903 to be up.. 2026-01-08 19:28:56,345 - DEBUG - VM is in ACTIVE state now 2026-01-08 19:28:56,345 - INFO - VM name : ctest-TestBasicPolicy-18397528-55760903 2026-01-08 19:28:56,425 - DEBUG - VM ctest-TestBasicPolicy-18397528-55760903 ID is 84199cdd-3e61-47e7-bebb-282b2f83f061 2026-01-08 19:28:56,425 - DEBUG - VM ctest-TestBasicPolicy-18397528-55760903 launched on Node cn-jenkins-deploy-platform-ansible-os-4984-1 2026-01-08 19:28:56,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/84199cdd-3e61-47e7-bebb-282b2f83f061 2026-01-08 19:28:56,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a140c4c7-ae59-4d11-8a8a-d6e9281c6e6f 2026-01-08 19:28:57,741 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.624/2.780/1.155 ms') 2026-01-08 19:28:57,741 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18397528-55760903 passed 2026-01-08 19:28:57,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 19:28:57,891 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18397528-55760903, IP 144.22.97.67, Port 22 2026-01-08 19:28:58,050 - DEBUG - VM ctest-TestBasicPolicy-18397528-55760903 is ready for SSH connections 2026-01-08 19:28:58,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 19:28:58,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.22.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-08 19:28:58,051 - DEBUG - ping -s 56 -c 3 -W 1 144.22.97.67 2026-01-08 19:29:02,072 - DEBUG - PING 144.22.97.67 (144.22.97.67): 56 data bytes 64 bytes from 144.22.97.67: seq=0 ttl=63 time=3.304 ms 64 bytes from 144.22.97.67: seq=1 ttl=63 time=0.997 ms 64 bytes from 144.22.97.67: seq=2 ttl=63 time=1.136 ms --- 144.22.97.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/1.812/3.304 ms 2026-01-08 19:29:02,073 - INFO - Ping to IP 144.22.97.67 from VM ctest-TestBasicPolicy-18397528-15216194 passed 2026-01-08 19:29:02,247 - DEBUG - Policy Update Response {"network-policy": {"uuid": "354ba3c2-a8a7-4c8a-ad98-6fda03141a9c", "href": "http://10.0.0.38:8082/network-policy/354ba3c2-a8a7-4c8a-ad98-6fda03141a9c"}} 2026-01-08 19:29:02,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 19:29:02,247 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.22.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-08 19:29:02,247 - DEBUG - ping -s 56 -c 3 -W 1 144.22.97.67 2026-01-08 19:29:05,478 - DEBUG - PING 144.22.97.67 (144.22.97.67): 56 data bytes --- 144.22.97.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-08 19:29:05,478 - WARNING - Ping to IP 144.22.97.67 from VM ctest-TestBasicPolicy-18397528-15216194 failed 2026-01-08 19:29:05,478 - INFO - Deleting VM ctest-TestBasicPolicy-18397528-55760903 2026-01-08 19:29:05,548 - INFO - Deleting VM ctest-TestBasicPolicy-18397528-15216194 2026-01-08 19:29:05,948 - INFO - Deleted policy ctest-policy-allow-all-66100503 2026-01-08 19:29:05,948 - INFO - Deleting VN ctest-vn-47380058 2026-01-08 19:29:05,989 - DEBUG - VN c644fd7d-9de7-462d-be4a-6f51a233887b still in use: Unable to complete operation on network c644fd7d-9de7-462d-be4a-6f51a233887b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5f89af1-3f6d-4e7f-b488-ec871d0ff60f'] 2026-01-08 19:29:05,989 - WARNING - Deleting VN ctest-vn-47380058 failed..Will retry 2026-01-08 19:29:08,078 - DEBUG - Response for deleting network () 2026-01-08 19:29:08,078 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/583927ee-b84d-4ebb-8a1b-3921eae0a242 2026-01-08 19:29:08,083 - DEBUG - Response Code: 404 2026-01-08 19:29:08,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 19:29:08,092 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b29f63dd-f0b4-424c-97fa-d3047b4e06cd 2026-01-08 19:29:08,144 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac1e84bb-9929-4fa5-a964-a46219ab65fb 2026-01-08 19:29:08,210 - INFO - Validated that VN ctest-vn-47380058 is not found in API Server 2026-01-08 19:29:08,218 - DEBUG - VN ctest-vn-47380058 is not present in Agent 10.0.0.38 2026-01-08 19:29:08,218 - INFO - Validated that VN ctest-vn-47380058 is not in any agent 2026-01-08 19:29:08,230 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47380058 info 2026-01-08 19:29:08,230 - INFO - Deleting VN ctest-vn-21708217 2026-01-08 19:29:08,321 - DEBUG - Response for deleting network () 2026-01-08 19:29:08,322 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1a517625-19e1-4bb1-ad2b-d16f1d8f3810 2026-01-08 19:29:08,328 - DEBUG - Response Code: 404 2026-01-08 19:29:08,328 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-08 19:29:08,332 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b29f63dd-f0b4-424c-97fa-d3047b4e06cd 2026-01-08 19:29:08,388 - DEBUG - Requesting: http://10.0.0.38:8082/project/ac1e84bb-9929-4fa5-a964-a46219ab65fb 2026-01-08 19:29:08,459 - INFO - Validated that VN ctest-vn-21708217 is not found in API Server 2026-01-08 19:29:08,470 - DEBUG - VN ctest-vn-21708217 is not present in Agent 10.0.0.38 2026-01-08 19:29:08,470 - INFO - Validated that VN ctest-vn-21708217 is not in any agent 2026-01-08 19:29:08,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21708217 info 2026-01-08 19:29:08,736 - DEBUG - No XMPP flaps were noticed during the test
2026-01-08 19:29:08,736 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-08 19:29:08,736 - INFO - -------------------------------------------------------------------------------- 2026-01-08 19:29:09,423 - INFO - Deleted project: ctest-TestBasicPolicy-18397528, ID : ac1e84bb-9929-4fa5-a964-a46219ab65fb