2026-02-11 17:44:53,519 - INFO - Domain Default found not creating 2026-02-11 17:44:53,704 - INFO - Project ctest-TestBasicPolicy-18050323 not found, creating it 2026-02-11 17:44:54,193 - INFO - Created Project:ctest-TestBasicPolicy-18050323, ID : 81536ac1-c880-4c20-9869-32b02c2298d2 2026-02-11 17:44:55,699 - INFO - ================================================================================ 2026-02-11 17:44:55,699 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-11 17:44:55,700 - 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-11 17:44:55,968 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-11 17:44:55,968 - INFO - Initial checks done. Running the testcase now 2026-02-11 17:44:55,969 - INFO - 2026-02-11 17:44:56,516 - DEBUG - Response for create_network : {'network': {'id': '13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d', 'name': 'ctest-vn-94692899', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'project_id': '81536ac1c8804c20986932b02c2298d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-vn-94692899'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:44:56,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d6a7502-b6b5-463c-8f94-58830193aa99', 'name': '', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'network_id': '13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d', 'ip_version': 4, 'cidr': '165.46.162.0/26', 'allocation_pools': [{'start': '165.46.162.2', 'end': '165.46.162.62'}], 'gateway_ip': '165.46.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.46.162.2', 'tags': [], 'project_id': '81536ac1c8804c20986932b02c2298d2'}} 2026-02-11 17:44:56,690 - INFO - Created VN ctest-vn-94692899 2026-02-11 17:44:56,744 - DEBUG - VN ctest-vn-94692899 UUID is 13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d 2026-02-11 17:44:57,026 - DEBUG - Response for create_network : {'network': {'id': '0dba0127-e1d3-49cd-b333-15cb8305db63', 'name': 'ctest-vn-86544373', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'project_id': '81536ac1c8804c20986932b02c2298d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-vn-86544373'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:44:57,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2a7907a-d7ce-442c-9058-10c0e00af054', 'name': '', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'network_id': '0dba0127-e1d3-49cd-b333-15cb8305db63', 'ip_version': 4, 'cidr': '181.232.145.192/26', 'allocation_pools': [{'start': '181.232.145.194', 'end': '181.232.145.254'}], 'gateway_ip': '181.232.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.232.145.194', 'tags': [], 'project_id': '81536ac1c8804c20986932b02c2298d2'}} 2026-02-11 17:44:57,292 - INFO - Created VN ctest-vn-86544373 2026-02-11 17:44:57,344 - DEBUG - VN ctest-vn-86544373 UUID is 0dba0127-e1d3-49cd-b333-15cb8305db63 2026-02-11 17:44:57,461 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899, 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-18050323:ctest-vn-86544373, 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-11 17:44:57,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d', 'name': 'ctest-vn-94692899', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'project_id': '81536ac1c8804c20986932b02c2298d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d6a7502-b6b5-463c-8f94-58830193aa99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-vn-94692899'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-policy-allow-all-07051107']], 'subnet_ipam': [{'subnet_cidr': '165.46.162.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:44:58,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0dba0127-e1d3-49cd-b333-15cb8305db63', 'name': 'ctest-vn-86544373', 'tenant_id': '81536ac1c8804c20986932b02c2298d2', 'project_id': '81536ac1c8804c20986932b02c2298d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2a7907a-d7ce-442c-9058-10c0e00af054'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-vn-86544373'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-policy-allow-all-07051107']], 'subnet_ipam': [{'subnet_cidr': '181.232.145.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:44:58,196 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 17:44:58,512 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 17:44:58,548 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5 2026-02-11 17:44:58,561 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2 2026-02-11 17:44:58,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d 2026-02-11 17:44:58,643 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d 2026-02-11 17:44:58,653 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14 2026-02-11 17:44:58,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14 2026-02-11 17:44:58,667 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aba0f575-2f32-4f8b-a4a7-1eae44a092dc 2026-02-11 17:44:58,675 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-11 17:44:58,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d 2026-02-11 17:44:58,684 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14 2026-02-11 17:44:58,697 - INFO - Verified VN network id 10 for VN 13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d 2026-02-11 17:44:58,698 - INFO - Verifications in API Server for VN ctest-vn-94692899 passed 2026-02-11 17:44:58,698 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d 2026-02-11 17:44:58,707 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14 2026-02-11 17:44:58,713 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14 2026-02-11 17:44:58,721 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aba0f575-2f32-4f8b-a4a7-1eae44a092dc 2026-02-11 17:44:58,734 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18050323', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1439812100577512177', 'uuid-lslong': '11220308503219657021'}, 'enable': 'true', 'created': '2026-02-11T17:44:56', 'last-modified': '2026-02-11T17:44:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996172'} 2026-02-11 17:44:58,741 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-11 17:44:58,741 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94692899 passed 2026-02-11 17:44:58,741 - DEBUG - ====Verifying policy data for ctest-vn-94692899 in API_Server ====== 2026-02-11 17:44:58,741 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 17:44:58,747 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5 2026-02-11 17:44:58,760 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2 2026-02-11 17:44:58,834 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/13fb3d7a-1e3b-4af1-9bb6-8b22ccb3d93d 2026-02-11 17:44:58,845 - DEBUG - ==>Verifying data for policy with id: c176f9dc-c5b5-4761-9b0f-abd6293845fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-policy-allow-all-07051107'] 2026-02-11 17:44:58,845 - INFO - VN ctest-vn-94692899 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-11 17:44:58,845 - DEBUG - Verifying the vn in opserver 2026-02-11 17:44:58,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899 virtual network link through opserver 10.0.0.38 2026-02-11 17:44:58,845 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-11 17:44:59,141 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-11 17:44:59,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899?flat'} 2026-02-11 17:44:59,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899 is found in opserver 2026-02-11 17:44:59,217 - DEBUG - Do not have enough data to verify VN in agent 2026-02-11 17:44:59,221 - DEBUG - VRF ids for VN ctest-vn-94692899: {} 2026-02-11 17:44:59,221 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 17:44:59,227 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5 2026-02-11 17:44:59,239 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2 2026-02-11 17:44:59,311 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63 2026-02-11 17:44:59,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63 2026-02-11 17:44:59,334 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320 2026-02-11 17:44:59,342 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320 2026-02-11 17:44:59,349 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7d875798-f667-4240-96e7-89d51291c0b9 2026-02-11 17:44:59,357 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-11 17:44:59,357 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63 2026-02-11 17:44:59,366 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320 2026-02-11 17:44:59,380 - INFO - Verified VN network id 11 for VN 0dba0127-e1d3-49cd-b333-15cb8305db63 2026-02-11 17:44:59,381 - INFO - Verifications in API Server for VN ctest-vn-86544373 passed 2026-02-11 17:44:59,381 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63 2026-02-11 17:44:59,390 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320 2026-02-11 17:44:59,397 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320 2026-02-11 17:44:59,403 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7d875798-f667-4240-96e7-89d51291c0b9 2026-02-11 17:44:59,416 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18050323', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '989104338965318093', 'uuid-lslong': '12912688520422087523'}, 'enable': 'true', 'created': '2026-02-11T17:44:56', 'last-modified': '2026-02-11T17:44:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416147'} 2026-02-11 17:44:59,421 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-11 17:44:59,421 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86544373 passed 2026-02-11 17:44:59,422 - DEBUG - ====Verifying policy data for ctest-vn-86544373 in API_Server ====== 2026-02-11 17:44:59,422 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 17:44:59,427 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5 2026-02-11 17:44:59,438 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2 2026-02-11 17:44:59,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dba0127-e1d3-49cd-b333-15cb8305db63 2026-02-11 17:44:59,519 - DEBUG - ==>Verifying data for policy with id: c176f9dc-c5b5-4761-9b0f-abd6293845fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-18050323', 'ctest-policy-allow-all-07051107'] 2026-02-11 17:44:59,519 - INFO - VN ctest-vn-86544373 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-11 17:44:59,519 - DEBUG - Verifying the vn in opserver 2026-02-11 17:44:59,519 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373 virtual network link through opserver 10.0.0.38 2026-02-11 17:44:59,519 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-11 17:44:59,530 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373?flat'} 2026-02-11 17:44:59,530 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-86544373 is found in opserver 2026-02-11 17:44:59,539 - DEBUG - Do not have enough data to verify VN in agent 2026-02-11 17:44:59,543 - DEBUG - VRF ids for VN ctest-vn-86544373: {} 2026-02-11 17:44:59,602 - DEBUG - Services list from nova: [, , ] 2026-02-11 17:45:00,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5297-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5297-30) 2026-02-11 17:45:01,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5297-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5297-30) 2026-02-11 17:45:01,856 - INFO - Waiting for VM ctest-TestBasicPolicy-18050323-74556869 to be up.. 2026-02-11 17:45:01,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-11 17:45:07,051 - DEBUG - VM is in ACTIVE state now 2026-02-11 17:45:07,052 - INFO - VM name : ctest-TestBasicPolicy-18050323-74556869 2026-02-11 17:45:07,135 - DEBUG - VM ctest-TestBasicPolicy-18050323-74556869 ID is 091505cf-2395-487b-ab38-0c6e59c934ef 2026-02-11 17:45:07,157 - DEBUG - VM ctest-TestBasicPolicy-18050323-74556869 launched on Node cn-jenkins-deploy-platform-ansible-os-5297-30 2026-02-11 17:45:07,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/091505cf-2395-487b-ab38-0c6e59c934ef 2026-02-11 17:45:07,238 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/39900df5-b19f-4634-ab71-653fd2430d05 2026-02-11 17:45:10,486 - 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 1019ms') 2026-02-11 17:45:10,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18050323-74556869 failed! 2026-02-11 17:45:10,541 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18050323:ctest-vn-94692899 is 165.46.162.1 and allocation pool is NOT set 2026-02-11 17:45:12,606 - 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=6.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.540 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.540/3.710/6.880/3.170 ms') 2026-02-11 17:45:12,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18050323-74556869 passed 2026-02-11 17:45:12,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:45:12,756 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18050323-74556869, IP 165.46.162.3, Port 22 2026-02-11 17:45:12,912 - DEBUG - VM ctest-TestBasicPolicy-18050323-74556869 is ready for SSH connections 2026-02-11 17:45:12,912 - INFO - Waiting for VM ctest-TestBasicPolicy-18050323-35014367 to be up.. 2026-02-11 17:45:12,985 - DEBUG - VM is in ACTIVE state now 2026-02-11 17:45:12,985 - INFO - VM name : ctest-TestBasicPolicy-18050323-35014367 2026-02-11 17:45:13,064 - DEBUG - VM ctest-TestBasicPolicy-18050323-35014367 ID is f962b436-9962-43b8-a6c8-76eab429a2c6 2026-02-11 17:45:13,064 - DEBUG - VM ctest-TestBasicPolicy-18050323-35014367 launched on Node cn-jenkins-deploy-platform-ansible-os-5297-30 2026-02-11 17:45:13,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f962b436-9962-43b8-a6c8-76eab429a2c6 2026-02-11 17:45:13,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d18b4153-9af3-4bf4-bd78-db9281330249 2026-02-11 17:45:14,389 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.935 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 = 0.935/2.423/3.911/1.488 ms') 2026-02-11 17:45:14,389 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18050323-35014367 passed 2026-02-11 17:45:14,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:45:14,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18050323-35014367, IP 181.232.145.195, Port 22 2026-02-11 17:45:14,595 - 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-11 17:45:14,670 - DEBUG - VM ctest-TestBasicPolicy-18050323-35014367 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-11 17:45:19,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:45:19,671 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18050323-35014367, IP 181.232.145.195, Port 22 2026-02-11 17:45:19,835 - DEBUG - VM ctest-TestBasicPolicy-18050323-35014367 is ready for SSH connections 2026-02-11 17:45:19,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:45:19,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.232.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-11 17:45:19,836 - DEBUG - ping -s 56 -c 3 -W 1 181.232.145.195 2026-02-11 17:45:23,886 - DEBUG - PING 181.232.145.195 (181.232.145.195): 56 data bytes 64 bytes from 181.232.145.195: seq=0 ttl=63 time=3.575 ms 64 bytes from 181.232.145.195: seq=1 ttl=63 time=0.897 ms 64 bytes from 181.232.145.195: seq=2 ttl=63 time=0.905 ms --- 181.232.145.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/1.792/3.575 ms 2026-02-11 17:45:23,886 - INFO - Ping to IP 181.232.145.195 from VM ctest-TestBasicPolicy-18050323-74556869 passed 2026-02-11 17:45:24,064 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c176f9dc-c5b5-4761-9b0f-abd6293845fc", "href": "http://10.0.0.38:8082/network-policy/c176f9dc-c5b5-4761-9b0f-abd6293845fc"}} 2026-02-11 17:45:24,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:45:24,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.232.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-11 17:45:24,064 - DEBUG - ping -s 56 -c 3 -W 1 181.232.145.195 2026-02-11 17:45:27,273 - DEBUG - PING 181.232.145.195 (181.232.145.195): 56 data bytes --- 181.232.145.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-11 17:45:27,273 - WARNING - Ping to IP 181.232.145.195 from VM ctest-TestBasicPolicy-18050323-74556869 failed 2026-02-11 17:45:27,274 - INFO - Deleting VM ctest-TestBasicPolicy-18050323-35014367 2026-02-11 17:45:27,346 - INFO - Deleting VM ctest-TestBasicPolicy-18050323-74556869 2026-02-11 17:45:27,723 - INFO - Deleted policy ctest-policy-allow-all-07051107 2026-02-11 17:45:27,723 - INFO - Deleting VN ctest-vn-86544373 2026-02-11 17:45:27,760 - DEBUG - VN 0dba0127-e1d3-49cd-b333-15cb8305db63 still in use: Unable to complete operation on network 0dba0127-e1d3-49cd-b333-15cb8305db63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-096c3cb2-3c09-4e01-8265-5c1a5a136d3d'] 2026-02-11 17:45:27,760 - WARNING - Deleting VN ctest-vn-86544373 failed..Will retry 2026-02-11 17:45:29,848 - DEBUG - Response for deleting network () 2026-02-11 17:45:29,848 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57de0591-6185-48c3-b057-0b4d24c49320 2026-02-11 17:45:29,855 - DEBUG - Response Code: 404 2026-02-11 17:45:29,856 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 17:45:29,860 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5 2026-02-11 17:45:29,913 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2 2026-02-11 17:45:29,983 - INFO - Validated that VN ctest-vn-86544373 is not found in API Server 2026-02-11 17:45:29,993 - DEBUG - VN ctest-vn-86544373 is not present in Agent 10.0.0.38 2026-02-11 17:45:29,993 - INFO - Validated that VN ctest-vn-86544373 is not in any agent 2026-02-11 17:45:30,006 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86544373 info 2026-02-11 17:45:30,006 - INFO - Deleting VN ctest-vn-94692899 2026-02-11 17:45:30,109 - DEBUG - Response for deleting network () 2026-02-11 17:45:30,110 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a084a5b-eaf1-424e-9b15-9b65f8fd9c14 2026-02-11 17:45:30,115 - DEBUG - Response Code: 404 2026-02-11 17:45:30,116 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 17:45:30,121 - DEBUG - Requesting: http://10.0.0.38:8082/domain/18e5bc01-42ab-40ee-8a62-7ce509f44ff5 2026-02-11 17:45:30,177 - DEBUG - Requesting: http://10.0.0.38:8082/project/81536ac1-c880-4c20-9869-32b02c2298d2 2026-02-11 17:45:30,252 - INFO - Validated that VN ctest-vn-94692899 is not found in API Server 2026-02-11 17:45:30,262 - DEBUG - VN ctest-vn-94692899 is not present in Agent 10.0.0.38 2026-02-11 17:45:30,262 - INFO - Validated that VN ctest-vn-94692899 is not in any agent 2026-02-11 17:45:30,277 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94692899 info 2026-02-11 17:45:30,529 - DEBUG - No XMPP flaps were noticed during the test 2026-02-11 17:45:30,529 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-11 17:45:30,529 - INFO - -------------------------------------------------------------------------------- 2026-02-11 17:45:31,245 - INFO - Deleted project: ctest-TestBasicPolicy-18050323, ID : 81536ac1-c880-4c20-9869-32b02c2298d2