2026-05-25 14:14:01,023 - INFO - Domain Default found not creating 2026-05-25 14:14:01,200 - INFO - Project ctest-TestBasicPolicy-86117590 not found, creating it 2026-05-25 14:14:01,666 - INFO - Created Project:ctest-TestBasicPolicy-86117590, ID : e5eb7464-5754-4263-831f-432a965f0e50 2026-05-25 14:14:03,192 - INFO - ================================================================================ 2026-05-25 14:14:03,192 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-25 14:14:03,192 - 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-05-25 14:14:03,450 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-05-25 14:14:03,450 - INFO - Initial checks done. Running the testcase now 2026-05-25 14:14:03,451 - INFO - 2026-05-25 14:14:04,021 - DEBUG - Response for create_network : {'network': {'id': '5d65d53c-5ddd-4160-8194-2ef726000056', 'name': 'ctest-vn-38207682', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'project_id': 'e5eb746457544263831f432a965f0e50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-vn-38207682'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:14:04,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c2267b8-9af8-40da-91da-e024cac4bdf4', 'name': '', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'network_id': '5d65d53c-5ddd-4160-8194-2ef726000056', 'ip_version': 4, 'cidr': '74.15.77.0/26', 'allocation_pools': [{'start': '74.15.77.2', 'end': '74.15.77.62'}], 'gateway_ip': '74.15.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.15.77.2', 'tags': [], 'project_id': 'e5eb746457544263831f432a965f0e50'}} 2026-05-25 14:14:04,251 - INFO - Created VN ctest-vn-38207682 2026-05-25 14:14:04,301 - DEBUG - VN ctest-vn-38207682 UUID is 5d65d53c-5ddd-4160-8194-2ef726000056 2026-05-25 14:14:04,624 - DEBUG - Response for create_network : {'network': {'id': '5ca80cbe-00f2-4a7d-91af-9869fe5efc63', 'name': 'ctest-vn-13821102', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'project_id': 'e5eb746457544263831f432a965f0e50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-vn-13821102'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:14:04,815 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd93f5481-9dc4-47b1-8dcb-a5df97cd3de9', 'name': '', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'network_id': '5ca80cbe-00f2-4a7d-91af-9869fe5efc63', 'ip_version': 4, 'cidr': '35.158.233.0/26', 'allocation_pools': [{'start': '35.158.233.2', 'end': '35.158.233.62'}], 'gateway_ip': '35.158.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.158.233.2', 'tags': [], 'project_id': 'e5eb746457544263831f432a965f0e50'}} 2026-05-25 14:14:04,833 - INFO - Created VN ctest-vn-13821102 2026-05-25 14:14:04,885 - DEBUG - VN ctest-vn-13821102 UUID is 5ca80cbe-00f2-4a7d-91af-9869fe5efc63 2026-05-25 14:14:05,037 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682, 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-86117590:ctest-vn-13821102, 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-05-25 14:14:05,331 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d65d53c-5ddd-4160-8194-2ef726000056', 'name': 'ctest-vn-38207682', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'project_id': 'e5eb746457544263831f432a965f0e50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c2267b8-9af8-40da-91da-e024cac4bdf4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-vn-38207682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-policy-allow-all-80780896']], 'subnet_ipam': [{'subnet_cidr': '74.15.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:14:05,560 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ca80cbe-00f2-4a7d-91af-9869fe5efc63', 'name': 'ctest-vn-13821102', 'tenant_id': 'e5eb746457544263831f432a965f0e50', 'project_id': 'e5eb746457544263831f432a965f0e50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d93f5481-9dc4-47b1-8dcb-a5df97cd3de9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-vn-13821102'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-policy-allow-all-80780896']], 'subnet_ipam': [{'subnet_cidr': '35.158.233.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:14:05,733 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-25 14:14:06,028 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-25 14:14:06,061 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6 2026-05-25 14:14:06,074 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50 2026-05-25 14:14:06,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056 2026-05-25 14:14:06,155 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056 2026-05-25 14:14:06,164 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722 2026-05-25 14:14:06,174 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722 2026-05-25 14:14:06,182 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/040eee6d-9a30-40be-9952-072162fdd783 2026-05-25 14:14:06,189 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 14:14:06,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056 2026-05-25 14:14:06,197 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722 2026-05-25 14:14:06,211 - INFO - Verified VN network id 11 for VN 5d65d53c-5ddd-4160-8194-2ef726000056 2026-05-25 14:14:06,211 - INFO - Verifications in API Server for VN ctest-vn-38207682 passed 2026-05-25 14:14:06,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056 2026-05-25 14:14:06,221 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722 2026-05-25 14:14:06,228 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722 2026-05-25 14:14:06,235 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/040eee6d-9a30-40be-9952-072162fdd783 2026-05-25 14:14:06,248 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86117590', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6730019673424609632', 'uuid-lslong': '9337139566475214934'}, 'enable': 'true', 'created': '2026-05-25T14:14:03', 'last-modified': '2026-05-25T14:14:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936601'} 2026-05-25 14:14:06,254 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 14:14:06,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38207682 passed 2026-05-25 14:14:06,254 - DEBUG - ====Verifying policy data for ctest-vn-38207682 in API_Server ====== 2026-05-25 14:14:06,255 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-25 14:14:06,260 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6 2026-05-25 14:14:06,271 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50 2026-05-25 14:14:06,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d65d53c-5ddd-4160-8194-2ef726000056 2026-05-25 14:14:06,357 - DEBUG - ==>Verifying data for policy with id: f81f1ad7-3d30-4ca7-a5e9-847e7eef5bc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-policy-allow-all-80780896'] 2026-05-25 14:14:06,357 - INFO - VN ctest-vn-38207682 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-25 14:14:06,357 - DEBUG - Verifying the vn in opserver 2026-05-25 14:14:06,357 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682 virtual network link through opserver 10.0.0.50 2026-05-25 14:14:06,357 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-25 14:14:06,653 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-25 14:14:06,719 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682?flat'} 2026-05-25 14:14:06,719 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682 is found in opserver 2026-05-25 14:14:06,728 - DEBUG - Do not have enough data to verify VN in agent 2026-05-25 14:14:06,732 - DEBUG - VRF ids for VN ctest-vn-38207682: {} 2026-05-25 14:14:06,732 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-25 14:14:06,737 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6 2026-05-25 14:14:06,748 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50 2026-05-25 14:14:06,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63 2026-05-25 14:14:06,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63 2026-05-25 14:14:06,839 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989 2026-05-25 14:14:06,846 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989 2026-05-25 14:14:06,853 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d7296911-d86e-437e-b1b9-f193185e2813 2026-05-25 14:14:06,859 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-25 14:14:06,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63 2026-05-25 14:14:06,868 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989 2026-05-25 14:14:06,883 - INFO - Verified VN network id 12 for VN 5ca80cbe-00f2-4a7d-91af-9869fe5efc63 2026-05-25 14:14:06,884 - INFO - Verifications in API Server for VN ctest-vn-13821102 passed 2026-05-25 14:14:06,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63 2026-05-25 14:14:06,893 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989 2026-05-25 14:14:06,901 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989 2026-05-25 14:14:06,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d7296911-d86e-437e-b1b9-f193185e2813 2026-05-25 14:14:06,920 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86117590', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6676600457775958653', 'uuid-lslong': '10497776837430541411'}, 'enable': 'true', 'created': '2026-05-25T14:14:04', 'last-modified': '2026-05-25T14:14:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384160'} 2026-05-25 14:14:06,926 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-25 14:14:06,926 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13821102 passed 2026-05-25 14:14:06,926 - DEBUG - ====Verifying policy data for ctest-vn-13821102 in API_Server ====== 2026-05-25 14:14:06,926 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-25 14:14:06,931 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6 2026-05-25 14:14:06,942 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50 2026-05-25 14:14:07,011 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ca80cbe-00f2-4a7d-91af-9869fe5efc63 2026-05-25 14:14:07,020 - DEBUG - ==>Verifying data for policy with id: f81f1ad7-3d30-4ca7-a5e9-847e7eef5bc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-86117590', 'ctest-policy-allow-all-80780896'] 2026-05-25 14:14:07,020 - INFO - VN ctest-vn-13821102 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-25 14:14:07,021 - DEBUG - Verifying the vn in opserver 2026-05-25 14:14:07,021 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102 virtual network link through opserver 10.0.0.50 2026-05-25 14:14:07,021 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-25 14:14:07,030 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102?flat'} 2026-05-25 14:14:07,030 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-13821102 is found in opserver 2026-05-25 14:14:07,039 - DEBUG - Do not have enough data to verify VN in agent 2026-05-25 14:14:07,044 - DEBUG - VRF ids for VN ctest-vn-13821102: {} 2026-05-25 14:14:07,105 - DEBUG - Services list from nova: [, , ] 2026-05-25 14:14:08,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5825-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5825-1) 2026-05-25 14:14:09,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5825-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5825-1) 2026-05-25 14:14:09,283 - INFO - Waiting for VM ctest-TestBasicPolicy-86117590-79803133 to be up.. 2026-05-25 14:14:09,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-25 14:14:14,445 - DEBUG - VM is in ACTIVE state now 2026-05-25 14:14:14,445 - INFO - VM name : ctest-TestBasicPolicy-86117590-79803133 2026-05-25 14:14:14,518 - DEBUG - VM ctest-TestBasicPolicy-86117590-79803133 ID is edacc1fd-a792-4e79-ba41-fdd46caf900c 2026-05-25 14:14:14,537 - DEBUG - VM ctest-TestBasicPolicy-86117590-79803133 launched on Node cn-jenkins-deploy-platform-ansible-os-5825-1 2026-05-25 14:14:14,608 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/edacc1fd-a792-4e79-ba41-fdd46caf900c 2026-05-25 14:14:14,616 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/734f4c2a-0d6c-46c8-837b-ff8ed817d257 2026-05-25 14:14:17,864 - 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 1007ms') 2026-05-25 14:14:17,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86117590-79803133 failed! 2026-05-25 14:14:17,921 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86117590:ctest-vn-38207682 is 74.15.77.1 and allocation pool is NOT set 2026-05-25 14:14:19,985 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.509 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.509/4.232/7.955/3.723 ms') 2026-05-25 14:14:19,985 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86117590-79803133 passed 2026-05-25 14:14:20,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:14:20,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86117590-79803133, IP 74.15.77.3, Port 22 2026-05-25 14:14:20,288 - DEBUG - VM ctest-TestBasicPolicy-86117590-79803133 is ready for SSH connections 2026-05-25 14:14:20,288 - INFO - Waiting for VM ctest-TestBasicPolicy-86117590-59425753 to be up.. 2026-05-25 14:14:20,364 - DEBUG - VM is in ACTIVE state now 2026-05-25 14:14:20,366 - INFO - VM name : ctest-TestBasicPolicy-86117590-59425753 2026-05-25 14:14:20,437 - DEBUG - VM ctest-TestBasicPolicy-86117590-59425753 ID is 58aec079-4b7a-463f-b04d-e27b193fa5e6 2026-05-25 14:14:20,437 - DEBUG - VM ctest-TestBasicPolicy-86117590-59425753 launched on Node cn-jenkins-deploy-platform-ansible-os-5825-1 2026-05-25 14:14:20,514 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/58aec079-4b7a-463f-b04d-e27b193fa5e6 2026-05-25 14:14:20,522 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9801d2ec-ff76-4396-9930-11df19896e04 2026-05-25 14:14:21,755 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.471/1.677/2.883/1.206 ms') 2026-05-25 14:14:21,755 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86117590-59425753 passed 2026-05-25 14:14:21,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:14:21,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86117590-59425753, IP 35.158.233.3, Port 22 2026-05-25 14:14:22,064 - DEBUG - VM ctest-TestBasicPolicy-86117590-59425753 is ready for SSH connections 2026-05-25 14:14:22,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:14:22,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.158.233.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-25 14:14:22,065 - DEBUG - ping -s 56 -c 3 -W 1 35.158.233.3 2026-05-25 14:14:26,128 - DEBUG - PING 35.158.233.3 (35.158.233.3): 56 data bytes 64 bytes from 35.158.233.3: seq=0 ttl=63 time=4.927 ms 64 bytes from 35.158.233.3: seq=1 ttl=63 time=0.925 ms 64 bytes from 35.158.233.3: seq=2 ttl=63 time=0.880 ms --- 35.158.233.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/2.244/4.927 ms 2026-05-25 14:14:26,128 - INFO - Ping to IP 35.158.233.3 from VM ctest-TestBasicPolicy-86117590-79803133 passed 2026-05-25 14:14:26,313 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f81f1ad7-3d30-4ca7-a5e9-847e7eef5bc8", "href": "http://10.0.0.50:8082/network-policy/f81f1ad7-3d30-4ca7-a5e9-847e7eef5bc8"}} 2026-05-25 14:14:26,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:14:26,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.158.233.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-25 14:14:26,313 - DEBUG - ping -s 56 -c 3 -W 1 35.158.233.3 2026-05-25 14:14:29,541 - DEBUG - PING 35.158.233.3 (35.158.233.3): 56 data bytes --- 35.158.233.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-25 14:14:29,541 - WARNING - Ping to IP 35.158.233.3 from VM ctest-TestBasicPolicy-86117590-79803133 failed 2026-05-25 14:14:29,541 - INFO - Deleting VM ctest-TestBasicPolicy-86117590-59425753 2026-05-25 14:14:29,611 - INFO - Deleting VM ctest-TestBasicPolicy-86117590-79803133 2026-05-25 14:14:30,028 - INFO - Deleted policy ctest-policy-allow-all-80780896 2026-05-25 14:14:30,028 - INFO - Deleting VN ctest-vn-13821102 2026-05-25 14:14:30,073 - DEBUG - VN 5ca80cbe-00f2-4a7d-91af-9869fe5efc63 still in use: Unable to complete operation on network 5ca80cbe-00f2-4a7d-91af-9869fe5efc63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f9c99186-e310-4cac-9de2-5d2d88d88b15'] 2026-05-25 14:14:30,073 - WARNING - Deleting VN ctest-vn-13821102 failed..Will retry 2026-05-25 14:14:32,187 - DEBUG - Response for deleting network () 2026-05-25 14:14:32,187 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c43334fe-2fc6-4888-9115-7e2f88550989 2026-05-25 14:14:32,193 - DEBUG - Response Code: 404 2026-05-25 14:14:32,194 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-25 14:14:32,200 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6 2026-05-25 14:14:32,254 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50 2026-05-25 14:14:32,331 - INFO - Validated that VN ctest-vn-13821102 is not found in API Server 2026-05-25 14:14:32,342 - DEBUG - VN ctest-vn-13821102 is not present in Agent 10.0.0.50 2026-05-25 14:14:32,342 - INFO - Validated that VN ctest-vn-13821102 is not in any agent 2026-05-25 14:14:32,356 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13821102 info 2026-05-25 14:14:32,356 - INFO - Deleting VN ctest-vn-38207682 2026-05-25 14:14:32,463 - DEBUG - Response for deleting network () 2026-05-25 14:14:32,463 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/80398a23-cc06-4ce9-b97d-aa41d6abc722 2026-05-25 14:14:32,469 - DEBUG - Response Code: 404 2026-05-25 14:14:32,470 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-25 14:14:32,475 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b3a8e6f1-b0d2-4198-a993-4ad31f5a9cf6 2026-05-25 14:14:32,526 - DEBUG - Requesting: http://10.0.0.50:8082/project/e5eb7464-5754-4263-831f-432a965f0e50 2026-05-25 14:14:32,600 - INFO - Validated that VN ctest-vn-38207682 is not found in API Server 2026-05-25 14:14:32,610 - DEBUG - VN ctest-vn-38207682 is not present in Agent 10.0.0.50 2026-05-25 14:14:32,611 - INFO - Validated that VN ctest-vn-38207682 is not in any agent 2026-05-25 14:14:32,625 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38207682 info 2026-05-25 14:14:32,878 - DEBUG - No XMPP flaps were noticed during the test
2026-05-25 14:14:32,878 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-05-25 14:14:32,878 - INFO - -------------------------------------------------------------------------------- 2026-05-25 14:14:33,605 - INFO - Deleted project: ctest-TestBasicPolicy-86117590, ID : e5eb7464-5754-4263-831f-432a965f0e50