2026-04-28 10:13:18,634 - INFO - Domain Default found not creating 2026-04-28 10:13:18,836 - INFO - Project ctest-TestBasicPolicy-53556722 not found, creating it 2026-04-28 10:13:19,283 - INFO - Created Project:ctest-TestBasicPolicy-53556722, ID : 31be6f55-9764-47a1-8c2b-8e2661fb43fb 2026-04-28 10:13:20,796 - INFO - ================================================================================ 2026-04-28 10:13:20,796 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 10:13:20,797 - 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-28 10:13:21,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-28 10:13:21,052 - INFO - Initial checks done. Running the testcase now 2026-04-28 10:13:21,052 - INFO - 2026-04-28 10:13:21,621 - DEBUG - Response for create_network : {'network': {'id': 'ea60bfb6-28e3-4f1e-be63-958e96c19919', 'name': 'ctest-vn-74403813', 'tenant_id': '31be6f55976447a18c2b8e2661fb43fb', 'project_id': '31be6f55976447a18c2b8e2661fb43fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53556722', 'ctest-vn-74403813'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 10:13:21,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '97bef648-e3c2-4e9a-a931-c74f7ea14f09', 'name': '', 'tenant_id': '31be6f55976447a18c2b8e2661fb43fb', 'network_id': 'ea60bfb6-28e3-4f1e-be63-958e96c19919', 'ip_version': 4, 'cidr': '147.178.136.192/26', 'allocation_pools': [{'start': '147.178.136.194', 'end': '147.178.136.254'}], 'gateway_ip': '147.178.136.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.178.136.194', 'tags': [], 'project_id': '31be6f55976447a18c2b8e2661fb43fb'}} 2026-04-28 10:13:21,835 - INFO - Created VN ctest-vn-74403813 2026-04-28 10:13:21,887 - DEBUG - VN ctest-vn-74403813 UUID is ea60bfb6-28e3-4f1e-be63-958e96c19919 2026-04-28 10:13:22,203 - DEBUG - Response for create_network : {'network': {'id': '28305b2c-fd92-47cc-9c87-1ec5b07f089d', 'name': 'ctest-vn-83728014', 'tenant_id': '31be6f55976447a18c2b8e2661fb43fb', 'project_id': '31be6f55976447a18c2b8e2661fb43fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53556722', 'ctest-vn-83728014'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 10:13:22,436 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c863c6ed-d5a8-43b7-9a0b-7b3e0688a4d2', 'name': '', 'tenant_id': '31be6f55976447a18c2b8e2661fb43fb', 'network_id': '28305b2c-fd92-47cc-9c87-1ec5b07f089d', 'ip_version': 4, 'cidr': '177.50.130.0/26', 'allocation_pools': [{'start': '177.50.130.2', 'end': '177.50.130.62'}], 'gateway_ip': '177.50.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.50.130.2', 'tags': [], 'project_id': '31be6f55976447a18c2b8e2661fb43fb'}} 2026-04-28 10:13:22,456 - INFO - Created VN ctest-vn-83728014 2026-04-28 10:13:22,511 - DEBUG - VN ctest-vn-83728014 UUID is 28305b2c-fd92-47cc-9c87-1ec5b07f089d 2026-04-28 10:13:22,628 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-74403813, 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-53556722:ctest-vn-83728014, 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-28 10:13:22,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea60bfb6-28e3-4f1e-be63-958e96c19919', 'name': 'ctest-vn-74403813', 'tenant_id': '31be6f55976447a18c2b8e2661fb43fb', 'project_id': '31be6f55976447a18c2b8e2661fb43fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97bef648-e3c2-4e9a-a931-c74f7ea14f09'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53556722', 'ctest-vn-74403813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53556722', 'ctest-policy-allow-all-07745656']], 'subnet_ipam': [{'subnet_cidr': '147.178.136.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 10:13:23,175 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28305b2c-fd92-47cc-9c87-1ec5b07f089d', 'name': 'ctest-vn-83728014', 'tenant_id': '31be6f55976447a18c2b8e2661fb43fb', 'project_id': '31be6f55976447a18c2b8e2661fb43fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c863c6ed-d5a8-43b7-9a0b-7b3e0688a4d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53556722', 'ctest-vn-83728014'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53556722', 'ctest-policy-allow-all-07745656']], 'subnet_ipam': [{'subnet_cidr': '177.50.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 10:13:23,339 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 10:13:23,655 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 10:13:23,691 - DEBUG - Requesting: http://10.0.0.50:8082/domain/664169a6-8b72-42f3-a3c6-2aeabed85036 2026-04-28 10:13:23,704 - DEBUG - Requesting: http://10.0.0.50:8082/project/31be6f55-9764-47a1-8c2b-8e2661fb43fb 2026-04-28 10:13:23,788 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea60bfb6-28e3-4f1e-be63-958e96c19919 2026-04-28 10:13:23,801 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea60bfb6-28e3-4f1e-be63-958e96c19919 2026-04-28 10:13:23,811 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cca8cc1d-27d9-460f-98e6-230f86e544ff 2026-04-28 10:13:23,818 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cca8cc1d-27d9-460f-98e6-230f86e544ff 2026-04-28 10:13:23,825 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a86901e7-a6a2-4d6a-8d20-33608643ed29 2026-04-28 10:13:23,831 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 10:13:23,831 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea60bfb6-28e3-4f1e-be63-958e96c19919 2026-04-28 10:13:23,840 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cca8cc1d-27d9-460f-98e6-230f86e544ff 2026-04-28 10:13:23,857 - INFO - Verified VN network id 11 for VN ea60bfb6-28e3-4f1e-be63-958e96c19919 2026-04-28 10:13:23,857 - INFO - Verifications in API Server for VN ctest-vn-74403813 passed 2026-04-28 10:13:23,857 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea60bfb6-28e3-4f1e-be63-958e96c19919 2026-04-28 10:13:23,872 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cca8cc1d-27d9-460f-98e6-230f86e544ff 2026-04-28 10:13:23,881 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cca8cc1d-27d9-460f-98e6-230f86e544ff 2026-04-28 10:13:23,890 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a86901e7-a6a2-4d6a-8d20-33608643ed29 2026-04-28 10:13:23,904 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-74403813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53556722', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16888709391730298654', 'uuid-lslong': '13718973329547827481'}, 'enable': 'true', 'created': '2026-04-28T10:13:21', 'last-modified': '2026-04-28T10:13:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.997922'} 2026-04-28 10:13:23,912 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 10:13:23,913 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74403813 passed 2026-04-28 10:13:23,913 - DEBUG - ====Verifying policy data for ctest-vn-74403813 in API_Server ====== 2026-04-28 10:13:23,913 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 10:13:23,919 - DEBUG - Requesting: http://10.0.0.50:8082/domain/664169a6-8b72-42f3-a3c6-2aeabed85036 2026-04-28 10:13:23,933 - DEBUG - Requesting: http://10.0.0.50:8082/project/31be6f55-9764-47a1-8c2b-8e2661fb43fb 2026-04-28 10:13:24,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ea60bfb6-28e3-4f1e-be63-958e96c19919 2026-04-28 10:13:24,026 - DEBUG - ==>Verifying data for policy with id: 82e5b0fa-59ee-4296-92ac-8982f6b36235, fqn: ['default-domain', 'ctest-TestBasicPolicy-53556722', 'ctest-policy-allow-all-07745656'] 2026-04-28 10:13:24,026 - INFO - VN ctest-vn-74403813 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 10:13:24,026 - DEBUG - Verifying the vn in opserver 2026-04-28 10:13:24,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-74403813 virtual network link through opserver 10.0.0.50 2026-04-28 10:13:24,026 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 10:13:24,327 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 10:13:24,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-74403813', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-74403813?flat'} 2026-04-28 10:13:24,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-74403813 is found in opserver 2026-04-28 10:13:24,410 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 10:13:24,416 - DEBUG - VRF ids for VN ctest-vn-74403813: {} 2026-04-28 10:13:24,416 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 10:13:24,422 - DEBUG - Requesting: http://10.0.0.50:8082/domain/664169a6-8b72-42f3-a3c6-2aeabed85036 2026-04-28 10:13:24,433 - DEBUG - Requesting: http://10.0.0.50:8082/project/31be6f55-9764-47a1-8c2b-8e2661fb43fb 2026-04-28 10:13:24,505 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28305b2c-fd92-47cc-9c87-1ec5b07f089d 2026-04-28 10:13:24,518 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28305b2c-fd92-47cc-9c87-1ec5b07f089d 2026-04-28 10:13:24,527 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/afb554cc-9aaa-428c-9268-261528217c29 2026-04-28 10:13:24,537 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/afb554cc-9aaa-428c-9268-261528217c29 2026-04-28 10:13:24,546 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/583ace18-1667-44f2-b86d-2c58e98300a0 2026-04-28 10:13:24,554 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 10:13:24,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28305b2c-fd92-47cc-9c87-1ec5b07f089d 2026-04-28 10:13:24,564 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/afb554cc-9aaa-428c-9268-261528217c29 2026-04-28 10:13:24,580 - INFO - Verified VN network id 12 for VN 28305b2c-fd92-47cc-9c87-1ec5b07f089d 2026-04-28 10:13:24,580 - INFO - Verifications in API Server for VN ctest-vn-83728014 passed 2026-04-28 10:13:24,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28305b2c-fd92-47cc-9c87-1ec5b07f089d 2026-04-28 10:13:24,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/afb554cc-9aaa-428c-9268-261528217c29 2026-04-28 10:13:24,599 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/afb554cc-9aaa-428c-9268-261528217c29 2026-04-28 10:13:24,608 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/583ace18-1667-44f2-b86d-2c58e98300a0 2026-04-28 10:13:24,621 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-83728014', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53556722', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2895914809190139852', 'uuid-lslong': '11279017626191202461'}, 'enable': 'true', 'created': '2026-04-28T10:13:22', 'last-modified': '2026-04-28T10:13:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.474044'} 2026-04-28 10:13:24,628 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 10:13:24,628 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83728014 passed 2026-04-28 10:13:24,628 - DEBUG - ====Verifying policy data for ctest-vn-83728014 in API_Server ====== 2026-04-28 10:13:24,628 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 10:13:24,634 - DEBUG - Requesting: http://10.0.0.50:8082/domain/664169a6-8b72-42f3-a3c6-2aeabed85036 2026-04-28 10:13:24,646 - DEBUG - Requesting: http://10.0.0.50:8082/project/31be6f55-9764-47a1-8c2b-8e2661fb43fb 2026-04-28 10:13:24,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28305b2c-fd92-47cc-9c87-1ec5b07f089d 2026-04-28 10:13:24,743 - DEBUG - ==>Verifying data for policy with id: 82e5b0fa-59ee-4296-92ac-8982f6b36235, fqn: ['default-domain', 'ctest-TestBasicPolicy-53556722', 'ctest-policy-allow-all-07745656'] 2026-04-28 10:13:24,743 - INFO - VN ctest-vn-83728014 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 10:13:24,743 - DEBUG - Verifying the vn in opserver 2026-04-28 10:13:24,743 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-83728014 virtual network link through opserver 10.0.0.50 2026-04-28 10:13:24,743 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-28 10:13:24,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-83728014', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-83728014?flat'} 2026-04-28 10:13:24,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-83728014 is found in opserver 2026-04-28 10:13:24,765 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 10:13:24,771 - DEBUG - VRF ids for VN ctest-vn-83728014: {} 2026-04-28 10:13:24,837 - DEBUG - Services list from nova: [, , ] 2026-04-28 10:13:25,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5699-1) 2026-04-28 10:13:27,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5699-1) 2026-04-28 10:13:27,073 - INFO - Waiting for VM ctest-TestBasicPolicy-53556722-01811589 to be up.. 2026-04-28 10:13:27,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 10:13:32,255 - DEBUG - VM is in ACTIVE state now 2026-04-28 10:13:32,255 - INFO - VM name : ctest-TestBasicPolicy-53556722-01811589 2026-04-28 10:13:32,335 - DEBUG - VM ctest-TestBasicPolicy-53556722-01811589 ID is 55d87586-5e55-4da2-985a-5c5dfd09e7f3 2026-04-28 10:13:32,357 - DEBUG - VM ctest-TestBasicPolicy-53556722-01811589 launched on Node cn-jenkins-deploy-platform-ansible-os-5699-1 2026-04-28 10:13:32,442 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/55d87586-5e55-4da2-985a-5c5dfd09e7f3 2026-04-28 10:13:32,451 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/027165f2-6b99-4d5c-bd18-e71d88ec8a5a 2026-04-28 10:13:35,712 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-04-28 10:13:35,712 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53556722-01811589 failed! 2026-04-28 10:13:35,767 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53556722:ctest-vn-74403813 is 147.178.136.193 and allocation pool is NOT set 2026-04-28 10:13:37,834 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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.365/5.438/8.511/3.073 ms') 2026-04-28 10:13:37,834 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53556722-01811589 passed 2026-04-28 10:13:37,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 10:13:37,987 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53556722-01811589, IP 147.178.136.195, Port 22 2026-04-28 10:13:38,152 - DEBUG - VM ctest-TestBasicPolicy-53556722-01811589 is ready for SSH connections 2026-04-28 10:13:38,153 - INFO - Waiting for VM ctest-TestBasicPolicy-53556722-44576875 to be up.. 2026-04-28 10:13:38,231 - DEBUG - VM is in ACTIVE state now 2026-04-28 10:13:38,231 - INFO - VM name : ctest-TestBasicPolicy-53556722-44576875 2026-04-28 10:13:38,307 - DEBUG - VM ctest-TestBasicPolicy-53556722-44576875 ID is 7e314f76-a522-4a07-aa85-5adc8f664ee4 2026-04-28 10:13:38,307 - DEBUG - VM ctest-TestBasicPolicy-53556722-44576875 launched on Node cn-jenkins-deploy-platform-ansible-os-5699-1 2026-04-28 10:13:38,387 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7e314f76-a522-4a07-aa85-5adc8f664ee4 2026-04-28 10:13:38,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e2257c8f-7220-496f-ad79-73a07b111b2c 2026-04-28 10:13:39,646 - 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=4.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.95 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 = 1.948/3.440/4.933/1.492 ms') 2026-04-28 10:13:39,646 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53556722-44576875 passed 2026-04-28 10:13:39,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 10:13:39,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53556722-44576875, IP 177.50.130.3, Port 22 2026-04-28 10:13:39,950 - DEBUG - VM ctest-TestBasicPolicy-53556722-44576875 is ready for SSH connections 2026-04-28 10:13:39,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 10:13:39,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.50.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-28 10:13:39,950 - DEBUG - ping -s 56 -c 3 -W 1 177.50.130.3 2026-04-28 10:13:44,141 - DEBUG - PING 177.50.130.3 (177.50.130.3): 56 data bytes 64 bytes from 177.50.130.3: seq=0 ttl=63 time=5.138 ms 64 bytes from 177.50.130.3: seq=1 ttl=63 time=0.985 ms 64 bytes from 177.50.130.3: seq=2 ttl=63 time=0.820 ms --- 177.50.130.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/2.314/5.138 ms 2026-04-28 10:13:44,141 - INFO - Ping to IP 177.50.130.3 from VM ctest-TestBasicPolicy-53556722-01811589 passed 2026-04-28 10:13:44,323 - DEBUG - Policy Update Response {"network-policy": {"uuid": "82e5b0fa-59ee-4296-92ac-8982f6b36235", "href": "http://10.0.0.50:8082/network-policy/82e5b0fa-59ee-4296-92ac-8982f6b36235"}} 2026-04-28 10:13:44,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 10:13:44,323 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.50.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-28 10:13:44,323 - DEBUG - ping -s 56 -c 3 -W 1 177.50.130.3 2026-04-28 10:13:47,549 - DEBUG - PING 177.50.130.3 (177.50.130.3): 56 data bytes --- 177.50.130.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 10:13:47,549 - WARNING - Ping to IP 177.50.130.3 from VM ctest-TestBasicPolicy-53556722-01811589 failed 2026-04-28 10:13:47,549 - INFO - Deleting VM ctest-TestBasicPolicy-53556722-44576875 2026-04-28 10:13:47,643 - INFO - Deleting VM ctest-TestBasicPolicy-53556722-01811589 2026-04-28 10:13:48,101 - INFO - Deleted policy ctest-policy-allow-all-07745656 2026-04-28 10:13:48,101 - INFO - Deleting VN ctest-vn-83728014 2026-04-28 10:13:48,162 - DEBUG - VN 28305b2c-fd92-47cc-9c87-1ec5b07f089d still in use: Unable to complete operation on network 28305b2c-fd92-47cc-9c87-1ec5b07f089d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6adf1edd-fadb-4282-a1d8-fcd766386127'] 2026-04-28 10:13:48,162 - WARNING - Deleting VN ctest-vn-83728014 failed..Will retry 2026-04-28 10:13:50,280 - DEBUG - Response for deleting network () 2026-04-28 10:13:50,280 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/afb554cc-9aaa-428c-9268-261528217c29 2026-04-28 10:13:50,287 - DEBUG - Response Code: 404 2026-04-28 10:13:50,288 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 10:13:50,294 - DEBUG - Requesting: http://10.0.0.50:8082/domain/664169a6-8b72-42f3-a3c6-2aeabed85036 2026-04-28 10:13:50,349 - DEBUG - Requesting: http://10.0.0.50:8082/project/31be6f55-9764-47a1-8c2b-8e2661fb43fb 2026-04-28 10:13:50,418 - INFO - Validated that VN ctest-vn-83728014 is not found in API Server 2026-04-28 10:13:50,430 - DEBUG - VN ctest-vn-83728014 is not present in Agent 10.0.0.50 2026-04-28 10:13:50,430 - INFO - Validated that VN ctest-vn-83728014 is not in any agent 2026-04-28 10:13:50,447 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83728014 info 2026-04-28 10:13:50,447 - INFO - Deleting VN ctest-vn-74403813 2026-04-28 10:13:50,563 - DEBUG - Response for deleting network () 2026-04-28 10:13:50,564 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cca8cc1d-27d9-460f-98e6-230f86e544ff 2026-04-28 10:13:50,569 - DEBUG - Response Code: 404 2026-04-28 10:13:50,569 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-28 10:13:50,575 - DEBUG - Requesting: http://10.0.0.50:8082/domain/664169a6-8b72-42f3-a3c6-2aeabed85036 2026-04-28 10:13:50,633 - DEBUG - Requesting: http://10.0.0.50:8082/project/31be6f55-9764-47a1-8c2b-8e2661fb43fb 2026-04-28 10:13:50,712 - INFO - Validated that VN ctest-vn-74403813 is not found in API Server 2026-04-28 10:13:50,722 - DEBUG - VN ctest-vn-74403813 is not present in Agent 10.0.0.50 2026-04-28 10:13:50,722 - INFO - Validated that VN ctest-vn-74403813 is not in any agent 2026-04-28 10:13:50,737 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74403813 info 2026-04-28 10:13:51,006 - DEBUG - No XMPP flaps were noticed during the test 2026-04-28 10:13:51,006 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-04-28 10:13:51,006 - INFO - -------------------------------------------------------------------------------- 2026-04-28 10:13:51,753 - INFO - Deleted project: ctest-TestBasicPolicy-53556722, ID : 31be6f55-9764-47a1-8c2b-8e2661fb43fb