2026-05-05 17:17:44,590 - INFO - Domain Default found not creating 2026-05-05 17:17:44,777 - INFO - Project ctest-TestBasicPolicy-79964047 not found, creating it 2026-05-05 17:17:45,262 - INFO - Created Project:ctest-TestBasicPolicy-79964047, ID : 0b72549b-e9f0-41ab-8048-63cabed1c45b 2026-05-05 17:17:46,816 - INFO - ================================================================================ 2026-05-05 17:17:46,816 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-05 17:17:46,816 - 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-05-05 17:17:47,077 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-05 17:17:47,077 - INFO - Initial checks done. Running the testcase now 2026-05-05 17:17:47,077 - INFO - 2026-05-05 17:17:47,629 - DEBUG - Response for create_network : {'network': {'id': '00d88645-de35-4084-aa0e-1c9e85747134', 'name': 'ctest-vn-93545253', 'tenant_id': '0b72549be9f041ab804863cabed1c45b', 'project_id': '0b72549be9f041ab804863cabed1c45b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79964047', 'ctest-vn-93545253'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 17:17:47,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bcabaa6-862d-4e88-8190-9ac0a3f2331d', 'name': '', 'tenant_id': '0b72549be9f041ab804863cabed1c45b', 'network_id': '00d88645-de35-4084-aa0e-1c9e85747134', 'ip_version': 4, 'cidr': '202.45.41.0/26', 'allocation_pools': [{'start': '202.45.41.2', 'end': '202.45.41.62'}], 'gateway_ip': '202.45.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.45.41.2', 'tags': [], 'project_id': '0b72549be9f041ab804863cabed1c45b'}} 2026-05-05 17:17:47,840 - INFO - Created VN ctest-vn-93545253 2026-05-05 17:17:47,895 - DEBUG - VN ctest-vn-93545253 UUID is 00d88645-de35-4084-aa0e-1c9e85747134 2026-05-05 17:17:48,206 - DEBUG - Response for create_network : {'network': {'id': '0c2c2d67-1265-4aa1-b418-1c62d0896584', 'name': 'ctest-vn-95320930', 'tenant_id': '0b72549be9f041ab804863cabed1c45b', 'project_id': '0b72549be9f041ab804863cabed1c45b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79964047', 'ctest-vn-95320930'], 'port_security_enabled': True, 'description': ''}} 2026-05-05 17:17:48,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fe0a458-7170-40e3-8da5-cfe3edda4ac9', 'name': '', 'tenant_id': '0b72549be9f041ab804863cabed1c45b', 'network_id': '0c2c2d67-1265-4aa1-b418-1c62d0896584', 'ip_version': 4, 'cidr': '140.139.246.64/26', 'allocation_pools': [{'start': '140.139.246.66', 'end': '140.139.246.126'}], 'gateway_ip': '140.139.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.139.246.66', 'tags': [], 'project_id': '0b72549be9f041ab804863cabed1c45b'}} 2026-05-05 17:17:48,431 - INFO - Created VN ctest-vn-95320930 2026-05-05 17:17:48,483 - DEBUG - VN ctest-vn-95320930 UUID is 0c2c2d67-1265-4aa1-b418-1c62d0896584 2026-05-05 17:17:48,599 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-93545253, 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-79964047:ctest-vn-95320930, 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-05-05 17:17:48,893 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00d88645-de35-4084-aa0e-1c9e85747134', 'name': 'ctest-vn-93545253', 'tenant_id': '0b72549be9f041ab804863cabed1c45b', 'project_id': '0b72549be9f041ab804863cabed1c45b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7bcabaa6-862d-4e88-8190-9ac0a3f2331d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79964047', 'ctest-vn-93545253'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79964047', 'ctest-policy-allow-all-09431876']], 'subnet_ipam': [{'subnet_cidr': '202.45.41.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-05 17:17:49,131 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c2c2d67-1265-4aa1-b418-1c62d0896584', 'name': 'ctest-vn-95320930', 'tenant_id': '0b72549be9f041ab804863cabed1c45b', 'project_id': '0b72549be9f041ab804863cabed1c45b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fe0a458-7170-40e3-8da5-cfe3edda4ac9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79964047', 'ctest-vn-95320930'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79964047', 'ctest-policy-allow-all-09431876']], 'subnet_ipam': [{'subnet_cidr': '140.139.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-05 17:17:49,303 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-05 17:17:49,598 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-05 17:17:49,632 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3341b8ff-0c14-42bb-a083-2736d8c74713 2026-05-05 17:17:49,644 - DEBUG - Requesting: http://10.0.0.38:8082/project/0b72549b-e9f0-41ab-8048-63cabed1c45b 2026-05-05 17:17:49,714 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00d88645-de35-4084-aa0e-1c9e85747134 2026-05-05 17:17:49,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00d88645-de35-4084-aa0e-1c9e85747134 2026-05-05 17:17:49,736 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cb462f5-926d-410b-b3d5-a7f018ab8cbb 2026-05-05 17:17:49,746 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cb462f5-926d-410b-b3d5-a7f018ab8cbb 2026-05-05 17:17:49,753 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/273fc56d-ff93-4a7d-aa46-b70f0fd60818 2026-05-05 17:17:49,762 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-05 17:17:49,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00d88645-de35-4084-aa0e-1c9e85747134 2026-05-05 17:17:49,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cb462f5-926d-410b-b3d5-a7f018ab8cbb 2026-05-05 17:17:49,787 - INFO - Verified VN network id 11 for VN 00d88645-de35-4084-aa0e-1c9e85747134 2026-05-05 17:17:49,788 - INFO - Verifications in API Server for VN ctest-vn-93545253 passed 2026-05-05 17:17:49,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00d88645-de35-4084-aa0e-1c9e85747134 2026-05-05 17:17:49,797 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cb462f5-926d-410b-b3d5-a7f018ab8cbb 2026-05-05 17:17:49,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cb462f5-926d-410b-b3d5-a7f018ab8cbb 2026-05-05 17:17:49,813 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/273fc56d-ff93-4a7d-aa46-b70f0fd60818 2026-05-05 17:17:49,828 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-93545253', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79964047', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '60946229608398980', 'uuid-lslong': '12253763103291109684'}, 'enable': 'true', 'created': '2026-05-05T17:17:47', 'last-modified': '2026-05-05T17:17:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961458'} 2026-05-05 17:17:49,834 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-05 17:17:49,835 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93545253 passed 2026-05-05 17:17:49,835 - DEBUG - ====Verifying policy data for ctest-vn-93545253 in API_Server ====== 2026-05-05 17:17:49,835 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-05 17:17:49,842 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3341b8ff-0c14-42bb-a083-2736d8c74713 2026-05-05 17:17:49,853 - DEBUG - Requesting: http://10.0.0.38:8082/project/0b72549b-e9f0-41ab-8048-63cabed1c45b 2026-05-05 17:17:49,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00d88645-de35-4084-aa0e-1c9e85747134 2026-05-05 17:17:49,939 - DEBUG - ==>Verifying data for policy with id: a3585f85-3fab-429d-8a61-5a0cb552d878, fqn: ['default-domain', 'ctest-TestBasicPolicy-79964047', 'ctest-policy-allow-all-09431876'] 2026-05-05 17:17:49,939 - INFO - VN ctest-vn-93545253 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-05 17:17:49,939 - DEBUG - Verifying the vn in opserver 2026-05-05 17:17:49,939 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-93545253 virtual network link through opserver 10.0.0.38 2026-05-05 17:17:49,939 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-05 17:17:50,233 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-05 17:17:50,302 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-93545253', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-93545253?flat'} 2026-05-05 17:17:50,302 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-93545253 is found in opserver 2026-05-05 17:17:50,312 - DEBUG - Do not have enough data to verify VN in agent 2026-05-05 17:17:50,317 - DEBUG - VRF ids for VN ctest-vn-93545253: {} 2026-05-05 17:17:50,317 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-05 17:17:50,322 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3341b8ff-0c14-42bb-a083-2736d8c74713 2026-05-05 17:17:50,335 - DEBUG - Requesting: http://10.0.0.38:8082/project/0b72549b-e9f0-41ab-8048-63cabed1c45b 2026-05-05 17:17:50,408 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0c2c2d67-1265-4aa1-b418-1c62d0896584 2026-05-05 17:17:50,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0c2c2d67-1265-4aa1-b418-1c62d0896584 2026-05-05 17:17:50,429 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38131d92-1eba-473e-a0b2-85164fc3c23f 2026-05-05 17:17:50,436 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38131d92-1eba-473e-a0b2-85164fc3c23f 2026-05-05 17:17:50,443 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b6b40613-570e-4237-ba91-4166ccc88aa2 2026-05-05 17:17:50,451 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-05 17:17:50,451 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0c2c2d67-1265-4aa1-b418-1c62d0896584 2026-05-05 17:17:50,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38131d92-1eba-473e-a0b2-85164fc3c23f 2026-05-05 17:17:50,475 - INFO - Verified VN network id 12 for VN 0c2c2d67-1265-4aa1-b418-1c62d0896584 2026-05-05 17:17:50,476 - INFO - Verifications in API Server for VN ctest-vn-95320930 passed 2026-05-05 17:17:50,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0c2c2d67-1265-4aa1-b418-1c62d0896584 2026-05-05 17:17:50,484 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38131d92-1eba-473e-a0b2-85164fc3c23f 2026-05-05 17:17:50,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38131d92-1eba-473e-a0b2-85164fc3c23f 2026-05-05 17:17:50,499 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b6b40613-570e-4237-ba91-4166ccc88aa2 2026-05-05 17:17:50,514 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-95320930', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79964047', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '877125948143913633', 'uuid-lslong': '12977153536999122308'}, 'enable': 'true', 'created': '2026-05-05T17:17:48', 'last-modified': '2026-05-05T17:17:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400590'} 2026-05-05 17:17:50,520 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-05 17:17:50,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95320930 passed 2026-05-05 17:17:50,521 - DEBUG - ====Verifying policy data for ctest-vn-95320930 in API_Server ====== 2026-05-05 17:17:50,521 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-05 17:17:50,527 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3341b8ff-0c14-42bb-a083-2736d8c74713 2026-05-05 17:17:50,538 - DEBUG - Requesting: http://10.0.0.38:8082/project/0b72549b-e9f0-41ab-8048-63cabed1c45b 2026-05-05 17:17:50,607 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0c2c2d67-1265-4aa1-b418-1c62d0896584 2026-05-05 17:17:50,616 - DEBUG - ==>Verifying data for policy with id: a3585f85-3fab-429d-8a61-5a0cb552d878, fqn: ['default-domain', 'ctest-TestBasicPolicy-79964047', 'ctest-policy-allow-all-09431876'] 2026-05-05 17:17:50,616 - INFO - VN ctest-vn-95320930 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-05 17:17:50,616 - DEBUG - Verifying the vn in opserver 2026-05-05 17:17:50,616 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-95320930 virtual network link through opserver 10.0.0.38 2026-05-05 17:17:50,616 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-05 17:17:50,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-95320930', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-95320930?flat'} 2026-05-05 17:17:50,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-95320930 is found in opserver 2026-05-05 17:17:50,635 - DEBUG - Do not have enough data to verify VN in agent 2026-05-05 17:17:50,639 - DEBUG - VRF ids for VN ctest-vn-95320930: {} 2026-05-05 17:17:50,697 - DEBUG - Services list from nova: [, , ] 2026-05-05 17:17:51,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5745-1) 2026-05-05 17:17:52,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5745-1) 2026-05-05 17:17:52,972 - INFO - Waiting for VM ctest-TestBasicPolicy-79964047-61323466 to be up.. 2026-05-05 17:17:53,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-05 17:17:58,144 - DEBUG - VM is in ACTIVE state now 2026-05-05 17:17:58,144 - INFO - VM name : ctest-TestBasicPolicy-79964047-61323466 2026-05-05 17:17:58,228 - DEBUG - VM ctest-TestBasicPolicy-79964047-61323466 ID is 9dbeaf30-88a6-43c1-915e-f02a438b00ac 2026-05-05 17:17:58,251 - DEBUG - VM ctest-TestBasicPolicy-79964047-61323466 launched on Node cn-jenkins-deploy-platform-ansible-os-5745-1 2026-05-05 17:17:58,338 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9dbeaf30-88a6-43c1-915e-f02a438b00ac 2026-05-05 17:17:58,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/200a0e0d-27e0-4370-b3e8-84984b0ff9cf 2026-05-05 17:18:01,590 - 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 1002ms') 2026-05-05 17:18:01,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79964047-61323466 failed! 2026-05-05 17:18:01,648 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79964047:ctest-vn-93545253 is 202.45.41.1 and allocation pool is NOT set 2026-05-05 17:18:03,711 - 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=9.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 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 = 1.647/5.438/9.230/3.791 ms') 2026-05-05 17:18:03,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79964047-61323466 passed 2026-05-05 17:18:03,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:18:03,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79964047-61323466, IP 202.45.41.3, Port 22 2026-05-05 17:18:04,015 - DEBUG - VM ctest-TestBasicPolicy-79964047-61323466 is ready for SSH connections 2026-05-05 17:18:04,015 - INFO - Waiting for VM ctest-TestBasicPolicy-79964047-52945604 to be up.. 2026-05-05 17:18:04,096 - DEBUG - VM is in ACTIVE state now 2026-05-05 17:18:04,096 - INFO - VM name : ctest-TestBasicPolicy-79964047-52945604 2026-05-05 17:18:04,176 - DEBUG - VM ctest-TestBasicPolicy-79964047-52945604 ID is 76341047-f488-40a9-a8b0-3e5b5fdc67cb 2026-05-05 17:18:04,176 - DEBUG - VM ctest-TestBasicPolicy-79964047-52945604 launched on Node cn-jenkins-deploy-platform-ansible-os-5745-1 2026-05-05 17:18:04,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/76341047-f488-40a9-a8b0-3e5b5fdc67cb 2026-05-05 17:18:04,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/99a6dbd8-732b-48a0-8499-694b6f00cd24 2026-05-05 17:18:05,528 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.97 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 = 2.973/3.029/3.085/0.056 ms') 2026-05-05 17:18:05,528 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79964047-52945604 passed 2026-05-05 17:18:05,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:18:05,683 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79964047-52945604, IP 140.139.246.67, Port 22 2026-05-05 17:18:05,749 - 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-05-05 17:18:05,832 - DEBUG - VM ctest-TestBasicPolicy-79964047-52945604 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-05 17:18:10,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:18:10,832 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79964047-52945604, IP 140.139.246.67, Port 22 2026-05-05 17:18:11,013 - DEBUG - VM ctest-TestBasicPolicy-79964047-52945604 is ready for SSH connections 2026-05-05 17:18:11,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:18:11,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.139.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-05 17:18:11,013 - DEBUG - ping -s 56 -c 3 -W 1 140.139.246.67 2026-05-05 17:18:15,181 - DEBUG - PING 140.139.246.67 (140.139.246.67): 56 data bytes 64 bytes from 140.139.246.67: seq=0 ttl=63 time=3.763 ms 64 bytes from 140.139.246.67: seq=1 ttl=63 time=1.025 ms 64 bytes from 140.139.246.67: seq=2 ttl=63 time=1.010 ms --- 140.139.246.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/1.932/3.763 ms 2026-05-05 17:18:15,181 - INFO - Ping to IP 140.139.246.67 from VM ctest-TestBasicPolicy-79964047-61323466 passed 2026-05-05 17:18:15,359 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a3585f85-3fab-429d-8a61-5a0cb552d878", "href": "http://10.0.0.38:8082/network-policy/a3585f85-3fab-429d-8a61-5a0cb552d878"}} 2026-05-05 17:18:15,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-05 17:18:15,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.139.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-05 17:18:15,359 - DEBUG - ping -s 56 -c 3 -W 1 140.139.246.67 2026-05-05 17:18:18,571 - DEBUG - PING 140.139.246.67 (140.139.246.67): 56 data bytes --- 140.139.246.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-05 17:18:18,571 - WARNING - Ping to IP 140.139.246.67 from VM ctest-TestBasicPolicy-79964047-61323466 failed 2026-05-05 17:18:18,571 - INFO - Deleting VM ctest-TestBasicPolicy-79964047-52945604 2026-05-05 17:18:18,651 - INFO - Deleting VM ctest-TestBasicPolicy-79964047-61323466 2026-05-05 17:18:19,059 - INFO - Deleted policy ctest-policy-allow-all-09431876 2026-05-05 17:18:19,059 - INFO - Deleting VN ctest-vn-95320930 2026-05-05 17:18:19,101 - DEBUG - VN 0c2c2d67-1265-4aa1-b418-1c62d0896584 still in use: Unable to complete operation on network 0c2c2d67-1265-4aa1-b418-1c62d0896584. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c2e50307-c856-44aa-b5d4-9b1a706ca2f5'] 2026-05-05 17:18:19,101 - WARNING - Deleting VN ctest-vn-95320930 failed..Will retry 2026-05-05 17:18:21,201 - DEBUG - Response for deleting network () 2026-05-05 17:18:21,202 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38131d92-1eba-473e-a0b2-85164fc3c23f 2026-05-05 17:18:21,209 - DEBUG - Response Code: 404 2026-05-05 17:18:21,209 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-05 17:18:21,216 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3341b8ff-0c14-42bb-a083-2736d8c74713 2026-05-05 17:18:21,269 - DEBUG - Requesting: http://10.0.0.38:8082/project/0b72549b-e9f0-41ab-8048-63cabed1c45b 2026-05-05 17:18:21,340 - INFO - Validated that VN ctest-vn-95320930 is not found in API Server 2026-05-05 17:18:21,349 - DEBUG - VN ctest-vn-95320930 is not present in Agent 10.0.0.38 2026-05-05 17:18:21,349 - INFO - Validated that VN ctest-vn-95320930 is not in any agent 2026-05-05 17:18:21,363 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95320930 info 2026-05-05 17:18:21,363 - INFO - Deleting VN ctest-vn-93545253 2026-05-05 17:18:21,465 - DEBUG - Response for deleting network () 2026-05-05 17:18:21,466 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cb462f5-926d-410b-b3d5-a7f018ab8cbb 2026-05-05 17:18:21,472 - DEBUG - Response Code: 404 2026-05-05 17:18:21,472 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-05 17:18:21,478 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3341b8ff-0c14-42bb-a083-2736d8c74713 2026-05-05 17:18:21,532 - DEBUG - Requesting: http://10.0.0.38:8082/project/0b72549b-e9f0-41ab-8048-63cabed1c45b 2026-05-05 17:18:21,611 - INFO - Validated that VN ctest-vn-93545253 is not found in API Server 2026-05-05 17:18:21,622 - DEBUG - VN ctest-vn-93545253 is not present in Agent 10.0.0.38 2026-05-05 17:18:21,622 - INFO - Validated that VN ctest-vn-93545253 is not in any agent 2026-05-05 17:18:21,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93545253 info 2026-05-05 17:18:21,889 - DEBUG - No XMPP flaps were noticed during the test 2026-05-05 17:18:21,889 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-05-05 17:18:21,889 - INFO - -------------------------------------------------------------------------------- 2026-05-05 17:18:22,773 - INFO - Deleted project: ctest-TestBasicPolicy-79964047, ID : 0b72549b-e9f0-41ab-8048-63cabed1c45b