2026-05-20 12:33:40,935 - INFO - Domain Default found not creating 2026-05-20 12:33:41,127 - INFO - Project ctest-TestBasicPolicy-85683705 not found, creating it 2026-05-20 12:33:41,591 - INFO - Created Project:ctest-TestBasicPolicy-85683705, ID : 6db5287d-6682-4ebe-8a59-fe20da5da382 2026-05-20 12:33:43,032 - INFO - ================================================================================ 2026-05-20 12:33:43,032 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-20 12:33:43,033 - 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-20 12:33:43,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-05-20 12:33:43,291 - INFO - Initial checks done. Running the testcase now 2026-05-20 12:33:43,291 - INFO - 2026-05-20 12:33:43,847 - DEBUG - Response for create_network : {'network': {'id': 'af25171b-f57b-4cf7-be6e-3e802c9133d2', 'name': 'ctest-vn-04349331', 'tenant_id': '6db5287d66824ebe8a59fe20da5da382', 'project_id': '6db5287d66824ebe8a59fe20da5da382', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85683705', 'ctest-vn-04349331'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 12:33:44,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e67534a-aa47-42ae-ab2e-d505fd0db576', 'name': '', 'tenant_id': '6db5287d66824ebe8a59fe20da5da382', 'network_id': 'af25171b-f57b-4cf7-be6e-3e802c9133d2', 'ip_version': 4, 'cidr': '48.37.26.64/26', 'allocation_pools': [{'start': '48.37.26.66', 'end': '48.37.26.126'}], 'gateway_ip': '48.37.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.37.26.66', 'tags': [], 'project_id': '6db5287d66824ebe8a59fe20da5da382'}} 2026-05-20 12:33:44,044 - INFO - Created VN ctest-vn-04349331 2026-05-20 12:33:44,097 - DEBUG - VN ctest-vn-04349331 UUID is af25171b-f57b-4cf7-be6e-3e802c9133d2 2026-05-20 12:33:44,407 - DEBUG - Response for create_network : {'network': {'id': '30ae979d-2231-4601-aef7-155728dad296', 'name': 'ctest-vn-52469693', 'tenant_id': '6db5287d66824ebe8a59fe20da5da382', 'project_id': '6db5287d66824ebe8a59fe20da5da382', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85683705', 'ctest-vn-52469693'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 12:33:44,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b2dd66e-3334-41f1-b929-cb99aa96ae49', 'name': '', 'tenant_id': '6db5287d66824ebe8a59fe20da5da382', 'network_id': '30ae979d-2231-4601-aef7-155728dad296', 'ip_version': 4, 'cidr': '3.3.145.128/26', 'allocation_pools': [{'start': '3.3.145.130', 'end': '3.3.145.190'}], 'gateway_ip': '3.3.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.3.145.130', 'tags': [], 'project_id': '6db5287d66824ebe8a59fe20da5da382'}} 2026-05-20 12:33:44,624 - INFO - Created VN ctest-vn-52469693 2026-05-20 12:33:44,677 - DEBUG - VN ctest-vn-52469693 UUID is 30ae979d-2231-4601-aef7-155728dad296 2026-05-20 12:33:44,829 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-04349331, 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-85683705:ctest-vn-52469693, 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-20 12:33:45,125 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af25171b-f57b-4cf7-be6e-3e802c9133d2', 'name': 'ctest-vn-04349331', 'tenant_id': '6db5287d66824ebe8a59fe20da5da382', 'project_id': '6db5287d66824ebe8a59fe20da5da382', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e67534a-aa47-42ae-ab2e-d505fd0db576'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85683705', 'ctest-vn-04349331'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85683705', 'ctest-policy-allow-all-36210398']], 'subnet_ipam': [{'subnet_cidr': '48.37.26.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-20 12:33:45,354 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30ae979d-2231-4601-aef7-155728dad296', 'name': 'ctest-vn-52469693', 'tenant_id': '6db5287d66824ebe8a59fe20da5da382', 'project_id': '6db5287d66824ebe8a59fe20da5da382', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b2dd66e-3334-41f1-b929-cb99aa96ae49'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85683705', 'ctest-vn-52469693'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85683705', 'ctest-policy-allow-all-36210398']], 'subnet_ipam': [{'subnet_cidr': '3.3.145.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-20 12:33:45,521 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-20 12:33:45,815 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-20 12:33:45,847 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a9782170-3914-47e9-9ea4-bc41b6f15807 2026-05-20 12:33:45,860 - DEBUG - Requesting: http://10.0.0.242:8082/project/6db5287d-6682-4ebe-8a59-fe20da5da382 2026-05-20 12:33:45,932 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af25171b-f57b-4cf7-be6e-3e802c9133d2 2026-05-20 12:33:45,944 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af25171b-f57b-4cf7-be6e-3e802c9133d2 2026-05-20 12:33:45,955 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/24c61fe9-b16d-4e7a-8f25-8950268f0ba4 2026-05-20 12:33:45,962 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/24c61fe9-b16d-4e7a-8f25-8950268f0ba4 2026-05-20 12:33:45,968 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/08e37a7f-38f1-4a61-8140-9e499f3f4da8 2026-05-20 12:33:45,974 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-20 12:33:45,974 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af25171b-f57b-4cf7-be6e-3e802c9133d2 2026-05-20 12:33:45,983 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/24c61fe9-b16d-4e7a-8f25-8950268f0ba4 2026-05-20 12:33:45,996 - INFO - Verified VN network id 11 for VN af25171b-f57b-4cf7-be6e-3e802c9133d2 2026-05-20 12:33:45,996 - INFO - Verifications in API Server for VN ctest-vn-04349331 passed 2026-05-20 12:33:45,996 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af25171b-f57b-4cf7-be6e-3e802c9133d2 2026-05-20 12:33:46,006 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/24c61fe9-b16d-4e7a-8f25-8950268f0ba4 2026-05-20 12:33:46,013 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/24c61fe9-b16d-4e7a-8f25-8950268f0ba4 2026-05-20 12:33:46,021 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/08e37a7f-38f1-4a61-8140-9e499f3f4da8 2026-05-20 12:33:46,033 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-04349331', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85683705', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12620518939625737463', 'uuid-lslong': '13721973834868929490'}, 'enable': 'true', 'created': '2026-05-20T12:33:43', 'last-modified': '2026-05-20T12:33:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934458'} 2026-05-20 12:33:46,039 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-20 12:33:46,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04349331 passed 2026-05-20 12:33:46,039 - DEBUG - ====Verifying policy data for ctest-vn-04349331 in API_Server ====== 2026-05-20 12:33:46,040 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-20 12:33:46,045 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a9782170-3914-47e9-9ea4-bc41b6f15807 2026-05-20 12:33:46,056 - DEBUG - Requesting: http://10.0.0.242:8082/project/6db5287d-6682-4ebe-8a59-fe20da5da382 2026-05-20 12:33:46,126 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af25171b-f57b-4cf7-be6e-3e802c9133d2 2026-05-20 12:33:46,135 - DEBUG - ==>Verifying data for policy with id: 56a281b8-0502-494a-a917-cc59e6d888c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-85683705', 'ctest-policy-allow-all-36210398'] 2026-05-20 12:33:46,135 - INFO - VN ctest-vn-04349331 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-20 12:33:46,135 - DEBUG - Verifying the vn in opserver 2026-05-20 12:33:46,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-04349331 virtual network link through opserver 10.0.0.242 2026-05-20 12:33:46,135 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-20 12:33:46,425 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-20 12:33:46,484 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-04349331', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-04349331?flat'} 2026-05-20 12:33:46,484 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-04349331 is found in opserver 2026-05-20 12:33:46,493 - DEBUG - Do not have enough data to verify VN in agent 2026-05-20 12:33:46,497 - DEBUG - VRF ids for VN ctest-vn-04349331: {} 2026-05-20 12:33:46,497 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-20 12:33:46,502 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a9782170-3914-47e9-9ea4-bc41b6f15807 2026-05-20 12:33:46,513 - DEBUG - Requesting: http://10.0.0.242:8082/project/6db5287d-6682-4ebe-8a59-fe20da5da382 2026-05-20 12:33:46,584 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/30ae979d-2231-4601-aef7-155728dad296 2026-05-20 12:33:46,594 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/30ae979d-2231-4601-aef7-155728dad296 2026-05-20 12:33:46,603 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a0397d08-9e59-4015-bdc3-9d3ae960ae24 2026-05-20 12:33:46,611 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a0397d08-9e59-4015-bdc3-9d3ae960ae24 2026-05-20 12:33:46,618 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/9259f764-fa15-471a-b46b-9f41f3d2658f 2026-05-20 12:33:46,624 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-20 12:33:46,624 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/30ae979d-2231-4601-aef7-155728dad296 2026-05-20 12:33:46,634 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a0397d08-9e59-4015-bdc3-9d3ae960ae24 2026-05-20 12:33:46,650 - INFO - Verified VN network id 12 for VN 30ae979d-2231-4601-aef7-155728dad296 2026-05-20 12:33:46,650 - INFO - Verifications in API Server for VN ctest-vn-52469693 passed 2026-05-20 12:33:46,650 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/30ae979d-2231-4601-aef7-155728dad296 2026-05-20 12:33:46,659 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a0397d08-9e59-4015-bdc3-9d3ae960ae24 2026-05-20 12:33:46,667 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a0397d08-9e59-4015-bdc3-9d3ae960ae24 2026-05-20 12:33:46,674 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/9259f764-fa15-471a-b46b-9f41f3d2658f 2026-05-20 12:33:46,685 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-52469693', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85683705', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3507907860907509249', 'uuid-lslong': '12607569145938760342'}, 'enable': 'true', 'created': '2026-05-20T12:33:44', 'last-modified': '2026-05-20T12:33:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354323'} 2026-05-20 12:33:46,691 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-20 12:33:46,691 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52469693 passed 2026-05-20 12:33:46,691 - DEBUG - ====Verifying policy data for ctest-vn-52469693 in API_Server ====== 2026-05-20 12:33:46,691 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-20 12:33:46,699 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a9782170-3914-47e9-9ea4-bc41b6f15807 2026-05-20 12:33:46,710 - DEBUG - Requesting: http://10.0.0.242:8082/project/6db5287d-6682-4ebe-8a59-fe20da5da382 2026-05-20 12:33:46,783 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/30ae979d-2231-4601-aef7-155728dad296 2026-05-20 12:33:46,792 - DEBUG - ==>Verifying data for policy with id: 56a281b8-0502-494a-a917-cc59e6d888c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-85683705', 'ctest-policy-allow-all-36210398'] 2026-05-20 12:33:46,792 - INFO - VN ctest-vn-52469693 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-20 12:33:46,792 - DEBUG - Verifying the vn in opserver 2026-05-20 12:33:46,792 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-52469693 virtual network link through opserver 10.0.0.242 2026-05-20 12:33:46,792 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-20 12:33:46,802 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-52469693', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-52469693?flat'} 2026-05-20 12:33:46,802 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-52469693 is found in opserver 2026-05-20 12:33:46,812 - DEBUG - Do not have enough data to verify VN in agent 2026-05-20 12:33:46,817 - DEBUG - VRF ids for VN ctest-vn-52469693: {} 2026-05-20 12:33:46,873 - DEBUG - Services list from nova: [, , ] 2026-05-20 12:33:47,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5800-1) 2026-05-20 12:33:49,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5800-1) 2026-05-20 12:33:49,106 - INFO - Waiting for VM ctest-TestBasicPolicy-85683705-66336108 to be up.. 2026-05-20 12:33:49,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 12:33:54,268 - DEBUG - VM is in ACTIVE state now 2026-05-20 12:33:54,268 - INFO - VM name : ctest-TestBasicPolicy-85683705-66336108 2026-05-20 12:33:54,341 - DEBUG - VM ctest-TestBasicPolicy-85683705-66336108 ID is b01269ad-630c-4dd6-81df-0155705f24ac 2026-05-20 12:33:54,360 - DEBUG - VM ctest-TestBasicPolicy-85683705-66336108 launched on Node cn-jenkins-deploy-platform-ansible-os-5800-1 2026-05-20 12:33:54,435 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b01269ad-630c-4dd6-81df-0155705f24ac 2026-05-20 12:33:54,443 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1f60078c-b443-4ff6-b1bd-77b807d4790b 2026-05-20 12:33:57,692 - 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 1017ms') 2026-05-20 12:33:57,693 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85683705-66336108 failed! 2026-05-20 12:33:57,749 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85683705:ctest-vn-04349331 is 48.37.26.65 and allocation pool is NOT set 2026-05-20 12:33:59,813 - 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=6.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.548 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.548/3.412/6.276/2.864 ms') 2026-05-20 12:33:59,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85683705-66336108 passed 2026-05-20 12:33:59,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 12:33:59,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85683705-66336108, IP 48.37.26.67, Port 22 2026-05-20 12:34:00,121 - DEBUG - VM ctest-TestBasicPolicy-85683705-66336108 is ready for SSH connections 2026-05-20 12:34:00,121 - INFO - Waiting for VM ctest-TestBasicPolicy-85683705-13646190 to be up.. 2026-05-20 12:34:00,195 - DEBUG - VM is in ACTIVE state now 2026-05-20 12:34:00,195 - INFO - VM name : ctest-TestBasicPolicy-85683705-13646190 2026-05-20 12:34:00,267 - DEBUG - VM ctest-TestBasicPolicy-85683705-13646190 ID is eac40cbb-ab57-4241-b288-3cea6476fb80 2026-05-20 12:34:00,267 - DEBUG - VM ctest-TestBasicPolicy-85683705-13646190 launched on Node cn-jenkins-deploy-platform-ansible-os-5800-1 2026-05-20 12:34:00,346 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/eac40cbb-ab57-4241-b288-3cea6476fb80 2026-05-20 12:34:00,355 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d8a7f3ee-cb2e-4a1e-8f73-a05357ab8cc0 2026-05-20 12:34:01,598 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.555 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.555/1.782/3.010/1.227 ms') 2026-05-20 12:34:01,598 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85683705-13646190 passed 2026-05-20 12:34:01,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 12:34:01,745 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85683705-13646190, IP 3.3.145.131, Port 22 2026-05-20 12:34:01,911 - DEBUG - VM ctest-TestBasicPolicy-85683705-13646190 is ready for SSH connections 2026-05-20 12:34:01,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 12:34:01,911 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.3.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-20 12:34:01,911 - DEBUG - ping -s 56 -c 3 -W 1 3.3.145.131 2026-05-20 12:34:05,938 - DEBUG - PING 3.3.145.131 (3.3.145.131): 56 data bytes 64 bytes from 3.3.145.131: seq=0 ttl=63 time=3.526 ms 64 bytes from 3.3.145.131: seq=1 ttl=63 time=1.036 ms 64 bytes from 3.3.145.131: seq=2 ttl=63 time=0.943 ms --- 3.3.145.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/1.835/3.526 ms 2026-05-20 12:34:05,938 - INFO - Ping to IP 3.3.145.131 from VM ctest-TestBasicPolicy-85683705-66336108 passed 2026-05-20 12:34:06,113 - DEBUG - Policy Update Response {"network-policy": {"uuid": "56a281b8-0502-494a-a917-cc59e6d888c1", "href": "http://10.0.0.242:8082/network-policy/56a281b8-0502-494a-a917-cc59e6d888c1"}} 2026-05-20 12:34:06,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 12:34:06,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.3.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-20 12:34:06,113 - DEBUG - ping -s 56 -c 3 -W 1 3.3.145.131 2026-05-20 12:34:09,323 - DEBUG - PING 3.3.145.131 (3.3.145.131): 56 data bytes --- 3.3.145.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-20 12:34:09,324 - WARNING - Ping to IP 3.3.145.131 from VM ctest-TestBasicPolicy-85683705-66336108 failed 2026-05-20 12:34:09,324 - INFO - Deleting VM ctest-TestBasicPolicy-85683705-13646190 2026-05-20 12:34:09,393 - INFO - Deleting VM ctest-TestBasicPolicy-85683705-66336108 2026-05-20 12:34:09,757 - INFO - Deleted policy ctest-policy-allow-all-36210398 2026-05-20 12:34:09,757 - INFO - Deleting VN ctest-vn-52469693 2026-05-20 12:34:09,792 - DEBUG - VN 30ae979d-2231-4601-aef7-155728dad296 still in use: Unable to complete operation on network 30ae979d-2231-4601-aef7-155728dad296. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34fc995b-85e0-48d9-9ec8-c5502ae738d2'] 2026-05-20 12:34:09,792 - WARNING - Deleting VN ctest-vn-52469693 failed..Will retry 2026-05-20 12:34:11,906 - DEBUG - Response for deleting network () 2026-05-20 12:34:11,906 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a0397d08-9e59-4015-bdc3-9d3ae960ae24 2026-05-20 12:34:11,913 - DEBUG - Response Code: 404 2026-05-20 12:34:11,913 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-20 12:34:11,919 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a9782170-3914-47e9-9ea4-bc41b6f15807 2026-05-20 12:34:11,971 - DEBUG - Requesting: http://10.0.0.242:8082/project/6db5287d-6682-4ebe-8a59-fe20da5da382 2026-05-20 12:34:12,044 - INFO - Validated that VN ctest-vn-52469693 is not found in API Server 2026-05-20 12:34:12,053 - DEBUG - VN ctest-vn-52469693 is not present in Agent 10.0.0.242 2026-05-20 12:34:12,053 - INFO - Validated that VN ctest-vn-52469693 is not in any agent 2026-05-20 12:34:12,065 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52469693 info 2026-05-20 12:34:12,065 - INFO - Deleting VN ctest-vn-04349331 2026-05-20 12:34:12,163 - DEBUG - Response for deleting network () 2026-05-20 12:34:12,163 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/24c61fe9-b16d-4e7a-8f25-8950268f0ba4 2026-05-20 12:34:12,169 - DEBUG - Response Code: 404 2026-05-20 12:34:12,171 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-20 12:34:12,183 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a9782170-3914-47e9-9ea4-bc41b6f15807 2026-05-20 12:34:12,238 - DEBUG - Requesting: http://10.0.0.242:8082/project/6db5287d-6682-4ebe-8a59-fe20da5da382 2026-05-20 12:34:12,312 - INFO - Validated that VN ctest-vn-04349331 is not found in API Server 2026-05-20 12:34:12,322 - DEBUG - VN ctest-vn-04349331 is not present in Agent 10.0.0.242 2026-05-20 12:34:12,322 - INFO - Validated that VN ctest-vn-04349331 is not in any agent 2026-05-20 12:34:12,336 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04349331 info 2026-05-20 12:34:12,590 - DEBUG - No XMPP flaps were noticed during the test 2026-05-20 12:34:12,590 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-05-20 12:34:12,590 - INFO - -------------------------------------------------------------------------------- 2026-05-20 12:34:13,263 - INFO - Deleted project: ctest-TestBasicPolicy-85683705, ID : 6db5287d-6682-4ebe-8a59-fe20da5da382