2026-08-25 08:27:49,787 - INFO - Domain Default found not creating 2026-08-25 08:27:49,963 - INFO - Project ctest-TestBasicPolicy-04379317 not found, creating it 2026-08-25 08:27:50,463 - INFO - Created Project:ctest-TestBasicPolicy-04379317, ID : a815d60c-c12d-4bb3-9291-0f348bf13715 2026-08-25 08:27:52,013 - INFO - ================================================================================ 2026-08-25 08:27:52,013 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 08:27:52,013 - 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-08-25 08:27:52,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-08-25 08:27:52,274 - INFO - Initial checks done. Running the testcase now 2026-08-25 08:27:52,274 - INFO - 2026-08-25 08:27:52,920 - DEBUG - Response for create_network : {'network': {'id': '55702cad-e696-4e32-b778-54ee8bafe769', 'name': 'ctest-vn-75793995', 'tenant_id': 'a815d60cc12d4bb392910f348bf13715', 'project_id': 'a815d60cc12d4bb392910f348bf13715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04379317', 'ctest-vn-75793995'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:27:53,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '10bf8ed4-d23f-462b-bf46-9a98f04c86ec', 'name': '', 'tenant_id': 'a815d60cc12d4bb392910f348bf13715', 'network_id': '55702cad-e696-4e32-b778-54ee8bafe769', 'ip_version': 4, 'cidr': '212.37.38.128/26', 'allocation_pools': [{'start': '212.37.38.130', 'end': '212.37.38.190'}], 'gateway_ip': '212.37.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.37.38.130', 'tags': [], 'project_id': 'a815d60cc12d4bb392910f348bf13715'}} 2026-08-25 08:27:53,153 - INFO - Created VN ctest-vn-75793995 2026-08-25 08:27:53,207 - DEBUG - VN ctest-vn-75793995 UUID is 55702cad-e696-4e32-b778-54ee8bafe769 2026-08-25 08:27:53,521 - DEBUG - Response for create_network : {'network': {'id': '1c76fa48-42e0-498a-a84f-435f819b07f1', 'name': 'ctest-vn-74189194', 'tenant_id': 'a815d60cc12d4bb392910f348bf13715', 'project_id': 'a815d60cc12d4bb392910f348bf13715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04379317', 'ctest-vn-74189194'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:27:53,742 - DEBUG - Response for create_subnet : {'subnet': {'id': '568716d7-7231-4133-b38d-e23d3d3d00f3', 'name': '', 'tenant_id': 'a815d60cc12d4bb392910f348bf13715', 'network_id': '1c76fa48-42e0-498a-a84f-435f819b07f1', 'ip_version': 4, 'cidr': '55.32.138.128/26', 'allocation_pools': [{'start': '55.32.138.130', 'end': '55.32.138.190'}], 'gateway_ip': '55.32.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.32.138.130', 'tags': [], 'project_id': 'a815d60cc12d4bb392910f348bf13715'}} 2026-08-25 08:27:53,761 - INFO - Created VN ctest-vn-74189194 2026-08-25 08:27:53,815 - DEBUG - VN ctest-vn-74189194 UUID is 1c76fa48-42e0-498a-a84f-435f819b07f1 2026-08-25 08:27:53,935 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-75793995, 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-04379317:ctest-vn-74189194, 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-08-25 08:27:54,282 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55702cad-e696-4e32-b778-54ee8bafe769', 'name': 'ctest-vn-75793995', 'tenant_id': 'a815d60cc12d4bb392910f348bf13715', 'project_id': 'a815d60cc12d4bb392910f348bf13715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['10bf8ed4-d23f-462b-bf46-9a98f04c86ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04379317', 'ctest-vn-75793995'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04379317', 'ctest-policy-allow-all-55520825']], 'subnet_ipam': [{'subnet_cidr': '212.37.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:27:54,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c76fa48-42e0-498a-a84f-435f819b07f1', 'name': 'ctest-vn-74189194', 'tenant_id': 'a815d60cc12d4bb392910f348bf13715', 'project_id': 'a815d60cc12d4bb392910f348bf13715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['568716d7-7231-4133-b38d-e23d3d3d00f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04379317', 'ctest-vn-74189194'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04379317', 'ctest-policy-allow-all-55520825']], 'subnet_ipam': [{'subnet_cidr': '55.32.138.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 08:27:54,699 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-25 08:27:55,029 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-25 08:27:55,054 - DEBUG - Requesting: http://10.0.0.185:8082/domain/126f7144-136b-4926-a8f5-7d8835c99790 2026-08-25 08:27:55,066 - DEBUG - Requesting: http://10.0.0.185:8082/project/a815d60c-c12d-4bb3-9291-0f348bf13715 2026-08-25 08:27:55,146 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/55702cad-e696-4e32-b778-54ee8bafe769 2026-08-25 08:27:55,159 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/55702cad-e696-4e32-b778-54ee8bafe769 2026-08-25 08:27:55,169 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c6688089-b07b-4131-8c07-7772a5ab2320 2026-08-25 08:27:55,177 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c6688089-b07b-4131-8c07-7772a5ab2320 2026-08-25 08:27:55,184 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3d6b79db-382a-4621-a775-8b4f98cd88ab 2026-08-25 08:27:55,191 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 08:27:55,191 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/55702cad-e696-4e32-b778-54ee8bafe769 2026-08-25 08:27:55,201 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c6688089-b07b-4131-8c07-7772a5ab2320 2026-08-25 08:27:55,215 - INFO - Verified VN network id 11 for VN 55702cad-e696-4e32-b778-54ee8bafe769 2026-08-25 08:27:55,215 - INFO - Verifications in API Server for VN ctest-vn-75793995 passed 2026-08-25 08:27:55,215 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/55702cad-e696-4e32-b778-54ee8bafe769 2026-08-25 08:27:55,225 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c6688089-b07b-4131-8c07-7772a5ab2320 2026-08-25 08:27:55,232 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c6688089-b07b-4131-8c07-7772a5ab2320 2026-08-25 08:27:55,239 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3d6b79db-382a-4621-a775-8b4f98cd88ab 2026-08-25 08:27:55,252 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-75793995', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04379317', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6156469816025042482', 'uuid-lslong': '13220410089668601705'}, 'enable': 'true', 'created': '2026-08-25T08:27:52', 'last-modified': '2026-08-25T08:27:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001052'} 2026-08-25 08:27:55,259 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 08:27:55,259 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75793995 passed 2026-08-25 08:27:55,259 - DEBUG - ====Verifying policy data for ctest-vn-75793995 in API_Server ====== 2026-08-25 08:27:55,259 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-25 08:27:55,265 - DEBUG - Requesting: http://10.0.0.185:8082/domain/126f7144-136b-4926-a8f5-7d8835c99790 2026-08-25 08:27:55,276 - DEBUG - Requesting: http://10.0.0.185:8082/project/a815d60c-c12d-4bb3-9291-0f348bf13715 2026-08-25 08:27:55,354 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/55702cad-e696-4e32-b778-54ee8bafe769 2026-08-25 08:27:55,363 - DEBUG - ==>Verifying data for policy with id: d4ddb3c3-b962-4017-9c6a-0182b80ee6fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-04379317', 'ctest-policy-allow-all-55520825'] 2026-08-25 08:27:55,363 - INFO - VN ctest-vn-75793995 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 08:27:55,363 - DEBUG - Verifying the vn in opserver 2026-08-25 08:27:55,363 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-75793995 virtual network link through opserver 10.0.0.185 2026-08-25 08:27:55,363 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-25 08:27:55,687 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-25 08:27:55,743 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-75793995', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-75793995?flat'} 2026-08-25 08:27:55,743 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-75793995 is found in opserver 2026-08-25 08:27:55,754 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 08:27:55,760 - DEBUG - VRF ids for VN ctest-vn-75793995: {} 2026-08-25 08:27:55,760 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-25 08:27:55,766 - DEBUG - Requesting: http://10.0.0.185:8082/domain/126f7144-136b-4926-a8f5-7d8835c99790 2026-08-25 08:27:55,777 - DEBUG - Requesting: http://10.0.0.185:8082/project/a815d60c-c12d-4bb3-9291-0f348bf13715 2026-08-25 08:27:55,853 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/1c76fa48-42e0-498a-a84f-435f819b07f1 2026-08-25 08:27:55,868 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/1c76fa48-42e0-498a-a84f-435f819b07f1 2026-08-25 08:27:55,879 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/125eccc7-7653-41d8-8b0e-64b23c5f827c 2026-08-25 08:27:55,886 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/125eccc7-7653-41d8-8b0e-64b23c5f827c 2026-08-25 08:27:55,893 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/fdc4f0c6-4a33-4136-ad0e-adeca5dd2379 2026-08-25 08:27:55,900 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 08:27:55,900 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/1c76fa48-42e0-498a-a84f-435f819b07f1 2026-08-25 08:27:55,910 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/125eccc7-7653-41d8-8b0e-64b23c5f827c 2026-08-25 08:27:55,927 - INFO - Verified VN network id 12 for VN 1c76fa48-42e0-498a-a84f-435f819b07f1 2026-08-25 08:27:55,927 - INFO - Verifications in API Server for VN ctest-vn-74189194 passed 2026-08-25 08:27:55,927 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/1c76fa48-42e0-498a-a84f-435f819b07f1 2026-08-25 08:27:55,938 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/125eccc7-7653-41d8-8b0e-64b23c5f827c 2026-08-25 08:27:55,947 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/125eccc7-7653-41d8-8b0e-64b23c5f827c 2026-08-25 08:27:55,955 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/fdc4f0c6-4a33-4136-ad0e-adeca5dd2379 2026-08-25 08:27:55,970 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-74189194', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04379317', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2051101868580424074', 'uuid-lslong': '12127986399007410161'}, 'enable': 'true', 'created': '2026-08-25T08:27:53', 'last-modified': '2026-08-25T08:27:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.473057'} 2026-08-25 08:27:55,978 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 08:27:55,978 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74189194 passed 2026-08-25 08:27:55,979 - DEBUG - ====Verifying policy data for ctest-vn-74189194 in API_Server ====== 2026-08-25 08:27:55,979 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-25 08:27:55,989 - DEBUG - Requesting: http://10.0.0.185:8082/domain/126f7144-136b-4926-a8f5-7d8835c99790 2026-08-25 08:27:56,004 - DEBUG - Requesting: http://10.0.0.185:8082/project/a815d60c-c12d-4bb3-9291-0f348bf13715 2026-08-25 08:27:56,088 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/1c76fa48-42e0-498a-a84f-435f819b07f1 2026-08-25 08:27:56,098 - DEBUG - ==>Verifying data for policy with id: d4ddb3c3-b962-4017-9c6a-0182b80ee6fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-04379317', 'ctest-policy-allow-all-55520825'] 2026-08-25 08:27:56,098 - INFO - VN ctest-vn-74189194 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 08:27:56,098 - DEBUG - Verifying the vn in opserver 2026-08-25 08:27:56,098 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-74189194 virtual network link through opserver 10.0.0.185 2026-08-25 08:27:56,099 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-08-25 08:27:56,110 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-74189194', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-74189194?flat'} 2026-08-25 08:27:56,110 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04379317:ctest-vn-74189194 is found in opserver 2026-08-25 08:27:56,119 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 08:27:56,124 - DEBUG - VRF ids for VN ctest-vn-74189194: {} 2026-08-25 08:27:56,181 - DEBUG - Services list from nova: [, , ] 2026-08-25 08:27:56,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6220-1) 2026-08-25 08:27:57,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6220-1) 2026-08-25 08:27:57,084 - INFO - Waiting for VM ctest-TestBasicPolicy-04379317-48935644 to be up.. 2026-08-25 08:27:57,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:28:02,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:28:07,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:28:12,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:28:17,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:28:22,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:28:27,647 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:28:32,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 08:28:37,821 - DEBUG - VM is in ACTIVE state now 2026-08-25 08:28:37,822 - INFO - VM name : ctest-TestBasicPolicy-04379317-48935644 2026-08-25 08:28:37,896 - DEBUG - VM ctest-TestBasicPolicy-04379317-48935644 ID is 68e96b93-dc3f-4357-84a1-fdebc99c2a65 2026-08-25 08:28:37,917 - DEBUG - VM ctest-TestBasicPolicy-04379317-48935644 launched on Node cn-jenkins-deploy-platform-ansible-os-6220-1 2026-08-25 08:28:37,991 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/68e96b93-dc3f-4357-84a1-fdebc99c2a65 2026-08-25 08:28:38,000 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/c72ab83f-4874-466b-812d-05122655dad2 2026-08-25 08:28:41,241 - 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=2 ttl=63 time=4.99 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.989/4.989/4.989/0.000 ms') 2026-08-25 08:28:41,241 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04379317-48935644 passed 2026-08-25 08:28:41,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:28:41,395 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04379317-48935644, IP 212.37.38.131, Port 22 2026-08-25 08:28:41,561 - DEBUG - VM ctest-TestBasicPolicy-04379317-48935644 is ready for SSH connections 2026-08-25 08:28:41,561 - INFO - Waiting for VM ctest-TestBasicPolicy-04379317-12182200 to be up.. 2026-08-25 08:28:41,642 - DEBUG - VM is in ACTIVE state now 2026-08-25 08:28:41,642 - INFO - VM name : ctest-TestBasicPolicy-04379317-12182200 2026-08-25 08:28:41,725 - DEBUG - VM ctest-TestBasicPolicy-04379317-12182200 ID is dbe454dd-7b7d-4229-8a73-0f6cf1a0e657 2026-08-25 08:28:41,725 - DEBUG - VM ctest-TestBasicPolicy-04379317-12182200 launched on Node cn-jenkins-deploy-platform-ansible-os-6220-1 2026-08-25 08:28:41,809 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/dbe454dd-7b7d-4229-8a73-0f6cf1a0e657 2026-08-25 08:28:41,819 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/1675ef93-e2e4-4172-a024-63649712397d 2026-08-25 08:28:43,071 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.23 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 = 2.225/2.996/3.768/0.771 ms') 2026-08-25 08:28:43,072 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04379317-12182200 passed 2026-08-25 08:28:43,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:28:43,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04379317-12182200, IP 55.32.138.131, Port 22 2026-08-25 08:28:43,293 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-25 08:28:43,372 - DEBUG - VM ctest-TestBasicPolicy-04379317-12182200 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-25 08:28:48,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:28:48,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04379317-12182200, IP 55.32.138.131, Port 22 2026-08-25 08:28:48,553 - DEBUG - VM ctest-TestBasicPolicy-04379317-12182200 is ready for SSH connections 2026-08-25 08:28:48,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:28:48,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.32.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-08-25 08:28:48,554 - DEBUG - ping -s 56 -c 3 -W 1 55.32.138.131 2026-08-25 08:28:52,465 - DEBUG - PING 55.32.138.131 (55.32.138.131): 56 data bytes 64 bytes from 55.32.138.131: seq=0 ttl=63 time=4.515 ms 64 bytes from 55.32.138.131: seq=1 ttl=63 time=1.334 ms 64 bytes from 55.32.138.131: seq=2 ttl=63 time=1.208 ms --- 55.32.138.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.208/2.352/4.515 ms 2026-08-25 08:28:52,465 - INFO - Ping to IP 55.32.138.131 from VM ctest-TestBasicPolicy-04379317-48935644 passed 2026-08-25 08:28:52,647 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d4ddb3c3-b962-4017-9c6a-0182b80ee6fe", "href": "http://10.0.0.185:8082/network-policy/d4ddb3c3-b962-4017-9c6a-0182b80ee6fe"}} 2026-08-25 08:28:52,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 08:28:52,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.32.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-08-25 08:28:52,647 - DEBUG - ping -s 56 -c 3 -W 1 55.32.138.131 2026-08-25 08:28:55,773 - DEBUG - PING 55.32.138.131 (55.32.138.131): 56 data bytes 64 bytes from 55.32.138.131: seq=0 ttl=63 time=1.522 ms --- 55.32.138.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.522/1.522/1.522 ms 2026-08-25 08:28:55,773 - WARNING - Ping to IP 55.32.138.131 from VM ctest-TestBasicPolicy-04379317-48935644 failed 2026-08-25 08:28:55,774 - INFO - Deleting VM ctest-TestBasicPolicy-04379317-12182200 2026-08-25 08:28:55,849 - INFO - Deleting VM ctest-TestBasicPolicy-04379317-48935644 2026-08-25 08:28:56,224 - INFO - Deleted policy ctest-policy-allow-all-55520825 2026-08-25 08:28:56,224 - INFO - Deleting VN ctest-vn-74189194 2026-08-25 08:28:56,264 - DEBUG - VN 1c76fa48-42e0-498a-a84f-435f819b07f1 still in use: Unable to complete operation on network 1c76fa48-42e0-498a-a84f-435f819b07f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6154b568-8655-4279-a8ec-fb7c70110d6c'] 2026-08-25 08:28:56,265 - WARNING - Deleting VN ctest-vn-74189194 failed..Will retry 2026-08-25 08:28:58,497 - DEBUG - Response for deleting network () 2026-08-25 08:28:58,497 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/125eccc7-7653-41d8-8b0e-64b23c5f827c 2026-08-25 08:28:58,504 - DEBUG - Response Code: 404 2026-08-25 08:28:58,504 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-25 08:28:58,514 - DEBUG - Requesting: http://10.0.0.185:8082/domain/126f7144-136b-4926-a8f5-7d8835c99790 2026-08-25 08:28:58,571 - DEBUG - Requesting: http://10.0.0.185:8082/project/a815d60c-c12d-4bb3-9291-0f348bf13715 2026-08-25 08:28:58,648 - INFO - Validated that VN ctest-vn-74189194 is not found in API Server 2026-08-25 08:28:58,666 - DEBUG - VN ctest-vn-74189194 is not present in Agent 10.0.0.185 2026-08-25 08:28:58,666 - INFO - Validated that VN ctest-vn-74189194 is not in any agent 2026-08-25 08:28:58,687 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74189194 info 2026-08-25 08:28:58,687 - INFO - Deleting VN ctest-vn-75793995 2026-08-25 08:28:58,808 - DEBUG - Response for deleting network () 2026-08-25 08:28:58,809 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/c6688089-b07b-4131-8c07-7772a5ab2320 2026-08-25 08:28:58,816 - DEBUG - Response Code: 404 2026-08-25 08:28:58,817 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-08-25 08:28:58,824 - DEBUG - Requesting: http://10.0.0.185:8082/domain/126f7144-136b-4926-a8f5-7d8835c99790 2026-08-25 08:28:58,876 - DEBUG - Requesting: http://10.0.0.185:8082/project/a815d60c-c12d-4bb3-9291-0f348bf13715 2026-08-25 08:28:58,953 - INFO - Validated that VN ctest-vn-75793995 is not found in API Server 2026-08-25 08:28:58,964 - DEBUG - VN ctest-vn-75793995 is not present in Agent 10.0.0.185 2026-08-25 08:28:58,964 - INFO - Validated that VN ctest-vn-75793995 is not in any agent 2026-08-25 08:28:58,980 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75793995 info 2026-08-25 08:28:59,246 - DEBUG - No XMPP flaps were noticed during the test 2026-08-25 08:28:59,246 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07] 2026-08-25 08:28:59,246 - INFO - -------------------------------------------------------------------------------- 2026-08-25 08:28:59,975 - INFO - Deleted project: ctest-TestBasicPolicy-04379317, ID : a815d60c-c12d-4bb3-9291-0f348bf13715