2026-05-07 02:21:38,974 - INFO - Domain Default found not creating 2026-05-07 02:21:39,125 - INFO - Project ctest-TestBasicPolicy-54546216 not found, creating it 2026-05-07 02:21:39,585 - INFO - Created Project:ctest-TestBasicPolicy-54546216, ID : f9375e51-3718-4f09-913f-6e9ea1641183 2026-05-07 02:21:41,083 - INFO - ================================================================================ 2026-05-07 02:21:41,083 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-07 02:21:41,083 - 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-07 02:21:41,344 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with 2026-05-07 02:21:41,345 - INFO - Initial checks done. Running the testcase now 2026-05-07 02:21:41,345 - INFO - 2026-05-07 02:21:41,885 - DEBUG - Response for create_network : {'network': {'id': '801c722d-14d5-412a-b54e-4cdcd8803335', 'name': 'ctest-vn-44324667', 'tenant_id': 'f9375e5137184f09913f6e9ea1641183', 'project_id': 'f9375e5137184f09913f6e9ea1641183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54546216', 'ctest-vn-44324667'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:21:42,079 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fd5ed28-6f73-4ed7-bba9-52eaf47aa393', 'name': '', 'tenant_id': 'f9375e5137184f09913f6e9ea1641183', 'network_id': '801c722d-14d5-412a-b54e-4cdcd8803335', 'ip_version': 4, 'cidr': '212.77.140.64/26', 'allocation_pools': [{'start': '212.77.140.66', 'end': '212.77.140.126'}], 'gateway_ip': '212.77.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.77.140.66', 'tags': [], 'project_id': 'f9375e5137184f09913f6e9ea1641183'}} 2026-05-07 02:21:42,096 - INFO - Created VN ctest-vn-44324667 2026-05-07 02:21:42,149 - DEBUG - VN ctest-vn-44324667 UUID is 801c722d-14d5-412a-b54e-4cdcd8803335 2026-05-07 02:21:42,475 - DEBUG - Response for create_network : {'network': {'id': '518bf5d1-ff0e-413c-877a-c232770e5df4', 'name': 'ctest-vn-34827229', 'tenant_id': 'f9375e5137184f09913f6e9ea1641183', 'project_id': 'f9375e5137184f09913f6e9ea1641183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54546216', 'ctest-vn-34827229'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:21:42,668 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab4d0c13-d294-4f5e-b02c-f7f05ee3c585', 'name': '', 'tenant_id': 'f9375e5137184f09913f6e9ea1641183', 'network_id': '518bf5d1-ff0e-413c-877a-c232770e5df4', 'ip_version': 4, 'cidr': '140.129.195.128/26', 'allocation_pools': [{'start': '140.129.195.130', 'end': '140.129.195.190'}], 'gateway_ip': '140.129.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.129.195.130', 'tags': [], 'project_id': 'f9375e5137184f09913f6e9ea1641183'}} 2026-05-07 02:21:42,684 - INFO - Created VN ctest-vn-34827229 2026-05-07 02:21:42,737 - DEBUG - VN ctest-vn-34827229 UUID is 518bf5d1-ff0e-413c-877a-c232770e5df4 2026-05-07 02:21:42,850 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-44324667, 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-54546216:ctest-vn-34827229, 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-07 02:21:43,130 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '801c722d-14d5-412a-b54e-4cdcd8803335', 'name': 'ctest-vn-44324667', 'tenant_id': 'f9375e5137184f09913f6e9ea1641183', 'project_id': 'f9375e5137184f09913f6e9ea1641183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fd5ed28-6f73-4ed7-bba9-52eaf47aa393'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54546216', 'ctest-vn-44324667'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54546216', 'ctest-policy-allow-all-47515518']], 'subnet_ipam': [{'subnet_cidr': '212.77.140.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:21:43,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '518bf5d1-ff0e-413c-877a-c232770e5df4', 'name': 'ctest-vn-34827229', 'tenant_id': 'f9375e5137184f09913f6e9ea1641183', 'project_id': 'f9375e5137184f09913f6e9ea1641183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab4d0c13-d294-4f5e-b02c-f7f05ee3c585'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54546216', 'ctest-vn-34827229'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54546216', 'ctest-policy-allow-all-47515518']], 'subnet_ipam': [{'subnet_cidr': '140.129.195.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:21:43,505 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-07 02:21:43,797 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-07 02:21:43,830 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c482cc19-5d94-4f51-a93e-0b7f814df4a2 2026-05-07 02:21:43,842 - DEBUG - Requesting: http://10.0.0.41:8082/project/f9375e51-3718-4f09-913f-6e9ea1641183 2026-05-07 02:21:43,912 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/801c722d-14d5-412a-b54e-4cdcd8803335 2026-05-07 02:21:43,923 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/801c722d-14d5-412a-b54e-4cdcd8803335 2026-05-07 02:21:43,931 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6db43a50-b03a-4f6c-b940-db9ecb073833 2026-05-07 02:21:43,937 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6db43a50-b03a-4f6c-b940-db9ecb073833 2026-05-07 02:21:43,944 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/457269a8-451c-45a3-a6b2-d333f99bb743 2026-05-07 02:21:43,949 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 02:21:43,949 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/801c722d-14d5-412a-b54e-4cdcd8803335 2026-05-07 02:21:43,957 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6db43a50-b03a-4f6c-b940-db9ecb073833 2026-05-07 02:21:43,969 - INFO - Verified VN network id 11 for VN 801c722d-14d5-412a-b54e-4cdcd8803335 2026-05-07 02:21:43,970 - INFO - Verifications in API Server for VN ctest-vn-44324667 passed 2026-05-07 02:21:43,970 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/801c722d-14d5-412a-b54e-4cdcd8803335 2026-05-07 02:21:43,978 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6db43a50-b03a-4f6c-b940-db9ecb073833 2026-05-07 02:21:43,985 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6db43a50-b03a-4f6c-b940-db9ecb073833 2026-05-07 02:21:43,990 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/457269a8-451c-45a3-a6b2-d333f99bb743 2026-05-07 02:21:44,000 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-44324667', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54546216', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9231378874151289130', 'uuid-lslong': '13064464080457184053'}, 'enable': 'true', 'created': '2026-05-07T02:21:41', 'last-modified': '2026-05-07T02:21:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890572'} 2026-05-07 02:21:44,009 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 02:21:44,009 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44324667 passed 2026-05-07 02:21:44,009 - DEBUG - ====Verifying policy data for ctest-vn-44324667 in API_Server ====== 2026-05-07 02:21:44,009 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-07 02:21:44,015 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c482cc19-5d94-4f51-a93e-0b7f814df4a2 2026-05-07 02:21:44,027 - DEBUG - Requesting: http://10.0.0.41:8082/project/f9375e51-3718-4f09-913f-6e9ea1641183 2026-05-07 02:21:44,098 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/801c722d-14d5-412a-b54e-4cdcd8803335 2026-05-07 02:21:44,106 - DEBUG - ==>Verifying data for policy with id: 55730c55-815c-49a3-9550-fa3a8ce7d789, fqn: ['default-domain', 'ctest-TestBasicPolicy-54546216', 'ctest-policy-allow-all-47515518'] 2026-05-07 02:21:44,106 - INFO - VN ctest-vn-44324667 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 02:21:44,106 - DEBUG - Verifying the vn in opserver 2026-05-07 02:21:44,107 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-44324667 virtual network link through opserver 10.0.0.41 2026-05-07 02:21:44,107 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-07 02:21:44,401 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-07 02:21:44,461 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-44324667', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-44324667?flat'} 2026-05-07 02:21:44,461 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-44324667 is found in opserver 2026-05-07 02:21:44,469 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 02:21:44,473 - DEBUG - VRF ids for VN ctest-vn-44324667: {} 2026-05-07 02:21:44,473 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-07 02:21:44,478 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c482cc19-5d94-4f51-a93e-0b7f814df4a2 2026-05-07 02:21:44,487 - DEBUG - Requesting: http://10.0.0.41:8082/project/f9375e51-3718-4f09-913f-6e9ea1641183 2026-05-07 02:21:44,553 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/518bf5d1-ff0e-413c-877a-c232770e5df4 2026-05-07 02:21:44,563 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/518bf5d1-ff0e-413c-877a-c232770e5df4 2026-05-07 02:21:44,572 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d09950b1-ce77-4d9f-9a23-e71ee510bd77 2026-05-07 02:21:44,579 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d09950b1-ce77-4d9f-9a23-e71ee510bd77 2026-05-07 02:21:44,585 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8aaf0256-6283-4d9f-a2e5-88b8fdfd4659 2026-05-07 02:21:44,591 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-07 02:21:44,591 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/518bf5d1-ff0e-413c-877a-c232770e5df4 2026-05-07 02:21:44,600 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d09950b1-ce77-4d9f-9a23-e71ee510bd77 2026-05-07 02:21:44,612 - INFO - Verified VN network id 12 for VN 518bf5d1-ff0e-413c-877a-c232770e5df4 2026-05-07 02:21:44,613 - INFO - Verifications in API Server for VN ctest-vn-34827229 passed 2026-05-07 02:21:44,613 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/518bf5d1-ff0e-413c-877a-c232770e5df4 2026-05-07 02:21:44,621 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d09950b1-ce77-4d9f-9a23-e71ee510bd77 2026-05-07 02:21:44,627 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d09950b1-ce77-4d9f-9a23-e71ee510bd77 2026-05-07 02:21:44,634 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8aaf0256-6283-4d9f-a2e5-88b8fdfd4659 2026-05-07 02:21:44,644 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-34827229', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54546216', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5876060421111038268', 'uuid-lslong': '9762328664280554996'}, 'enable': 'true', 'created': '2026-05-07T02:21:42', 'last-modified': '2026-05-07T02:21:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312318'} 2026-05-07 02:21:44,649 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-07 02:21:44,649 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34827229 passed 2026-05-07 02:21:44,649 - DEBUG - ====Verifying policy data for ctest-vn-34827229 in API_Server ====== 2026-05-07 02:21:44,649 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-07 02:21:44,655 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c482cc19-5d94-4f51-a93e-0b7f814df4a2 2026-05-07 02:21:44,666 - DEBUG - Requesting: http://10.0.0.41:8082/project/f9375e51-3718-4f09-913f-6e9ea1641183 2026-05-07 02:21:44,734 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/518bf5d1-ff0e-413c-877a-c232770e5df4 2026-05-07 02:21:44,741 - DEBUG - ==>Verifying data for policy with id: 55730c55-815c-49a3-9550-fa3a8ce7d789, fqn: ['default-domain', 'ctest-TestBasicPolicy-54546216', 'ctest-policy-allow-all-47515518'] 2026-05-07 02:21:44,741 - INFO - VN ctest-vn-34827229 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 02:21:44,741 - DEBUG - Verifying the vn in opserver 2026-05-07 02:21:44,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-34827229 virtual network link through opserver 10.0.0.41 2026-05-07 02:21:44,742 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-07 02:21:44,750 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-34827229', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-34827229?flat'} 2026-05-07 02:21:44,750 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-34827229 is found in opserver 2026-05-07 02:21:44,758 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 02:21:44,762 - DEBUG - VRF ids for VN ctest-vn-34827229: {} 2026-05-07 02:21:44,816 - DEBUG - Services list from nova: [, , ] 2026-05-07 02:21:45,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5751-1) 2026-05-07 02:21:47,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5751-1) 2026-05-07 02:21:47,001 - INFO - Waiting for VM ctest-TestBasicPolicy-54546216-33639568 to be up.. 2026-05-07 02:21:47,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 02:21:52,178 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:21:52,178 - INFO - VM name : ctest-TestBasicPolicy-54546216-33639568 2026-05-07 02:21:52,253 - DEBUG - VM ctest-TestBasicPolicy-54546216-33639568 ID is ce8bb3ea-68ef-4a95-89e9-add6b6edff40 2026-05-07 02:21:52,270 - DEBUG - VM ctest-TestBasicPolicy-54546216-33639568 launched on Node cn-jenkins-deploy-platform-ansible-os-5751-1 2026-05-07 02:21:52,340 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ce8bb3ea-68ef-4a95-89e9-add6b6edff40 2026-05-07 02:21:52,349 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/794397f9-606e-4d55-91a7-49b5dd2a7d8d 2026-05-07 02:21:55,588 - 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 1005ms') 2026-05-07 02:21:55,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54546216-33639568 failed! 2026-05-07 02:21:55,641 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54546216:ctest-vn-44324667 is 212.77.140.65 and allocation pool is NOT set 2026-05-07 02:21:57,706 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/1.581/2.724/1.143 ms') 2026-05-07 02:21:57,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54546216-33639568 passed 2026-05-07 02:21:57,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:21:57,853 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54546216-33639568, IP 212.77.140.67, Port 22 2026-05-07 02:21:58,008 - DEBUG - VM ctest-TestBasicPolicy-54546216-33639568 is ready for SSH connections 2026-05-07 02:21:58,008 - INFO - Waiting for VM ctest-TestBasicPolicy-54546216-30789436 to be up.. 2026-05-07 02:21:58,090 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:21:58,091 - INFO - VM name : ctest-TestBasicPolicy-54546216-30789436 2026-05-07 02:21:58,170 - DEBUG - VM ctest-TestBasicPolicy-54546216-30789436 ID is 56f0920b-acd4-4d28-a5c9-e3ca0a4547fe 2026-05-07 02:21:58,171 - DEBUG - VM ctest-TestBasicPolicy-54546216-30789436 launched on Node cn-jenkins-deploy-platform-ansible-os-5751-1 2026-05-07 02:21:58,256 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/56f0920b-acd4-4d28-a5c9-e3ca0a4547fe 2026-05-07 02:21:58,265 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e5d2e6ca-2272-4680-8dcd-077d18b8441b 2026-05-07 02:21:59,505 - 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.422 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.422/1.671/2.921/1.249 ms') 2026-05-07 02:21:59,505 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54546216-30789436 passed 2026-05-07 02:21:59,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:21:59,653 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54546216-30789436, IP 140.129.195.131, Port 22 2026-05-07 02:21:59,808 - DEBUG - VM ctest-TestBasicPolicy-54546216-30789436 is ready for SSH connections 2026-05-07 02:21:59,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:21:59,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.129.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-07 02:21:59,809 - DEBUG - ping -s 56 -c 3 -W 1 140.129.195.131 2026-05-07 02:22:03,851 - DEBUG - PING 140.129.195.131 (140.129.195.131): 56 data bytes 64 bytes from 140.129.195.131: seq=0 ttl=63 time=3.322 ms 64 bytes from 140.129.195.131: seq=1 ttl=63 time=0.981 ms 64 bytes from 140.129.195.131: seq=2 ttl=63 time=1.095 ms --- 140.129.195.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/1.799/3.322 ms 2026-05-07 02:22:03,851 - INFO - Ping to IP 140.129.195.131 from VM ctest-TestBasicPolicy-54546216-33639568 passed 2026-05-07 02:22:04,037 - DEBUG - Policy Update Response {"network-policy": {"uuid": "55730c55-815c-49a3-9550-fa3a8ce7d789", "href": "http://10.0.0.41:8082/network-policy/55730c55-815c-49a3-9550-fa3a8ce7d789"}} 2026-05-07 02:22:04,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:22:04,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.129.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-07 02:22:04,037 - DEBUG - ping -s 56 -c 3 -W 1 140.129.195.131 2026-05-07 02:22:07,250 - DEBUG - PING 140.129.195.131 (140.129.195.131): 56 data bytes --- 140.129.195.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-07 02:22:07,250 - WARNING - Ping to IP 140.129.195.131 from VM ctest-TestBasicPolicy-54546216-33639568 failed 2026-05-07 02:22:07,250 - INFO - Deleting VM ctest-TestBasicPolicy-54546216-30789436 2026-05-07 02:22:07,332 - INFO - Deleting VM ctest-TestBasicPolicy-54546216-33639568 2026-05-07 02:22:07,708 - INFO - Deleted policy ctest-policy-allow-all-47515518 2026-05-07 02:22:07,708 - INFO - Deleting VN ctest-vn-34827229 2026-05-07 02:22:07,740 - DEBUG - VN 518bf5d1-ff0e-413c-877a-c232770e5df4 still in use: Unable to complete operation on network 518bf5d1-ff0e-413c-877a-c232770e5df4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb6ed228-ec43-43b7-aa44-de9319026f13'] 2026-05-07 02:22:07,740 - WARNING - Deleting VN ctest-vn-34827229 failed..Will retry 2026-05-07 02:22:09,852 - DEBUG - Response for deleting network () 2026-05-07 02:22:09,852 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d09950b1-ce77-4d9f-9a23-e71ee510bd77 2026-05-07 02:22:09,857 - DEBUG - Response Code: 404 2026-05-07 02:22:09,857 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-07 02:22:09,863 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c482cc19-5d94-4f51-a93e-0b7f814df4a2 2026-05-07 02:22:09,918 - DEBUG - Requesting: http://10.0.0.41:8082/project/f9375e51-3718-4f09-913f-6e9ea1641183 2026-05-07 02:22:09,987 - INFO - Validated that VN ctest-vn-34827229 is not found in API Server 2026-05-07 02:22:09,999 - DEBUG - VN ctest-vn-34827229 is not present in Agent 10.0.0.41 2026-05-07 02:22:09,999 - INFO - Validated that VN ctest-vn-34827229 is not in any agent 2026-05-07 02:22:10,014 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34827229 info 2026-05-07 02:22:10,014 - INFO - Deleting VN ctest-vn-44324667 2026-05-07 02:22:10,121 - DEBUG - Response for deleting network () 2026-05-07 02:22:10,121 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/6db43a50-b03a-4f6c-b940-db9ecb073833 2026-05-07 02:22:10,127 - DEBUG - Response Code: 404 2026-05-07 02:22:10,128 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-07 02:22:10,137 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c482cc19-5d94-4f51-a93e-0b7f814df4a2 2026-05-07 02:22:10,189 - DEBUG - Requesting: http://10.0.0.41:8082/project/f9375e51-3718-4f09-913f-6e9ea1641183 2026-05-07 02:22:10,257 - INFO - Validated that VN ctest-vn-44324667 is not found in API Server 2026-05-07 02:22:10,267 - DEBUG - VN ctest-vn-44324667 is not present in Agent 10.0.0.41 2026-05-07 02:22:10,267 - INFO - Validated that VN ctest-vn-44324667 is not in any agent 2026-05-07 02:22:10,282 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44324667 info 2026-05-07 02:22:10,541 - DEBUG - No XMPP flaps were noticed during the test
2026-05-07 02:22:10,541 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-05-07 02:22:10,541 - INFO - -------------------------------------------------------------------------------- 2026-05-07 02:22:11,257 - INFO - Deleted project: ctest-TestBasicPolicy-54546216, ID : f9375e51-3718-4f09-913f-6e9ea1641183