2026-06-18 16:46:17,861 - INFO - Domain Default found not creating 2026-06-18 16:46:18,063 - INFO - Project ctest-TestBasicPolicy-15675979 not found, creating it 2026-06-18 16:46:18,535 - INFO - Created Project:ctest-TestBasicPolicy-15675979, ID : 25800002-11ed-4152-be0f-e61a701800d8 2026-06-18 16:46:20,267 - INFO - ================================================================================ 2026-06-18 16:46:20,267 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 16:46:20,267 - 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-18 16:46:20,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-06-18 16:46:20,549 - INFO - Initial checks done. Running the testcase now 2026-06-18 16:46:20,549 - INFO - 2026-06-18 16:46:21,206 - DEBUG - Response for create_network : {'network': {'id': 'ddbf0275-9c82-4a89-95d1-67b533978c7a', 'name': 'ctest-vn-85986003', 'tenant_id': '2580000211ed4152be0fe61a701800d8', 'project_id': '2580000211ed4152be0fe61a701800d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15675979', 'ctest-vn-85986003'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:46:21,436 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c616e8e-c073-4fec-a238-a3273ed775f8', 'name': '', 'tenant_id': '2580000211ed4152be0fe61a701800d8', 'network_id': 'ddbf0275-9c82-4a89-95d1-67b533978c7a', 'ip_version': 4, 'cidr': '161.48.63.0/26', 'allocation_pools': [{'start': '161.48.63.2', 'end': '161.48.63.62'}], 'gateway_ip': '161.48.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.48.63.2', 'tags': [], 'project_id': '2580000211ed4152be0fe61a701800d8'}} 2026-06-18 16:46:21,453 - INFO - Created VN ctest-vn-85986003 2026-06-18 16:46:21,510 - DEBUG - VN ctest-vn-85986003 UUID is ddbf0275-9c82-4a89-95d1-67b533978c7a 2026-06-18 16:46:21,846 - DEBUG - Response for create_network : {'network': {'id': 'a66a70ad-6949-4a73-93bb-bbc9a175ec10', 'name': 'ctest-vn-03598902', 'tenant_id': '2580000211ed4152be0fe61a701800d8', 'project_id': '2580000211ed4152be0fe61a701800d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15675979', 'ctest-vn-03598902'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:46:22,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '761c3610-5001-42bb-94bf-26c8224ecab7', 'name': '', 'tenant_id': '2580000211ed4152be0fe61a701800d8', 'network_id': 'a66a70ad-6949-4a73-93bb-bbc9a175ec10', 'ip_version': 4, 'cidr': '46.125.211.128/26', 'allocation_pools': [{'start': '46.125.211.130', 'end': '46.125.211.190'}], 'gateway_ip': '46.125.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.125.211.130', 'tags': [], 'project_id': '2580000211ed4152be0fe61a701800d8'}} 2026-06-18 16:46:22,060 - INFO - Created VN ctest-vn-03598902 2026-06-18 16:46:22,110 - DEBUG - VN ctest-vn-03598902 UUID is a66a70ad-6949-4a73-93bb-bbc9a175ec10 2026-06-18 16:46:22,274 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-85986003, 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-15675979:ctest-vn-03598902, 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-18 16:46:22,592 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ddbf0275-9c82-4a89-95d1-67b533978c7a', 'name': 'ctest-vn-85986003', 'tenant_id': '2580000211ed4152be0fe61a701800d8', 'project_id': '2580000211ed4152be0fe61a701800d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c616e8e-c073-4fec-a238-a3273ed775f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15675979', 'ctest-vn-85986003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15675979', 'ctest-policy-allow-all-12645458']], 'subnet_ipam': [{'subnet_cidr': '161.48.63.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:46:22,833 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a66a70ad-6949-4a73-93bb-bbc9a175ec10', 'name': 'ctest-vn-03598902', 'tenant_id': '2580000211ed4152be0fe61a701800d8', 'project_id': '2580000211ed4152be0fe61a701800d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['761c3610-5001-42bb-94bf-26c8224ecab7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15675979', 'ctest-vn-03598902'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15675979', 'ctest-policy-allow-all-12645458']], 'subnet_ipam': [{'subnet_cidr': '46.125.211.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 16:46:22,998 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 16:46:23,369 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 16:46:23,401 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b6d7112-87e2-4244-ac07-ab1670d7fae9 2026-06-18 16:46:23,416 - DEBUG - Requesting: http://10.0.0.50:8082/project/25800002-11ed-4152-be0f-e61a701800d8 2026-06-18 16:46:23,490 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ddbf0275-9c82-4a89-95d1-67b533978c7a 2026-06-18 16:46:23,506 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ddbf0275-9c82-4a89-95d1-67b533978c7a 2026-06-18 16:46:23,516 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/69e13659-cf4c-4a70-98e0-12a133ec760c 2026-06-18 16:46:23,525 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/69e13659-cf4c-4a70-98e0-12a133ec760c 2026-06-18 16:46:23,534 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1262355b-9808-40df-af0d-2a6a13d75495 2026-06-18 16:46:23,543 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 16:46:23,543 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ddbf0275-9c82-4a89-95d1-67b533978c7a 2026-06-18 16:46:23,555 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/69e13659-cf4c-4a70-98e0-12a133ec760c 2026-06-18 16:46:23,571 - INFO - Verified VN network id 11 for VN ddbf0275-9c82-4a89-95d1-67b533978c7a 2026-06-18 16:46:23,572 - INFO - Verifications in API Server for VN ctest-vn-85986003 passed 2026-06-18 16:46:23,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ddbf0275-9c82-4a89-95d1-67b533978c7a 2026-06-18 16:46:23,583 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/69e13659-cf4c-4a70-98e0-12a133ec760c 2026-06-18 16:46:23,591 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/69e13659-cf4c-4a70-98e0-12a133ec760c 2026-06-18 16:46:23,601 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1262355b-9808-40df-af0d-2a6a13d75495 2026-06-18 16:46:23,618 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-85986003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15675979', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15978492707094022793', 'uuid-lslong': '10795523809736100986'}, 'enable': 'true', 'created': '2026-06-18T16:46:21', 'last-modified': '2026-06-18T16:46:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.051184'} 2026-06-18 16:46:23,628 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 16:46:23,628 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85986003 passed 2026-06-18 16:46:23,628 - DEBUG - ====Verifying policy data for ctest-vn-85986003 in API_Server ====== 2026-06-18 16:46:23,629 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 16:46:23,636 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b6d7112-87e2-4244-ac07-ab1670d7fae9 2026-06-18 16:46:23,649 - DEBUG - Requesting: http://10.0.0.50:8082/project/25800002-11ed-4152-be0f-e61a701800d8 2026-06-18 16:46:23,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ddbf0275-9c82-4a89-95d1-67b533978c7a 2026-06-18 16:46:23,735 - DEBUG - ==>Verifying data for policy with id: d244d793-e217-4edd-80a0-18b9049f9c6d, fqn: ['default-domain', 'ctest-TestBasicPolicy-15675979', 'ctest-policy-allow-all-12645458'] 2026-06-18 16:46:23,735 - INFO - VN ctest-vn-85986003 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 16:46:23,735 - DEBUG - Verifying the vn in opserver 2026-06-18 16:46:23,735 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-85986003 virtual network link through opserver 10.0.0.50 2026-06-18 16:46:23,735 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 16:46:24,105 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 16:46:24,162 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-85986003', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-85986003?flat'} 2026-06-18 16:46:24,162 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-85986003 is found in opserver 2026-06-18 16:46:24,175 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 16:46:24,182 - DEBUG - VRF ids for VN ctest-vn-85986003: {} 2026-06-18 16:46:24,182 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 16:46:24,188 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b6d7112-87e2-4244-ac07-ab1670d7fae9 2026-06-18 16:46:24,199 - DEBUG - Requesting: http://10.0.0.50:8082/project/25800002-11ed-4152-be0f-e61a701800d8 2026-06-18 16:46:24,274 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a66a70ad-6949-4a73-93bb-bbc9a175ec10 2026-06-18 16:46:24,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a66a70ad-6949-4a73-93bb-bbc9a175ec10 2026-06-18 16:46:24,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02a255c5-b562-4f1e-b629-7bdb262fb17e 2026-06-18 16:46:24,303 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02a255c5-b562-4f1e-b629-7bdb262fb17e 2026-06-18 16:46:24,310 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b956ce8-54e8-4d83-96a5-667de75110b2 2026-06-18 16:46:24,316 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 16:46:24,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a66a70ad-6949-4a73-93bb-bbc9a175ec10 2026-06-18 16:46:24,326 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02a255c5-b562-4f1e-b629-7bdb262fb17e 2026-06-18 16:46:24,340 - INFO - Verified VN network id 12 for VN a66a70ad-6949-4a73-93bb-bbc9a175ec10 2026-06-18 16:46:24,340 - INFO - Verifications in API Server for VN ctest-vn-03598902 passed 2026-06-18 16:46:24,340 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a66a70ad-6949-4a73-93bb-bbc9a175ec10 2026-06-18 16:46:24,349 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02a255c5-b562-4f1e-b629-7bdb262fb17e 2026-06-18 16:46:24,355 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02a255c5-b562-4f1e-b629-7bdb262fb17e 2026-06-18 16:46:24,362 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b956ce8-54e8-4d83-96a5-667de75110b2 2026-06-18 16:46:24,373 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-03598902', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15675979', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11991520847925430899', 'uuid-lslong': '10645308618891979792'}, 'enable': 'true', 'created': '2026-06-18T16:46:21', 'last-modified': '2026-06-18T16:46:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.570486'} 2026-06-18 16:46:24,380 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 16:46:24,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03598902 passed 2026-06-18 16:46:24,381 - DEBUG - ====Verifying policy data for ctest-vn-03598902 in API_Server ====== 2026-06-18 16:46:24,381 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 16:46:24,386 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b6d7112-87e2-4244-ac07-ab1670d7fae9 2026-06-18 16:46:24,398 - DEBUG - Requesting: http://10.0.0.50:8082/project/25800002-11ed-4152-be0f-e61a701800d8 2026-06-18 16:46:24,466 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a66a70ad-6949-4a73-93bb-bbc9a175ec10 2026-06-18 16:46:24,477 - DEBUG - ==>Verifying data for policy with id: d244d793-e217-4edd-80a0-18b9049f9c6d, fqn: ['default-domain', 'ctest-TestBasicPolicy-15675979', 'ctest-policy-allow-all-12645458'] 2026-06-18 16:46:24,477 - INFO - VN ctest-vn-03598902 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 16:46:24,477 - DEBUG - Verifying the vn in opserver 2026-06-18 16:46:24,477 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-03598902 virtual network link through opserver 10.0.0.50 2026-06-18 16:46:24,477 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 16:46:24,487 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-03598902', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-03598902?flat'} 2026-06-18 16:46:24,487 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-03598902 is found in opserver 2026-06-18 16:46:24,499 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 16:46:24,506 - DEBUG - VRF ids for VN ctest-vn-03598902: {} 2026-06-18 16:46:24,573 - DEBUG - Services list from nova: [, , ] 2026-06-18 16:46:25,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5989-1) 2026-06-18 16:46:27,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5989-1) 2026-06-18 16:46:27,467 - INFO - Waiting for VM ctest-TestBasicPolicy-15675979-85590126 to be up.. 2026-06-18 16:46:27,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:46:32,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 16:46:37,690 - DEBUG - VM is in ACTIVE state now 2026-06-18 16:46:37,691 - INFO - VM name : ctest-TestBasicPolicy-15675979-85590126 2026-06-18 16:46:37,761 - DEBUG - VM ctest-TestBasicPolicy-15675979-85590126 ID is c1c48e1b-848b-4159-8412-410611868783 2026-06-18 16:46:37,779 - DEBUG - VM ctest-TestBasicPolicy-15675979-85590126 launched on Node cn-jenkins-deploy-platform-ansible-os-5989-1 2026-06-18 16:46:37,880 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c1c48e1b-848b-4159-8412-410611868783 2026-06-18 16:46:37,890 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0aac6ac0-d188-41e0-a6fc-23fba4ff5d25 2026-06-18 16:46:41,160 - 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 1027ms') 2026-06-18 16:46:41,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15675979-85590126 failed! 2026-06-18 16:46:41,214 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15675979:ctest-vn-85986003 is 161.48.63.1 and allocation pool is NOT set 2026-06-18 16:46:45,281 - 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=5.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 5.379/5.379/5.379/0.000 ms') 2026-06-18 16:46:45,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15675979-85590126 passed 2026-06-18 16:46:45,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:46:45,434 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15675979-85590126, IP 161.48.63.3, Port 22 2026-06-18 16:46:45,604 - DEBUG - VM ctest-TestBasicPolicy-15675979-85590126 is ready for SSH connections 2026-06-18 16:46:45,604 - INFO - Waiting for VM ctest-TestBasicPolicy-15675979-15017444 to be up.. 2026-06-18 16:46:45,694 - DEBUG - VM is in ACTIVE state now 2026-06-18 16:46:45,695 - INFO - VM name : ctest-TestBasicPolicy-15675979-15017444 2026-06-18 16:46:45,768 - DEBUG - VM ctest-TestBasicPolicy-15675979-15017444 ID is 943706ab-fe10-40fd-9512-bca745ec88f6 2026-06-18 16:46:45,768 - DEBUG - VM ctest-TestBasicPolicy-15675979-15017444 launched on Node cn-jenkins-deploy-platform-ansible-os-5989-1 2026-06-18 16:46:45,847 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/943706ab-fe10-40fd-9512-bca745ec88f6 2026-06-18 16:46:45,855 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f86701ae-99b1-4158-b609-a699fb85adbf 2026-06-18 16:46:47,105 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 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.490/2.217/3.944/1.727 ms') 2026-06-18 16:46:47,105 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15675979-15017444 passed 2026-06-18 16:46:47,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:46:47,258 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15675979-15017444, IP 46.125.211.131, Port 22 2026-06-18 16:46:47,325 - 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-18 16:46:47,402 - DEBUG - VM ctest-TestBasicPolicy-15675979-15017444 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 16:46:52,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:46:52,403 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15675979-15017444, IP 46.125.211.131, Port 22 2026-06-18 16:46:52,576 - DEBUG - VM ctest-TestBasicPolicy-15675979-15017444 is ready for SSH connections 2026-06-18 16:46:52,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:46:52,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.125.211.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 16:46:52,576 - DEBUG - ping -s 56 -c 3 -W 1 46.125.211.131 2026-06-18 16:46:56,547 - DEBUG - PING 46.125.211.131 (46.125.211.131): 56 data bytes 64 bytes from 46.125.211.131: seq=0 ttl=63 time=4.013 ms 64 bytes from 46.125.211.131: seq=1 ttl=63 time=1.089 ms 64 bytes from 46.125.211.131: seq=2 ttl=63 time=1.330 ms --- 46.125.211.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.089/2.144/4.013 ms 2026-06-18 16:46:56,547 - INFO - Ping to IP 46.125.211.131 from VM ctest-TestBasicPolicy-15675979-85590126 passed 2026-06-18 16:46:56,730 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d244d793-e217-4edd-80a0-18b9049f9c6d", "href": "http://10.0.0.50:8082/network-policy/d244d793-e217-4edd-80a0-18b9049f9c6d"}} 2026-06-18 16:46:56,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 16:46:56,730 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.125.211.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 16:46:56,730 - DEBUG - ping -s 56 -c 3 -W 1 46.125.211.131 2026-06-18 16:46:59,867 - DEBUG - PING 46.125.211.131 (46.125.211.131): 56 data bytes --- 46.125.211.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-18 16:46:59,867 - WARNING - Ping to IP 46.125.211.131 from VM ctest-TestBasicPolicy-15675979-85590126 failed 2026-06-18 16:46:59,867 - INFO - Deleting VM ctest-TestBasicPolicy-15675979-15017444 2026-06-18 16:46:59,942 - INFO - Deleting VM ctest-TestBasicPolicy-15675979-85590126 2026-06-18 16:47:00,236 - INFO - Deleted policy ctest-policy-allow-all-12645458 2026-06-18 16:47:00,236 - INFO - Deleting VN ctest-vn-03598902 2026-06-18 16:47:00,265 - DEBUG - VN a66a70ad-6949-4a73-93bb-bbc9a175ec10 still in use: Unable to complete operation on network a66a70ad-6949-4a73-93bb-bbc9a175ec10. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c064ea5e-634d-41f1-b1d7-729154e27995'] 2026-06-18 16:47:00,265 - WARNING - Deleting VN ctest-vn-03598902 failed..Will retry 2026-06-18 16:47:02,367 - DEBUG - Response for deleting network () 2026-06-18 16:47:02,367 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/02a255c5-b562-4f1e-b629-7bdb262fb17e 2026-06-18 16:47:02,375 - DEBUG - Response Code: 404 2026-06-18 16:47:02,375 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 16:47:02,380 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b6d7112-87e2-4244-ac07-ab1670d7fae9 2026-06-18 16:47:02,434 - DEBUG - Requesting: http://10.0.0.50:8082/project/25800002-11ed-4152-be0f-e61a701800d8 2026-06-18 16:47:02,501 - INFO - Validated that VN ctest-vn-03598902 is not found in API Server 2026-06-18 16:47:02,511 - DEBUG - VN ctest-vn-03598902 is not present in Agent 10.0.0.50 2026-06-18 16:47:02,513 - INFO - Validated that VN ctest-vn-03598902 is not in any agent 2026-06-18 16:47:02,531 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03598902 info 2026-06-18 16:47:02,531 - INFO - Deleting VN ctest-vn-85986003 2026-06-18 16:47:02,626 - DEBUG - Response for deleting network () 2026-06-18 16:47:02,626 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/69e13659-cf4c-4a70-98e0-12a133ec760c 2026-06-18 16:47:02,632 - DEBUG - Response Code: 404 2026-06-18 16:47:02,632 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 16:47:02,638 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b6d7112-87e2-4244-ac07-ab1670d7fae9 2026-06-18 16:47:02,690 - DEBUG - Requesting: http://10.0.0.50:8082/project/25800002-11ed-4152-be0f-e61a701800d8 2026-06-18 16:47:02,761 - INFO - Validated that VN ctest-vn-85986003 is not found in API Server 2026-06-18 16:47:02,769 - DEBUG - VN ctest-vn-85986003 is not present in Agent 10.0.0.50 2026-06-18 16:47:02,769 - INFO - Validated that VN ctest-vn-85986003 is not in any agent 2026-06-18 16:47:02,782 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85986003 info 2026-06-18 16:47:03,047 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 16:47:03,047 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:43] 2026-06-18 16:47:03,047 - INFO - -------------------------------------------------------------------------------- 2026-06-18 16:47:03,807 - INFO - Deleted project: ctest-TestBasicPolicy-15675979, ID : 25800002-11ed-4152-be0f-e61a701800d8