2026-02-03 17:18:08,058 - INFO - Domain Default found not creating 2026-02-03 17:18:08,276 - INFO - Project ctest-TestBasicPolicy-65710555 not found, creating it 2026-02-03 17:18:08,803 - INFO - Created Project:ctest-TestBasicPolicy-65710555, ID : 24682219-1441-45d0-af3d-2400fefbec48 2026-02-03 17:18:10,447 - INFO - ================================================================================ 2026-02-03 17:18:10,448 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-03 17:18:10,448 - 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-03 17:18:10,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2026-02-03 17:18:10,714 - INFO - Initial checks done. Running the testcase now 2026-02-03 17:18:10,714 - INFO - 2026-02-03 17:18:11,306 - DEBUG - Response for create_network : {'network': {'id': 'a6e8e7e6-c4b9-4e35-86bf-0c409627ad77', 'name': 'ctest-vn-29923247', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'project_id': '24682219144145d0af3d2400fefbec48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-vn-29923247'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 17:18:11,525 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c35dfb72-23b6-4b88-978e-0bbff6dad2d6', 'name': '', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'network_id': 'a6e8e7e6-c4b9-4e35-86bf-0c409627ad77', 'ip_version': 4, 'cidr': '137.144.225.64/26', 'allocation_pools': [{'start': '137.144.225.66', 'end': '137.144.225.126'}], 'gateway_ip': '137.144.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.144.225.66', 'tags': [], 'project_id': '24682219144145d0af3d2400fefbec48'}} 2026-02-03 17:18:11,548 - INFO - Created VN ctest-vn-29923247 2026-02-03 17:18:11,601 - DEBUG - VN ctest-vn-29923247 UUID is a6e8e7e6-c4b9-4e35-86bf-0c409627ad77 2026-02-03 17:18:11,915 - DEBUG - Response for create_network : {'network': {'id': '33ef13d3-7e09-4bef-b1a8-e697e0a852e2', 'name': 'ctest-vn-68386437', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'project_id': '24682219144145d0af3d2400fefbec48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-vn-68386437'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 17:18:12,082 - DEBUG - Response for create_subnet : {'subnet': {'id': '02f77b7e-a4c5-4b60-b59a-06e6cf30d2f1', 'name': '', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'network_id': '33ef13d3-7e09-4bef-b1a8-e697e0a852e2', 'ip_version': 4, 'cidr': '75.70.66.128/26', 'allocation_pools': [{'start': '75.70.66.130', 'end': '75.70.66.190'}], 'gateway_ip': '75.70.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.70.66.130', 'tags': [], 'project_id': '24682219144145d0af3d2400fefbec48'}} 2026-02-03 17:18:12,104 - INFO - Created VN ctest-vn-68386437 2026-02-03 17:18:12,157 - DEBUG - VN ctest-vn-68386437 UUID is 33ef13d3-7e09-4bef-b1a8-e697e0a852e2 2026-02-03 17:18:12,291 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247, 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-65710555:ctest-vn-68386437, 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-03 17:18:12,620 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6e8e7e6-c4b9-4e35-86bf-0c409627ad77', 'name': 'ctest-vn-29923247', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'project_id': '24682219144145d0af3d2400fefbec48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c35dfb72-23b6-4b88-978e-0bbff6dad2d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-vn-29923247'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-policy-allow-all-99333756']], 'subnet_ipam': [{'subnet_cidr': '137.144.225.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 17:18:12,879 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33ef13d3-7e09-4bef-b1a8-e697e0a852e2', 'name': 'ctest-vn-68386437', 'tenant_id': '24682219144145d0af3d2400fefbec48', 'project_id': '24682219144145d0af3d2400fefbec48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['02f77b7e-a4c5-4b60-b59a-06e6cf30d2f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-vn-68386437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-policy-allow-all-99333756']], 'subnet_ipam': [{'subnet_cidr': '75.70.66.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 17:18:13,065 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 17:18:13,389 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 17:18:13,429 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3 2026-02-03 17:18:13,443 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48 2026-02-03 17:18:13,521 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77 2026-02-03 17:18:13,532 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77 2026-02-03 17:18:13,542 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2 2026-02-03 17:18:13,549 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2 2026-02-03 17:18:13,557 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eefcc355-ac42-4847-b57c-cc944326628f 2026-02-03 17:18:13,564 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 17:18:13,564 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77 2026-02-03 17:18:13,574 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2 2026-02-03 17:18:13,589 - INFO - Verified VN network id 11 for VN a6e8e7e6-c4b9-4e35-86bf-0c409627ad77 2026-02-03 17:18:13,589 - INFO - Verifications in API Server for VN ctest-vn-29923247 passed 2026-02-03 17:18:13,590 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77 2026-02-03 17:18:13,599 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2 2026-02-03 17:18:13,607 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2 2026-02-03 17:18:13,614 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eefcc355-ac42-4847-b57c-cc944326628f 2026-02-03 17:18:13,627 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65710555', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12027117783221882421', 'uuid-lslong': '9709492793170701687'}, 'enable': 'true', 'created': '2026-02-03T17:18:11', 'last-modified': '2026-02-03T17:18:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029885'} 2026-02-03 17:18:13,633 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 17:18:13,634 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29923247 passed 2026-02-03 17:18:13,634 - DEBUG - ====Verifying policy data for ctest-vn-29923247 in API_Server ====== 2026-02-03 17:18:13,634 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 17:18:13,640 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3 2026-02-03 17:18:13,654 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48 2026-02-03 17:18:13,726 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a6e8e7e6-c4b9-4e35-86bf-0c409627ad77 2026-02-03 17:18:13,736 - DEBUG - ==>Verifying data for policy with id: 7993c403-f033-4a68-a647-4e1065b91c59, fqn: ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-policy-allow-all-99333756'] 2026-02-03 17:18:13,736 - INFO - VN ctest-vn-29923247 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 17:18:13,736 - DEBUG - Verifying the vn in opserver 2026-02-03 17:18:13,736 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247 virtual network link through opserver 10.0.0.19 2026-02-03 17:18:13,736 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-03 17:18:14,036 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-03 17:18:14,111 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247?flat'} 2026-02-03 17:18:14,111 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247 is found in opserver 2026-02-03 17:18:14,121 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 17:18:14,125 - DEBUG - VRF ids for VN ctest-vn-29923247: {} 2026-02-03 17:18:14,126 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 17:18:14,133 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3 2026-02-03 17:18:14,145 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48 2026-02-03 17:18:14,218 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2 2026-02-03 17:18:14,232 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2 2026-02-03 17:18:14,241 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b 2026-02-03 17:18:14,249 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b 2026-02-03 17:18:14,256 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/603a7870-d45b-4ff3-b03f-cb69eb75e23b 2026-02-03 17:18:14,264 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 17:18:14,264 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2 2026-02-03 17:18:14,275 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b 2026-02-03 17:18:14,293 - INFO - Verified VN network id 12 for VN 33ef13d3-7e09-4bef-b1a8-e697e0a852e2 2026-02-03 17:18:14,294 - INFO - Verifications in API Server for VN ctest-vn-68386437 passed 2026-02-03 17:18:14,294 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2 2026-02-03 17:18:14,304 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b 2026-02-03 17:18:14,311 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b 2026-02-03 17:18:14,321 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/603a7870-d45b-4ff3-b03f-cb69eb75e23b 2026-02-03 17:18:14,334 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65710555', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3742231614441737199', 'uuid-lslong': '12801735480784212706'}, 'enable': 'true', 'created': '2026-02-03T17:18:11', 'last-modified': '2026-02-03T17:18:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479248'} 2026-02-03 17:18:14,340 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 17:18:14,340 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68386437 passed 2026-02-03 17:18:14,341 - DEBUG - ====Verifying policy data for ctest-vn-68386437 in API_Server ====== 2026-02-03 17:18:14,341 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 17:18:14,348 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3 2026-02-03 17:18:14,362 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48 2026-02-03 17:18:14,443 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/33ef13d3-7e09-4bef-b1a8-e697e0a852e2 2026-02-03 17:18:14,452 - DEBUG - ==>Verifying data for policy with id: 7993c403-f033-4a68-a647-4e1065b91c59, fqn: ['default-domain', 'ctest-TestBasicPolicy-65710555', 'ctest-policy-allow-all-99333756'] 2026-02-03 17:18:14,452 - INFO - VN ctest-vn-68386437 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 17:18:14,453 - DEBUG - Verifying the vn in opserver 2026-02-03 17:18:14,453 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437 virtual network link through opserver 10.0.0.19 2026-02-03 17:18:14,453 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-03 17:18:14,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437?flat'} 2026-02-03 17:18:14,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-68386437 is found in opserver 2026-02-03 17:18:14,479 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 17:18:14,486 - DEBUG - VRF ids for VN ctest-vn-68386437: {} 2026-02-03 17:18:14,551 - DEBUG - Services list from nova: [, , ] 2026-02-03 17:18:15,709 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5192-1) 2026-02-03 17:18:17,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5192-1) 2026-02-03 17:18:17,035 - INFO - Waiting for VM ctest-TestBasicPolicy-65710555-50605336 to be up.. 2026-02-03 17:18:17,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 17:18:22,216 - DEBUG - VM is in ACTIVE state now 2026-02-03 17:18:22,216 - INFO - VM name : ctest-TestBasicPolicy-65710555-50605336 2026-02-03 17:18:22,310 - DEBUG - VM ctest-TestBasicPolicy-65710555-50605336 ID is 3b0cacd4-58db-4245-a0bf-930fdcd08d74 2026-02-03 17:18:22,336 - DEBUG - VM ctest-TestBasicPolicy-65710555-50605336 launched on Node cn-jenkins-deploy-platform-ansible-os-5192-1 2026-02-03 17:18:22,431 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/3b0cacd4-58db-4245-a0bf-930fdcd08d74 2026-02-03 17:18:22,441 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d0569260-2cf1-42fb-9b36-1d47e88fea96 2026-02-03 17:18:25,673 - 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 1028ms') 2026-02-03 17:18:25,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65710555-50605336 failed! 2026-02-03 17:18:25,733 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65710555:ctest-vn-29923247 is 137.144.225.65 and allocation pool is NOT set 2026-02-03 17:18:27,801 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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 = 1.617/6.183/10.749/4.566 ms') 2026-02-03 17:18:27,802 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65710555-50605336 passed 2026-02-03 17:18:27,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 17:18:27,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65710555-50605336, IP 137.144.225.67, Port 22 2026-02-03 17:18:28,151 - DEBUG - VM ctest-TestBasicPolicy-65710555-50605336 is ready for SSH connections 2026-02-03 17:18:28,151 - INFO - Waiting for VM ctest-TestBasicPolicy-65710555-17663225 to be up.. 2026-02-03 17:18:28,265 - DEBUG - VM is in ACTIVE state now 2026-02-03 17:18:28,265 - INFO - VM name : ctest-TestBasicPolicy-65710555-17663225 2026-02-03 17:18:28,376 - DEBUG - VM ctest-TestBasicPolicy-65710555-17663225 ID is 036250e2-a983-4946-994e-0b48c1c2419d 2026-02-03 17:18:28,376 - DEBUG - VM ctest-TestBasicPolicy-65710555-17663225 launched on Node cn-jenkins-deploy-platform-ansible-os-5192-1 2026-02-03 17:18:28,470 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/036250e2-a983-4946-994e-0b48c1c2419d 2026-02-03 17:18:28,480 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/36ead10a-2703-48af-be36-7b900294e774 2026-02-03 17:18:29,724 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.21 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.207/3.130/5.053/1.923 ms') 2026-02-03 17:18:29,724 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65710555-17663225 passed 2026-02-03 17:18:29,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 17:18:29,885 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65710555-17663225, IP 75.70.66.131, Port 22 2026-02-03 17:18:29,955 - 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-03 17:18:30,059 - DEBUG - VM ctest-TestBasicPolicy-65710555-17663225 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-03 17:18:35,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 17:18:35,060 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65710555-17663225, IP 75.70.66.131, Port 22 2026-02-03 17:18:35,239 - DEBUG - VM ctest-TestBasicPolicy-65710555-17663225 is ready for SSH connections 2026-02-03 17:18:35,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 17:18:35,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.70.66.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-03 17:18:35,240 - DEBUG - ping -s 56 -c 3 -W 1 75.70.66.131 2026-02-03 17:18:39,352 - DEBUG - PING 75.70.66.131 (75.70.66.131): 56 data bytes 64 bytes from 75.70.66.131: seq=0 ttl=63 time=5.333 ms 64 bytes from 75.70.66.131: seq=1 ttl=63 time=1.401 ms 64 bytes from 75.70.66.131: seq=2 ttl=63 time=1.119 ms --- 75.70.66.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.119/2.617/5.333 ms 2026-02-03 17:18:39,352 - INFO - Ping to IP 75.70.66.131 from VM ctest-TestBasicPolicy-65710555-50605336 passed 2026-02-03 17:18:39,541 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7993c403-f033-4a68-a647-4e1065b91c59", "href": "http://10.0.0.19:8082/network-policy/7993c403-f033-4a68-a647-4e1065b91c59"}} 2026-02-03 17:18:39,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 17:18:39,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.70.66.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-03 17:18:39,541 - DEBUG - ping -s 56 -c 3 -W 1 75.70.66.131 2026-02-03 17:18:42,764 - DEBUG - PING 75.70.66.131 (75.70.66.131): 56 data bytes --- 75.70.66.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-03 17:18:42,764 - WARNING - Ping to IP 75.70.66.131 from VM ctest-TestBasicPolicy-65710555-50605336 failed 2026-02-03 17:18:42,765 - INFO - Deleting VM ctest-TestBasicPolicy-65710555-17663225 2026-02-03 17:18:42,853 - INFO - Deleting VM ctest-TestBasicPolicy-65710555-50605336 2026-02-03 17:18:43,338 - INFO - Deleted policy ctest-policy-allow-all-99333756 2026-02-03 17:18:43,338 - INFO - Deleting VN ctest-vn-68386437 2026-02-03 17:18:43,380 - DEBUG - VN 33ef13d3-7e09-4bef-b1a8-e697e0a852e2 still in use: Unable to complete operation on network 33ef13d3-7e09-4bef-b1a8-e697e0a852e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27001a3b-934f-4913-87bc-6b86a104d69b'] 2026-02-03 17:18:43,380 - WARNING - Deleting VN ctest-vn-68386437 failed..Will retry 2026-02-03 17:18:45,508 - DEBUG - Response for deleting network () 2026-02-03 17:18:45,508 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b15483db-d131-464f-b797-e0b223ef709b 2026-02-03 17:18:45,514 - DEBUG - Response Code: 404 2026-02-03 17:18:45,514 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 17:18:45,520 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3 2026-02-03 17:18:45,586 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48 2026-02-03 17:18:45,664 - INFO - Validated that VN ctest-vn-68386437 is not found in API Server 2026-02-03 17:18:45,674 - DEBUG - VN ctest-vn-68386437 is not present in Agent 10.0.0.19 2026-02-03 17:18:45,674 - INFO - Validated that VN ctest-vn-68386437 is not in any agent 2026-02-03 17:18:45,686 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68386437 info 2026-02-03 17:18:45,687 - INFO - Deleting VN ctest-vn-29923247 2026-02-03 17:18:45,825 - DEBUG - Response for deleting network () 2026-02-03 17:18:45,825 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5ac53c08-c5c0-41b5-93fe-30d53dc109e2 2026-02-03 17:18:45,832 - DEBUG - Response Code: 404 2026-02-03 17:18:45,832 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 17:18:45,840 - DEBUG - Requesting: http://10.0.0.19:8082/domain/70f8c33c-5b94-44dd-82d2-445d008dbba3 2026-02-03 17:18:45,899 - DEBUG - Requesting: http://10.0.0.19:8082/project/24682219-1441-45d0-af3d-2400fefbec48 2026-02-03 17:18:45,975 - INFO - Validated that VN ctest-vn-29923247 is not found in API Server 2026-02-03 17:18:45,987 - DEBUG - VN ctest-vn-29923247 is not present in Agent 10.0.0.19 2026-02-03 17:18:45,987 - INFO - Validated that VN ctest-vn-29923247 is not in any agent 2026-02-03 17:18:46,002 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29923247 info 2026-02-03 17:18:46,275 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 17:18:46,275 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-02-03 17:18:46,275 - INFO - -------------------------------------------------------------------------------- 2026-02-03 17:18:47,041 - INFO - Deleted project: ctest-TestBasicPolicy-65710555, ID : 24682219-1441-45d0-af3d-2400fefbec48