2026-09-03 16:51:20,276 - INFO - Domain Default found not creating 2026-09-03 16:51:20,487 - INFO - Project ctest-TestBasicPolicy-10806641 not found, creating it 2026-09-03 16:51:21,021 - INFO - Created Project:ctest-TestBasicPolicy-10806641, ID : 2afd5bfc-ff11-4f9d-aa49-9cb75920a182 2026-09-03 16:51:22,899 - INFO - ================================================================================ 2026-09-03 16:51:22,899 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-03 16:51:22,899 - 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-09-03 16:51:23,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-09-03 16:51:23,180 - INFO - Initial checks done. Running the testcase now 2026-09-03 16:51:23,180 - INFO - 2026-09-03 16:51:23,877 - DEBUG - Response for create_network : {'network': {'id': '8e357966-5f0a-4289-b6e3-96a018b8449e', 'name': 'ctest-vn-68347960', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'project_id': '2afd5bfcff114f9daa499cb75920a182', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-vn-68347960'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 16:51:24,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ec92153-c82c-4ce6-a0bf-c5b458d512d4', 'name': '', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'network_id': '8e357966-5f0a-4289-b6e3-96a018b8449e', 'ip_version': 4, 'cidr': '69.92.38.128/26', 'allocation_pools': [{'start': '69.92.38.130', 'end': '69.92.38.190'}], 'gateway_ip': '69.92.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.92.38.130', 'tags': [], 'project_id': '2afd5bfcff114f9daa499cb75920a182'}} 2026-09-03 16:51:24,169 - INFO - Created VN ctest-vn-68347960 2026-09-03 16:51:24,226 - DEBUG - VN ctest-vn-68347960 UUID is 8e357966-5f0a-4289-b6e3-96a018b8449e 2026-09-03 16:51:24,589 - DEBUG - Response for create_network : {'network': {'id': 'f06196e7-3246-4bb6-8bc9-06400dcaa9a7', 'name': 'ctest-vn-99333094', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'project_id': '2afd5bfcff114f9daa499cb75920a182', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-vn-99333094'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 16:51:24,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dfc7aa2-0655-43db-a85b-e6d2f4e4d0ca', 'name': '', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'network_id': 'f06196e7-3246-4bb6-8bc9-06400dcaa9a7', 'ip_version': 4, 'cidr': '35.94.7.64/26', 'allocation_pools': [{'start': '35.94.7.66', 'end': '35.94.7.126'}], 'gateway_ip': '35.94.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.94.7.66', 'tags': [], 'project_id': '2afd5bfcff114f9daa499cb75920a182'}} 2026-09-03 16:51:24,856 - INFO - Created VN ctest-vn-99333094 2026-09-03 16:51:24,910 - DEBUG - VN ctest-vn-99333094 UUID is f06196e7-3246-4bb6-8bc9-06400dcaa9a7 2026-09-03 16:51:25,052 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960, 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-10806641:ctest-vn-99333094, 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-09-03 16:51:25,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e357966-5f0a-4289-b6e3-96a018b8449e', 'name': 'ctest-vn-68347960', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'project_id': '2afd5bfcff114f9daa499cb75920a182', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8ec92153-c82c-4ce6-a0bf-c5b458d512d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-vn-68347960'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-policy-allow-all-38451106']], 'subnet_ipam': [{'subnet_cidr': '69.92.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-03 16:51:25,690 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f06196e7-3246-4bb6-8bc9-06400dcaa9a7', 'name': 'ctest-vn-99333094', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'project_id': '2afd5bfcff114f9daa499cb75920a182', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0dfc7aa2-0655-43db-a85b-e6d2f4e4d0ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-vn-99333094'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-policy-allow-all-38451106']], 'subnet_ipam': [{'subnet_cidr': '35.94.7.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-03 16:51:25,874 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-03 16:51:26,258 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-03 16:51:26,291 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165 2026-09-03 16:51:26,314 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182 2026-09-03 16:51:26,401 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e 2026-09-03 16:51:26,420 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e 2026-09-03 16:51:26,432 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71 2026-09-03 16:51:26,442 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71 2026-09-03 16:51:26,450 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/7c5951d2-aee5-41f1-ad6b-47e56b65d786 2026-09-03 16:51:26,459 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-03 16:51:26,459 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e 2026-09-03 16:51:26,469 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71 2026-09-03 16:51:26,487 - INFO - Verified VN network id 12 for VN 8e357966-5f0a-4289-b6e3-96a018b8449e 2026-09-03 16:51:26,487 - INFO - Verifications in API Server for VN ctest-vn-68347960 passed 2026-09-03 16:51:26,487 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e 2026-09-03 16:51:26,500 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71 2026-09-03 16:51:26,511 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71 2026-09-03 16:51:26,522 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/7c5951d2-aee5-41f1-ad6b-47e56b65d786 2026-09-03 16:51:26,537 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10806641', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10247230007739564681', 'uuid-lslong': '13178542548969866398'}, 'enable': 'true', 'created': '2026-09-03T16:51:23', 'last-modified': '2026-09-03T16:51:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.162279'} 2026-09-03 16:51:26,547 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-03 16:51:26,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68347960 passed 2026-09-03 16:51:26,547 - DEBUG - ====Verifying policy data for ctest-vn-68347960 in API_Server ====== 2026-09-03 16:51:26,547 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-03 16:51:26,555 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165 2026-09-03 16:51:26,569 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182 2026-09-03 16:51:26,666 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e 2026-09-03 16:51:26,676 - DEBUG - ==>Verifying data for policy with id: 5b66897b-7a64-4804-af7e-645a11d430e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-policy-allow-all-38451106'] 2026-09-03 16:51:26,676 - INFO - VN ctest-vn-68347960 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-03 16:51:26,677 - DEBUG - Verifying the vn in opserver 2026-09-03 16:51:26,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960 virtual network link through opserver 10.0.0.189 2026-09-03 16:51:26,677 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-03 16:51:27,051 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-03 16:51:27,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960?flat'} 2026-09-03 16:51:27,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960 is found in opserver 2026-09-03 16:51:27,126 - DEBUG - Do not have enough data to verify VN in agent 2026-09-03 16:51:27,133 - DEBUG - VRF ids for VN ctest-vn-68347960: {} 2026-09-03 16:51:27,133 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-03 16:51:27,140 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165 2026-09-03 16:51:27,155 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182 2026-09-03 16:51:27,235 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7 2026-09-03 16:51:27,255 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7 2026-09-03 16:51:27,271 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e 2026-09-03 16:51:27,283 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e 2026-09-03 16:51:27,297 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/721d0b80-1e85-46fb-b039-4820cd03195c 2026-09-03 16:51:27,311 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-03 16:51:27,312 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7 2026-09-03 16:51:27,342 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e 2026-09-03 16:51:27,361 - INFO - Verified VN network id 13 for VN f06196e7-3246-4bb6-8bc9-06400dcaa9a7 2026-09-03 16:51:27,361 - INFO - Verifications in API Server for VN ctest-vn-99333094 passed 2026-09-03 16:51:27,362 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7 2026-09-03 16:51:27,373 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e 2026-09-03 16:51:27,382 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e 2026-09-03 16:51:27,391 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/721d0b80-1e85-46fb-b039-4820cd03195c 2026-09-03 16:51:27,407 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10806641', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17321291561568717750', 'uuid-lslong': '10072588913769884071'}, 'enable': 'true', 'created': '2026-09-03T16:51:24', 'last-modified': '2026-09-03T16:51:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.758924'} 2026-09-03 16:51:27,416 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-03 16:51:27,416 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99333094 passed 2026-09-03 16:51:27,416 - DEBUG - ====Verifying policy data for ctest-vn-99333094 in API_Server ====== 2026-09-03 16:51:27,416 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-03 16:51:27,426 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165 2026-09-03 16:51:27,444 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182 2026-09-03 16:51:27,533 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7 2026-09-03 16:51:27,547 - DEBUG - ==>Verifying data for policy with id: 5b66897b-7a64-4804-af7e-645a11d430e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-policy-allow-all-38451106'] 2026-09-03 16:51:27,547 - INFO - VN ctest-vn-99333094 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-03 16:51:27,547 - DEBUG - Verifying the vn in opserver 2026-09-03 16:51:27,547 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094 virtual network link through opserver 10.0.0.189 2026-09-03 16:51:27,547 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-03 16:51:27,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094?flat'} 2026-09-03 16:51:27,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094 is found in opserver 2026-09-03 16:51:27,574 - DEBUG - Do not have enough data to verify VN in agent 2026-09-03 16:51:27,580 - DEBUG - VRF ids for VN ctest-vn-99333094: {} 2026-09-03 16:51:27,648 - DEBUG - Services list from nova: [, , ] 2026-09-03 16:51:28,066 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6253-1) 2026-09-03 16:51:28,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6253-1) 2026-09-03 16:51:28,567 - INFO - Waiting for VM ctest-TestBasicPolicy-10806641-45182403 to be up.. 2026-09-03 16:51:28,619 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:51:33,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:51:38,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:51:43,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:51:49,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:51:54,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:51:59,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:52:04,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 16:52:09,436 - DEBUG - VM is in ACTIVE state now 2026-09-03 16:52:09,436 - INFO - VM name : ctest-TestBasicPolicy-10806641-45182403 2026-09-03 16:52:09,539 - DEBUG - VM ctest-TestBasicPolicy-10806641-45182403 ID is afc98b86-5ffe-4c93-9074-f04f13de33a7 2026-09-03 16:52:09,564 - DEBUG - VM ctest-TestBasicPolicy-10806641-45182403 launched on Node cn-jenkins-deploy-platform-ansible-os-6253-1 2026-09-03 16:52:09,666 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/afc98b86-5ffe-4c93-9074-f04f13de33a7 2026-09-03 16:52:09,678 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/b6f3893c-54eb-4e05-8df2-55145f120d4b 2026-09-03 16:52:12,981 - 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 1023ms') 2026-09-03 16:52:12,981 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10806641-45182403 failed! 2026-09-03 16:52:13,042 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960 is 69.92.38.129 and allocation pool is NOT set 2026-09-03 16:52:17,103 - 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 1004ms') 2026-09-03 16:52:17,103 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10806641-45182403 failed! 2026-09-03 16:52:17,162 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960 is 69.92.38.129 and allocation pool is NOT set 2026-09-03 16:52:19,227 - 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=4.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.763 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.763/2.763/4.763/2.000 ms') 2026-09-03 16:52:19,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10806641-45182403 passed 2026-09-03 16:52:19,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 16:52:19,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10806641-45182403, IP 69.92.38.131, Port 22 2026-09-03 16:52:19,552 - DEBUG - VM ctest-TestBasicPolicy-10806641-45182403 is ready for SSH connections 2026-09-03 16:52:19,552 - INFO - Waiting for VM ctest-TestBasicPolicy-10806641-81659105 to be up.. 2026-09-03 16:52:19,652 - DEBUG - VM is in ACTIVE state now 2026-09-03 16:52:19,652 - INFO - VM name : ctest-TestBasicPolicy-10806641-81659105 2026-09-03 16:52:19,743 - DEBUG - VM ctest-TestBasicPolicy-10806641-81659105 ID is 42f9f473-7065-44af-bb0b-9ea8ef2faa48 2026-09-03 16:52:19,743 - DEBUG - VM ctest-TestBasicPolicy-10806641-81659105 launched on Node cn-jenkins-deploy-platform-ansible-os-6253-1 2026-09-03 16:52:19,837 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/42f9f473-7065-44af-bb0b-9ea8ef2faa48 2026-09-03 16:52:19,847 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/c0afd102-fc31-47e8-af54-905d34f13ccd 2026-09-03 16:52:21,097 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.730 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.730/2.348/3.966/1.618 ms') 2026-09-03 16:52:21,097 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10806641-81659105 passed 2026-09-03 16:52:21,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 16:52:21,254 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10806641-81659105, IP 35.94.7.67, Port 22 2026-09-03 16:52:21,423 - DEBUG - VM ctest-TestBasicPolicy-10806641-81659105 is ready for SSH connections 2026-09-03 16:52:21,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 16:52:21,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.94.7.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-03 16:52:21,424 - DEBUG - ping -s 56 -c 3 -W 1 35.94.7.67 2026-09-03 16:52:25,581 - DEBUG - PING 35.94.7.67 (35.94.7.67): 56 data bytes 64 bytes from 35.94.7.67: seq=0 ttl=63 time=4.855 ms 64 bytes from 35.94.7.67: seq=1 ttl=63 time=1.111 ms 64 bytes from 35.94.7.67: seq=2 ttl=63 time=1.128 ms --- 35.94.7.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.111/2.364/4.855 ms 2026-09-03 16:52:25,582 - INFO - Ping to IP 35.94.7.67 from VM ctest-TestBasicPolicy-10806641-45182403 passed 2026-09-03 16:52:25,790 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5b66897b-7a64-4804-af7e-645a11d430e6", "href": "http://10.0.0.189:8082/network-policy/5b66897b-7a64-4804-af7e-645a11d430e6"}} 2026-09-03 16:52:25,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 16:52:25,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.94.7.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-03 16:52:25,791 - DEBUG - ping -s 56 -c 3 -W 1 35.94.7.67 2026-09-03 16:52:28,943 - DEBUG - PING 35.94.7.67 (35.94.7.67): 56 data bytes 64 bytes from 35.94.7.67: seq=0 ttl=63 time=3.218 ms --- 35.94.7.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.218/3.218/3.218 ms 2026-09-03 16:52:28,944 - WARNING - Ping to IP 35.94.7.67 from VM ctest-TestBasicPolicy-10806641-45182403 failed 2026-09-03 16:52:28,944 - INFO - Deleting VM ctest-TestBasicPolicy-10806641-81659105 2026-09-03 16:52:29,044 - INFO - Deleting VM ctest-TestBasicPolicy-10806641-45182403 2026-09-03 16:52:29,502 - INFO - Deleted policy ctest-policy-allow-all-38451106 2026-09-03 16:52:29,502 - INFO - Deleting VN ctest-vn-99333094 2026-09-03 16:52:29,543 - DEBUG - VN f06196e7-3246-4bb6-8bc9-06400dcaa9a7 still in use: Unable to complete operation on network f06196e7-3246-4bb6-8bc9-06400dcaa9a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8386f80a-23c6-437e-a84c-05634fbc5760'] 2026-09-03 16:52:29,544 - WARNING - Deleting VN ctest-vn-99333094 failed..Will retry 2026-09-03 16:52:31,676 - DEBUG - Response for deleting network () 2026-09-03 16:52:31,676 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e 2026-09-03 16:52:31,682 - DEBUG - Response Code: 404 2026-09-03 16:52:31,683 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-03 16:52:31,692 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165 2026-09-03 16:52:31,751 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182 2026-09-03 16:52:31,842 - INFO - Validated that VN ctest-vn-99333094 is not found in API Server 2026-09-03 16:52:31,854 - DEBUG - VN ctest-vn-99333094 is not present in Agent 10.0.0.189 2026-09-03 16:52:31,855 - INFO - Validated that VN ctest-vn-99333094 is not in any agent 2026-09-03 16:52:31,879 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99333094 info 2026-09-03 16:52:31,879 - INFO - Deleting VN ctest-vn-68347960 2026-09-03 16:52:32,054 - DEBUG - Response for deleting network () 2026-09-03 16:52:32,054 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71 2026-09-03 16:52:32,071 - DEBUG - Response Code: 404 2026-09-03 16:52:32,071 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-03 16:52:32,089 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165 2026-09-03 16:52:32,103 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182 2026-09-03 16:52:32,187 - INFO - Validated that VN ctest-vn-68347960 is not found in API Server 2026-09-03 16:52:32,198 - DEBUG - VN ctest-vn-68347960 is not present in Agent 10.0.0.189 2026-09-03 16:52:32,198 - INFO - Validated that VN ctest-vn-68347960 is not in any agent 2026-09-03 16:52:32,222 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68347960 info 2026-09-03 16:52:32,500 - DEBUG - No XMPP flaps were noticed during the test 2026-09-03 16:52:32,500 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-09-03 16:52:32,501 - INFO - -------------------------------------------------------------------------------- 2026-09-03 16:52:33,361 - INFO - Deleted project: ctest-TestBasicPolicy-10806641, ID : 2afd5bfc-ff11-4f9d-aa49-9cb75920a182