2026-06-19 14:01:38,971 - INFO - Domain Default found not creating 2026-06-19 14:01:39,144 - INFO - Project ctest-TestBasicPolicy-15099110 not found, creating it 2026-06-19 14:01:39,589 - INFO - Created Project:ctest-TestBasicPolicy-15099110, ID : 48fa83c8-0db8-4a94-9f02-baa9338f58d5 2026-06-19 14:01:41,222 - INFO - ================================================================================ 2026-06-19 14:01:41,222 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 14:01:41,222 - 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-06-19 14:01:41,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-19 14:01:41,474 - INFO - Initial checks done. Running the testcase now 2026-06-19 14:01:41,474 - INFO - 2026-06-19 14:01:42,076 - DEBUG - Response for create_network : {'network': {'id': 'd4fdf233-62c7-4bec-ac1c-c478410a8b79', 'name': 'ctest-vn-72866206', 'tenant_id': '48fa83c80db84a949f02baa9338f58d5', 'project_id': '48fa83c80db84a949f02baa9338f58d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15099110', 'ctest-vn-72866206'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:01:42,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '357ec595-5dbe-4e51-b9f0-77d5776b5d4e', 'name': '', 'tenant_id': '48fa83c80db84a949f02baa9338f58d5', 'network_id': 'd4fdf233-62c7-4bec-ac1c-c478410a8b79', 'ip_version': 4, 'cidr': '85.7.34.64/26', 'allocation_pools': [{'start': '85.7.34.66', 'end': '85.7.34.126'}], 'gateway_ip': '85.7.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.7.34.66', 'tags': [], 'project_id': '48fa83c80db84a949f02baa9338f58d5'}} 2026-06-19 14:01:42,276 - INFO - Created VN ctest-vn-72866206 2026-06-19 14:01:42,329 - DEBUG - VN ctest-vn-72866206 UUID is d4fdf233-62c7-4bec-ac1c-c478410a8b79 2026-06-19 14:01:42,655 - DEBUG - Response for create_network : {'network': {'id': '3296a87b-e1f0-4904-977e-93e563b9527d', 'name': 'ctest-vn-96889156', 'tenant_id': '48fa83c80db84a949f02baa9338f58d5', 'project_id': '48fa83c80db84a949f02baa9338f58d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15099110', 'ctest-vn-96889156'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:01:42,804 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd86d432-ad17-442e-9c64-b68475e4a2be', 'name': '', 'tenant_id': '48fa83c80db84a949f02baa9338f58d5', 'network_id': '3296a87b-e1f0-4904-977e-93e563b9527d', 'ip_version': 4, 'cidr': '50.62.20.128/26', 'allocation_pools': [{'start': '50.62.20.130', 'end': '50.62.20.190'}], 'gateway_ip': '50.62.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.62.20.130', 'tags': [], 'project_id': '48fa83c80db84a949f02baa9338f58d5'}} 2026-06-19 14:01:42,817 - INFO - Created VN ctest-vn-96889156 2026-06-19 14:01:42,873 - DEBUG - VN ctest-vn-96889156 UUID is 3296a87b-e1f0-4904-977e-93e563b9527d 2026-06-19 14:01:43,017 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-72866206, 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-15099110:ctest-vn-96889156, 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-06-19 14:01:43,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4fdf233-62c7-4bec-ac1c-c478410a8b79', 'name': 'ctest-vn-72866206', 'tenant_id': '48fa83c80db84a949f02baa9338f58d5', 'project_id': '48fa83c80db84a949f02baa9338f58d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['357ec595-5dbe-4e51-b9f0-77d5776b5d4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15099110', 'ctest-vn-72866206'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15099110', 'ctest-policy-allow-all-08384035']], 'subnet_ipam': [{'subnet_cidr': '85.7.34.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:01:43,542 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3296a87b-e1f0-4904-977e-93e563b9527d', 'name': 'ctest-vn-96889156', 'tenant_id': '48fa83c80db84a949f02baa9338f58d5', 'project_id': '48fa83c80db84a949f02baa9338f58d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd86d432-ad17-442e-9c64-b68475e4a2be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15099110', 'ctest-vn-96889156'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15099110', 'ctest-policy-allow-all-08384035']], 'subnet_ipam': [{'subnet_cidr': '50.62.20.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:01:43,713 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 14:01:44,075 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 14:01:44,099 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0d5cbf3e-7f62-4ab5-9f6d-d039e28ff9b6 2026-06-19 14:01:44,110 - DEBUG - Requesting: http://10.0.0.33:8082/project/48fa83c8-0db8-4a94-9f02-baa9338f58d5 2026-06-19 14:01:44,184 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d4fdf233-62c7-4bec-ac1c-c478410a8b79 2026-06-19 14:01:44,194 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d4fdf233-62c7-4bec-ac1c-c478410a8b79 2026-06-19 14:01:44,202 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a0f809cd-1b67-45aa-a44d-7407d4426f2a 2026-06-19 14:01:44,208 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a0f809cd-1b67-45aa-a44d-7407d4426f2a 2026-06-19 14:01:44,214 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4fee3c29-5760-4942-b7ae-e9f7a27bd41a 2026-06-19 14:01:44,219 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 14:01:44,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d4fdf233-62c7-4bec-ac1c-c478410a8b79 2026-06-19 14:01:44,227 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a0f809cd-1b67-45aa-a44d-7407d4426f2a 2026-06-19 14:01:44,238 - INFO - Verified VN network id 11 for VN d4fdf233-62c7-4bec-ac1c-c478410a8b79 2026-06-19 14:01:44,238 - INFO - Verifications in API Server for VN ctest-vn-72866206 passed 2026-06-19 14:01:44,238 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d4fdf233-62c7-4bec-ac1c-c478410a8b79 2026-06-19 14:01:44,246 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a0f809cd-1b67-45aa-a44d-7407d4426f2a 2026-06-19 14:01:44,251 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a0f809cd-1b67-45aa-a44d-7407d4426f2a 2026-06-19 14:01:44,257 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4fee3c29-5760-4942-b7ae-e9f7a27bd41a 2026-06-19 14:01:44,266 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-72866206', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15099110', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15347689407663000556', 'uuid-lslong': '12402003494637833081'}, 'enable': 'true', 'created': '2026-06-19T14:01:42', 'last-modified': '2026-06-19T14:01:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985909'} 2026-06-19 14:01:44,272 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 14:01:44,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72866206 passed 2026-06-19 14:01:44,272 - DEBUG - ====Verifying policy data for ctest-vn-72866206 in API_Server ====== 2026-06-19 14:01:44,272 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 14:01:44,276 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0d5cbf3e-7f62-4ab5-9f6d-d039e28ff9b6 2026-06-19 14:01:44,286 - DEBUG - Requesting: http://10.0.0.33:8082/project/48fa83c8-0db8-4a94-9f02-baa9338f58d5 2026-06-19 14:01:44,359 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d4fdf233-62c7-4bec-ac1c-c478410a8b79 2026-06-19 14:01:44,367 - DEBUG - ==>Verifying data for policy with id: 0631060d-c6db-4fb4-aff6-20931cea2dc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-15099110', 'ctest-policy-allow-all-08384035'] 2026-06-19 14:01:44,367 - INFO - VN ctest-vn-72866206 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 14:01:44,367 - DEBUG - Verifying the vn in opserver 2026-06-19 14:01:44,367 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-72866206 virtual network link through opserver 10.0.0.33 2026-06-19 14:01:44,367 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 14:01:44,726 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 14:01:44,772 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-72866206', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-72866206?flat'} 2026-06-19 14:01:44,772 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-72866206 is found in opserver 2026-06-19 14:01:44,781 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 14:01:44,787 - DEBUG - VRF ids for VN ctest-vn-72866206: {} 2026-06-19 14:01:44,787 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 14:01:44,792 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0d5cbf3e-7f62-4ab5-9f6d-d039e28ff9b6 2026-06-19 14:01:44,801 - DEBUG - Requesting: http://10.0.0.33:8082/project/48fa83c8-0db8-4a94-9f02-baa9338f58d5 2026-06-19 14:01:44,880 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3296a87b-e1f0-4904-977e-93e563b9527d 2026-06-19 14:01:44,890 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3296a87b-e1f0-4904-977e-93e563b9527d 2026-06-19 14:01:44,899 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/78aefe2b-0393-42b9-ad70-3c71514d92d4 2026-06-19 14:01:44,905 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/78aefe2b-0393-42b9-ad70-3c71514d92d4 2026-06-19 14:01:44,911 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4cba4c2f-6641-4d4f-a56b-895c2a575a8a 2026-06-19 14:01:44,917 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 14:01:44,917 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3296a87b-e1f0-4904-977e-93e563b9527d 2026-06-19 14:01:44,926 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/78aefe2b-0393-42b9-ad70-3c71514d92d4 2026-06-19 14:01:44,938 - INFO - Verified VN network id 12 for VN 3296a87b-e1f0-4904-977e-93e563b9527d 2026-06-19 14:01:44,939 - INFO - Verifications in API Server for VN ctest-vn-96889156 passed 2026-06-19 14:01:44,939 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3296a87b-e1f0-4904-977e-93e563b9527d 2026-06-19 14:01:44,948 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/78aefe2b-0393-42b9-ad70-3c71514d92d4 2026-06-19 14:01:44,954 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/78aefe2b-0393-42b9-ad70-3c71514d92d4 2026-06-19 14:01:44,960 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4cba4c2f-6641-4d4f-a56b-895c2a575a8a 2026-06-19 14:01:44,973 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-96889156', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15099110', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3645286198428059908', 'uuid-lslong': '10916325160222544509'}, 'enable': 'true', 'created': '2026-06-19T14:01:42', 'last-modified': '2026-06-19T14:01:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.449194'} 2026-06-19 14:01:44,978 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 14:01:44,978 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96889156 passed 2026-06-19 14:01:44,979 - DEBUG - ====Verifying policy data for ctest-vn-96889156 in API_Server ====== 2026-06-19 14:01:44,979 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 14:01:44,984 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0d5cbf3e-7f62-4ab5-9f6d-d039e28ff9b6 2026-06-19 14:01:44,994 - DEBUG - Requesting: http://10.0.0.33:8082/project/48fa83c8-0db8-4a94-9f02-baa9338f58d5 2026-06-19 14:01:45,060 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3296a87b-e1f0-4904-977e-93e563b9527d 2026-06-19 14:01:45,070 - DEBUG - ==>Verifying data for policy with id: 0631060d-c6db-4fb4-aff6-20931cea2dc0, fqn: ['default-domain', 'ctest-TestBasicPolicy-15099110', 'ctest-policy-allow-all-08384035'] 2026-06-19 14:01:45,070 - INFO - VN ctest-vn-96889156 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 14:01:45,070 - DEBUG - Verifying the vn in opserver 2026-06-19 14:01:45,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-96889156 virtual network link through opserver 10.0.0.33 2026-06-19 14:01:45,070 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-19 14:01:45,079 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-96889156', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-96889156?flat'} 2026-06-19 14:01:45,079 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-96889156 is found in opserver 2026-06-19 14:01:45,088 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 14:01:45,092 - DEBUG - VRF ids for VN ctest-vn-96889156: {} 2026-06-19 14:01:45,145 - DEBUG - Services list from nova: [, , ] 2026-06-19 14:01:46,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5993-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5993-1) 2026-06-19 14:01:47,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5993-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5993-1) 2026-06-19 14:01:47,440 - INFO - Waiting for VM ctest-TestBasicPolicy-15099110-65938617 to be up.. 2026-06-19 14:01:47,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 14:01:52,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 14:01:57,640 - DEBUG - VM is in ACTIVE state now 2026-06-19 14:01:57,640 - INFO - VM name : ctest-TestBasicPolicy-15099110-65938617 2026-06-19 14:01:57,724 - DEBUG - VM ctest-TestBasicPolicy-15099110-65938617 ID is f8a0e666-8f93-40be-8118-dad1676aac43 2026-06-19 14:01:57,744 - DEBUG - VM ctest-TestBasicPolicy-15099110-65938617 launched on Node cn-jenkins-deploy-platform-ansible-os-5993-1 2026-06-19 14:01:57,835 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f8a0e666-8f93-40be-8118-dad1676aac43 2026-06-19 14:01:57,846 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/40529304-dde4-404e-b668-0a7fe69e15b4 2026-06-19 14:02:01,096 - 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 1010ms') 2026-06-19 14:02:01,096 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15099110-65938617 failed! 2026-06-19 14:02:01,149 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15099110:ctest-vn-72866206 is 85.7.34.65 and allocation pool is NOT set 2026-06-19 14:02:03,213 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.71 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 = 1.706/4.368/7.030/2.662 ms') 2026-06-19 14:02:03,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15099110-65938617 passed 2026-06-19 14:02:03,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:02:03,365 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15099110-65938617, IP 85.7.34.67, Port 22 2026-06-19 14:02:03,531 - DEBUG - VM ctest-TestBasicPolicy-15099110-65938617 is ready for SSH connections 2026-06-19 14:02:03,531 - INFO - Waiting for VM ctest-TestBasicPolicy-15099110-89178838 to be up.. 2026-06-19 14:02:03,623 - DEBUG - VM is in ACTIVE state now 2026-06-19 14:02:03,623 - INFO - VM name : ctest-TestBasicPolicy-15099110-89178838 2026-06-19 14:02:03,696 - DEBUG - VM ctest-TestBasicPolicy-15099110-89178838 ID is 694ef4c3-9a4b-4e45-8718-f813a418af84 2026-06-19 14:02:03,696 - DEBUG - VM ctest-TestBasicPolicy-15099110-89178838 launched on Node cn-jenkins-deploy-platform-ansible-os-5993-1 2026-06-19 14:02:03,776 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/694ef4c3-9a4b-4e45-8718-f813a418af84 2026-06-19 14:02:03,785 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a39d168b-5527-4648-b42c-013da4b11c6c 2026-06-19 14:02:05,029 - 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=7.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.69 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 = 3.691/5.630/7.570/1.939 ms') 2026-06-19 14:02:05,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15099110-89178838 passed 2026-06-19 14:02:05,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:02:05,177 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15099110-89178838, IP 50.62.20.131, Port 22 2026-06-19 14:02:05,243 - 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-06-19 14:02:05,314 - DEBUG - VM ctest-TestBasicPolicy-15099110-89178838 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 14:02:10,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:02:10,315 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15099110-89178838, IP 50.62.20.131, Port 22 2026-06-19 14:02:10,483 - DEBUG - VM ctest-TestBasicPolicy-15099110-89178838 is ready for SSH connections 2026-06-19 14:02:10,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:02:10,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.62.20.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-19 14:02:10,483 - DEBUG - ping -s 56 -c 3 -W 1 50.62.20.131 2026-06-19 14:02:14,496 - DEBUG - PING 50.62.20.131 (50.62.20.131): 56 data bytes 64 bytes from 50.62.20.131: seq=0 ttl=63 time=3.750 ms 64 bytes from 50.62.20.131: seq=1 ttl=63 time=0.957 ms 64 bytes from 50.62.20.131: seq=2 ttl=63 time=1.082 ms --- 50.62.20.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/1.929/3.750 ms 2026-06-19 14:02:14,496 - INFO - Ping to IP 50.62.20.131 from VM ctest-TestBasicPolicy-15099110-65938617 passed 2026-06-19 14:02:14,665 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0631060d-c6db-4fb4-aff6-20931cea2dc0", "href": "http://10.0.0.33:8082/network-policy/0631060d-c6db-4fb4-aff6-20931cea2dc0"}} 2026-06-19 14:02:14,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:02:14,665 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.62.20.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-19 14:02:14,665 - DEBUG - ping -s 56 -c 3 -W 1 50.62.20.131 2026-06-19 14:02:17,785 - DEBUG - PING 50.62.20.131 (50.62.20.131): 56 data bytes 64 bytes from 50.62.20.131: seq=0 ttl=63 time=1.317 ms --- 50.62.20.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.317/1.317/1.317 ms 2026-06-19 14:02:17,785 - WARNING - Ping to IP 50.62.20.131 from VM ctest-TestBasicPolicy-15099110-65938617 failed 2026-06-19 14:02:17,786 - INFO - Deleting VM ctest-TestBasicPolicy-15099110-89178838 2026-06-19 14:02:17,869 - INFO - Deleting VM ctest-TestBasicPolicy-15099110-65938617 2026-06-19 14:02:18,198 - INFO - Deleted policy ctest-policy-allow-all-08384035 2026-06-19 14:02:18,198 - INFO - Deleting VN ctest-vn-96889156 2026-06-19 14:02:18,227 - DEBUG - VN 3296a87b-e1f0-4904-977e-93e563b9527d still in use: Unable to complete operation on network 3296a87b-e1f0-4904-977e-93e563b9527d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-992b8e9e-8134-4ca4-9dba-80a24fd1ca6a'] 2026-06-19 14:02:18,227 - WARNING - Deleting VN ctest-vn-96889156 failed..Will retry 2026-06-19 14:02:20,324 - DEBUG - Response for deleting network () 2026-06-19 14:02:20,325 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/78aefe2b-0393-42b9-ad70-3c71514d92d4 2026-06-19 14:02:20,334 - DEBUG - Response Code: 404 2026-06-19 14:02:20,334 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 14:02:20,339 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0d5cbf3e-7f62-4ab5-9f6d-d039e28ff9b6 2026-06-19 14:02:20,390 - DEBUG - Requesting: http://10.0.0.33:8082/project/48fa83c8-0db8-4a94-9f02-baa9338f58d5 2026-06-19 14:02:20,463 - INFO - Validated that VN ctest-vn-96889156 is not found in API Server 2026-06-19 14:02:20,474 - DEBUG - VN ctest-vn-96889156 is not present in Agent 10.0.0.33 2026-06-19 14:02:20,474 - INFO - Validated that VN ctest-vn-96889156 is not in any agent 2026-06-19 14:02:20,489 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96889156 info 2026-06-19 14:02:20,489 - INFO - Deleting VN ctest-vn-72866206 2026-06-19 14:02:20,597 - DEBUG - Response for deleting network () 2026-06-19 14:02:20,597 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a0f809cd-1b67-45aa-a44d-7407d4426f2a 2026-06-19 14:02:20,601 - DEBUG - Response Code: 404 2026-06-19 14:02:20,601 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-19 14:02:20,616 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0d5cbf3e-7f62-4ab5-9f6d-d039e28ff9b6 2026-06-19 14:02:20,670 - DEBUG - Requesting: http://10.0.0.33:8082/project/48fa83c8-0db8-4a94-9f02-baa9338f58d5 2026-06-19 14:02:20,742 - INFO - Validated that VN ctest-vn-72866206 is not found in API Server 2026-06-19 14:02:20,753 - DEBUG - VN ctest-vn-72866206 is not present in Agent 10.0.0.33 2026-06-19 14:02:20,753 - INFO - Validated that VN ctest-vn-72866206 is not in any agent 2026-06-19 14:02:20,767 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72866206 info 2026-06-19 14:02:21,027 - DEBUG - No XMPP flaps were noticed during the test 2026-06-19 14:02:21,028 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2026-06-19 14:02:21,029 - INFO - -------------------------------------------------------------------------------- 2026-06-19 14:02:21,758 - INFO - Deleted project: ctest-TestBasicPolicy-15099110, ID : 48fa83c8-0db8-4a94-9f02-baa9338f58d5