2026-01-30 14:46:37,449 - INFO - Domain Default found not creating 2026-01-30 14:46:37,616 - INFO - Project ctest-TestBasicPolicy-61728129 not found, creating it 2026-01-30 14:46:38,085 - INFO - Created Project:ctest-TestBasicPolicy-61728129, ID : d9b67c70-2eb5-46a0-87ed-909ebfad171a 2026-01-30 14:46:39,569 - INFO - ================================================================================ 2026-01-30 14:46:39,569 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-30 14:46:39,569 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-01-30 14:46:39,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-01-30 14:46:39,828 - INFO - Initial checks done. Running the testcase now 2026-01-30 14:46:39,828 - INFO - 2026-01-30 14:46:40,374 - DEBUG - Response for create_network : {'network': {'id': '8e9b4e41-dd53-45d5-bed9-4de910a6deb3', 'name': 'ctest-vn-89560570', 'tenant_id': 'd9b67c702eb546a087ed909ebfad171a', 'project_id': 'd9b67c702eb546a087ed909ebfad171a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61728129', 'ctest-vn-89560570'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 14:46:40,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f70f5c3-d149-4f7a-9236-3420e92cdcce', 'name': '', 'tenant_id': 'd9b67c702eb546a087ed909ebfad171a', 'network_id': '8e9b4e41-dd53-45d5-bed9-4de910a6deb3', 'ip_version': 4, 'cidr': '62.226.134.128/26', 'allocation_pools': [{'start': '62.226.134.130', 'end': '62.226.134.190'}], 'gateway_ip': '62.226.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.226.134.130', 'tags': [], 'project_id': 'd9b67c702eb546a087ed909ebfad171a'}} 2026-01-30 14:46:40,540 - INFO - Created VN ctest-vn-89560570 2026-01-30 14:46:40,594 - DEBUG - VN ctest-vn-89560570 UUID is 8e9b4e41-dd53-45d5-bed9-4de910a6deb3 2026-01-30 14:46:40,920 - DEBUG - Response for create_network : {'network': {'id': 'a8da9f93-4146-4ef5-aa69-84dc26104000', 'name': 'ctest-vn-23422327', 'tenant_id': 'd9b67c702eb546a087ed909ebfad171a', 'project_id': 'd9b67c702eb546a087ed909ebfad171a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61728129', 'ctest-vn-23422327'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 14:46:41,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '457497f6-f605-48c5-8db1-7e12942f1e4a', 'name': '', 'tenant_id': 'd9b67c702eb546a087ed909ebfad171a', 'network_id': 'a8da9f93-4146-4ef5-aa69-84dc26104000', 'ip_version': 4, 'cidr': '93.132.145.0/26', 'allocation_pools': [{'start': '93.132.145.2', 'end': '93.132.145.62'}], 'gateway_ip': '93.132.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.132.145.2', 'tags': [], 'project_id': 'd9b67c702eb546a087ed909ebfad171a'}} 2026-01-30 14:46:41,148 - INFO - Created VN ctest-vn-23422327 2026-01-30 14:46:41,198 - DEBUG - VN ctest-vn-23422327 UUID is a8da9f93-4146-4ef5-aa69-84dc26104000 2026-01-30 14:46:41,350 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-89560570, 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-61728129:ctest-vn-23422327, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-01-30 14:46:41,644 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e9b4e41-dd53-45d5-bed9-4de910a6deb3', 'name': 'ctest-vn-89560570', 'tenant_id': 'd9b67c702eb546a087ed909ebfad171a', 'project_id': 'd9b67c702eb546a087ed909ebfad171a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f70f5c3-d149-4f7a-9236-3420e92cdcce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61728129', 'ctest-vn-89560570'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61728129', 'ctest-policy-allow-all-44871832']], 'subnet_ipam': [{'subnet_cidr': '62.226.134.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 14:46:41,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8da9f93-4146-4ef5-aa69-84dc26104000', 'name': 'ctest-vn-23422327', 'tenant_id': 'd9b67c702eb546a087ed909ebfad171a', 'project_id': 'd9b67c702eb546a087ed909ebfad171a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['457497f6-f605-48c5-8db1-7e12942f1e4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61728129', 'ctest-vn-23422327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61728129', 'ctest-policy-allow-all-44871832']], 'subnet_ipam': [{'subnet_cidr': '93.132.145.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 14:46:42,062 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-30 14:46:42,358 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-30 14:46:42,390 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ff618dc7-ed66-4937-b6d0-8a4283527306 2026-01-30 14:46:42,402 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9b67c70-2eb5-46a0-87ed-909ebfad171a 2026-01-30 14:46:42,475 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8e9b4e41-dd53-45d5-bed9-4de910a6deb3 2026-01-30 14:46:42,484 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8e9b4e41-dd53-45d5-bed9-4de910a6deb3 2026-01-30 14:46:42,492 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/545c85b7-e352-486b-9ff2-edcbb2e24295 2026-01-30 14:46:42,498 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/545c85b7-e352-486b-9ff2-edcbb2e24295 2026-01-30 14:46:42,504 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/43cd9fa7-013c-40f0-9192-a4474c2a84ef 2026-01-30 14:46:42,509 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 14:46:42,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8e9b4e41-dd53-45d5-bed9-4de910a6deb3 2026-01-30 14:46:42,517 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/545c85b7-e352-486b-9ff2-edcbb2e24295 2026-01-30 14:46:42,529 - INFO - Verified VN network id 12 for VN 8e9b4e41-dd53-45d5-bed9-4de910a6deb3 2026-01-30 14:46:42,529 - INFO - Verifications in API Server for VN ctest-vn-89560570 passed 2026-01-30 14:46:42,529 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8e9b4e41-dd53-45d5-bed9-4de910a6deb3 2026-01-30 14:46:42,536 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/545c85b7-e352-486b-9ff2-edcbb2e24295 2026-01-30 14:46:42,542 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/545c85b7-e352-486b-9ff2-edcbb2e24295 2026-01-30 14:46:42,549 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/43cd9fa7-013c-40f0-9192-a4474c2a84ef 2026-01-30 14:46:42,559 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-89560570', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61728129', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10275893019568981461', 'uuid-lslong': '13752108600554610355'}, 'enable': 'true', 'created': '2026-01-30T14:46:40', 'last-modified': '2026-01-30T14:46:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938222'} 2026-01-30 14:46:42,565 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 14:46:42,565 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89560570 passed 2026-01-30 14:46:42,565 - DEBUG - ====Verifying policy data for ctest-vn-89560570 in API_Server ====== 2026-01-30 14:46:42,565 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-30 14:46:42,570 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ff618dc7-ed66-4937-b6d0-8a4283527306 2026-01-30 14:46:42,580 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9b67c70-2eb5-46a0-87ed-909ebfad171a 2026-01-30 14:46:42,647 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8e9b4e41-dd53-45d5-bed9-4de910a6deb3 2026-01-30 14:46:42,655 - DEBUG - ==>Verifying data for policy with id: 8844dc79-af87-4989-97ba-bc6e21a63c43, fqn: ['default-domain', 'ctest-TestBasicPolicy-61728129', 'ctest-policy-allow-all-44871832'] 2026-01-30 14:46:42,655 - INFO - VN ctest-vn-89560570 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 14:46:42,655 - DEBUG - Verifying the vn in opserver 2026-01-30 14:46:42,655 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-89560570 virtual network link through opserver 10.0.0.22 2026-01-30 14:46:42,655 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-30 14:46:42,954 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-30 14:46:43,012 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-89560570', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-89560570?flat'} 2026-01-30 14:46:43,012 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-89560570 is found in opserver 2026-01-30 14:46:43,021 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 14:46:43,025 - DEBUG - VRF ids for VN ctest-vn-89560570: {} 2026-01-30 14:46:43,025 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-30 14:46:43,030 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ff618dc7-ed66-4937-b6d0-8a4283527306 2026-01-30 14:46:43,039 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9b67c70-2eb5-46a0-87ed-909ebfad171a 2026-01-30 14:46:43,109 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a8da9f93-4146-4ef5-aa69-84dc26104000 2026-01-30 14:46:43,119 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a8da9f93-4146-4ef5-aa69-84dc26104000 2026-01-30 14:46:43,127 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039f3202-6123-46e6-a0aa-df79911277ee 2026-01-30 14:46:43,133 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039f3202-6123-46e6-a0aa-df79911277ee 2026-01-30 14:46:43,139 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/45120277-d62a-468a-940b-bf570e02ab7b 2026-01-30 14:46:43,145 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 14:46:43,145 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a8da9f93-4146-4ef5-aa69-84dc26104000 2026-01-30 14:46:43,152 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039f3202-6123-46e6-a0aa-df79911277ee 2026-01-30 14:46:43,166 - INFO - Verified VN network id 13 for VN a8da9f93-4146-4ef5-aa69-84dc26104000 2026-01-30 14:46:43,166 - INFO - Verifications in API Server for VN ctest-vn-23422327 passed 2026-01-30 14:46:43,166 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a8da9f93-4146-4ef5-aa69-84dc26104000 2026-01-30 14:46:43,174 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039f3202-6123-46e6-a0aa-df79911277ee 2026-01-30 14:46:43,180 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039f3202-6123-46e6-a0aa-df79911277ee 2026-01-30 14:46:43,187 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/45120277-d62a-468a-940b-bf570e02ab7b 2026-01-30 14:46:43,198 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-23422327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61728129', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12167212798098951925', 'uuid-lslong': '12279491940068638720'}, 'enable': 'true', 'created': '2026-01-30T14:46:40', 'last-modified': '2026-01-30T14:46:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.345151'} 2026-01-30 14:46:43,204 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 14:46:43,204 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23422327 passed 2026-01-30 14:46:43,204 - DEBUG - ====Verifying policy data for ctest-vn-23422327 in API_Server ====== 2026-01-30 14:46:43,204 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-30 14:46:43,213 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ff618dc7-ed66-4937-b6d0-8a4283527306 2026-01-30 14:46:43,224 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9b67c70-2eb5-46a0-87ed-909ebfad171a 2026-01-30 14:46:43,293 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a8da9f93-4146-4ef5-aa69-84dc26104000 2026-01-30 14:46:43,302 - DEBUG - ==>Verifying data for policy with id: 8844dc79-af87-4989-97ba-bc6e21a63c43, fqn: ['default-domain', 'ctest-TestBasicPolicy-61728129', 'ctest-policy-allow-all-44871832'] 2026-01-30 14:46:43,302 - INFO - VN ctest-vn-23422327 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 14:46:43,302 - DEBUG - Verifying the vn in opserver 2026-01-30 14:46:43,302 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-23422327 virtual network link through opserver 10.0.0.22 2026-01-30 14:46:43,302 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-30 14:46:43,311 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-23422327', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-23422327?flat'} 2026-01-30 14:46:43,311 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-23422327 is found in opserver 2026-01-30 14:46:43,323 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 14:46:43,328 - DEBUG - VRF ids for VN ctest-vn-23422327: {} 2026-01-30 14:46:43,384 - DEBUG - Services list from nova: [, , ] 2026-01-30 14:46:44,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5148-1) 2026-01-30 14:46:45,586 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5148-1) 2026-01-30 14:46:45,586 - INFO - Waiting for VM ctest-TestBasicPolicy-61728129-95114254 to be up.. 2026-01-30 14:46:45,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 14:46:50,745 - DEBUG - VM is in ACTIVE state now 2026-01-30 14:46:50,745 - INFO - VM name : ctest-TestBasicPolicy-61728129-95114254 2026-01-30 14:46:50,821 - DEBUG - VM ctest-TestBasicPolicy-61728129-95114254 ID is b82ba121-8dad-4d48-8d03-2a7c157fba0e 2026-01-30 14:46:50,840 - DEBUG - VM ctest-TestBasicPolicy-61728129-95114254 launched on Node cn-jenkins-deploy-platform-ansible-os-5148-1 2026-01-30 14:46:50,919 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b82ba121-8dad-4d48-8d03-2a7c157fba0e 2026-01-30 14:46:50,927 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b70b5cc2-0f92-4ffe-862e-d76d1e0e8efc 2026-01-30 14:46:54,172 - 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 1014ms') 2026-01-30 14:46:54,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61728129-95114254 failed! 2026-01-30 14:46:54,230 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61728129:ctest-vn-89560570 is 62.226.134.129 and allocation pool is NOT set 2026-01-30 14:46:56,290 - 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=2.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.631 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.631/1.637/2.644/1.006 ms') 2026-01-30 14:46:56,290 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61728129-95114254 passed 2026-01-30 14:46:56,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 14:46:56,446 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61728129-95114254, IP 62.226.134.131, Port 22 2026-01-30 14:46:56,620 - DEBUG - VM ctest-TestBasicPolicy-61728129-95114254 is ready for SSH connections 2026-01-30 14:46:56,620 - INFO - Waiting for VM ctest-TestBasicPolicy-61728129-70877145 to be up.. 2026-01-30 14:46:56,729 - DEBUG - VM is in ACTIVE state now 2026-01-30 14:46:56,730 - INFO - VM name : ctest-TestBasicPolicy-61728129-70877145 2026-01-30 14:46:56,849 - DEBUG - VM ctest-TestBasicPolicy-61728129-70877145 ID is 382c8d42-3bec-42ec-b01c-957bb2adb234 2026-01-30 14:46:56,849 - DEBUG - VM ctest-TestBasicPolicy-61728129-70877145 launched on Node cn-jenkins-deploy-platform-ansible-os-5148-1 2026-01-30 14:46:56,932 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/382c8d42-3bec-42ec-b01c-957bb2adb234 2026-01-30 14:46:56,941 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7c13685c-7976-4ea7-b794-1d5b5db75dd4 2026-01-30 14:46:58,174 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.430/1.634/2.838/1.204 ms') 2026-01-30 14:46:58,174 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61728129-70877145 passed 2026-01-30 14:46:58,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 14:46:58,330 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61728129-70877145, IP 93.132.145.3, Port 22 2026-01-30 14:46:58,486 - DEBUG - VM ctest-TestBasicPolicy-61728129-70877145 is ready for SSH connections 2026-01-30 14:46:58,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 14:46:58,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.132.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-30 14:46:58,486 - DEBUG - ping -s 56 -c 3 -W 1 93.132.145.3 2026-01-30 14:47:02,515 - DEBUG - PING 93.132.145.3 (93.132.145.3): 56 data bytes 64 bytes from 93.132.145.3: seq=0 ttl=63 time=3.413 ms 64 bytes from 93.132.145.3: seq=1 ttl=63 time=0.725 ms 64 bytes from 93.132.145.3: seq=2 ttl=63 time=0.948 ms --- 93.132.145.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.695/3.413 ms 2026-01-30 14:47:02,515 - INFO - Ping to IP 93.132.145.3 from VM ctest-TestBasicPolicy-61728129-95114254 passed 2026-01-30 14:47:02,686 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8844dc79-af87-4989-97ba-bc6e21a63c43", "href": "http://10.0.0.22:8082/network-policy/8844dc79-af87-4989-97ba-bc6e21a63c43"}} 2026-01-30 14:47:02,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 14:47:02,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.132.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-30 14:47:02,686 - DEBUG - ping -s 56 -c 3 -W 1 93.132.145.3 2026-01-30 14:47:05,892 - DEBUG - PING 93.132.145.3 (93.132.145.3): 56 data bytes --- 93.132.145.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-30 14:47:05,892 - WARNING - Ping to IP 93.132.145.3 from VM ctest-TestBasicPolicy-61728129-95114254 failed 2026-01-30 14:47:05,892 - INFO - Deleting VM ctest-TestBasicPolicy-61728129-70877145 2026-01-30 14:47:05,960 - INFO - Deleting VM ctest-TestBasicPolicy-61728129-95114254 2026-01-30 14:47:06,335 - INFO - Deleted policy ctest-policy-allow-all-44871832 2026-01-30 14:47:06,335 - INFO - Deleting VN ctest-vn-23422327 2026-01-30 14:47:06,376 - DEBUG - VN a8da9f93-4146-4ef5-aa69-84dc26104000 still in use: Unable to complete operation on network a8da9f93-4146-4ef5-aa69-84dc26104000. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15b39bbb-3867-4524-8522-3a76f2520c29'] 2026-01-30 14:47:06,377 - WARNING - Deleting VN ctest-vn-23422327 failed..Will retry 2026-01-30 14:47:08,471 - DEBUG - Response for deleting network () 2026-01-30 14:47:08,471 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039f3202-6123-46e6-a0aa-df79911277ee 2026-01-30 14:47:08,477 - DEBUG - Response Code: 404 2026-01-30 14:47:08,477 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-30 14:47:08,483 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ff618dc7-ed66-4937-b6d0-8a4283527306 2026-01-30 14:47:08,537 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9b67c70-2eb5-46a0-87ed-909ebfad171a 2026-01-30 14:47:08,606 - INFO - Validated that VN ctest-vn-23422327 is not found in API Server 2026-01-30 14:47:08,615 - DEBUG - VN ctest-vn-23422327 is not present in Agent 10.0.0.22 2026-01-30 14:47:08,615 - INFO - Validated that VN ctest-vn-23422327 is not in any agent 2026-01-30 14:47:08,642 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23422327 info 2026-01-30 14:47:08,642 - INFO - Deleting VN ctest-vn-89560570 2026-01-30 14:47:08,744 - DEBUG - Response for deleting network () 2026-01-30 14:47:08,744 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/545c85b7-e352-486b-9ff2-edcbb2e24295 2026-01-30 14:47:08,748 - DEBUG - Response Code: 404 2026-01-30 14:47:08,748 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-30 14:47:08,753 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ff618dc7-ed66-4937-b6d0-8a4283527306 2026-01-30 14:47:08,803 - DEBUG - Requesting: http://10.0.0.22:8082/project/d9b67c70-2eb5-46a0-87ed-909ebfad171a 2026-01-30 14:47:08,874 - INFO - Validated that VN ctest-vn-89560570 is not found in API Server 2026-01-30 14:47:08,884 - DEBUG - VN ctest-vn-89560570 is not present in Agent 10.0.0.22 2026-01-30 14:47:08,884 - INFO - Validated that VN ctest-vn-89560570 is not in any agent 2026-01-30 14:47:08,900 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89560570 info 2026-01-30 14:47:09,160 - DEBUG - No XMPP flaps were noticed during the test 2026-01-30 14:47:09,160 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-01-30 14:47:09,160 - INFO - -------------------------------------------------------------------------------- 2026-01-30 14:47:09,861 - INFO - Deleted project: ctest-TestBasicPolicy-61728129, ID : d9b67c70-2eb5-46a0-87ed-909ebfad171a