2026-02-12 16:02:06,452 - INFO - Domain Default found not creating 2026-02-12 16:02:06,629 - INFO - Project ctest-TestBasicPolicy-86961122 not found, creating it 2026-02-12 16:02:07,084 - INFO - Created Project:ctest-TestBasicPolicy-86961122, ID : 5c2f8fd7-26fd-450a-9869-4d62701e3f12 2026-02-12 16:02:08,665 - INFO - ================================================================================ 2026-02-12 16:02:08,666 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 16:02:08,666 - 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-12 16:02:08,920 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-12 16:02:08,920 - INFO - Initial checks done. Running the testcase now 2026-02-12 16:02:08,920 - INFO - 2026-02-12 16:02:09,446 - DEBUG - Response for create_network : {'network': {'id': '5dc524f7-842d-4947-8a05-987d1a43bb34', 'name': 'ctest-vn-11952974', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'project_id': '5c2f8fd726fd450a98694d62701e3f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-vn-11952974'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 16:02:09,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e22b803-e99f-44fe-a7ed-2865a2d13d9c', 'name': '', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'network_id': '5dc524f7-842d-4947-8a05-987d1a43bb34', 'ip_version': 4, 'cidr': '190.167.87.128/26', 'allocation_pools': [{'start': '190.167.87.130', 'end': '190.167.87.190'}], 'gateway_ip': '190.167.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.167.87.130', 'tags': [], 'project_id': '5c2f8fd726fd450a98694d62701e3f12'}} 2026-02-12 16:02:09,654 - INFO - Created VN ctest-vn-11952974 2026-02-12 16:02:09,702 - DEBUG - VN ctest-vn-11952974 UUID is 5dc524f7-842d-4947-8a05-987d1a43bb34 2026-02-12 16:02:10,008 - DEBUG - Response for create_network : {'network': {'id': '6844b817-3b06-4ddc-955a-4c3e6e4c0dc9', 'name': 'ctest-vn-95869013', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'project_id': '5c2f8fd726fd450a98694d62701e3f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-vn-95869013'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 16:02:10,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '44035657-3d68-4c6a-b7f4-3f0140173df9', 'name': '', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'network_id': '6844b817-3b06-4ddc-955a-4c3e6e4c0dc9', 'ip_version': 4, 'cidr': '11.252.51.128/26', 'allocation_pools': [{'start': '11.252.51.130', 'end': '11.252.51.190'}], 'gateway_ip': '11.252.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.252.51.130', 'tags': [], 'project_id': '5c2f8fd726fd450a98694d62701e3f12'}} 2026-02-12 16:02:10,222 - INFO - Created VN ctest-vn-95869013 2026-02-12 16:02:10,275 - DEBUG - VN ctest-vn-95869013 UUID is 6844b817-3b06-4ddc-955a-4c3e6e4c0dc9 2026-02-12 16:02:10,422 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974, 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-86961122:ctest-vn-95869013, 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-12 16:02:10,706 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5dc524f7-842d-4947-8a05-987d1a43bb34', 'name': 'ctest-vn-11952974', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'project_id': '5c2f8fd726fd450a98694d62701e3f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e22b803-e99f-44fe-a7ed-2865a2d13d9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-vn-11952974'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-policy-allow-all-68667808']], 'subnet_ipam': [{'subnet_cidr': '190.167.87.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 16:02:10,924 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6844b817-3b06-4ddc-955a-4c3e6e4c0dc9', 'name': 'ctest-vn-95869013', 'tenant_id': '5c2f8fd726fd450a98694d62701e3f12', 'project_id': '5c2f8fd726fd450a98694d62701e3f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44035657-3d68-4c6a-b7f4-3f0140173df9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-vn-95869013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-policy-allow-all-68667808']], 'subnet_ipam': [{'subnet_cidr': '11.252.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 16:02:11,090 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-12 16:02:11,387 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-12 16:02:11,420 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b 2026-02-12 16:02:11,432 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12 2026-02-12 16:02:11,500 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34 2026-02-12 16:02:11,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34 2026-02-12 16:02:11,516 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1 2026-02-12 16:02:11,522 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1 2026-02-12 16:02:11,527 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0e3f2ddb-7520-4c09-bf00-07f3e3578e3a 2026-02-12 16:02:11,532 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 16:02:11,532 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34 2026-02-12 16:02:11,539 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1 2026-02-12 16:02:11,551 - INFO - Verified VN network id 10 for VN 5dc524f7-842d-4947-8a05-987d1a43bb34 2026-02-12 16:02:11,551 - INFO - Verifications in API Server for VN ctest-vn-11952974 passed 2026-02-12 16:02:11,552 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34 2026-02-12 16:02:11,560 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1 2026-02-12 16:02:11,566 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1 2026-02-12 16:02:11,572 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0e3f2ddb-7520-4c09-bf00-07f3e3578e3a 2026-02-12 16:02:11,583 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86961122', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6756847461432379719', 'uuid-lslong': '9945523015196588852'}, 'enable': 'true', 'created': '2026-02-12T16:02:09', 'last-modified': '2026-02-12T16:02:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897587'} 2026-02-12 16:02:11,590 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 16:02:11,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11952974 passed 2026-02-12 16:02:11,590 - DEBUG - ====Verifying policy data for ctest-vn-11952974 in API_Server ====== 2026-02-12 16:02:11,590 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-12 16:02:11,595 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b 2026-02-12 16:02:11,605 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12 2026-02-12 16:02:11,673 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5dc524f7-842d-4947-8a05-987d1a43bb34 2026-02-12 16:02:11,681 - DEBUG - ==>Verifying data for policy with id: 54ecdeb5-9d30-4ddb-af25-29a6ef51902a, fqn: ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-policy-allow-all-68667808'] 2026-02-12 16:02:11,681 - INFO - VN ctest-vn-11952974 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 16:02:11,681 - DEBUG - Verifying the vn in opserver 2026-02-12 16:02:11,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974 virtual network link through opserver 10.0.0.22 2026-02-12 16:02:11,681 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-12 16:02:11,972 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-12 16:02:12,031 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974?flat'} 2026-02-12 16:02:12,031 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974 is found in opserver 2026-02-12 16:02:12,040 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 16:02:12,044 - DEBUG - VRF ids for VN ctest-vn-11952974: {} 2026-02-12 16:02:12,044 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-12 16:02:12,049 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b 2026-02-12 16:02:12,058 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12 2026-02-12 16:02:12,130 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9 2026-02-12 16:02:12,140 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9 2026-02-12 16:02:12,147 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf 2026-02-12 16:02:12,153 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf 2026-02-12 16:02:12,158 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d55098e2-ef78-4324-bfee-e1809c3e3b83 2026-02-12 16:02:12,164 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 16:02:12,164 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9 2026-02-12 16:02:12,172 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf 2026-02-12 16:02:12,183 - INFO - Verified VN network id 11 for VN 6844b817-3b06-4ddc-955a-4c3e6e4c0dc9 2026-02-12 16:02:12,183 - INFO - Verifications in API Server for VN ctest-vn-95869013 passed 2026-02-12 16:02:12,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9 2026-02-12 16:02:12,191 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf 2026-02-12 16:02:12,197 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf 2026-02-12 16:02:12,203 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d55098e2-ef78-4324-bfee-e1809c3e3b83 2026-02-12 16:02:12,213 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86961122', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7513332488274857436', 'uuid-lslong': '10761998090577382857'}, 'enable': 'true', 'created': '2026-02-12T16:02:09', 'last-modified': '2026-02-12T16:02:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.309490'} 2026-02-12 16:02:12,218 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 16:02:12,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95869013 passed 2026-02-12 16:02:12,218 - DEBUG - ====Verifying policy data for ctest-vn-95869013 in API_Server ====== 2026-02-12 16:02:12,218 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-12 16:02:12,223 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b 2026-02-12 16:02:12,232 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12 2026-02-12 16:02:12,304 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6844b817-3b06-4ddc-955a-4c3e6e4c0dc9 2026-02-12 16:02:12,313 - DEBUG - ==>Verifying data for policy with id: 54ecdeb5-9d30-4ddb-af25-29a6ef51902a, fqn: ['default-domain', 'ctest-TestBasicPolicy-86961122', 'ctest-policy-allow-all-68667808'] 2026-02-12 16:02:12,313 - INFO - VN ctest-vn-95869013 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 16:02:12,313 - DEBUG - Verifying the vn in opserver 2026-02-12 16:02:12,313 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013 virtual network link through opserver 10.0.0.22 2026-02-12 16:02:12,313 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-12 16:02:12,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013?flat'} 2026-02-12 16:02:12,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-95869013 is found in opserver 2026-02-12 16:02:12,332 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 16:02:12,336 - DEBUG - VRF ids for VN ctest-vn-95869013: {} 2026-02-12 16:02:12,392 - DEBUG - Services list from nova: [, , ] 2026-02-12 16:02:13,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5320-1) 2026-02-12 16:02:14,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5320-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5320-1) 2026-02-12 16:02:14,572 - INFO - Waiting for VM ctest-TestBasicPolicy-86961122-67188634 to be up.. 2026-02-12 16:02:14,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 16:02:19,737 - DEBUG - VM is in ACTIVE state now 2026-02-12 16:02:19,737 - INFO - VM name : ctest-TestBasicPolicy-86961122-67188634 2026-02-12 16:02:19,813 - DEBUG - VM ctest-TestBasicPolicy-86961122-67188634 ID is e8230435-ee70-4316-a506-97ff6787d407 2026-02-12 16:02:19,833 - DEBUG - VM ctest-TestBasicPolicy-86961122-67188634 launched on Node cn-jenkins-deploy-platform-ansible-os-5320-1 2026-02-12 16:02:19,906 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e8230435-ee70-4316-a506-97ff6787d407 2026-02-12 16:02:19,914 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c522b672-2ec8-4df3-94b7-0d9045485aa2 2026-02-12 16:02:23,177 - 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 1022ms') 2026-02-12 16:02:23,177 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86961122-67188634 failed! 2026-02-12 16:02:23,231 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86961122:ctest-vn-11952974 is 190.167.87.129 and allocation pool is NOT set 2026-02-12 16:02:25,294 - 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=3.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.642 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.642/2.044/3.447/1.402 ms') 2026-02-12 16:02:25,294 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86961122-67188634 passed 2026-02-12 16:02:25,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:02:25,447 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86961122-67188634, IP 190.167.87.131, Port 22 2026-02-12 16:02:25,602 - DEBUG - VM ctest-TestBasicPolicy-86961122-67188634 is ready for SSH connections 2026-02-12 16:02:25,603 - INFO - Waiting for VM ctest-TestBasicPolicy-86961122-80525986 to be up.. 2026-02-12 16:02:25,682 - DEBUG - VM is in ACTIVE state now 2026-02-12 16:02:25,682 - INFO - VM name : ctest-TestBasicPolicy-86961122-80525986 2026-02-12 16:02:25,748 - DEBUG - VM ctest-TestBasicPolicy-86961122-80525986 ID is 18c47dc4-577e-408d-bb1d-80a2cfe7fa60 2026-02-12 16:02:25,748 - DEBUG - VM ctest-TestBasicPolicy-86961122-80525986 launched on Node cn-jenkins-deploy-platform-ansible-os-5320-1 2026-02-12 16:02:25,818 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/18c47dc4-577e-408d-bb1d-80a2cfe7fa60 2026-02-12 16:02:25,825 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cf5696d1-f436-45b8-b50f-2281a1270e97 2026-02-12 16:02:27,057 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.797/3.161/1.363 ms') 2026-02-12 16:02:27,057 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86961122-80525986 passed 2026-02-12 16:02:27,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:02:27,203 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86961122-80525986, IP 11.252.51.131, Port 22 2026-02-12 16:02:27,368 - DEBUG - VM ctest-TestBasicPolicy-86961122-80525986 is ready for SSH connections 2026-02-12 16:02:27,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:02:27,368 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.252.51.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-12 16:02:27,368 - DEBUG - ping -s 56 -c 3 -W 1 11.252.51.131 2026-02-12 16:02:31,058 - DEBUG - PING 11.252.51.131 (11.252.51.131): 56 data bytes 64 bytes from 11.252.51.131: seq=0 ttl=63 time=3.308 ms 64 bytes from 11.252.51.131: seq=1 ttl=63 time=1.138 ms 64 bytes from 11.252.51.131: seq=2 ttl=63 time=0.958 ms --- 11.252.51.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/1.801/3.308 ms 2026-02-12 16:02:31,058 - INFO - Ping to IP 11.252.51.131 from VM ctest-TestBasicPolicy-86961122-67188634 passed 2026-02-12 16:02:31,234 - DEBUG - Policy Update Response {"network-policy": {"uuid": "54ecdeb5-9d30-4ddb-af25-29a6ef51902a", "href": "http://10.0.0.22:8082/network-policy/54ecdeb5-9d30-4ddb-af25-29a6ef51902a"}} 2026-02-12 16:02:31,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:02:31,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.252.51.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-12 16:02:31,235 - DEBUG - ping -s 56 -c 3 -W 1 11.252.51.131 2026-02-12 16:02:34,446 - DEBUG - PING 11.252.51.131 (11.252.51.131): 56 data bytes --- 11.252.51.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 16:02:34,446 - WARNING - Ping to IP 11.252.51.131 from VM ctest-TestBasicPolicy-86961122-67188634 failed 2026-02-12 16:02:34,446 - INFO - Deleting VM ctest-TestBasicPolicy-86961122-80525986 2026-02-12 16:02:34,509 - INFO - Deleting VM ctest-TestBasicPolicy-86961122-67188634 2026-02-12 16:02:34,844 - INFO - Deleted policy ctest-policy-allow-all-68667808 2026-02-12 16:02:34,844 - INFO - Deleting VN ctest-vn-95869013 2026-02-12 16:02:34,876 - DEBUG - VN 6844b817-3b06-4ddc-955a-4c3e6e4c0dc9 still in use: Unable to complete operation on network 6844b817-3b06-4ddc-955a-4c3e6e4c0dc9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7129256a-de20-4354-9cd3-d021480f1f3f'] 2026-02-12 16:02:34,876 - WARNING - Deleting VN ctest-vn-95869013 failed..Will retry 2026-02-12 16:02:36,997 - DEBUG - Response for deleting network () 2026-02-12 16:02:36,997 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b4d0f656-7d01-4e30-9a4a-40e5562e8cbf 2026-02-12 16:02:37,002 - DEBUG - Response Code: 404 2026-02-12 16:02:37,002 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-12 16:02:37,006 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b 2026-02-12 16:02:37,059 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12 2026-02-12 16:02:37,127 - INFO - Validated that VN ctest-vn-95869013 is not found in API Server 2026-02-12 16:02:37,138 - DEBUG - VN ctest-vn-95869013 is not present in Agent 10.0.0.22 2026-02-12 16:02:37,138 - INFO - Validated that VN ctest-vn-95869013 is not in any agent 2026-02-12 16:02:37,153 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95869013 info 2026-02-12 16:02:37,153 - INFO - Deleting VN ctest-vn-11952974 2026-02-12 16:02:37,248 - DEBUG - Response for deleting network () 2026-02-12 16:02:37,249 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9401f52c-312c-4d77-bf32-38b36bc2f8c1 2026-02-12 16:02:37,253 - DEBUG - Response Code: 404 2026-02-12 16:02:37,253 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-12 16:02:37,259 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b7e07f2-50e2-4c08-a327-6c1c0e25884b 2026-02-12 16:02:37,311 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c2f8fd7-26fd-450a-9869-4d62701e3f12 2026-02-12 16:02:37,380 - INFO - Validated that VN ctest-vn-11952974 is not found in API Server 2026-02-12 16:02:37,389 - DEBUG - VN ctest-vn-11952974 is not present in Agent 10.0.0.22 2026-02-12 16:02:37,389 - INFO - Validated that VN ctest-vn-11952974 is not in any agent 2026-02-12 16:02:37,400 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11952974 info 2026-02-12 16:02:37,666 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 16:02:37,666 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-12 16:02:37,666 - INFO - -------------------------------------------------------------------------------- 2026-02-12 16:02:38,338 - INFO - Deleted project: ctest-TestBasicPolicy-86961122, ID : 5c2f8fd7-26fd-450a-9869-4d62701e3f12