2026-08-21 06:33:23,062 - INFO - Domain Default found not creating 2026-08-21 06:33:23,235 - INFO - Project ctest-TestBasicPolicy-22436032 not found, creating it 2026-08-21 06:33:23,709 - INFO - Created Project:ctest-TestBasicPolicy-22436032, ID : f2564628-9427-44f3-9821-095a5f1f2a65 2026-08-21 06:33:25,217 - INFO - ================================================================================ 2026-08-21 06:33:25,218 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 06:33:25,218 - 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-08-21 06:33:25,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-21 06:33:25,473 - INFO - Initial checks done. Running the testcase now 2026-08-21 06:33:25,473 - INFO - 2026-08-21 06:33:26,044 - DEBUG - Response for create_network : {'network': {'id': '3430a3dd-acf9-43f0-9465-0a77bbc080c5', 'name': 'ctest-vn-81676346', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'project_id': 'f2564628942744f39821095a5f1f2a65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-vn-81676346'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 06:33:26,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '58d647ca-518a-49e4-b0ba-62fbd5d02d66', 'name': '', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'network_id': '3430a3dd-acf9-43f0-9465-0a77bbc080c5', 'ip_version': 4, 'cidr': '32.42.44.128/26', 'allocation_pools': [{'start': '32.42.44.130', 'end': '32.42.44.190'}], 'gateway_ip': '32.42.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.42.44.130', 'tags': [], 'project_id': 'f2564628942744f39821095a5f1f2a65'}} 2026-08-21 06:33:26,296 - INFO - Created VN ctest-vn-81676346 2026-08-21 06:33:26,348 - DEBUG - VN ctest-vn-81676346 UUID is 3430a3dd-acf9-43f0-9465-0a77bbc080c5 2026-08-21 06:33:26,675 - DEBUG - Response for create_network : {'network': {'id': 'ade40504-8316-4e17-8993-e18b066962c7', 'name': 'ctest-vn-89619466', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'project_id': 'f2564628942744f39821095a5f1f2a65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-vn-89619466'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 06:33:26,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '4efc857a-78b3-44ad-ae3d-f703adb9299d', 'name': '', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'network_id': 'ade40504-8316-4e17-8993-e18b066962c7', 'ip_version': 4, 'cidr': '70.225.85.0/26', 'allocation_pools': [{'start': '70.225.85.2', 'end': '70.225.85.62'}], 'gateway_ip': '70.225.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.225.85.2', 'tags': [], 'project_id': 'f2564628942744f39821095a5f1f2a65'}} 2026-08-21 06:33:26,904 - INFO - Created VN ctest-vn-89619466 2026-08-21 06:33:26,955 - DEBUG - VN ctest-vn-89619466 UUID is ade40504-8316-4e17-8993-e18b066962c7 2026-08-21 06:33:27,103 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346, 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-22436032:ctest-vn-89619466, 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-08-21 06:33:27,408 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3430a3dd-acf9-43f0-9465-0a77bbc080c5', 'name': 'ctest-vn-81676346', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'project_id': 'f2564628942744f39821095a5f1f2a65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58d647ca-518a-49e4-b0ba-62fbd5d02d66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-vn-81676346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-policy-allow-all-68289050']], 'subnet_ipam': [{'subnet_cidr': '32.42.44.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 06:33:27,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ade40504-8316-4e17-8993-e18b066962c7', 'name': 'ctest-vn-89619466', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'project_id': 'f2564628942744f39821095a5f1f2a65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4efc857a-78b3-44ad-ae3d-f703adb9299d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-vn-89619466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-policy-allow-all-68289050']], 'subnet_ipam': [{'subnet_cidr': '70.225.85.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 06:33:27,807 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 06:33:28,132 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 06:33:28,162 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8 2026-08-21 06:33:28,174 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65 2026-08-21 06:33:28,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5 2026-08-21 06:33:28,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5 2026-08-21 06:33:28,274 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95 2026-08-21 06:33:28,282 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95 2026-08-21 06:33:28,289 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/84d2599a-f534-45d1-aa7c-5f86d7dc7504 2026-08-21 06:33:28,296 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 06:33:28,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5 2026-08-21 06:33:28,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95 2026-08-21 06:33:28,320 - INFO - Verified VN network id 11 for VN 3430a3dd-acf9-43f0-9465-0a77bbc080c5 2026-08-21 06:33:28,320 - INFO - Verifications in API Server for VN ctest-vn-81676346 passed 2026-08-21 06:33:28,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5 2026-08-21 06:33:28,329 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95 2026-08-21 06:33:28,336 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95 2026-08-21 06:33:28,342 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/84d2599a-f534-45d1-aa7c-5f86d7dc7504 2026-08-21 06:33:28,354 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22436032', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3760685861339481072', 'uuid-lslong': '10692964399628452037'}, 'enable': 'true', 'created': '2026-08-21T06:33:26', 'last-modified': '2026-08-21T06:33:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.969883'} 2026-08-21 06:33:28,360 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 06:33:28,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81676346 passed 2026-08-21 06:33:28,361 - DEBUG - ====Verifying policy data for ctest-vn-81676346 in API_Server ====== 2026-08-21 06:33:28,361 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 06:33:28,367 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8 2026-08-21 06:33:28,377 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65 2026-08-21 06:33:28,453 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5 2026-08-21 06:33:28,463 - DEBUG - ==>Verifying data for policy with id: e141d15b-b910-416a-8d14-49785a850091, fqn: ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-policy-allow-all-68289050'] 2026-08-21 06:33:28,463 - INFO - VN ctest-vn-81676346 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 06:33:28,463 - DEBUG - Verifying the vn in opserver 2026-08-21 06:33:28,463 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346 virtual network link through opserver 10.0.0.38 2026-08-21 06:33:28,463 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-21 06:33:28,786 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-21 06:33:28,839 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346?flat'} 2026-08-21 06:33:28,839 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346 is found in opserver 2026-08-21 06:33:28,850 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 06:33:28,854 - DEBUG - VRF ids for VN ctest-vn-81676346: {} 2026-08-21 06:33:28,854 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 06:33:28,859 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8 2026-08-21 06:33:28,869 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65 2026-08-21 06:33:28,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7 2026-08-21 06:33:28,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7 2026-08-21 06:33:28,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40 2026-08-21 06:33:28,974 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40 2026-08-21 06:33:28,980 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c190ba58-5e9a-4e0f-8d41-87528f14f295 2026-08-21 06:33:28,986 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-21 06:33:28,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7 2026-08-21 06:33:28,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40 2026-08-21 06:33:29,007 - INFO - Verified VN network id 14 for VN ade40504-8316-4e17-8993-e18b066962c7 2026-08-21 06:33:29,007 - INFO - Verifications in API Server for VN ctest-vn-89619466 passed 2026-08-21 06:33:29,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7 2026-08-21 06:33:29,015 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40 2026-08-21 06:33:29,022 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40 2026-08-21 06:33:29,028 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c190ba58-5e9a-4e0f-8d41-87528f14f295 2026-08-21 06:33:29,044 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22436032', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12530145580188847639', 'uuid-lslong': '9913515191996867271'}, 'enable': 'true', 'created': '2026-08-21T06:33:26', 'last-modified': '2026-08-21T06:33:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.422728'} 2026-08-21 06:33:29,049 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-21 06:33:29,049 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89619466 passed 2026-08-21 06:33:29,049 - DEBUG - ====Verifying policy data for ctest-vn-89619466 in API_Server ====== 2026-08-21 06:33:29,050 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 06:33:29,055 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8 2026-08-21 06:33:29,066 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65 2026-08-21 06:33:29,140 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7 2026-08-21 06:33:29,150 - DEBUG - ==>Verifying data for policy with id: e141d15b-b910-416a-8d14-49785a850091, fqn: ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-policy-allow-all-68289050'] 2026-08-21 06:33:29,150 - INFO - VN ctest-vn-89619466 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 06:33:29,150 - DEBUG - Verifying the vn in opserver 2026-08-21 06:33:29,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466 virtual network link through opserver 10.0.0.38 2026-08-21 06:33:29,150 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-21 06:33:29,160 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466?flat'} 2026-08-21 06:33:29,160 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466 is found in opserver 2026-08-21 06:33:29,171 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 06:33:29,177 - DEBUG - VRF ids for VN ctest-vn-89619466: {} 2026-08-21 06:33:29,239 - DEBUG - Services list from nova: [, , ] 2026-08-21 06:33:29,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6199-1) 2026-08-21 06:33:30,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6199-1) 2026-08-21 06:33:30,026 - INFO - Waiting for VM ctest-TestBasicPolicy-22436032-57612684 to be up.. 2026-08-21 06:33:30,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 06:33:35,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 06:33:40,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 06:33:45,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 06:33:50,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 06:33:55,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 06:34:00,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 06:34:05,594 - DEBUG - VM is in ACTIVE state now 2026-08-21 06:34:05,594 - INFO - VM name : ctest-TestBasicPolicy-22436032-57612684 2026-08-21 06:34:05,667 - DEBUG - VM ctest-TestBasicPolicy-22436032-57612684 ID is 30cc68a1-dee3-445a-b51e-b8eda8c12272 2026-08-21 06:34:05,688 - DEBUG - VM ctest-TestBasicPolicy-22436032-57612684 launched on Node cn-jenkins-deploy-platform-ansible-os-6199-1 2026-08-21 06:34:05,764 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/30cc68a1-dee3-445a-b51e-b8eda8c12272 2026-08-21 06:34:05,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c3b3dae0-591e-4b91-aa56-9205b882783e 2026-08-21 06:34:09,031 - 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 1026ms') 2026-08-21 06:34:09,032 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22436032-57612684 failed! 2026-08-21 06:34:09,088 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346 is 32.42.44.129 and allocation pool is NOT set 2026-08-21 06:34:11,146 - 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=5.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.514 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.514/2.770/5.027/2.256 ms') 2026-08-21 06:34:11,147 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22436032-57612684 passed 2026-08-21 06:34:11,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 06:34:11,300 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22436032-57612684, IP 32.42.44.131, Port 22 2026-08-21 06:34:11,466 - DEBUG - VM ctest-TestBasicPolicy-22436032-57612684 is ready for SSH connections 2026-08-21 06:34:11,467 - INFO - Waiting for VM ctest-TestBasicPolicy-22436032-01174337 to be up.. 2026-08-21 06:34:11,542 - DEBUG - VM is in ACTIVE state now 2026-08-21 06:34:11,542 - INFO - VM name : ctest-TestBasicPolicy-22436032-01174337 2026-08-21 06:34:11,620 - DEBUG - VM ctest-TestBasicPolicy-22436032-01174337 ID is 08e26a6a-ec59-45a2-ac1d-069168cc8fb6 2026-08-21 06:34:11,620 - DEBUG - VM ctest-TestBasicPolicy-22436032-01174337 launched on Node cn-jenkins-deploy-platform-ansible-os-6199-1 2026-08-21 06:34:11,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08e26a6a-ec59-45a2-ac1d-069168cc8fb6 2026-08-21 06:34:11,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7edef2c-bf90-4c19-b356-d73a6eec5577 2026-08-21 06:34:14,952 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-08-21 06:34:14,952 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22436032-01174337 failed! 2026-08-21 06:34:15,012 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466 is 70.225.85.1 and allocation pool is NOT set 2026-08-21 06:34:17,082 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/2.139/3.719/1.579 ms') 2026-08-21 06:34:17,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22436032-01174337 passed 2026-08-21 06:34:17,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 06:34:17,232 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22436032-01174337, IP 70.225.85.3, Port 22 2026-08-21 06:34:17,391 - DEBUG - VM ctest-TestBasicPolicy-22436032-01174337 is ready for SSH connections 2026-08-21 06:34:17,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 06:34:17,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.225.85.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-21 06:34:17,392 - DEBUG - ping -s 56 -c 3 -W 1 70.225.85.3 2026-08-21 06:34:21,325 - DEBUG - PING 70.225.85.3 (70.225.85.3): 56 data bytes 64 bytes from 70.225.85.3: seq=0 ttl=63 time=4.532 ms 64 bytes from 70.225.85.3: seq=1 ttl=63 time=0.922 ms 64 bytes from 70.225.85.3: seq=2 ttl=63 time=0.978 ms --- 70.225.85.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.922/2.144/4.532 ms 2026-08-21 06:34:21,325 - INFO - Ping to IP 70.225.85.3 from VM ctest-TestBasicPolicy-22436032-57612684 passed 2026-08-21 06:34:21,503 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e141d15b-b910-416a-8d14-49785a850091", "href": "http://10.0.0.38:8082/network-policy/e141d15b-b910-416a-8d14-49785a850091"}} 2026-08-21 06:34:21,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 06:34:21,504 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.225.85.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-21 06:34:21,504 - DEBUG - ping -s 56 -c 3 -W 1 70.225.85.3 2026-08-21 06:34:24,626 - DEBUG - PING 70.225.85.3 (70.225.85.3): 56 data bytes 64 bytes from 70.225.85.3: seq=0 ttl=63 time=2.116 ms --- 70.225.85.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.116/2.116/2.116 ms 2026-08-21 06:34:24,626 - WARNING - Ping to IP 70.225.85.3 from VM ctest-TestBasicPolicy-22436032-57612684 failed 2026-08-21 06:34:24,626 - INFO - Deleting VM ctest-TestBasicPolicy-22436032-01174337 2026-08-21 06:34:24,700 - INFO - Deleting VM ctest-TestBasicPolicy-22436032-57612684 2026-08-21 06:34:25,077 - INFO - Deleted policy ctest-policy-allow-all-68289050 2026-08-21 06:34:25,077 - INFO - Deleting VN ctest-vn-89619466 2026-08-21 06:34:25,111 - DEBUG - VN ade40504-8316-4e17-8993-e18b066962c7 still in use: Unable to complete operation on network ade40504-8316-4e17-8993-e18b066962c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0e2fc60d-4bd9-4d19-aa4c-9e8a7449cbf8'] 2026-08-21 06:34:25,111 - WARNING - Deleting VN ctest-vn-89619466 failed..Will retry 2026-08-21 06:34:27,217 - DEBUG - Response for deleting network () 2026-08-21 06:34:27,217 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40 2026-08-21 06:34:27,224 - DEBUG - Response Code: 404 2026-08-21 06:34:27,224 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 06:34:27,236 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8 2026-08-21 06:34:27,298 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65 2026-08-21 06:34:27,373 - INFO - Validated that VN ctest-vn-89619466 is not found in API Server 2026-08-21 06:34:27,385 - DEBUG - VN ctest-vn-89619466 is not present in Agent 10.0.0.38 2026-08-21 06:34:27,385 - INFO - Validated that VN ctest-vn-89619466 is not in any agent 2026-08-21 06:34:27,402 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89619466 info 2026-08-21 06:34:27,402 - INFO - Deleting VN ctest-vn-81676346 2026-08-21 06:34:27,504 - DEBUG - Response for deleting network () 2026-08-21 06:34:27,505 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95 2026-08-21 06:34:27,512 - DEBUG - Response Code: 404 2026-08-21 06:34:27,513 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-21 06:34:27,518 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8 2026-08-21 06:34:27,572 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65 2026-08-21 06:34:27,646 - INFO - Validated that VN ctest-vn-81676346 is not found in API Server 2026-08-21 06:34:27,659 - DEBUG - VN ctest-vn-81676346 is not present in Agent 10.0.0.38 2026-08-21 06:34:27,659 - INFO - Validated that VN ctest-vn-81676346 is not in any agent 2026-08-21 06:34:27,676 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81676346 info 2026-08-21 06:34:27,933 - DEBUG - No XMPP flaps were noticed during the test 2026-08-21 06:34:27,933 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02] 2026-08-21 06:34:27,933 - INFO - -------------------------------------------------------------------------------- 2026-08-21 06:34:28,684 - INFO - Deleted project: ctest-TestBasicPolicy-22436032, ID : f2564628-9427-44f3-9821-095a5f1f2a65