2026-02-10 13:56:45,468 - INFO - Domain Default found not creating 2026-02-10 13:56:45,639 - INFO - Project ctest-TestBasicPolicy-28623575 not found, creating it 2026-02-10 13:56:46,107 - INFO - Created Project:ctest-TestBasicPolicy-28623575, ID : ed3a68f1-8b4a-42f9-8017-240fb6696328 2026-02-10 13:56:47,719 - INFO - ================================================================================ 2026-02-10 13:56:47,719 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-10 13:56:47,719 - 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-02-10 13:56:47,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-10 13:56:47,972 - INFO - Initial checks done. Running the testcase now 2026-02-10 13:56:47,972 - INFO - 2026-02-10 13:56:48,574 - DEBUG - Response for create_network : {'network': {'id': '031553ca-ab8b-4c17-92ba-8c7e254aa51a', 'name': 'ctest-vn-53653290', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'project_id': 'ed3a68f18b4a42f98017240fb6696328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-vn-53653290'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 13:56:48,785 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba2268c1-c14b-4fde-9060-e6e7bff5e200', 'name': '', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'network_id': '031553ca-ab8b-4c17-92ba-8c7e254aa51a', 'ip_version': 4, 'cidr': '209.103.11.64/26', 'allocation_pools': [{'start': '209.103.11.66', 'end': '209.103.11.126'}], 'gateway_ip': '209.103.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.103.11.66', 'tags': [], 'project_id': 'ed3a68f18b4a42f98017240fb6696328'}} 2026-02-10 13:56:48,804 - INFO - Created VN ctest-vn-53653290 2026-02-10 13:56:48,859 - DEBUG - VN ctest-vn-53653290 UUID is 031553ca-ab8b-4c17-92ba-8c7e254aa51a 2026-02-10 13:56:49,167 - DEBUG - Response for create_network : {'network': {'id': 'c12d4389-cc1f-465a-9740-7bb0d1207722', 'name': 'ctest-vn-74212824', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'project_id': 'ed3a68f18b4a42f98017240fb6696328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-vn-74212824'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 13:56:49,326 - DEBUG - Response for create_subnet : {'subnet': {'id': '64b52e10-f41f-4f3e-a874-0c517bb1c009', 'name': '', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'network_id': 'c12d4389-cc1f-465a-9740-7bb0d1207722', 'ip_version': 4, 'cidr': '2.154.182.64/26', 'allocation_pools': [{'start': '2.154.182.66', 'end': '2.154.182.126'}], 'gateway_ip': '2.154.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.154.182.66', 'tags': [], 'project_id': 'ed3a68f18b4a42f98017240fb6696328'}} 2026-02-10 13:56:49,346 - INFO - Created VN ctest-vn-74212824 2026-02-10 13:56:49,399 - DEBUG - VN ctest-vn-74212824 UUID is c12d4389-cc1f-465a-9740-7bb0d1207722 2026-02-10 13:56:49,516 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290, 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-28623575:ctest-vn-74212824, 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-02-10 13:56:49,821 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '031553ca-ab8b-4c17-92ba-8c7e254aa51a', 'name': 'ctest-vn-53653290', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'project_id': 'ed3a68f18b4a42f98017240fb6696328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba2268c1-c14b-4fde-9060-e6e7bff5e200'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-vn-53653290'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-policy-allow-all-43924967']], 'subnet_ipam': [{'subnet_cidr': '209.103.11.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 13:56:50,046 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c12d4389-cc1f-465a-9740-7bb0d1207722', 'name': 'ctest-vn-74212824', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'project_id': 'ed3a68f18b4a42f98017240fb6696328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64b52e10-f41f-4f3e-a874-0c517bb1c009'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-vn-74212824'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-policy-allow-all-43924967']], 'subnet_ipam': [{'subnet_cidr': '2.154.182.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 13:56:50,223 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 13:56:50,561 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 13:56:50,594 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1 2026-02-10 13:56:50,607 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328 2026-02-10 13:56:50,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a 2026-02-10 13:56:50,694 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a 2026-02-10 13:56:50,703 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d 2026-02-10 13:56:50,710 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d 2026-02-10 13:56:50,717 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9412b63f-0818-44af-9e7b-2c485fffb3a6 2026-02-10 13:56:50,725 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 13:56:50,725 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a 2026-02-10 13:56:50,734 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d 2026-02-10 13:56:50,749 - INFO - Verified VN network id 10 for VN 031553ca-ab8b-4c17-92ba-8c7e254aa51a 2026-02-10 13:56:50,749 - INFO - Verifications in API Server for VN ctest-vn-53653290 passed 2026-02-10 13:56:50,749 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a 2026-02-10 13:56:50,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d 2026-02-10 13:56:50,766 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d 2026-02-10 13:56:50,772 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9412b63f-0818-44af-9e7b-2c485fffb3a6 2026-02-10 13:56:50,785 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28623575', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '222175886551239703', 'uuid-lslong': '10572917548625077530'}, 'enable': 'true', 'created': '2026-02-10T13:56:48', 'last-modified': '2026-02-10T13:56:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994724'} 2026-02-10 13:56:50,791 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 13:56:50,791 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53653290 passed 2026-02-10 13:56:50,792 - DEBUG - ====Verifying policy data for ctest-vn-53653290 in API_Server ====== 2026-02-10 13:56:50,792 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 13:56:50,798 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1 2026-02-10 13:56:50,810 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328 2026-02-10 13:56:50,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a 2026-02-10 13:56:50,891 - DEBUG - ==>Verifying data for policy with id: 6a629653-9069-475c-b713-9b459e27be49, fqn: ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-policy-allow-all-43924967'] 2026-02-10 13:56:50,891 - INFO - VN ctest-vn-53653290 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 13:56:50,891 - DEBUG - Verifying the vn in opserver 2026-02-10 13:56:50,891 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290 virtual network link through opserver 10.0.0.50 2026-02-10 13:56:50,891 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-10 13:56:51,227 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-10 13:56:51,303 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290?flat'} 2026-02-10 13:56:51,303 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290 is found in opserver 2026-02-10 13:56:51,314 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 13:56:51,319 - DEBUG - VRF ids for VN ctest-vn-53653290: {} 2026-02-10 13:56:51,319 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 13:56:51,325 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1 2026-02-10 13:56:51,338 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328 2026-02-10 13:56:51,410 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722 2026-02-10 13:56:51,424 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722 2026-02-10 13:56:51,434 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94 2026-02-10 13:56:51,441 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94 2026-02-10 13:56:51,447 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a50f0bf7-191d-48f8-9d63-f8a948db0023 2026-02-10 13:56:51,454 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 13:56:51,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722 2026-02-10 13:56:51,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94 2026-02-10 13:56:51,478 - INFO - Verified VN network id 11 for VN c12d4389-cc1f-465a-9740-7bb0d1207722 2026-02-10 13:56:51,478 - INFO - Verifications in API Server for VN ctest-vn-74212824 passed 2026-02-10 13:56:51,479 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722 2026-02-10 13:56:51,488 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94 2026-02-10 13:56:51,496 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94 2026-02-10 13:56:51,502 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a50f0bf7-191d-48f8-9d63-f8a948db0023 2026-02-10 13:56:51,514 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28623575', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13919856282386253402', 'uuid-lslong': '10898847097589626658'}, 'enable': 'true', 'created': '2026-02-10T13:56:49', 'last-modified': '2026-02-10T13:56:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.489483'} 2026-02-10 13:56:51,519 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 13:56:51,519 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74212824 passed 2026-02-10 13:56:51,520 - DEBUG - ====Verifying policy data for ctest-vn-74212824 in API_Server ====== 2026-02-10 13:56:51,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 13:56:51,526 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1 2026-02-10 13:56:51,537 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328 2026-02-10 13:56:51,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722 2026-02-10 13:56:51,617 - DEBUG - ==>Verifying data for policy with id: 6a629653-9069-475c-b713-9b459e27be49, fqn: ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-policy-allow-all-43924967'] 2026-02-10 13:56:51,617 - INFO - VN ctest-vn-74212824 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 13:56:51,617 - DEBUG - Verifying the vn in opserver 2026-02-10 13:56:51,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824 virtual network link through opserver 10.0.0.50 2026-02-10 13:56:51,617 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-10 13:56:51,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824?flat'} 2026-02-10 13:56:51,627 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824 is found in opserver 2026-02-10 13:56:51,638 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 13:56:51,644 - DEBUG - VRF ids for VN ctest-vn-74212824: {} 2026-02-10 13:56:51,710 - DEBUG - Services list from nova: [, , ] 2026-02-10 13:56:52,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5266-1) 2026-02-10 13:56:54,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5266-1) 2026-02-10 13:56:54,141 - INFO - Waiting for VM ctest-TestBasicPolicy-28623575-53425858 to be up.. 2026-02-10 13:56:54,224 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 13:56:59,308 - DEBUG - VM is in ACTIVE state now 2026-02-10 13:56:59,308 - INFO - VM name : ctest-TestBasicPolicy-28623575-53425858 2026-02-10 13:56:59,386 - DEBUG - VM ctest-TestBasicPolicy-28623575-53425858 ID is b6bf9a0a-eadf-42aa-9694-a83974bb549a 2026-02-10 13:56:59,408 - DEBUG - VM ctest-TestBasicPolicy-28623575-53425858 launched on Node cn-jenkins-deploy-platform-ansible-os-5266-1 2026-02-10 13:56:59,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b6bf9a0a-eadf-42aa-9694-a83974bb549a 2026-02-10 13:56:59,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cac5b166-aaec-400d-85a4-77840479d840 2026-02-10 13:57:02,736 - 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-02-10 13:57:02,736 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28623575-53425858 failed! 2026-02-10 13:57:02,791 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290 is 209.103.11.65 and allocation pool is NOT set 2026-02-10 13:57:04,857 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.772 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.772/3.996/7.220/3.224 ms') 2026-02-10 13:57:04,857 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28623575-53425858 passed 2026-02-10 13:57:05,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 13:57:05,011 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28623575-53425858, IP 209.103.11.67, Port 22 2026-02-10 13:57:05,181 - DEBUG - VM ctest-TestBasicPolicy-28623575-53425858 is ready for SSH connections 2026-02-10 13:57:05,181 - INFO - Waiting for VM ctest-TestBasicPolicy-28623575-74440013 to be up.. 2026-02-10 13:57:05,276 - DEBUG - VM is in ACTIVE state now 2026-02-10 13:57:05,277 - INFO - VM name : ctest-TestBasicPolicy-28623575-74440013 2026-02-10 13:57:05,385 - DEBUG - VM ctest-TestBasicPolicy-28623575-74440013 ID is e8711a05-7b67-4efc-850b-42ff77d36b5f 2026-02-10 13:57:05,386 - DEBUG - VM ctest-TestBasicPolicy-28623575-74440013 launched on Node cn-jenkins-deploy-platform-ansible-os-5266-1 2026-02-10 13:57:05,473 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e8711a05-7b67-4efc-850b-42ff77d36b5f 2026-02-10 13:57:05,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/634fd674-200e-43b4-8df2-6178db8dbade 2026-02-10 13:57:06,726 - 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=5.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.04 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 = 2.044/3.683/5.322/1.639 ms') 2026-02-10 13:57:06,726 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28623575-74440013 passed 2026-02-10 13:57:06,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 13:57:06,883 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28623575-74440013, IP 2.154.182.67, Port 22 2026-02-10 13:57:06,948 - 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-02-10 13:57:07,026 - DEBUG - VM ctest-TestBasicPolicy-28623575-74440013 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 13:57:12,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 13:57:12,027 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28623575-74440013, IP 2.154.182.67, Port 22 2026-02-10 13:57:12,190 - DEBUG - VM ctest-TestBasicPolicy-28623575-74440013 is ready for SSH connections 2026-02-10 13:57:12,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 13:57:12,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.154.182.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-10 13:57:12,191 - DEBUG - ping -s 56 -c 3 -W 1 2.154.182.67 2026-02-10 13:57:16,334 - DEBUG - PING 2.154.182.67 (2.154.182.67): 56 data bytes 64 bytes from 2.154.182.67: seq=0 ttl=63 time=4.344 ms 64 bytes from 2.154.182.67: seq=1 ttl=63 time=0.977 ms 64 bytes from 2.154.182.67: seq=2 ttl=63 time=0.775 ms --- 2.154.182.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/2.032/4.344 ms 2026-02-10 13:57:16,334 - INFO - Ping to IP 2.154.182.67 from VM ctest-TestBasicPolicy-28623575-53425858 passed 2026-02-10 13:57:16,506 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a629653-9069-475c-b713-9b459e27be49", "href": "http://10.0.0.50:8082/network-policy/6a629653-9069-475c-b713-9b459e27be49"}} 2026-02-10 13:57:16,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 13:57:16,507 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.154.182.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-10 13:57:16,507 - DEBUG - ping -s 56 -c 3 -W 1 2.154.182.67 2026-02-10 13:57:19,738 - DEBUG - PING 2.154.182.67 (2.154.182.67): 56 data bytes --- 2.154.182.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-10 13:57:19,739 - WARNING - Ping to IP 2.154.182.67 from VM ctest-TestBasicPolicy-28623575-53425858 failed 2026-02-10 13:57:19,739 - INFO - Deleting VM ctest-TestBasicPolicy-28623575-74440013 2026-02-10 13:57:19,808 - INFO - Deleting VM ctest-TestBasicPolicy-28623575-53425858 2026-02-10 13:57:20,193 - INFO - Deleted policy ctest-policy-allow-all-43924967 2026-02-10 13:57:20,193 - INFO - Deleting VN ctest-vn-74212824 2026-02-10 13:57:20,238 - DEBUG - VN c12d4389-cc1f-465a-9740-7bb0d1207722 still in use: Unable to complete operation on network c12d4389-cc1f-465a-9740-7bb0d1207722. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0acbd2c4-2d17-4523-ae44-048c7fe28f15'] 2026-02-10 13:57:20,238 - WARNING - Deleting VN ctest-vn-74212824 failed..Will retry 2026-02-10 13:57:22,335 - DEBUG - Response for deleting network () 2026-02-10 13:57:22,335 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94 2026-02-10 13:57:22,344 - DEBUG - Response Code: 404 2026-02-10 13:57:22,344 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 13:57:22,349 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1 2026-02-10 13:57:22,407 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328 2026-02-10 13:57:22,480 - INFO - Validated that VN ctest-vn-74212824 is not found in API Server 2026-02-10 13:57:22,490 - DEBUG - VN ctest-vn-74212824 is not present in Agent 10.0.0.50 2026-02-10 13:57:22,490 - INFO - Validated that VN ctest-vn-74212824 is not in any agent 2026-02-10 13:57:22,504 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74212824 info 2026-02-10 13:57:22,504 - INFO - Deleting VN ctest-vn-53653290 2026-02-10 13:57:22,621 - DEBUG - Response for deleting network () 2026-02-10 13:57:22,621 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d 2026-02-10 13:57:22,627 - DEBUG - Response Code: 404 2026-02-10 13:57:22,627 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 13:57:22,633 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1 2026-02-10 13:57:22,688 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328 2026-02-10 13:57:22,769 - INFO - Validated that VN ctest-vn-53653290 is not found in API Server 2026-02-10 13:57:22,780 - DEBUG - VN ctest-vn-53653290 is not present in Agent 10.0.0.50 2026-02-10 13:57:22,780 - INFO - Validated that VN ctest-vn-53653290 is not in any agent 2026-02-10 13:57:22,794 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53653290 info 2026-02-10 13:57:23,048 - DEBUG - No XMPP flaps were noticed during the test 2026-02-10 13:57:23,048 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-10 13:57:23,048 - INFO - -------------------------------------------------------------------------------- 2026-02-10 13:57:23,776 - INFO - Deleted project: ctest-TestBasicPolicy-28623575, ID : ed3a68f1-8b4a-42f9-8017-240fb6696328