2026-10-06 11:47:49,169 - INFO - Domain Default found not creating 2026-10-06 11:47:49,317 - INFO - Project ctest-TestBasicPolicy-43857245 not found, creating it 2026-10-06 11:47:49,780 - INFO - Created Project:ctest-TestBasicPolicy-43857245, ID : 7ee52b4d-942d-4f17-9c91-2cf58017b2ab 2026-10-06 11:47:51,366 - INFO - ================================================================================ 2026-10-06 11:47:51,366 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-06 11:47:51,366 - 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-10-06 11:47:51,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-10-06 11:47:51,622 - INFO - Initial checks done. Running the testcase now 2026-10-06 11:47:51,622 - INFO - 2026-10-06 11:47:52,220 - DEBUG - Response for create_network : {'network': {'id': '51dcf270-8e50-456c-b3bc-6578595fcb78', 'name': 'ctest-vn-31513360', 'tenant_id': '7ee52b4d942d4f179c912cf58017b2ab', 'project_id': '7ee52b4d942d4f179c912cf58017b2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43857245', 'ctest-vn-31513360'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 11:47:52,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b04b7323-3513-4ca7-a4d5-f89c872e951e', 'name': '', 'tenant_id': '7ee52b4d942d4f179c912cf58017b2ab', 'network_id': '51dcf270-8e50-456c-b3bc-6578595fcb78', 'ip_version': 4, 'cidr': '52.5.191.64/26', 'allocation_pools': [{'start': '52.5.191.66', 'end': '52.5.191.126'}], 'gateway_ip': '52.5.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.5.191.66', 'tags': [], 'project_id': '7ee52b4d942d4f179c912cf58017b2ab'}} 2026-10-06 11:47:52,426 - INFO - Created VN ctest-vn-31513360 2026-10-06 11:47:52,477 - DEBUG - VN ctest-vn-31513360 UUID is 51dcf270-8e50-456c-b3bc-6578595fcb78 2026-10-06 11:47:52,812 - DEBUG - Response for create_network : {'network': {'id': '3936c3c6-548f-4ef3-b504-4d705a92d79c', 'name': 'ctest-vn-40608143', 'tenant_id': '7ee52b4d942d4f179c912cf58017b2ab', 'project_id': '7ee52b4d942d4f179c912cf58017b2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43857245', 'ctest-vn-40608143'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 11:47:52,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb5146a2-5785-4a2a-bcda-b7dad7502d61', 'name': '', 'tenant_id': '7ee52b4d942d4f179c912cf58017b2ab', 'network_id': '3936c3c6-548f-4ef3-b504-4d705a92d79c', 'ip_version': 4, 'cidr': '102.144.1.128/26', 'allocation_pools': [{'start': '102.144.1.130', 'end': '102.144.1.190'}], 'gateway_ip': '102.144.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.144.1.130', 'tags': [], 'project_id': '7ee52b4d942d4f179c912cf58017b2ab'}} 2026-10-06 11:47:52,979 - INFO - Created VN ctest-vn-40608143 2026-10-06 11:47:53,029 - DEBUG - VN ctest-vn-40608143 UUID is 3936c3c6-548f-4ef3-b504-4d705a92d79c 2026-10-06 11:47:53,177 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-31513360, 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-43857245:ctest-vn-40608143, 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-10-06 11:47:53,462 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '51dcf270-8e50-456c-b3bc-6578595fcb78', 'name': 'ctest-vn-31513360', 'tenant_id': '7ee52b4d942d4f179c912cf58017b2ab', 'project_id': '7ee52b4d942d4f179c912cf58017b2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b04b7323-3513-4ca7-a4d5-f89c872e951e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43857245', 'ctest-vn-31513360'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43857245', 'ctest-policy-allow-all-79454860']], 'subnet_ipam': [{'subnet_cidr': '52.5.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-06 11:47:53,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3936c3c6-548f-4ef3-b504-4d705a92d79c', 'name': 'ctest-vn-40608143', 'tenant_id': '7ee52b4d942d4f179c912cf58017b2ab', 'project_id': '7ee52b4d942d4f179c912cf58017b2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bb5146a2-5785-4a2a-bcda-b7dad7502d61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43857245', 'ctest-vn-40608143'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43857245', 'ctest-policy-allow-all-79454860']], 'subnet_ipam': [{'subnet_cidr': '102.144.1.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-06 11:47:53,869 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-06 11:47:54,234 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-06 11:47:54,262 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c37a85e0-04c5-49bc-901e-0717a992399e 2026-10-06 11:47:54,275 - DEBUG - Requesting: http://10.0.0.163:8082/project/7ee52b4d-942d-4f17-9c91-2cf58017b2ab 2026-10-06 11:47:54,345 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/51dcf270-8e50-456c-b3bc-6578595fcb78 2026-10-06 11:47:54,356 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/51dcf270-8e50-456c-b3bc-6578595fcb78 2026-10-06 11:47:54,364 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8c4709c0-b012-4a73-a592-5c7a76df4e1c 2026-10-06 11:47:54,371 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8c4709c0-b012-4a73-a592-5c7a76df4e1c 2026-10-06 11:47:54,377 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/918e9617-74ab-4d9a-ba89-e201ac65e65c 2026-10-06 11:47:54,382 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-06 11:47:54,382 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/51dcf270-8e50-456c-b3bc-6578595fcb78 2026-10-06 11:47:54,391 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8c4709c0-b012-4a73-a592-5c7a76df4e1c 2026-10-06 11:47:54,403 - INFO - Verified VN network id 12 for VN 51dcf270-8e50-456c-b3bc-6578595fcb78 2026-10-06 11:47:54,403 - INFO - Verifications in API Server for VN ctest-vn-31513360 passed 2026-10-06 11:47:54,403 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/51dcf270-8e50-456c-b3bc-6578595fcb78 2026-10-06 11:47:54,411 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8c4709c0-b012-4a73-a592-5c7a76df4e1c 2026-10-06 11:47:54,416 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8c4709c0-b012-4a73-a592-5c7a76df4e1c 2026-10-06 11:47:54,422 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/918e9617-74ab-4d9a-ba89-e201ac65e65c 2026-10-06 11:47:54,433 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-31513360', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43857245', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5898856177186391404', 'uuid-lslong': '12951338195980635000'}, 'enable': 'true', 'created': '2026-10-06T11:47:52', 'last-modified': '2026-10-06T11:47:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988780'} 2026-10-06 11:47:54,440 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-06 11:47:54,440 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31513360 passed 2026-10-06 11:47:54,440 - DEBUG - ====Verifying policy data for ctest-vn-31513360 in API_Server ====== 2026-10-06 11:47:54,440 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-06 11:47:54,444 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c37a85e0-04c5-49bc-901e-0717a992399e 2026-10-06 11:47:54,454 - DEBUG - Requesting: http://10.0.0.163:8082/project/7ee52b4d-942d-4f17-9c91-2cf58017b2ab 2026-10-06 11:47:54,525 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/51dcf270-8e50-456c-b3bc-6578595fcb78 2026-10-06 11:47:54,535 - DEBUG - ==>Verifying data for policy with id: 8b0f0966-6333-483e-af5b-27e366baa169, fqn: ['default-domain', 'ctest-TestBasicPolicy-43857245', 'ctest-policy-allow-all-79454860'] 2026-10-06 11:47:54,536 - INFO - VN ctest-vn-31513360 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-06 11:47:54,536 - DEBUG - Verifying the vn in opserver 2026-10-06 11:47:54,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-31513360 virtual network link through opserver 10.0.0.163 2026-10-06 11:47:54,536 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-10-06 11:47:54,898 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-10-06 11:47:54,945 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-31513360', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-31513360?flat'} 2026-10-06 11:47:54,945 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-31513360 is found in opserver 2026-10-06 11:47:54,955 - DEBUG - Do not have enough data to verify VN in agent 2026-10-06 11:47:54,960 - DEBUG - VRF ids for VN ctest-vn-31513360: {} 2026-10-06 11:47:54,960 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-06 11:47:54,965 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c37a85e0-04c5-49bc-901e-0717a992399e 2026-10-06 11:47:54,974 - DEBUG - Requesting: http://10.0.0.163:8082/project/7ee52b4d-942d-4f17-9c91-2cf58017b2ab 2026-10-06 11:47:55,047 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3936c3c6-548f-4ef3-b504-4d705a92d79c 2026-10-06 11:47:55,057 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3936c3c6-548f-4ef3-b504-4d705a92d79c 2026-10-06 11:47:55,065 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/75ea46e7-efb1-47dd-bfec-699e82979c45 2026-10-06 11:47:55,071 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/75ea46e7-efb1-47dd-bfec-699e82979c45 2026-10-06 11:47:55,077 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/9f465b4b-8eeb-4e9b-999d-b925cef856b6 2026-10-06 11:47:55,083 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-06 11:47:55,083 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3936c3c6-548f-4ef3-b504-4d705a92d79c 2026-10-06 11:47:55,091 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/75ea46e7-efb1-47dd-bfec-699e82979c45 2026-10-06 11:47:55,103 - INFO - Verified VN network id 13 for VN 3936c3c6-548f-4ef3-b504-4d705a92d79c 2026-10-06 11:47:55,104 - INFO - Verifications in API Server for VN ctest-vn-40608143 passed 2026-10-06 11:47:55,104 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3936c3c6-548f-4ef3-b504-4d705a92d79c 2026-10-06 11:47:55,112 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/75ea46e7-efb1-47dd-bfec-699e82979c45 2026-10-06 11:47:55,117 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/75ea46e7-efb1-47dd-bfec-699e82979c45 2026-10-06 11:47:55,122 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/9f465b4b-8eeb-4e9b-999d-b925cef856b6 2026-10-06 11:47:55,133 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-40608143', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43857245', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4122697765493886707', 'uuid-lslong': '13043635565723047836'}, 'enable': 'true', 'created': '2026-10-06T11:47:52', 'last-modified': '2026-10-06T11:47:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.459478'} 2026-10-06 11:47:55,139 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-06 11:47:55,139 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40608143 passed 2026-10-06 11:47:55,139 - DEBUG - ====Verifying policy data for ctest-vn-40608143 in API_Server ====== 2026-10-06 11:47:55,139 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-06 11:47:55,144 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c37a85e0-04c5-49bc-901e-0717a992399e 2026-10-06 11:47:55,153 - DEBUG - Requesting: http://10.0.0.163:8082/project/7ee52b4d-942d-4f17-9c91-2cf58017b2ab 2026-10-06 11:47:55,224 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3936c3c6-548f-4ef3-b504-4d705a92d79c 2026-10-06 11:47:55,233 - DEBUG - ==>Verifying data for policy with id: 8b0f0966-6333-483e-af5b-27e366baa169, fqn: ['default-domain', 'ctest-TestBasicPolicy-43857245', 'ctest-policy-allow-all-79454860'] 2026-10-06 11:47:55,233 - INFO - VN ctest-vn-40608143 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-06 11:47:55,233 - DEBUG - Verifying the vn in opserver 2026-10-06 11:47:55,233 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-40608143 virtual network link through opserver 10.0.0.163 2026-10-06 11:47:55,234 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-10-06 11:47:55,243 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-40608143', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-40608143?flat'} 2026-10-06 11:47:55,243 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-40608143 is found in opserver 2026-10-06 11:47:55,254 - DEBUG - Do not have enough data to verify VN in agent 2026-10-06 11:47:55,259 - DEBUG - VRF ids for VN ctest-vn-40608143: {} 2026-10-06 11:47:55,314 - DEBUG - Services list from nova: [, , ] 2026-10-06 11:47:55,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6350-1) 2026-10-06 11:47:56,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6350-1) 2026-10-06 11:47:56,040 - INFO - Waiting for VM ctest-TestBasicPolicy-43857245-27856865 to be up.. 2026-10-06 11:47:56,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:48:01,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:48:06,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:48:11,283 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:48:16,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:48:21,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:48:26,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:48:31,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 11:48:36,646 - DEBUG - VM is in ACTIVE state now 2026-10-06 11:48:36,646 - INFO - VM name : ctest-TestBasicPolicy-43857245-27856865 2026-10-06 11:48:36,717 - DEBUG - VM ctest-TestBasicPolicy-43857245-27856865 ID is d8c36607-ee55-4fa6-ad5f-ee16d217157d 2026-10-06 11:48:36,735 - DEBUG - VM ctest-TestBasicPolicy-43857245-27856865 launched on Node cn-jenkins-deploy-platform-ansible-os-6350-1 2026-10-06 11:48:36,797 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/d8c36607-ee55-4fa6-ad5f-ee16d217157d 2026-10-06 11:48:36,806 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/4ade9756-18ef-4d85-990a-295e256188ea 2026-10-06 11:48:40,047 - 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 1002ms') 2026-10-06 11:48:40,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43857245-27856865 failed! 2026-10-06 11:48:40,101 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43857245:ctest-vn-31513360 is 52.5.191.65 and allocation pool is NOT set 2026-10-06 11:48:42,163 - 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=3.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.366 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.366/1.902/3.438/1.536 ms') 2026-10-06 11:48:42,163 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43857245-27856865 passed 2026-10-06 11:48:42,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 11:48:42,313 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43857245-27856865, IP 52.5.191.67, Port 22 2026-10-06 11:48:42,479 - DEBUG - VM ctest-TestBasicPolicy-43857245-27856865 is ready for SSH connections 2026-10-06 11:48:42,479 - INFO - Waiting for VM ctest-TestBasicPolicy-43857245-35480280 to be up.. 2026-10-06 11:48:42,550 - DEBUG - VM is in ACTIVE state now 2026-10-06 11:48:42,550 - INFO - VM name : ctest-TestBasicPolicy-43857245-35480280 2026-10-06 11:48:42,621 - DEBUG - VM ctest-TestBasicPolicy-43857245-35480280 ID is af762795-120a-4276-8a59-b8878688ff25 2026-10-06 11:48:42,621 - DEBUG - VM ctest-TestBasicPolicy-43857245-35480280 launched on Node cn-jenkins-deploy-platform-ansible-os-6350-1 2026-10-06 11:48:42,688 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/af762795-120a-4276-8a59-b8878688ff25 2026-10-06 11:48:42,695 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/9d21528e-dba5-4def-8332-a40263095164 2026-10-06 11:48:43,933 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/1.775/3.090/1.315 ms') 2026-10-06 11:48:43,933 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43857245-35480280 passed 2026-10-06 11:48:44,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 11:48:44,081 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43857245-35480280, IP 102.144.1.131, Port 22 2026-10-06 11:48:44,240 - DEBUG - VM ctest-TestBasicPolicy-43857245-35480280 is ready for SSH connections 2026-10-06 11:48:44,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 11:48:44,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.144.1.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-10-06 11:48:44,240 - DEBUG - ping -s 56 -c 3 -W 1 102.144.1.131 2026-10-06 11:48:48,152 - DEBUG - PING 102.144.1.131 (102.144.1.131): 56 data bytes 64 bytes from 102.144.1.131: seq=0 ttl=63 time=3.796 ms 64 bytes from 102.144.1.131: seq=1 ttl=63 time=0.778 ms 64 bytes from 102.144.1.131: seq=2 ttl=63 time=0.965 ms --- 102.144.1.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.846/3.796 ms 2026-10-06 11:48:48,152 - INFO - Ping to IP 102.144.1.131 from VM ctest-TestBasicPolicy-43857245-27856865 passed 2026-10-06 11:48:48,329 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8b0f0966-6333-483e-af5b-27e366baa169", "href": "http://10.0.0.163:8082/network-policy/8b0f0966-6333-483e-af5b-27e366baa169"}} 2026-10-06 11:48:48,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 11:48:48,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.144.1.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-10-06 11:48:48,329 - DEBUG - ping -s 56 -c 3 -W 1 102.144.1.131 2026-10-06 11:48:51,447 - DEBUG - PING 102.144.1.131 (102.144.1.131): 56 data bytes 64 bytes from 102.144.1.131: seq=0 ttl=63 time=1.457 ms --- 102.144.1.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.457/1.457/1.457 ms 2026-10-06 11:48:51,447 - WARNING - Ping to IP 102.144.1.131 from VM ctest-TestBasicPolicy-43857245-27856865 failed 2026-10-06 11:48:51,447 - INFO - Deleting VM ctest-TestBasicPolicy-43857245-35480280 2026-10-06 11:48:51,525 - INFO - Deleting VM ctest-TestBasicPolicy-43857245-27856865 2026-10-06 11:48:51,869 - INFO - Deleted policy ctest-policy-allow-all-79454860 2026-10-06 11:48:51,869 - INFO - Deleting VN ctest-vn-40608143 2026-10-06 11:48:51,898 - DEBUG - VN 3936c3c6-548f-4ef3-b504-4d705a92d79c still in use: Unable to complete operation on network 3936c3c6-548f-4ef3-b504-4d705a92d79c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-add1f584-7d9c-4e50-bc87-ed6cdb92897d'] 2026-10-06 11:48:51,898 - WARNING - Deleting VN ctest-vn-40608143 failed..Will retry 2026-10-06 11:48:54,005 - DEBUG - Response for deleting network () 2026-10-06 11:48:54,005 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/75ea46e7-efb1-47dd-bfec-699e82979c45 2026-10-06 11:48:54,010 - DEBUG - Response Code: 404 2026-10-06 11:48:54,010 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-06 11:48:54,017 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c37a85e0-04c5-49bc-901e-0717a992399e 2026-10-06 11:48:54,070 - DEBUG - Requesting: http://10.0.0.163:8082/project/7ee52b4d-942d-4f17-9c91-2cf58017b2ab 2026-10-06 11:48:54,140 - INFO - Validated that VN ctest-vn-40608143 is not found in API Server 2026-10-06 11:48:54,152 - DEBUG - VN ctest-vn-40608143 is not present in Agent 10.0.0.163 2026-10-06 11:48:54,152 - INFO - Validated that VN ctest-vn-40608143 is not in any agent 2026-10-06 11:48:54,169 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40608143 info 2026-10-06 11:48:54,169 - INFO - Deleting VN ctest-vn-31513360 2026-10-06 11:48:54,285 - DEBUG - Response for deleting network () 2026-10-06 11:48:54,285 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/8c4709c0-b012-4a73-a592-5c7a76df4e1c 2026-10-06 11:48:54,294 - DEBUG - Response Code: 404 2026-10-06 11:48:54,294 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-06 11:48:54,300 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c37a85e0-04c5-49bc-901e-0717a992399e 2026-10-06 11:48:54,354 - DEBUG - Requesting: http://10.0.0.163:8082/project/7ee52b4d-942d-4f17-9c91-2cf58017b2ab 2026-10-06 11:48:54,424 - INFO - Validated that VN ctest-vn-31513360 is not found in API Server 2026-10-06 11:48:54,436 - DEBUG - VN ctest-vn-31513360 is not present in Agent 10.0.0.163 2026-10-06 11:48:54,436 - INFO - Validated that VN ctest-vn-31513360 is not in any agent 2026-10-06 11:48:54,450 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31513360 info 2026-10-06 11:48:54,703 - DEBUG - No XMPP flaps were noticed during the test 2026-10-06 11:48:54,703 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03] 2026-10-06 11:48:54,703 - INFO - -------------------------------------------------------------------------------- 2026-10-06 11:48:55,493 - INFO - Deleted project: ctest-TestBasicPolicy-43857245, ID : 7ee52b4d-942d-4f17-9c91-2cf58017b2ab