2026-10-22 18:10:20,510 - INFO - Domain Default found not creating 2026-10-22 18:10:20,766 - INFO - Project ctest-TestBasicPolicy-68132619 not found, creating it 2026-10-22 18:10:21,364 - INFO - Created Project:ctest-TestBasicPolicy-68132619, ID : b1e335a1-1796-4f62-b013-3e23bc8abf6f 2026-10-22 18:10:23,543 - INFO - ================================================================================ 2026-10-22 18:10:23,543 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-22 18:10:23,543 - 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-22 18:10:23,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-10-22 18:10:23,836 - INFO - Initial checks done. Running the testcase now 2026-10-22 18:10:23,836 - INFO - 2026-10-22 18:10:24,636 - DEBUG - Response for create_network : {'network': {'id': '04d967a8-99ff-40f6-a143-94ec86b64e46', 'name': 'ctest-vn-69867254', 'tenant_id': 'b1e335a117964f62b0133e23bc8abf6f', 'project_id': 'b1e335a117964f62b0133e23bc8abf6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68132619', 'ctest-vn-69867254'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 18:10:24,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '14a196e5-912a-4a23-bfb8-998d29812a10', 'name': '', 'tenant_id': 'b1e335a117964f62b0133e23bc8abf6f', 'network_id': '04d967a8-99ff-40f6-a143-94ec86b64e46', 'ip_version': 4, 'cidr': '61.44.166.64/26', 'allocation_pools': [{'start': '61.44.166.66', 'end': '61.44.166.126'}], 'gateway_ip': '61.44.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.44.166.66', 'tags': [], 'project_id': 'b1e335a117964f62b0133e23bc8abf6f'}} 2026-10-22 18:10:24,890 - INFO - Created VN ctest-vn-69867254 2026-10-22 18:10:24,945 - DEBUG - VN ctest-vn-69867254 UUID is 04d967a8-99ff-40f6-a143-94ec86b64e46 2026-10-22 18:10:25,303 - DEBUG - Response for create_network : {'network': {'id': '4b723ecf-7a3f-4cb9-a153-903d22487ac2', 'name': 'ctest-vn-85747099', 'tenant_id': 'b1e335a117964f62b0133e23bc8abf6f', 'project_id': 'b1e335a117964f62b0133e23bc8abf6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68132619', 'ctest-vn-85747099'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 18:10:25,520 - DEBUG - Response for create_subnet : {'subnet': {'id': '72f508e1-3ca5-43ae-b1fa-6e991bd1bc62', 'name': '', 'tenant_id': 'b1e335a117964f62b0133e23bc8abf6f', 'network_id': '4b723ecf-7a3f-4cb9-a153-903d22487ac2', 'ip_version': 4, 'cidr': '107.147.248.128/26', 'allocation_pools': [{'start': '107.147.248.130', 'end': '107.147.248.190'}], 'gateway_ip': '107.147.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.147.248.130', 'tags': [], 'project_id': 'b1e335a117964f62b0133e23bc8abf6f'}} 2026-10-22 18:10:25,542 - INFO - Created VN ctest-vn-85747099 2026-10-22 18:10:25,602 - DEBUG - VN ctest-vn-85747099 UUID is 4b723ecf-7a3f-4cb9-a153-903d22487ac2 2026-10-22 18:10:25,731 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-69867254, 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-68132619:ctest-vn-85747099, 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-22 18:10:26,086 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04d967a8-99ff-40f6-a143-94ec86b64e46', 'name': 'ctest-vn-69867254', 'tenant_id': 'b1e335a117964f62b0133e23bc8abf6f', 'project_id': 'b1e335a117964f62b0133e23bc8abf6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['14a196e5-912a-4a23-bfb8-998d29812a10'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68132619', 'ctest-vn-69867254'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68132619', 'ctest-policy-allow-all-06006817']], 'subnet_ipam': [{'subnet_cidr': '61.44.166.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-22 18:10:26,343 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b723ecf-7a3f-4cb9-a153-903d22487ac2', 'name': 'ctest-vn-85747099', 'tenant_id': 'b1e335a117964f62b0133e23bc8abf6f', 'project_id': 'b1e335a117964f62b0133e23bc8abf6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['72f508e1-3ca5-43ae-b1fa-6e991bd1bc62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68132619', 'ctest-vn-85747099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68132619', 'ctest-policy-allow-all-06006817']], 'subnet_ipam': [{'subnet_cidr': '107.147.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-22 18:10:26,522 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-22 18:10:26,951 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-22 18:10:26,988 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b 2026-10-22 18:10:27,006 - DEBUG - Requesting: http://10.0.0.163:8082/project/b1e335a1-1796-4f62-b013-3e23bc8abf6f 2026-10-22 18:10:27,087 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/04d967a8-99ff-40f6-a143-94ec86b64e46 2026-10-22 18:10:27,101 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/04d967a8-99ff-40f6-a143-94ec86b64e46 2026-10-22 18:10:27,114 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/70a75301-c833-4402-a059-965d6c6b037a 2026-10-22 18:10:27,125 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/70a75301-c833-4402-a059-965d6c6b037a 2026-10-22 18:10:27,134 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/43762701-f3a3-42b2-8a72-77915e357c98 2026-10-22 18:10:27,143 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-22 18:10:27,143 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/04d967a8-99ff-40f6-a143-94ec86b64e46 2026-10-22 18:10:27,157 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/70a75301-c833-4402-a059-965d6c6b037a 2026-10-22 18:10:27,177 - INFO - Verified VN network id 12 for VN 04d967a8-99ff-40f6-a143-94ec86b64e46 2026-10-22 18:10:27,177 - INFO - Verifications in API Server for VN ctest-vn-69867254 passed 2026-10-22 18:10:27,177 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/04d967a8-99ff-40f6-a143-94ec86b64e46 2026-10-22 18:10:27,191 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/70a75301-c833-4402-a059-965d6c6b037a 2026-10-22 18:10:27,205 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/70a75301-c833-4402-a059-965d6c6b037a 2026-10-22 18:10:27,218 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/43762701-f3a3-42b2-8a72-77915e357c98 2026-10-22 18:10:27,242 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-69867254', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68132619', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '349424419933733110', 'uuid-lslong': '11620295207139298886'}, 'enable': 'true', 'created': '2026-10-22T18:10:24', 'last-modified': '2026-10-22T18:10:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.193520'} 2026-10-22 18:10:27,255 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-22 18:10:27,255 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69867254 passed 2026-10-22 18:10:27,256 - DEBUG - ====Verifying policy data for ctest-vn-69867254 in API_Server ====== 2026-10-22 18:10:27,256 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-22 18:10:27,265 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b 2026-10-22 18:10:27,283 - DEBUG - Requesting: http://10.0.0.163:8082/project/b1e335a1-1796-4f62-b013-3e23bc8abf6f 2026-10-22 18:10:27,376 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/04d967a8-99ff-40f6-a143-94ec86b64e46 2026-10-22 18:10:27,392 - DEBUG - ==>Verifying data for policy with id: 02f3bc5c-9383-4fa0-9dbd-80dd2ce8067d, fqn: ['default-domain', 'ctest-TestBasicPolicy-68132619', 'ctest-policy-allow-all-06006817'] 2026-10-22 18:10:27,392 - INFO - VN ctest-vn-69867254 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-22 18:10:27,392 - DEBUG - Verifying the vn in opserver 2026-10-22 18:10:27,393 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-69867254 virtual network link through opserver 10.0.0.163 2026-10-22 18:10:27,393 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-10-22 18:10:27,816 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-10-22 18:10:27,912 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-69867254', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-69867254?flat'} 2026-10-22 18:10:27,912 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-69867254 is found in opserver 2026-10-22 18:10:27,928 - DEBUG - Do not have enough data to verify VN in agent 2026-10-22 18:10:27,936 - DEBUG - VRF ids for VN ctest-vn-69867254: {} 2026-10-22 18:10:27,936 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-22 18:10:27,945 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b 2026-10-22 18:10:27,962 - DEBUG - Requesting: http://10.0.0.163:8082/project/b1e335a1-1796-4f62-b013-3e23bc8abf6f 2026-10-22 18:10:28,053 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/4b723ecf-7a3f-4cb9-a153-903d22487ac2 2026-10-22 18:10:28,077 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/4b723ecf-7a3f-4cb9-a153-903d22487ac2 2026-10-22 18:10:28,094 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/5561d481-3ef4-4fc9-83be-16da64a7d255 2026-10-22 18:10:28,107 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/5561d481-3ef4-4fc9-83be-16da64a7d255 2026-10-22 18:10:28,122 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/79091905-6a8b-44be-ab92-613190966f81 2026-10-22 18:10:28,135 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-22 18:10:28,135 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/4b723ecf-7a3f-4cb9-a153-903d22487ac2 2026-10-22 18:10:28,151 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/5561d481-3ef4-4fc9-83be-16da64a7d255 2026-10-22 18:10:28,176 - INFO - Verified VN network id 13 for VN 4b723ecf-7a3f-4cb9-a153-903d22487ac2 2026-10-22 18:10:28,176 - INFO - Verifications in API Server for VN ctest-vn-85747099 passed 2026-10-22 18:10:28,176 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/4b723ecf-7a3f-4cb9-a153-903d22487ac2 2026-10-22 18:10:28,195 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/5561d481-3ef4-4fc9-83be-16da64a7d255 2026-10-22 18:10:28,207 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/5561d481-3ef4-4fc9-83be-16da64a7d255 2026-10-22 18:10:28,218 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/79091905-6a8b-44be-ab92-613190966f81 2026-10-22 18:10:28,234 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-85747099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68132619', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5436476761019731129', 'uuid-lslong': '11624793655415962306'}, 'enable': 'true', 'created': '2026-10-22T18:10:25', 'last-modified': '2026-10-22T18:10:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.909559'} 2026-10-22 18:10:28,243 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-22 18:10:28,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85747099 passed 2026-10-22 18:10:28,243 - DEBUG - ====Verifying policy data for ctest-vn-85747099 in API_Server ====== 2026-10-22 18:10:28,243 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-22 18:10:28,252 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b 2026-10-22 18:10:28,268 - DEBUG - Requesting: http://10.0.0.163:8082/project/b1e335a1-1796-4f62-b013-3e23bc8abf6f 2026-10-22 18:10:28,356 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/4b723ecf-7a3f-4cb9-a153-903d22487ac2 2026-10-22 18:10:28,371 - DEBUG - ==>Verifying data for policy with id: 02f3bc5c-9383-4fa0-9dbd-80dd2ce8067d, fqn: ['default-domain', 'ctest-TestBasicPolicy-68132619', 'ctest-policy-allow-all-06006817'] 2026-10-22 18:10:28,371 - INFO - VN ctest-vn-85747099 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-22 18:10:28,371 - DEBUG - Verifying the vn in opserver 2026-10-22 18:10:28,371 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-85747099 virtual network link through opserver 10.0.0.163 2026-10-22 18:10:28,372 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-10-22 18:10:28,386 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-85747099', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-85747099?flat'} 2026-10-22 18:10:28,386 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-85747099 is found in opserver 2026-10-22 18:10:28,403 - DEBUG - Do not have enough data to verify VN in agent 2026-10-22 18:10:28,411 - DEBUG - VRF ids for VN ctest-vn-85747099: {} 2026-10-22 18:10:28,504 - DEBUG - Services list from nova: [, , ] 2026-10-22 18:10:29,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6387-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6387-1) 2026-10-22 18:10:29,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6387-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6387-1) 2026-10-22 18:10:29,540 - INFO - Waiting for VM ctest-TestBasicPolicy-68132619-97029644 to be up.. 2026-10-22 18:10:29,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:10:34,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:10:39,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:10:44,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:10:49,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:10:55,038 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:11:00,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:11:05,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:11:10,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 18:11:15,503 - DEBUG - VM is in ACTIVE state now 2026-10-22 18:11:15,503 - INFO - VM name : ctest-TestBasicPolicy-68132619-97029644 2026-10-22 18:11:15,617 - DEBUG - VM ctest-TestBasicPolicy-68132619-97029644 ID is 675608ad-77e6-4945-abd3-75ac875dfd0f 2026-10-22 18:11:15,649 - DEBUG - VM ctest-TestBasicPolicy-68132619-97029644 launched on Node cn-jenkins-deploy-platform-ansible-os-6387-1 2026-10-22 18:11:15,758 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/675608ad-77e6-4945-abd3-75ac875dfd0f 2026-10-22 18:11:15,770 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/b5c59240-2f32-4b63-8d61-1be024c87a6b 2026-10-22 18:11:19,058 - 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 1008ms') 2026-10-22 18:11:19,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68132619-97029644 failed! 2026-10-22 18:11:19,122 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-69867254 is 61.44.166.65 and allocation pool is NOT set 2026-10-22 18:11:21,197 - 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=7.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.713 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.713/4.136/7.559/3.423 ms') 2026-10-22 18:11:21,198 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68132619-97029644 passed 2026-10-22 18:11:21,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 18:11:21,354 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68132619-97029644, IP 61.44.166.67, Port 22 2026-10-22 18:11:21,531 - DEBUG - VM ctest-TestBasicPolicy-68132619-97029644 is ready for SSH connections 2026-10-22 18:11:21,532 - INFO - Waiting for VM ctest-TestBasicPolicy-68132619-14537908 to be up.. 2026-10-22 18:11:21,632 - DEBUG - VM is in ACTIVE state now 2026-10-22 18:11:21,632 - INFO - VM name : ctest-TestBasicPolicy-68132619-14537908 2026-10-22 18:11:21,733 - DEBUG - VM ctest-TestBasicPolicy-68132619-14537908 ID is 598bbb93-7bc3-4b8e-a935-ff6c0b9fea6d 2026-10-22 18:11:21,734 - DEBUG - VM ctest-TestBasicPolicy-68132619-14537908 launched on Node cn-jenkins-deploy-platform-ansible-os-6387-1 2026-10-22 18:11:21,852 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/598bbb93-7bc3-4b8e-a935-ff6c0b9fea6d 2026-10-22 18:11:21,866 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/1ba9861d-d7eb-40d0-88e6-979d0d7035f3 2026-10-22 18:11:25,158 - 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 1017ms') 2026-10-22 18:11:25,158 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68132619-14537908 failed! 2026-10-22 18:11:25,218 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68132619:ctest-vn-85747099 is 107.147.248.129 and allocation pool is NOT set 2026-10-22 18:11:27,288 - 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=19.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.900 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.900/9.938/18.976/9.038 ms') 2026-10-22 18:11:27,289 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68132619-14537908 passed 2026-10-22 18:11:27,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 18:11:27,450 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68132619-14537908, IP 107.147.248.131, Port 22 2026-10-22 18:11:27,625 - DEBUG - VM ctest-TestBasicPolicy-68132619-14537908 is ready for SSH connections 2026-10-22 18:11:27,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 18:11:27,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.147.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-10-22 18:11:27,625 - DEBUG - ping -s 56 -c 3 -W 1 107.147.248.131 2026-10-22 18:11:31,791 - DEBUG - PING 107.147.248.131 (107.147.248.131): 56 data bytes 64 bytes from 107.147.248.131: seq=0 ttl=63 time=4.580 ms 64 bytes from 107.147.248.131: seq=1 ttl=63 time=6.323 ms 64 bytes from 107.147.248.131: seq=2 ttl=63 time=1.278 ms --- 107.147.248.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.278/4.060/6.323 ms 2026-10-22 18:11:31,791 - INFO - Ping to IP 107.147.248.131 from VM ctest-TestBasicPolicy-68132619-97029644 passed 2026-10-22 18:11:31,989 - DEBUG - Policy Update Response {"network-policy": {"uuid": "02f3bc5c-9383-4fa0-9dbd-80dd2ce8067d", "href": "http://10.0.0.163:8082/network-policy/02f3bc5c-9383-4fa0-9dbd-80dd2ce8067d"}} 2026-10-22 18:11:31,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 18:11:31,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.147.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-10-22 18:11:31,990 - DEBUG - ping -s 56 -c 3 -W 1 107.147.248.131 2026-10-22 18:11:35,153 - DEBUG - PING 107.147.248.131 (107.147.248.131): 56 data bytes 64 bytes from 107.147.248.131: seq=0 ttl=63 time=2.235 ms --- 107.147.248.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.235/2.235/2.235 ms 2026-10-22 18:11:35,154 - WARNING - Ping to IP 107.147.248.131 from VM ctest-TestBasicPolicy-68132619-97029644 failed 2026-10-22 18:11:35,154 - INFO - Deleting VM ctest-TestBasicPolicy-68132619-14537908 2026-10-22 18:11:35,278 - INFO - Deleting VM ctest-TestBasicPolicy-68132619-97029644 2026-10-22 18:11:35,804 - INFO - Deleted policy ctest-policy-allow-all-06006817 2026-10-22 18:11:35,804 - INFO - Deleting VN ctest-vn-85747099 2026-10-22 18:11:35,860 - DEBUG - VN 4b723ecf-7a3f-4cb9-a153-903d22487ac2 still in use: Unable to complete operation on network 4b723ecf-7a3f-4cb9-a153-903d22487ac2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e58f6447-b55e-448e-af16-6d3e1040772a'] 2026-10-22 18:11:35,860 - WARNING - Deleting VN ctest-vn-85747099 failed..Will retry 2026-10-22 18:11:37,923 - DEBUG - VN 4b723ecf-7a3f-4cb9-a153-903d22487ac2 still in use: Unable to complete operation on network 4b723ecf-7a3f-4cb9-a153-903d22487ac2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a1b7128-867c-4c9d-8a7f-c7c8a9d59d55'] 2026-10-22 18:11:37,923 - WARNING - Deleting VN ctest-vn-85747099 failed..Will retry 2026-10-22 18:11:40,073 - DEBUG - Response for deleting network () 2026-10-22 18:11:40,073 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/5561d481-3ef4-4fc9-83be-16da64a7d255 2026-10-22 18:11:40,089 - DEBUG - Response Code: 404 2026-10-22 18:11:40,089 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-22 18:11:40,097 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b 2026-10-22 18:11:40,162 - DEBUG - Requesting: http://10.0.0.163:8082/project/b1e335a1-1796-4f62-b013-3e23bc8abf6f 2026-10-22 18:11:40,248 - INFO - Validated that VN ctest-vn-85747099 is not found in API Server 2026-10-22 18:11:40,263 - DEBUG - VN ctest-vn-85747099 is not present in Agent 10.0.0.163 2026-10-22 18:11:40,263 - INFO - Validated that VN ctest-vn-85747099 is not in any agent 2026-10-22 18:11:40,283 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85747099 info 2026-10-22 18:11:40,283 - INFO - Deleting VN ctest-vn-69867254 2026-10-22 18:11:40,399 - DEBUG - Response for deleting network () 2026-10-22 18:11:40,399 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/70a75301-c833-4402-a059-965d6c6b037a 2026-10-22 18:11:40,404 - DEBUG - Response Code: 404 2026-10-22 18:11:40,404 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-10-22 18:11:40,416 - DEBUG - Requesting: http://10.0.0.163:8082/domain/e6ac93aa-8efa-45a0-980a-4eaf19e4bf1b 2026-10-22 18:11:40,474 - DEBUG - Requesting: http://10.0.0.163:8082/project/b1e335a1-1796-4f62-b013-3e23bc8abf6f 2026-10-22 18:11:40,561 - INFO - Validated that VN ctest-vn-69867254 is not found in API Server 2026-10-22 18:11:40,582 - DEBUG - VN ctest-vn-69867254 is not present in Agent 10.0.0.163 2026-10-22 18:11:40,582 - INFO - Validated that VN ctest-vn-69867254 is not in any agent 2026-10-22 18:11:40,605 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69867254 info 2026-10-22 18:11:40,888 - DEBUG - No XMPP flaps were noticed during the test
2026-10-22 18:11:40,888 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:17]
2026-10-22 18:11:40,888 - INFO - -------------------------------------------------------------------------------- 2026-10-22 18:11:41,848 - INFO - Deleted project: ctest-TestBasicPolicy-68132619, ID : b1e335a1-1796-4f62-b013-3e23bc8abf6f