2026-01-04 04:00:24,531 - INFO - Domain Default found not creating 2026-01-04 04:00:24,698 - INFO - Project ctest-TestBasicPolicy-54219275 not found, creating it 2026-01-04 04:00:25,161 - INFO - Created Project:ctest-TestBasicPolicy-54219275, ID : 1b5688bc-9d67-4a89-9739-a20384081f38 2026-01-04 04:00:26,645 - INFO - ================================================================================ 2026-01-04 04:00:26,645 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-04 04:00:26,645 - 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-01-04 04:00:26,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-01-04 04:00:26,916 - INFO - Initial checks done. Running the testcase now 2026-01-04 04:00:26,916 - INFO - 2026-01-04 04:00:27,486 - DEBUG - Response for create_network : {'network': {'id': '78b1c407-0b52-476a-8422-a4e5337ea4ba', 'name': 'ctest-vn-50096329', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'project_id': '1b5688bc9d674a899739a20384081f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-vn-50096329'], 'port_security_enabled': True, 'description': ''}} 2026-01-04 04:00:27,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f502cdc-076b-4526-8e16-e508f3e019ec', 'name': '', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'network_id': '78b1c407-0b52-476a-8422-a4e5337ea4ba', 'ip_version': 4, 'cidr': '114.94.65.0/26', 'allocation_pools': [{'start': '114.94.65.2', 'end': '114.94.65.62'}], 'gateway_ip': '114.94.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.94.65.2', 'tags': [], 'project_id': '1b5688bc9d674a899739a20384081f38'}} 2026-01-04 04:00:27,691 - INFO - Created VN ctest-vn-50096329 2026-01-04 04:00:27,742 - DEBUG - VN ctest-vn-50096329 UUID is 78b1c407-0b52-476a-8422-a4e5337ea4ba 2026-01-04 04:00:28,054 - DEBUG - Response for create_network : {'network': {'id': 'ec74d036-0c46-41a9-8435-b147eb4131b9', 'name': 'ctest-vn-96065422', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'project_id': '1b5688bc9d674a899739a20384081f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-vn-96065422'], 'port_security_enabled': True, 'description': ''}} 2026-01-04 04:00:28,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '039490f2-02f2-4ab0-9896-855e8cbb58cf', 'name': '', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'network_id': 'ec74d036-0c46-41a9-8435-b147eb4131b9', 'ip_version': 4, 'cidr': '93.145.2.64/26', 'allocation_pools': [{'start': '93.145.2.66', 'end': '93.145.2.126'}], 'gateway_ip': '93.145.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.145.2.66', 'tags': [], 'project_id': '1b5688bc9d674a899739a20384081f38'}} 2026-01-04 04:00:28,298 - INFO - Created VN ctest-vn-96065422 2026-01-04 04:00:28,350 - DEBUG - VN ctest-vn-96065422 UUID is ec74d036-0c46-41a9-8435-b147eb4131b9 2026-01-04 04:00:28,506 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329, 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-54219275:ctest-vn-96065422, 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-01-04 04:00:28,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78b1c407-0b52-476a-8422-a4e5337ea4ba', 'name': 'ctest-vn-50096329', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'project_id': '1b5688bc9d674a899739a20384081f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f502cdc-076b-4526-8e16-e508f3e019ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-vn-50096329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-policy-allow-all-61179581']], 'subnet_ipam': [{'subnet_cidr': '114.94.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-04 04:00:29,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec74d036-0c46-41a9-8435-b147eb4131b9', 'name': 'ctest-vn-96065422', 'tenant_id': '1b5688bc9d674a899739a20384081f38', 'project_id': '1b5688bc9d674a899739a20384081f38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['039490f2-02f2-4ab0-9896-855e8cbb58cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-vn-96065422'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-policy-allow-all-61179581']], 'subnet_ipam': [{'subnet_cidr': '93.145.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-04 04:00:29,234 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-04 04:00:29,530 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-04 04:00:29,560 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee 2026-01-04 04:00:29,571 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38 2026-01-04 04:00:29,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba 2026-01-04 04:00:29,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba 2026-01-04 04:00:29,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06 2026-01-04 04:00:29,675 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06 2026-01-04 04:00:29,680 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/31490efe-a8a5-4ea0-ac78-22b5d3bfc992 2026-01-04 04:00:29,686 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-04 04:00:29,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba 2026-01-04 04:00:29,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06 2026-01-04 04:00:29,708 - INFO - Verified VN network id 11 for VN 78b1c407-0b52-476a-8422-a4e5337ea4ba 2026-01-04 04:00:29,708 - INFO - Verifications in API Server for VN ctest-vn-50096329 passed 2026-01-04 04:00:29,708 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba 2026-01-04 04:00:29,716 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06 2026-01-04 04:00:29,723 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06 2026-01-04 04:00:29,729 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/31490efe-a8a5-4ea0-ac78-22b5d3bfc992 2026-01-04 04:00:29,740 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54219275', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8696947889962895210', 'uuid-lslong': '9521353866533053626'}, 'enable': 'true', 'created': '2026-01-04T04:00:27', 'last-modified': '2026-01-04T04:00:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964551'} 2026-01-04 04:00:29,746 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-04 04:00:29,746 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50096329 passed 2026-01-04 04:00:29,746 - DEBUG - ====Verifying policy data for ctest-vn-50096329 in API_Server ====== 2026-01-04 04:00:29,746 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-04 04:00:29,751 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee 2026-01-04 04:00:29,762 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38 2026-01-04 04:00:29,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78b1c407-0b52-476a-8422-a4e5337ea4ba 2026-01-04 04:00:29,838 - DEBUG - ==>Verifying data for policy with id: 01746878-6cc1-4ed2-a50e-1c280ad6eb76, fqn: ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-policy-allow-all-61179581'] 2026-01-04 04:00:29,838 - INFO - VN ctest-vn-50096329 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-04 04:00:29,838 - DEBUG - Verifying the vn in opserver 2026-01-04 04:00:29,838 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329 virtual network link through opserver 10.0.0.38 2026-01-04 04:00:29,838 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-04 04:00:30,132 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-04 04:00:30,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329?flat'} 2026-01-04 04:00:30,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329 is found in opserver 2026-01-04 04:00:30,199 - DEBUG - Do not have enough data to verify VN in agent 2026-01-04 04:00:30,203 - DEBUG - VRF ids for VN ctest-vn-50096329: {} 2026-01-04 04:00:30,203 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-04 04:00:30,208 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee 2026-01-04 04:00:30,218 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38 2026-01-04 04:00:30,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9 2026-01-04 04:00:30,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9 2026-01-04 04:00:30,312 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70 2026-01-04 04:00:30,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70 2026-01-04 04:00:30,325 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/962fc19f-db75-442a-8b42-80711765034f 2026-01-04 04:00:30,333 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-04 04:00:30,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9 2026-01-04 04:00:30,343 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70 2026-01-04 04:00:30,358 - INFO - Verified VN network id 12 for VN ec74d036-0c46-41a9-8435-b147eb4131b9 2026-01-04 04:00:30,358 - INFO - Verifications in API Server for VN ctest-vn-96065422 passed 2026-01-04 04:00:30,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9 2026-01-04 04:00:30,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70 2026-01-04 04:00:30,374 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70 2026-01-04 04:00:30,383 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/962fc19f-db75-442a-8b42-80711765034f 2026-01-04 04:00:30,398 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54219275', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17038472220802171305', 'uuid-lslong': '9526715509219865017'}, 'enable': 'true', 'created': '2026-01-04T04:00:28', 'last-modified': '2026-01-04T04:00:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.377990'} 2026-01-04 04:00:30,403 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-04 04:00:30,404 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96065422 passed 2026-01-04 04:00:30,404 - DEBUG - ====Verifying policy data for ctest-vn-96065422 in API_Server ====== 2026-01-04 04:00:30,404 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-04 04:00:30,410 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee 2026-01-04 04:00:30,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38 2026-01-04 04:00:30,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ec74d036-0c46-41a9-8435-b147eb4131b9 2026-01-04 04:00:30,500 - DEBUG - ==>Verifying data for policy with id: 01746878-6cc1-4ed2-a50e-1c280ad6eb76, fqn: ['default-domain', 'ctest-TestBasicPolicy-54219275', 'ctest-policy-allow-all-61179581'] 2026-01-04 04:00:30,500 - INFO - VN ctest-vn-96065422 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-04 04:00:30,500 - DEBUG - Verifying the vn in opserver 2026-01-04 04:00:30,500 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422 virtual network link through opserver 10.0.0.38 2026-01-04 04:00:30,500 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-04 04:00:30,511 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422?flat'} 2026-01-04 04:00:30,512 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-96065422 is found in opserver 2026-01-04 04:00:30,521 - DEBUG - Do not have enough data to verify VN in agent 2026-01-04 04:00:30,527 - DEBUG - VRF ids for VN ctest-vn-96065422: {} 2026-01-04 04:00:30,581 - DEBUG - Services list from nova: [, , ] 2026-01-04 04:00:31,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4955-1) 2026-01-04 04:00:32,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4955-1) 2026-01-04 04:00:32,749 - INFO - Waiting for VM ctest-TestBasicPolicy-54219275-01293932 to be up.. 2026-01-04 04:00:32,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-04 04:00:37,920 - DEBUG - VM is in ACTIVE state now 2026-01-04 04:00:37,920 - INFO - VM name : ctest-TestBasicPolicy-54219275-01293932 2026-01-04 04:00:37,993 - DEBUG - VM ctest-TestBasicPolicy-54219275-01293932 ID is 1de7f3c2-0d68-420c-8e87-6d9625f6fe56 2026-01-04 04:00:38,015 - DEBUG - VM ctest-TestBasicPolicy-54219275-01293932 launched on Node cn-jenkins-deploy-platform-ansible-os-4955-1 2026-01-04 04:00:38,095 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1de7f3c2-0d68-420c-8e87-6d9625f6fe56 2026-01-04 04:00:38,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/36b191ea-8c8c-4300-a791-03524da33472 2026-01-04 04:00:41,333 - 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 1018ms') 2026-01-04 04:00:41,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54219275-01293932 failed! 2026-01-04 04:00:41,386 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54219275:ctest-vn-50096329 is 114.94.65.1 and allocation pool is NOT set 2026-01-04 04:00:43,446 - 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=8.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 999ms\r\nrtt min/avg/max/mdev = 3.278/6.133/8.989/2.855 ms') 2026-01-04 04:00:43,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54219275-01293932 passed 2026-01-04 04:00:43,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-04 04:00:43,594 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54219275-01293932, IP 114.94.65.3, Port 22 2026-01-04 04:00:43,759 - DEBUG - VM ctest-TestBasicPolicy-54219275-01293932 is ready for SSH connections 2026-01-04 04:00:43,760 - INFO - Waiting for VM ctest-TestBasicPolicy-54219275-00212318 to be up.. 2026-01-04 04:00:43,846 - DEBUG - VM is in ACTIVE state now 2026-01-04 04:00:43,846 - INFO - VM name : ctest-TestBasicPolicy-54219275-00212318 2026-01-04 04:00:43,931 - DEBUG - VM ctest-TestBasicPolicy-54219275-00212318 ID is 6434cb1b-4a10-45e7-acde-a5446478be87 2026-01-04 04:00:43,931 - DEBUG - VM ctest-TestBasicPolicy-54219275-00212318 launched on Node cn-jenkins-deploy-platform-ansible-os-4955-1 2026-01-04 04:00:44,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6434cb1b-4a10-45e7-acde-a5446478be87 2026-01-04 04:00:44,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/68c0e61d-ceb9-41af-a5bd-592040e94f29 2026-01-04 04:00:45,272 - 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=4.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 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 = 1.714/3.086/4.458/1.372 ms') 2026-01-04 04:00:45,272 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54219275-00212318 passed 2026-01-04 04:00:45,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-04 04:00:45,426 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54219275-00212318, IP 93.145.2.67, Port 22 2026-01-04 04:00:45,481 - 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-01-04 04:00:45,556 - DEBUG - VM ctest-TestBasicPolicy-54219275-00212318 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-04 04:00:50,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-04 04:00:50,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54219275-00212318, IP 93.145.2.67, Port 22 2026-01-04 04:00:50,728 - DEBUG - VM ctest-TestBasicPolicy-54219275-00212318 is ready for SSH connections 2026-01-04 04:00:50,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-04 04:00:50,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.145.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-04 04:00:50,729 - DEBUG - ping -s 56 -c 3 -W 1 93.145.2.67 2026-01-04 04:00:54,756 - DEBUG - PING 93.145.2.67 (93.145.2.67): 56 data bytes 64 bytes from 93.145.2.67: seq=0 ttl=63 time=3.432 ms 64 bytes from 93.145.2.67: seq=1 ttl=63 time=1.076 ms 64 bytes from 93.145.2.67: seq=2 ttl=63 time=0.821 ms --- 93.145.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/1.776/3.432 ms 2026-01-04 04:00:54,757 - INFO - Ping to IP 93.145.2.67 from VM ctest-TestBasicPolicy-54219275-01293932 passed 2026-01-04 04:00:54,938 - DEBUG - Policy Update Response {"network-policy": {"uuid": "01746878-6cc1-4ed2-a50e-1c280ad6eb76", "href": "http://10.0.0.38:8082/network-policy/01746878-6cc1-4ed2-a50e-1c280ad6eb76"}} 2026-01-04 04:00:54,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-04 04:00:54,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.145.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-04 04:00:54,938 - DEBUG - ping -s 56 -c 3 -W 1 93.145.2.67 2026-01-04 04:00:58,161 - DEBUG - PING 93.145.2.67 (93.145.2.67): 56 data bytes --- 93.145.2.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-04 04:00:58,161 - WARNING - Ping to IP 93.145.2.67 from VM ctest-TestBasicPolicy-54219275-01293932 failed 2026-01-04 04:00:58,162 - INFO - Deleting VM ctest-TestBasicPolicy-54219275-00212318 2026-01-04 04:00:58,235 - INFO - Deleting VM ctest-TestBasicPolicy-54219275-01293932 2026-01-04 04:00:58,651 - INFO - Deleted policy ctest-policy-allow-all-61179581 2026-01-04 04:00:58,651 - INFO - Deleting VN ctest-vn-96065422 2026-01-04 04:00:58,687 - DEBUG - VN ec74d036-0c46-41a9-8435-b147eb4131b9 still in use: Unable to complete operation on network ec74d036-0c46-41a9-8435-b147eb4131b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af6da230-ef18-4864-85c6-dea34114cad9'] 2026-01-04 04:00:58,687 - WARNING - Deleting VN ctest-vn-96065422 failed..Will retry 2026-01-04 04:01:00,799 - DEBUG - Response for deleting network () 2026-01-04 04:01:00,799 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5f1bdbb8-6c0b-4a89-a85a-b842e5ab0f70 2026-01-04 04:01:00,805 - DEBUG - Response Code: 404 2026-01-04 04:01:00,806 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-04 04:01:00,815 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee 2026-01-04 04:01:00,869 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38 2026-01-04 04:01:00,950 - INFO - Validated that VN ctest-vn-96065422 is not found in API Server 2026-01-04 04:01:00,960 - DEBUG - VN ctest-vn-96065422 is not present in Agent 10.0.0.38 2026-01-04 04:01:00,960 - INFO - Validated that VN ctest-vn-96065422 is not in any agent 2026-01-04 04:01:00,974 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96065422 info 2026-01-04 04:01:00,974 - INFO - Deleting VN ctest-vn-50096329 2026-01-04 04:01:01,086 - DEBUG - Response for deleting network () 2026-01-04 04:01:01,086 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/193c01a2-8b3a-4477-9d63-6657e3487b06 2026-01-04 04:01:01,094 - DEBUG - Response Code: 404 2026-01-04 04:01:01,094 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-04 04:01:01,100 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1c073e69-1513-447c-8dbf-d54b39bed7ee 2026-01-04 04:01:01,156 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b5688bc-9d67-4a89-9739-a20384081f38 2026-01-04 04:01:01,233 - INFO - Validated that VN ctest-vn-50096329 is not found in API Server 2026-01-04 04:01:01,242 - DEBUG - VN ctest-vn-50096329 is not present in Agent 10.0.0.38 2026-01-04 04:01:01,242 - INFO - Validated that VN ctest-vn-50096329 is not in any agent 2026-01-04 04:01:01,258 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50096329 info 2026-01-04 04:01:01,514 - DEBUG - No XMPP flaps were noticed during the test
2026-01-04 04:01:01,514 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-04 04:01:01,515 - INFO - -------------------------------------------------------------------------------- 2026-01-04 04:01:02,197 - INFO - Deleted project: ctest-TestBasicPolicy-54219275, ID : 1b5688bc-9d67-4a89-9739-a20384081f38