2026-02-11 23:29:58,782 - INFO - Domain Default found not creating 2026-02-11 23:29:58,927 - INFO - Project ctest-TestBasicPolicy-80821251 not found, creating it 2026-02-11 23:29:59,356 - INFO - Created Project:ctest-TestBasicPolicy-80821251, ID : 3eac3081-7db2-4e0b-86c6-228e7f7c1373 2026-02-11 23:30:00,758 - INFO - ================================================================================ 2026-02-11 23:30:00,758 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-11 23:30:00,758 - 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-11 23:30:01,013 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-11 23:30:01,013 - INFO - Initial checks done. Running the testcase now 2026-02-11 23:30:01,013 - INFO - 2026-02-11 23:30:01,574 - DEBUG - Response for create_network : {'network': {'id': 'd0527439-42e9-4902-b371-4c32ed55c639', 'name': 'ctest-vn-21721230', 'tenant_id': '3eac30817db24e0b86c6228e7f7c1373', 'project_id': '3eac30817db24e0b86c6228e7f7c1373', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80821251', 'ctest-vn-21721230'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 23:30:01,804 - DEBUG - Response for create_subnet : {'subnet': {'id': '0268e2ce-8107-4a77-af4f-2a71e78ac0b0', 'name': '', 'tenant_id': '3eac30817db24e0b86c6228e7f7c1373', 'network_id': 'd0527439-42e9-4902-b371-4c32ed55c639', 'ip_version': 4, 'cidr': '215.203.32.128/26', 'allocation_pools': [{'start': '215.203.32.130', 'end': '215.203.32.190'}], 'gateway_ip': '215.203.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.203.32.130', 'tags': [], 'project_id': '3eac30817db24e0b86c6228e7f7c1373'}} 2026-02-11 23:30:01,820 - INFO - Created VN ctest-vn-21721230 2026-02-11 23:30:01,872 - DEBUG - VN ctest-vn-21721230 UUID is d0527439-42e9-4902-b371-4c32ed55c639 2026-02-11 23:30:02,192 - DEBUG - Response for create_network : {'network': {'id': 'f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1', 'name': 'ctest-vn-48467799', 'tenant_id': '3eac30817db24e0b86c6228e7f7c1373', 'project_id': '3eac30817db24e0b86c6228e7f7c1373', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80821251', 'ctest-vn-48467799'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 23:30:02,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a875dd6-065e-464b-b7e7-aec2f971e1ac', 'name': '', 'tenant_id': '3eac30817db24e0b86c6228e7f7c1373', 'network_id': 'f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1', 'ip_version': 4, 'cidr': '167.0.103.128/26', 'allocation_pools': [{'start': '167.0.103.130', 'end': '167.0.103.190'}], 'gateway_ip': '167.0.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.0.103.130', 'tags': [], 'project_id': '3eac30817db24e0b86c6228e7f7c1373'}} 2026-02-11 23:30:02,356 - INFO - Created VN ctest-vn-48467799 2026-02-11 23:30:02,408 - DEBUG - VN ctest-vn-48467799 UUID is f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1 2026-02-11 23:30:02,552 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-21721230, 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-80821251:ctest-vn-48467799, 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-11 23:30:02,837 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0527439-42e9-4902-b371-4c32ed55c639', 'name': 'ctest-vn-21721230', 'tenant_id': '3eac30817db24e0b86c6228e7f7c1373', 'project_id': '3eac30817db24e0b86c6228e7f7c1373', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0268e2ce-8107-4a77-af4f-2a71e78ac0b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80821251', 'ctest-vn-21721230'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80821251', 'ctest-policy-allow-all-38580682']], 'subnet_ipam': [{'subnet_cidr': '215.203.32.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-11 23:30:03,060 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1', 'name': 'ctest-vn-48467799', 'tenant_id': '3eac30817db24e0b86c6228e7f7c1373', 'project_id': '3eac30817db24e0b86c6228e7f7c1373', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a875dd6-065e-464b-b7e7-aec2f971e1ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80821251', 'ctest-vn-48467799'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80821251', 'ctest-policy-allow-all-38580682']], 'subnet_ipam': [{'subnet_cidr': '167.0.103.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-11 23:30:03,204 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 23:30:03,499 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 23:30:03,528 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0de1fca7-740c-4bde-af6f-0de204cefc0a 2026-02-11 23:30:03,538 - DEBUG - Requesting: http://10.0.0.38:8082/project/3eac3081-7db2-4e0b-86c6-228e7f7c1373 2026-02-11 23:30:03,611 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0527439-42e9-4902-b371-4c32ed55c639 2026-02-11 23:30:03,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0527439-42e9-4902-b371-4c32ed55c639 2026-02-11 23:30:03,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb5b5158-b625-4d00-8438-72f0cd77fb18 2026-02-11 23:30:03,632 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb5b5158-b625-4d00-8438-72f0cd77fb18 2026-02-11 23:30:03,638 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5b7c571-d5e0-4be5-aa9c-743af3844468 2026-02-11 23:30:03,644 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-11 23:30:03,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0527439-42e9-4902-b371-4c32ed55c639 2026-02-11 23:30:03,651 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb5b5158-b625-4d00-8438-72f0cd77fb18 2026-02-11 23:30:03,662 - INFO - Verified VN network id 11 for VN d0527439-42e9-4902-b371-4c32ed55c639 2026-02-11 23:30:03,663 - INFO - Verifications in API Server for VN ctest-vn-21721230 passed 2026-02-11 23:30:03,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0527439-42e9-4902-b371-4c32ed55c639 2026-02-11 23:30:03,670 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb5b5158-b625-4d00-8438-72f0cd77fb18 2026-02-11 23:30:03,675 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb5b5158-b625-4d00-8438-72f0cd77fb18 2026-02-11 23:30:03,681 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5b7c571-d5e0-4be5-aa9c-743af3844468 2026-02-11 23:30:03,690 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-21721230', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80821251', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15011188297263827202', 'uuid-lslong': '12930199786771301945'}, 'enable': 'true', 'created': '2026-02-11T23:30:01', 'last-modified': '2026-02-11T23:30:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.873145'} 2026-02-11 23:30:03,695 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-11 23:30:03,695 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21721230 passed 2026-02-11 23:30:03,695 - DEBUG - ====Verifying policy data for ctest-vn-21721230 in API_Server ====== 2026-02-11 23:30:03,696 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 23:30:03,700 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0de1fca7-740c-4bde-af6f-0de204cefc0a 2026-02-11 23:30:03,709 - DEBUG - Requesting: http://10.0.0.38:8082/project/3eac3081-7db2-4e0b-86c6-228e7f7c1373 2026-02-11 23:30:03,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0527439-42e9-4902-b371-4c32ed55c639 2026-02-11 23:30:03,783 - DEBUG - ==>Verifying data for policy with id: f09b8e9f-24f4-4aed-9266-a67cf78b36e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-80821251', 'ctest-policy-allow-all-38580682'] 2026-02-11 23:30:03,783 - INFO - VN ctest-vn-21721230 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-11 23:30:03,784 - DEBUG - Verifying the vn in opserver 2026-02-11 23:30:03,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-21721230 virtual network link through opserver 10.0.0.38 2026-02-11 23:30:03,784 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-11 23:30:04,072 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-11 23:30:04,128 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-21721230', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-21721230?flat'} 2026-02-11 23:30:04,128 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-21721230 is found in opserver 2026-02-11 23:30:04,136 - DEBUG - Do not have enough data to verify VN in agent 2026-02-11 23:30:04,140 - DEBUG - VRF ids for VN ctest-vn-21721230: {} 2026-02-11 23:30:04,140 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 23:30:04,144 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0de1fca7-740c-4bde-af6f-0de204cefc0a 2026-02-11 23:30:04,154 - DEBUG - Requesting: http://10.0.0.38:8082/project/3eac3081-7db2-4e0b-86c6-228e7f7c1373 2026-02-11 23:30:04,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1 2026-02-11 23:30:04,231 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1 2026-02-11 23:30:04,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ae8a90c-5f26-4623-b9f0-d2b4a7cf9e9b 2026-02-11 23:30:04,245 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ae8a90c-5f26-4623-b9f0-d2b4a7cf9e9b 2026-02-11 23:30:04,251 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/17a2b525-8d00-4bc2-bee8-7c91c059546d 2026-02-11 23:30:04,258 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-11 23:30:04,258 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1 2026-02-11 23:30:04,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ae8a90c-5f26-4623-b9f0-d2b4a7cf9e9b 2026-02-11 23:30:04,277 - INFO - Verified VN network id 12 for VN f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1 2026-02-11 23:30:04,277 - INFO - Verifications in API Server for VN ctest-vn-48467799 passed 2026-02-11 23:30:04,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1 2026-02-11 23:30:04,285 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ae8a90c-5f26-4623-b9f0-d2b4a7cf9e9b 2026-02-11 23:30:04,291 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ae8a90c-5f26-4623-b9f0-d2b4a7cf9e9b 2026-02-11 23:30:04,297 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/17a2b525-8d00-4bc2-bee8-7c91c059546d 2026-02-11 23:30:04,307 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-48467799', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80821251', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17453669251497937720', 'uuid-lslong': '11420478402016424433'}, 'enable': 'true', 'created': '2026-02-11T23:30:02', 'last-modified': '2026-02-11T23:30:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.268320'} 2026-02-11 23:30:04,311 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-11 23:30:04,311 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48467799 passed 2026-02-11 23:30:04,312 - DEBUG - ====Verifying policy data for ctest-vn-48467799 in API_Server ====== 2026-02-11 23:30:04,312 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 23:30:04,316 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0de1fca7-740c-4bde-af6f-0de204cefc0a 2026-02-11 23:30:04,325 - DEBUG - Requesting: http://10.0.0.38:8082/project/3eac3081-7db2-4e0b-86c6-228e7f7c1373 2026-02-11 23:30:04,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1 2026-02-11 23:30:04,402 - DEBUG - ==>Verifying data for policy with id: f09b8e9f-24f4-4aed-9266-a67cf78b36e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-80821251', 'ctest-policy-allow-all-38580682'] 2026-02-11 23:30:04,402 - INFO - VN ctest-vn-48467799 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-11 23:30:04,402 - DEBUG - Verifying the vn in opserver 2026-02-11 23:30:04,402 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-48467799 virtual network link through opserver 10.0.0.38 2026-02-11 23:30:04,402 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-11 23:30:04,410 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-48467799', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-48467799?flat'} 2026-02-11 23:30:04,410 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-48467799 is found in opserver 2026-02-11 23:30:04,418 - DEBUG - Do not have enough data to verify VN in agent 2026-02-11 23:30:04,422 - DEBUG - VRF ids for VN ctest-vn-48467799: {} 2026-02-11 23:30:04,469 - DEBUG - Services list from nova: [, , ] 2026-02-11 23:30:05,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5303-1) 2026-02-11 23:30:06,521 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5303-1) 2026-02-11 23:30:06,522 - INFO - Waiting for VM ctest-TestBasicPolicy-80821251-09721314 to be up.. 2026-02-11 23:30:06,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-11 23:30:11,664 - DEBUG - VM is in ACTIVE state now 2026-02-11 23:30:11,664 - INFO - VM name : ctest-TestBasicPolicy-80821251-09721314 2026-02-11 23:30:11,733 - DEBUG - VM ctest-TestBasicPolicy-80821251-09721314 ID is 5460bd6c-5692-407a-a595-1b795a705dfb 2026-02-11 23:30:11,750 - DEBUG - VM ctest-TestBasicPolicy-80821251-09721314 launched on Node cn-jenkins-deploy-platform-ansible-os-5303-1 2026-02-11 23:30:11,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5460bd6c-5692-407a-a595-1b795a705dfb 2026-02-11 23:30:11,824 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ffd57e59-ba40-4a5d-b4af-512483066623 2026-02-11 23:30:15,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 1007ms') 2026-02-11 23:30:15,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80821251-09721314 failed! 2026-02-11 23:30:15,112 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80821251:ctest-vn-21721230 is 215.203.32.129 and allocation pool is NOT set 2026-02-11 23:30:17,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=2.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.599/2.746/1.147 ms') 2026-02-11 23:30:17,174 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80821251-09721314 passed 2026-02-11 23:30:17,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 23:30:17,320 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80821251-09721314, IP 215.203.32.131, Port 22 2026-02-11 23:30:17,493 - DEBUG - VM ctest-TestBasicPolicy-80821251-09721314 is ready for SSH connections 2026-02-11 23:30:17,493 - INFO - Waiting for VM ctest-TestBasicPolicy-80821251-72085335 to be up.. 2026-02-11 23:30:17,561 - DEBUG - VM is in ACTIVE state now 2026-02-11 23:30:17,561 - INFO - VM name : ctest-TestBasicPolicy-80821251-72085335 2026-02-11 23:30:17,627 - DEBUG - VM ctest-TestBasicPolicy-80821251-72085335 ID is d6aab516-db52-4ad0-94cf-378a44132866 2026-02-11 23:30:17,628 - DEBUG - VM ctest-TestBasicPolicy-80821251-72085335 launched on Node cn-jenkins-deploy-platform-ansible-os-5303-1 2026-02-11 23:30:17,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d6aab516-db52-4ad0-94cf-378a44132866 2026-02-11 23:30:17,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e85dfc87-fb9e-40f8-aa61-04fbd99a46e5 2026-02-11 23:30:18,941 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.929/3.400/1.470 ms') 2026-02-11 23:30:18,941 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80821251-72085335 passed 2026-02-11 23:30:19,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 23:30:19,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80821251-72085335, IP 167.0.103.131, Port 22 2026-02-11 23:30:19,244 - DEBUG - VM ctest-TestBasicPolicy-80821251-72085335 is ready for SSH connections 2026-02-11 23:30:19,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 23:30:19,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.0.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-11 23:30:19,244 - DEBUG - ping -s 56 -c 3 -W 1 167.0.103.131 2026-02-11 23:30:22,927 - DEBUG - PING 167.0.103.131 (167.0.103.131): 56 data bytes 64 bytes from 167.0.103.131: seq=0 ttl=63 time=3.491 ms 64 bytes from 167.0.103.131: seq=1 ttl=63 time=1.067 ms 64 bytes from 167.0.103.131: seq=2 ttl=63 time=1.026 ms --- 167.0.103.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.026/1.861/3.491 ms 2026-02-11 23:30:22,927 - INFO - Ping to IP 167.0.103.131 from VM ctest-TestBasicPolicy-80821251-09721314 passed 2026-02-11 23:30:23,100 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f09b8e9f-24f4-4aed-9266-a67cf78b36e9", "href": "http://10.0.0.38:8082/network-policy/f09b8e9f-24f4-4aed-9266-a67cf78b36e9"}} 2026-02-11 23:30:23,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 23:30:23,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.0.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-11 23:30:23,100 - DEBUG - ping -s 56 -c 3 -W 1 167.0.103.131 2026-02-11 23:30:26,315 - DEBUG - PING 167.0.103.131 (167.0.103.131): 56 data bytes --- 167.0.103.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-11 23:30:26,315 - WARNING - Ping to IP 167.0.103.131 from VM ctest-TestBasicPolicy-80821251-09721314 failed 2026-02-11 23:30:26,315 - INFO - Deleting VM ctest-TestBasicPolicy-80821251-72085335 2026-02-11 23:30:26,374 - INFO - Deleting VM ctest-TestBasicPolicy-80821251-09721314 2026-02-11 23:30:26,724 - INFO - Deleted policy ctest-policy-allow-all-38580682 2026-02-11 23:30:26,725 - INFO - Deleting VN ctest-vn-48467799 2026-02-11 23:30:26,757 - DEBUG - VN f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1 still in use: Unable to complete operation on network f237e3b5-f2b1-4b38-9e7d-b0992d35b1f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84b590af-b523-4da9-ab6a-342a26051943'] 2026-02-11 23:30:26,757 - WARNING - Deleting VN ctest-vn-48467799 failed..Will retry 2026-02-11 23:30:28,846 - DEBUG - Response for deleting network () 2026-02-11 23:30:28,846 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5ae8a90c-5f26-4623-b9f0-d2b4a7cf9e9b 2026-02-11 23:30:28,851 - DEBUG - Response Code: 404 2026-02-11 23:30:28,851 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 23:30:28,856 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0de1fca7-740c-4bde-af6f-0de204cefc0a 2026-02-11 23:30:28,908 - DEBUG - Requesting: http://10.0.0.38:8082/project/3eac3081-7db2-4e0b-86c6-228e7f7c1373 2026-02-11 23:30:28,974 - INFO - Validated that VN ctest-vn-48467799 is not found in API Server 2026-02-11 23:30:28,982 - DEBUG - VN ctest-vn-48467799 is not present in Agent 10.0.0.38 2026-02-11 23:30:28,982 - INFO - Validated that VN ctest-vn-48467799 is not in any agent 2026-02-11 23:30:28,993 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48467799 info 2026-02-11 23:30:28,994 - INFO - Deleting VN ctest-vn-21721230 2026-02-11 23:30:29,077 - DEBUG - Response for deleting network () 2026-02-11 23:30:29,077 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb5b5158-b625-4d00-8438-72f0cd77fb18 2026-02-11 23:30:29,083 - DEBUG - Response Code: 404 2026-02-11 23:30:29,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-11 23:30:29,087 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0de1fca7-740c-4bde-af6f-0de204cefc0a 2026-02-11 23:30:29,141 - DEBUG - Requesting: http://10.0.0.38:8082/project/3eac3081-7db2-4e0b-86c6-228e7f7c1373 2026-02-11 23:30:29,214 - INFO - Validated that VN ctest-vn-21721230 is not found in API Server 2026-02-11 23:30:29,222 - DEBUG - VN ctest-vn-21721230 is not present in Agent 10.0.0.38 2026-02-11 23:30:29,222 - INFO - Validated that VN ctest-vn-21721230 is not in any agent 2026-02-11 23:30:29,233 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21721230 info 2026-02-11 23:30:29,486 - DEBUG - No XMPP flaps were noticed during the test 2026-02-11 23:30:29,486 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-02-11 23:30:29,486 - INFO - -------------------------------------------------------------------------------- 2026-02-11 23:30:30,138 - INFO - Deleted project: ctest-TestBasicPolicy-80821251, ID : 3eac3081-7db2-4e0b-86c6-228e7f7c1373