2026-04-03 10:44:13,389 - INFO - Domain Default found not creating 2026-04-03 10:44:13,536 - INFO - Project ctest-TestBasicPolicy-74889583 not found, creating it 2026-04-03 10:44:13,956 - INFO - Created Project:ctest-TestBasicPolicy-74889583, ID : b98e312b-3207-4445-ad1d-21627343fe45 2026-04-03 10:44:15,360 - INFO - ================================================================================ 2026-04-03 10:44:15,360 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-03 10:44:15,360 - 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-04-03 10:44:15,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-03 10:44:15,614 - INFO - Initial checks done. Running the testcase now 2026-04-03 10:44:15,614 - INFO - 2026-04-03 10:44:16,136 - DEBUG - Response for create_network : {'network': {'id': 'e266a4ed-5d7c-43ad-8735-67b8bfd7e51c', 'name': 'ctest-vn-21780492', 'tenant_id': 'b98e312b32074445ad1d21627343fe45', 'project_id': 'b98e312b32074445ad1d21627343fe45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74889583', 'ctest-vn-21780492'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:44:16,334 - DEBUG - Response for create_subnet : {'subnet': {'id': '8249b7a8-d1b2-44d6-9f6e-dfdf403500bd', 'name': '', 'tenant_id': 'b98e312b32074445ad1d21627343fe45', 'network_id': 'e266a4ed-5d7c-43ad-8735-67b8bfd7e51c', 'ip_version': 4, 'cidr': '90.122.192.0/26', 'allocation_pools': [{'start': '90.122.192.2', 'end': '90.122.192.62'}], 'gateway_ip': '90.122.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.122.192.2', 'tags': [], 'project_id': 'b98e312b32074445ad1d21627343fe45'}} 2026-04-03 10:44:16,351 - INFO - Created VN ctest-vn-21780492 2026-04-03 10:44:16,402 - DEBUG - VN ctest-vn-21780492 UUID is e266a4ed-5d7c-43ad-8735-67b8bfd7e51c 2026-04-03 10:44:16,690 - DEBUG - Response for create_network : {'network': {'id': '0f9cc47f-62d1-476c-95fb-9b62f023394b', 'name': 'ctest-vn-06983780', 'tenant_id': 'b98e312b32074445ad1d21627343fe45', 'project_id': 'b98e312b32074445ad1d21627343fe45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74889583', 'ctest-vn-06983780'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:44:16,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d2339a9-d038-4edb-ad46-c829a219b276', 'name': '', 'tenant_id': 'b98e312b32074445ad1d21627343fe45', 'network_id': '0f9cc47f-62d1-476c-95fb-9b62f023394b', 'ip_version': 4, 'cidr': '170.72.210.64/26', 'allocation_pools': [{'start': '170.72.210.66', 'end': '170.72.210.126'}], 'gateway_ip': '170.72.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.72.210.66', 'tags': [], 'project_id': 'b98e312b32074445ad1d21627343fe45'}} 2026-04-03 10:44:16,850 - INFO - Created VN ctest-vn-06983780 2026-04-03 10:44:16,901 - DEBUG - VN ctest-vn-06983780 UUID is 0f9cc47f-62d1-476c-95fb-9b62f023394b 2026-04-03 10:44:17,045 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-21780492, 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-74889583:ctest-vn-06983780, 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-04-03 10:44:17,330 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e266a4ed-5d7c-43ad-8735-67b8bfd7e51c', 'name': 'ctest-vn-21780492', 'tenant_id': 'b98e312b32074445ad1d21627343fe45', 'project_id': 'b98e312b32074445ad1d21627343fe45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8249b7a8-d1b2-44d6-9f6e-dfdf403500bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74889583', 'ctest-vn-21780492'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74889583', 'ctest-policy-allow-all-27682614']], 'subnet_ipam': [{'subnet_cidr': '90.122.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:44:17,591 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f9cc47f-62d1-476c-95fb-9b62f023394b', 'name': 'ctest-vn-06983780', 'tenant_id': 'b98e312b32074445ad1d21627343fe45', 'project_id': 'b98e312b32074445ad1d21627343fe45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d2339a9-d038-4edb-ad46-c829a219b276'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74889583', 'ctest-vn-06983780'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74889583', 'ctest-policy-allow-all-27682614']], 'subnet_ipam': [{'subnet_cidr': '170.72.210.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:44:17,741 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 10:44:18,035 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 10:44:18,064 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9d6748b1-481c-456d-b88c-0714ed939306 2026-04-03 10:44:18,075 - DEBUG - Requesting: http://10.0.0.50:8082/project/b98e312b-3207-4445-ad1d-21627343fe45 2026-04-03 10:44:18,149 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e266a4ed-5d7c-43ad-8735-67b8bfd7e51c 2026-04-03 10:44:18,178 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e266a4ed-5d7c-43ad-8735-67b8bfd7e51c 2026-04-03 10:44:18,199 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f5683b74-8064-411b-aecf-f33c159ff5cb 2026-04-03 10:44:18,216 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f5683b74-8064-411b-aecf-f33c159ff5cb 2026-04-03 10:44:18,250 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7c8f7679-1033-46e0-bae6-88483ef06a04 2026-04-03 10:44:18,295 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 10:44:18,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e266a4ed-5d7c-43ad-8735-67b8bfd7e51c 2026-04-03 10:44:18,312 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f5683b74-8064-411b-aecf-f33c159ff5cb 2026-04-03 10:44:18,337 - INFO - Verified VN network id 12 for VN e266a4ed-5d7c-43ad-8735-67b8bfd7e51c 2026-04-03 10:44:18,337 - INFO - Verifications in API Server for VN ctest-vn-21780492 passed 2026-04-03 10:44:18,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e266a4ed-5d7c-43ad-8735-67b8bfd7e51c 2026-04-03 10:44:18,370 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f5683b74-8064-411b-aecf-f33c159ff5cb 2026-04-03 10:44:18,378 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f5683b74-8064-411b-aecf-f33c159ff5cb 2026-04-03 10:44:18,384 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7c8f7679-1033-46e0-bae6-88483ef06a04 2026-04-03 10:44:18,399 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-21780492', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74889583', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16313908039578829741', 'uuid-lslong': '9742807412076176668'}, 'enable': 'true', 'created': '2026-04-03T10:44:16', 'last-modified': '2026-04-03T10:44:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.090347'} 2026-04-03 10:44:18,407 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 10:44:18,407 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21780492 passed 2026-04-03 10:44:18,407 - DEBUG - ====Verifying policy data for ctest-vn-21780492 in API_Server ====== 2026-04-03 10:44:18,407 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 10:44:18,422 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9d6748b1-481c-456d-b88c-0714ed939306 2026-04-03 10:44:18,459 - DEBUG - Requesting: http://10.0.0.50:8082/project/b98e312b-3207-4445-ad1d-21627343fe45 2026-04-03 10:44:18,574 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e266a4ed-5d7c-43ad-8735-67b8bfd7e51c 2026-04-03 10:44:18,584 - DEBUG - ==>Verifying data for policy with id: e4199968-83b5-4d1f-bddb-6fd202d4c560, fqn: ['default-domain', 'ctest-TestBasicPolicy-74889583', 'ctest-policy-allow-all-27682614'] 2026-04-03 10:44:18,584 - INFO - VN ctest-vn-21780492 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 10:44:18,584 - DEBUG - Verifying the vn in opserver 2026-04-03 10:44:18,584 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-21780492 virtual network link through opserver 10.0.0.50 2026-04-03 10:44:18,584 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-03 10:44:18,885 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-03 10:44:18,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-21780492', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-21780492?flat'} 2026-04-03 10:44:18,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-21780492 is found in opserver 2026-04-03 10:44:18,969 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 10:44:18,975 - DEBUG - VRF ids for VN ctest-vn-21780492: {} 2026-04-03 10:44:18,975 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 10:44:18,980 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9d6748b1-481c-456d-b88c-0714ed939306 2026-04-03 10:44:18,992 - DEBUG - Requesting: http://10.0.0.50:8082/project/b98e312b-3207-4445-ad1d-21627343fe45 2026-04-03 10:44:19,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0f9cc47f-62d1-476c-95fb-9b62f023394b 2026-04-03 10:44:19,074 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0f9cc47f-62d1-476c-95fb-9b62f023394b 2026-04-03 10:44:19,081 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52217395-3eed-4b67-8b05-9f5461dce6ef 2026-04-03 10:44:19,087 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52217395-3eed-4b67-8b05-9f5461dce6ef 2026-04-03 10:44:19,093 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b925b036-4fab-41e4-9044-d71e61421353 2026-04-03 10:44:19,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 10:44:19,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0f9cc47f-62d1-476c-95fb-9b62f023394b 2026-04-03 10:44:19,112 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52217395-3eed-4b67-8b05-9f5461dce6ef 2026-04-03 10:44:19,126 - INFO - Verified VN network id 13 for VN 0f9cc47f-62d1-476c-95fb-9b62f023394b 2026-04-03 10:44:19,126 - INFO - Verifications in API Server for VN ctest-vn-06983780 passed 2026-04-03 10:44:19,127 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0f9cc47f-62d1-476c-95fb-9b62f023394b 2026-04-03 10:44:19,136 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52217395-3eed-4b67-8b05-9f5461dce6ef 2026-04-03 10:44:19,143 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52217395-3eed-4b67-8b05-9f5461dce6ef 2026-04-03 10:44:19,149 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b925b036-4fab-41e4-9044-d71e61421353 2026-04-03 10:44:19,161 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-06983780', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74889583', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1124990058333554540', 'uuid-lslong': '10807402580043577675'}, 'enable': 'true', 'created': '2026-04-03T10:44:16', 'last-modified': '2026-04-03T10:44:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.638252'} 2026-04-03 10:44:19,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 10:44:19,169 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06983780 passed 2026-04-03 10:44:19,170 - DEBUG - ====Verifying policy data for ctest-vn-06983780 in API_Server ====== 2026-04-03 10:44:19,170 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 10:44:19,176 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9d6748b1-481c-456d-b88c-0714ed939306 2026-04-03 10:44:19,187 - DEBUG - Requesting: http://10.0.0.50:8082/project/b98e312b-3207-4445-ad1d-21627343fe45 2026-04-03 10:44:19,267 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0f9cc47f-62d1-476c-95fb-9b62f023394b 2026-04-03 10:44:19,278 - DEBUG - ==>Verifying data for policy with id: e4199968-83b5-4d1f-bddb-6fd202d4c560, fqn: ['default-domain', 'ctest-TestBasicPolicy-74889583', 'ctest-policy-allow-all-27682614'] 2026-04-03 10:44:19,278 - INFO - VN ctest-vn-06983780 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 10:44:19,278 - DEBUG - Verifying the vn in opserver 2026-04-03 10:44:19,278 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-06983780 virtual network link through opserver 10.0.0.50 2026-04-03 10:44:19,278 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-03 10:44:19,289 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-06983780', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-06983780?flat'} 2026-04-03 10:44:19,289 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-06983780 is found in opserver 2026-04-03 10:44:19,297 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 10:44:19,302 - DEBUG - VRF ids for VN ctest-vn-06983780: {} 2026-04-03 10:44:19,368 - DEBUG - Services list from nova: [, , ] 2026-04-03 10:44:20,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5586-1) 2026-04-03 10:44:21,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5586-1) 2026-04-03 10:44:21,471 - INFO - Waiting for VM ctest-TestBasicPolicy-74889583-97294541 to be up.. 2026-04-03 10:44:21,538 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-03 10:44:26,608 - DEBUG - VM is in ACTIVE state now 2026-04-03 10:44:26,608 - INFO - VM name : ctest-TestBasicPolicy-74889583-97294541 2026-04-03 10:44:26,684 - DEBUG - VM ctest-TestBasicPolicy-74889583-97294541 ID is c1b872a6-96cc-4a1f-b488-9a34980245c8 2026-04-03 10:44:26,701 - DEBUG - VM ctest-TestBasicPolicy-74889583-97294541 launched on Node cn-jenkins-deploy-platform-ansible-os-5586-1 2026-04-03 10:44:26,790 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c1b872a6-96cc-4a1f-b488-9a34980245c8 2026-04-03 10:44:26,798 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1879fa1a-436e-4229-9478-4eddae6f75a6 2026-04-03 10:44:30,059 - 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 1015ms') 2026-04-03 10:44:30,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74889583-97294541 failed! 2026-04-03 10:44:30,113 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74889583:ctest-vn-21780492 is 90.122.192.1 and allocation pool is NOT set 2026-04-03 10:44:32,174 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.406/1.735/3.065/1.329 ms') 2026-04-03 10:44:32,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74889583-97294541 passed 2026-04-03 10:44:32,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:44:32,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74889583-97294541, IP 90.122.192.3, Port 22 2026-04-03 10:44:32,507 - DEBUG - VM ctest-TestBasicPolicy-74889583-97294541 is ready for SSH connections 2026-04-03 10:44:32,507 - INFO - Waiting for VM ctest-TestBasicPolicy-74889583-47697412 to be up.. 2026-04-03 10:44:32,574 - DEBUG - VM is in ACTIVE state now 2026-04-03 10:44:32,574 - INFO - VM name : ctest-TestBasicPolicy-74889583-47697412 2026-04-03 10:44:32,648 - DEBUG - VM ctest-TestBasicPolicy-74889583-47697412 ID is f0f2da3d-32c2-4c6d-930d-f4fa96ce6721 2026-04-03 10:44:32,648 - DEBUG - VM ctest-TestBasicPolicy-74889583-47697412 launched on Node cn-jenkins-deploy-platform-ansible-os-5586-1 2026-04-03 10:44:32,717 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f0f2da3d-32c2-4c6d-930d-f4fa96ce6721 2026-04-03 10:44:32,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/246055be-5e59-42fc-ad5c-584e6d97d0a6 2026-04-03 10:44:33,954 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 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.395/1.657/2.920/1.262 ms') 2026-04-03 10:44:33,954 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74889583-47697412 passed 2026-04-03 10:44:34,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:44:34,102 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74889583-47697412, IP 170.72.210.67, Port 22 2026-04-03 10:44:34,261 - DEBUG - VM ctest-TestBasicPolicy-74889583-47697412 is ready for SSH connections 2026-04-03 10:44:34,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:44:34,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.72.210.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-03 10:44:34,261 - DEBUG - ping -s 56 -c 3 -W 1 170.72.210.67 2026-04-03 10:44:37,950 - DEBUG - PING 170.72.210.67 (170.72.210.67): 56 data bytes 64 bytes from 170.72.210.67: seq=0 ttl=63 time=3.055 ms 64 bytes from 170.72.210.67: seq=1 ttl=63 time=0.793 ms 64 bytes from 170.72.210.67: seq=2 ttl=63 time=0.707 ms --- 170.72.210.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.707/1.518/3.055 ms 2026-04-03 10:44:37,950 - INFO - Ping to IP 170.72.210.67 from VM ctest-TestBasicPolicy-74889583-97294541 passed 2026-04-03 10:44:38,129 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e4199968-83b5-4d1f-bddb-6fd202d4c560", "href": "http://10.0.0.50:8082/network-policy/e4199968-83b5-4d1f-bddb-6fd202d4c560"}} 2026-04-03 10:44:38,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:44:38,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.72.210.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-03 10:44:38,130 - DEBUG - ping -s 56 -c 3 -W 1 170.72.210.67 2026-04-03 10:44:41,335 - DEBUG - PING 170.72.210.67 (170.72.210.67): 56 data bytes --- 170.72.210.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-03 10:44:41,335 - WARNING - Ping to IP 170.72.210.67 from VM ctest-TestBasicPolicy-74889583-97294541 failed 2026-04-03 10:44:41,335 - INFO - Deleting VM ctest-TestBasicPolicy-74889583-47697412 2026-04-03 10:44:41,399 - INFO - Deleting VM ctest-TestBasicPolicy-74889583-97294541 2026-04-03 10:44:41,735 - INFO - Deleted policy ctest-policy-allow-all-27682614 2026-04-03 10:44:41,736 - INFO - Deleting VN ctest-vn-06983780 2026-04-03 10:44:41,767 - DEBUG - VN 0f9cc47f-62d1-476c-95fb-9b62f023394b still in use: Unable to complete operation on network 0f9cc47f-62d1-476c-95fb-9b62f023394b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cba093c2-5b8b-4c3d-b10a-3d083d45e0de'] 2026-04-03 10:44:41,767 - WARNING - Deleting VN ctest-vn-06983780 failed..Will retry 2026-04-03 10:44:43,849 - DEBUG - Response for deleting network () 2026-04-03 10:44:43,849 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/52217395-3eed-4b67-8b05-9f5461dce6ef 2026-04-03 10:44:43,852 - DEBUG - Response Code: 404 2026-04-03 10:44:43,853 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 10:44:43,858 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9d6748b1-481c-456d-b88c-0714ed939306 2026-04-03 10:44:43,910 - DEBUG - Requesting: http://10.0.0.50:8082/project/b98e312b-3207-4445-ad1d-21627343fe45 2026-04-03 10:44:43,975 - INFO - Validated that VN ctest-vn-06983780 is not found in API Server 2026-04-03 10:44:43,984 - DEBUG - VN ctest-vn-06983780 is not present in Agent 10.0.0.50 2026-04-03 10:44:43,984 - INFO - Validated that VN ctest-vn-06983780 is not in any agent 2026-04-03 10:44:43,995 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06983780 info 2026-04-03 10:44:43,996 - INFO - Deleting VN ctest-vn-21780492 2026-04-03 10:44:44,080 - DEBUG - Response for deleting network () 2026-04-03 10:44:44,080 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f5683b74-8064-411b-aecf-f33c159ff5cb 2026-04-03 10:44:44,085 - DEBUG - Response Code: 404 2026-04-03 10:44:44,085 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 10:44:44,092 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9d6748b1-481c-456d-b88c-0714ed939306 2026-04-03 10:44:44,142 - DEBUG - Requesting: http://10.0.0.50:8082/project/b98e312b-3207-4445-ad1d-21627343fe45 2026-04-03 10:44:44,208 - INFO - Validated that VN ctest-vn-21780492 is not found in API Server 2026-04-03 10:44:44,217 - DEBUG - VN ctest-vn-21780492 is not present in Agent 10.0.0.50 2026-04-03 10:44:44,217 - INFO - Validated that VN ctest-vn-21780492 is not in any agent 2026-04-03 10:44:44,228 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21780492 info 2026-04-03 10:44:44,483 - DEBUG - No XMPP flaps were noticed during the test 2026-04-03 10:44:44,483 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-04-03 10:44:44,483 - INFO - -------------------------------------------------------------------------------- 2026-04-03 10:44:45,139 - INFO - Deleted project: ctest-TestBasicPolicy-74889583, ID : b98e312b-3207-4445-ad1d-21627343fe45