2025-12-05 08:24:57,853 - INFO - Domain Default found not creating 2025-12-05 08:24:58,029 - INFO - Project ctest-TestBasicPolicy-67774718 not found, creating it 2025-12-05 08:24:58,486 - INFO - Created Project:ctest-TestBasicPolicy-67774718, ID : 543735f6-1f33-4aeb-9e18-45a1625d48cd 2025-12-05 08:24:59,983 - INFO - ================================================================================ 2025-12-05 08:24:59,983 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-05 08:24:59,983 - 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 2025-12-05 08:25:00,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-12-05 08:25:00,237 - INFO - Initial checks done. Running the testcase now 2025-12-05 08:25:00,237 - INFO - 2025-12-05 08:25:00,777 - DEBUG - Response for create_network : {'network': {'id': '741f3bb7-552f-49df-8b97-17e50d03d6e3', 'name': 'ctest-vn-09687525', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'project_id': '543735f61f334aeb9e1845a1625d48cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-vn-09687525'], 'port_security_enabled': True, 'description': ''}} 2025-12-05 08:25:00,971 - DEBUG - Response for create_subnet : {'subnet': {'id': '11552773-7b4b-404f-bf45-debeb62f5f86', 'name': '', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'network_id': '741f3bb7-552f-49df-8b97-17e50d03d6e3', 'ip_version': 4, 'cidr': '131.249.249.64/26', 'allocation_pools': [{'start': '131.249.249.66', 'end': '131.249.249.126'}], 'gateway_ip': '131.249.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.249.249.66', 'tags': [], 'project_id': '543735f61f334aeb9e1845a1625d48cd'}} 2025-12-05 08:25:00,991 - INFO - Created VN ctest-vn-09687525 2025-12-05 08:25:01,042 - DEBUG - VN ctest-vn-09687525 UUID is 741f3bb7-552f-49df-8b97-17e50d03d6e3 2025-12-05 08:25:01,373 - DEBUG - Response for create_network : {'network': {'id': 'b612820a-2262-4b88-ac57-0ee6b84f96cd', 'name': 'ctest-vn-68204547', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'project_id': '543735f61f334aeb9e1845a1625d48cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-vn-68204547'], 'port_security_enabled': True, 'description': ''}} 2025-12-05 08:25:01,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dfe2c22-4a6c-41e6-9d23-59d0eeaee350', 'name': '', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'network_id': 'b612820a-2262-4b88-ac57-0ee6b84f96cd', 'ip_version': 4, 'cidr': '92.200.28.64/26', 'allocation_pools': [{'start': '92.200.28.66', 'end': '92.200.28.126'}], 'gateway_ip': '92.200.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.200.28.66', 'tags': [], 'project_id': '543735f61f334aeb9e1845a1625d48cd'}} 2025-12-05 08:25:01,614 - INFO - Created VN ctest-vn-68204547 2025-12-05 08:25:01,666 - DEBUG - VN ctest-vn-68204547 UUID is b612820a-2262-4b88-ac57-0ee6b84f96cd 2025-12-05 08:25:01,785 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525, 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-67774718:ctest-vn-68204547, 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] 2025-12-05 08:25:02,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '741f3bb7-552f-49df-8b97-17e50d03d6e3', 'name': 'ctest-vn-09687525', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'project_id': '543735f61f334aeb9e1845a1625d48cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11552773-7b4b-404f-bf45-debeb62f5f86'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-vn-09687525'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-policy-allow-all-27608870']], 'subnet_ipam': [{'subnet_cidr': '131.249.249.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-05 08:25:02,371 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b612820a-2262-4b88-ac57-0ee6b84f96cd', 'name': 'ctest-vn-68204547', 'tenant_id': '543735f61f334aeb9e1845a1625d48cd', 'project_id': '543735f61f334aeb9e1845a1625d48cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1dfe2c22-4a6c-41e6-9d23-59d0eeaee350'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-vn-68204547'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-policy-allow-all-27608870']], 'subnet_ipam': [{'subnet_cidr': '92.200.28.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-05 08:25:02,518 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-05 08:25:02,818 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-05 08:25:02,850 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3 2025-12-05 08:25:02,861 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd 2025-12-05 08:25:02,931 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3 2025-12-05 08:25:02,941 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3 2025-12-05 08:25:02,950 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920 2025-12-05 08:25:02,958 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920 2025-12-05 08:25:02,965 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/70055a97-ce68-4347-b5ea-8afa9e5c66b7 2025-12-05 08:25:02,971 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-05 08:25:02,971 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3 2025-12-05 08:25:02,980 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920 2025-12-05 08:25:02,993 - INFO - Verified VN network id 11 for VN 741f3bb7-552f-49df-8b97-17e50d03d6e3 2025-12-05 08:25:02,993 - INFO - Verifications in API Server for VN ctest-vn-09687525 passed 2025-12-05 08:25:02,993 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3 2025-12-05 08:25:03,002 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920 2025-12-05 08:25:03,009 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920 2025-12-05 08:25:03,017 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/70055a97-ce68-4347-b5ea-8afa9e5c66b7 2025-12-05 08:25:03,032 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67774718', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8367472291271887327', 'uuid-lslong': '10058534565288597219'}, 'enable': 'true', 'created': '2025-12-05T08:25:00', 'last-modified': '2025-12-05T08:25:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960614'} 2025-12-05 08:25:03,038 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-05 08:25:03,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09687525 passed 2025-12-05 08:25:03,039 - DEBUG - ====Verifying policy data for ctest-vn-09687525 in API_Server ====== 2025-12-05 08:25:03,039 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-05 08:25:03,044 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3 2025-12-05 08:25:03,055 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd 2025-12-05 08:25:03,129 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/741f3bb7-552f-49df-8b97-17e50d03d6e3 2025-12-05 08:25:03,139 - DEBUG - ==>Verifying data for policy with id: e079aea9-13b9-44d3-94c7-3416d0a9b5ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-policy-allow-all-27608870'] 2025-12-05 08:25:03,139 - INFO - VN ctest-vn-09687525 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-05 08:25:03,139 - DEBUG - Verifying the vn in opserver 2025-12-05 08:25:03,139 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525 virtual network link through opserver 10.0.0.249 2025-12-05 08:25:03,139 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-05 08:25:03,445 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-05 08:25:03,515 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525?flat'} 2025-12-05 08:25:03,515 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525 is found in opserver 2025-12-05 08:25:03,526 - DEBUG - Do not have enough data to verify VN in agent 2025-12-05 08:25:03,530 - DEBUG - VRF ids for VN ctest-vn-09687525: {} 2025-12-05 08:25:03,530 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-05 08:25:03,536 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3 2025-12-05 08:25:03,546 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd 2025-12-05 08:25:03,619 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd 2025-12-05 08:25:03,633 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd 2025-12-05 08:25:03,641 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf 2025-12-05 08:25:03,649 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf 2025-12-05 08:25:03,657 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a051edba-5c43-45d1-a7b9-568cd153f149 2025-12-05 08:25:03,663 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-05 08:25:03,664 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd 2025-12-05 08:25:03,675 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf 2025-12-05 08:25:03,690 - INFO - Verified VN network id 12 for VN b612820a-2262-4b88-ac57-0ee6b84f96cd 2025-12-05 08:25:03,690 - INFO - Verifications in API Server for VN ctest-vn-68204547 passed 2025-12-05 08:25:03,690 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd 2025-12-05 08:25:03,699 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf 2025-12-05 08:25:03,707 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf 2025-12-05 08:25:03,714 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a051edba-5c43-45d1-a7b9-568cd153f149 2025-12-05 08:25:03,727 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67774718', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13119691644521827208', 'uuid-lslong': '12418410881594922701'}, 'enable': 'true', 'created': '2025-12-05T08:25:01', 'last-modified': '2025-12-05T08:25:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.421891'} 2025-12-05 08:25:03,734 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-05 08:25:03,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68204547 passed 2025-12-05 08:25:03,734 - DEBUG - ====Verifying policy data for ctest-vn-68204547 in API_Server ====== 2025-12-05 08:25:03,734 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-05 08:25:03,741 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3 2025-12-05 08:25:03,753 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd 2025-12-05 08:25:03,824 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b612820a-2262-4b88-ac57-0ee6b84f96cd 2025-12-05 08:25:03,833 - DEBUG - ==>Verifying data for policy with id: e079aea9-13b9-44d3-94c7-3416d0a9b5ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-67774718', 'ctest-policy-allow-all-27608870'] 2025-12-05 08:25:03,833 - INFO - VN ctest-vn-68204547 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-05 08:25:03,833 - DEBUG - Verifying the vn in opserver 2025-12-05 08:25:03,834 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547 virtual network link through opserver 10.0.0.249 2025-12-05 08:25:03,834 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-05 08:25:03,844 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547?flat'} 2025-12-05 08:25:03,844 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-68204547 is found in opserver 2025-12-05 08:25:03,857 - DEBUG - Do not have enough data to verify VN in agent 2025-12-05 08:25:03,862 - DEBUG - VRF ids for VN ctest-vn-68204547: {} 2025-12-05 08:25:03,926 - DEBUG - Services list from nova: [, , ] 2025-12-05 08:25:04,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4847-1) 2025-12-05 08:25:06,067 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4847-1) 2025-12-05 08:25:06,067 - INFO - Waiting for VM ctest-TestBasicPolicy-67774718-10639830 to be up.. 2025-12-05 08:25:06,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-05 08:25:11,218 - DEBUG - VM is in ACTIVE state now 2025-12-05 08:25:11,218 - INFO - VM name : ctest-TestBasicPolicy-67774718-10639830 2025-12-05 08:25:11,289 - DEBUG - VM ctest-TestBasicPolicy-67774718-10639830 ID is a9b95ac8-cef4-4d82-a538-260d653ceb24 2025-12-05 08:25:11,310 - DEBUG - VM ctest-TestBasicPolicy-67774718-10639830 launched on Node cn-jenkins-deploy-platform-ansible-os-4847-1 2025-12-05 08:25:11,380 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a9b95ac8-cef4-4d82-a538-260d653ceb24 2025-12-05 08:25:11,389 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5eb0063d-b548-431c-8b82-2eb2dcf3d5ed 2025-12-05 08:25:14,634 - 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 1011ms') 2025-12-05 08:25:14,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67774718-10639830 failed! 2025-12-05 08:25:14,690 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67774718:ctest-vn-09687525 is 131.249.249.65 and allocation pool is NOT set 2025-12-05 08:25:16,752 - 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=7.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.641 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.641/4.071/7.502/3.430 ms') 2025-12-05 08:25:16,753 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67774718-10639830 passed 2025-12-05 08:25:16,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 08:25:16,906 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67774718-10639830, IP 131.249.249.67, Port 22 2025-12-05 08:25:17,062 - DEBUG - VM ctest-TestBasicPolicy-67774718-10639830 is ready for SSH connections 2025-12-05 08:25:17,062 - INFO - Waiting for VM ctest-TestBasicPolicy-67774718-25882785 to be up.. 2025-12-05 08:25:17,131 - DEBUG - VM is in ACTIVE state now 2025-12-05 08:25:17,131 - INFO - VM name : ctest-TestBasicPolicy-67774718-25882785 2025-12-05 08:25:17,199 - DEBUG - VM ctest-TestBasicPolicy-67774718-25882785 ID is 0b878a13-f1a9-48cd-aa55-03a0a73fe671 2025-12-05 08:25:17,199 - DEBUG - VM ctest-TestBasicPolicy-67774718-25882785 launched on Node cn-jenkins-deploy-platform-ansible-os-4847-1 2025-12-05 08:25:17,266 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0b878a13-f1a9-48cd-aa55-03a0a73fe671 2025-12-05 08:25:17,274 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/195d654c-7c6c-4212-a7d2-106641a3d9d2 2025-12-05 08:25:18,502 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.338/1.745/3.152/1.407 ms') 2025-12-05 08:25:18,502 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67774718-25882785 passed 2025-12-05 08:25:18,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 08:25:18,650 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67774718-25882785, IP 92.200.28.67, Port 22 2025-12-05 08:25:18,810 - DEBUG - VM ctest-TestBasicPolicy-67774718-25882785 is ready for SSH connections 2025-12-05 08:25:18,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 08:25:18,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.200.28.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-05 08:25:18,810 - DEBUG - ping -s 56 -c 3 -W 1 92.200.28.67 2025-12-05 08:25:22,494 - DEBUG - PING 92.200.28.67 (92.200.28.67): 56 data bytes 64 bytes from 92.200.28.67: seq=0 ttl=63 time=3.382 ms 64 bytes from 92.200.28.67: seq=1 ttl=63 time=0.809 ms 64 bytes from 92.200.28.67: seq=2 ttl=63 time=0.947 ms --- 92.200.28.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.712/3.382 ms 2025-12-05 08:25:22,494 - INFO - Ping to IP 92.200.28.67 from VM ctest-TestBasicPolicy-67774718-10639830 passed 2025-12-05 08:25:22,666 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e079aea9-13b9-44d3-94c7-3416d0a9b5ad", "href": "http://10.0.0.249:8082/network-policy/e079aea9-13b9-44d3-94c7-3416d0a9b5ad"}} 2025-12-05 08:25:22,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 08:25:22,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.200.28.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-05 08:25:22,666 - DEBUG - ping -s 56 -c 3 -W 1 92.200.28.67 2025-12-05 08:25:25,866 - DEBUG - PING 92.200.28.67 (92.200.28.67): 56 data bytes --- 92.200.28.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-05 08:25:25,867 - WARNING - Ping to IP 92.200.28.67 from VM ctest-TestBasicPolicy-67774718-10639830 failed 2025-12-05 08:25:25,867 - INFO - Deleting VM ctest-TestBasicPolicy-67774718-25882785 2025-12-05 08:25:25,937 - INFO - Deleting VM ctest-TestBasicPolicy-67774718-10639830 2025-12-05 08:25:26,293 - INFO - Deleted policy ctest-policy-allow-all-27608870 2025-12-05 08:25:26,294 - INFO - Deleting VN ctest-vn-68204547 2025-12-05 08:25:26,333 - DEBUG - VN b612820a-2262-4b88-ac57-0ee6b84f96cd still in use: Unable to complete operation on network b612820a-2262-4b88-ac57-0ee6b84f96cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de18ace0-99ce-47d0-b5d7-e8970b0f6025'] 2025-12-05 08:25:26,333 - WARNING - Deleting VN ctest-vn-68204547 failed..Will retry 2025-12-05 08:25:28,428 - DEBUG - Response for deleting network () 2025-12-05 08:25:28,428 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2f2aa681-7b08-41bc-a10b-f91e8bbcb2bf 2025-12-05 08:25:28,438 - DEBUG - Response Code: 404 2025-12-05 08:25:28,439 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-05 08:25:28,444 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3 2025-12-05 08:25:28,499 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd 2025-12-05 08:25:28,570 - INFO - Validated that VN ctest-vn-68204547 is not found in API Server 2025-12-05 08:25:28,579 - DEBUG - VN ctest-vn-68204547 is not present in Agent 10.0.0.249 2025-12-05 08:25:28,579 - INFO - Validated that VN ctest-vn-68204547 is not in any agent 2025-12-05 08:25:28,594 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68204547 info 2025-12-05 08:25:28,594 - INFO - Deleting VN ctest-vn-09687525 2025-12-05 08:25:28,697 - DEBUG - Response for deleting network () 2025-12-05 08:25:28,697 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/30774c7a-b019-4227-b204-a869c866b920 2025-12-05 08:25:28,703 - DEBUG - Response Code: 404 2025-12-05 08:25:28,704 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-05 08:25:28,708 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b642a707-c47c-480e-9045-aa3b0427c9f3 2025-12-05 08:25:28,763 - DEBUG - Requesting: http://10.0.0.249:8082/project/543735f6-1f33-4aeb-9e18-45a1625d48cd 2025-12-05 08:25:28,840 - INFO - Validated that VN ctest-vn-09687525 is not found in API Server 2025-12-05 08:25:28,852 - DEBUG - VN ctest-vn-09687525 is not present in Agent 10.0.0.249 2025-12-05 08:25:28,852 - INFO - Validated that VN ctest-vn-09687525 is not in any agent 2025-12-05 08:25:28,865 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09687525 info 2025-12-05 08:25:29,119 - DEBUG - No XMPP flaps were noticed during the test
2025-12-05 08:25:29,120 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-05 08:25:29,120 - INFO - -------------------------------------------------------------------------------- 2025-12-05 08:25:29,884 - INFO - Deleted project: ctest-TestBasicPolicy-67774718, ID : 543735f6-1f33-4aeb-9e18-45a1625d48cd