2026-08-25 20:36:34,042 - INFO - Domain Default found not creating 2026-08-25 20:36:34,232 - INFO - Project ctest-TestBasicPolicy-31017816 not found, creating it 2026-08-25 20:36:34,733 - INFO - Created Project:ctest-TestBasicPolicy-31017816, ID : d4bc19a6-1535-45f0-9a15-0499f6b5896a 2026-08-25 20:36:36,639 - INFO - ================================================================================ 2026-08-25 20:36:36,639 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 20:36:36,639 - 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-25 20:36:36,911 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-08-25 20:36:36,911 - INFO - Initial checks done. Running the testcase now 2026-08-25 20:36:36,911 - INFO - 2026-08-25 20:36:37,600 - DEBUG - Response for create_network : {'network': {'id': '1c016b32-f447-4e82-82c5-ec06280faa56', 'name': 'ctest-vn-36333407', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'project_id': 'd4bc19a6153545f09a150499f6b5896a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-vn-36333407'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 20:36:37,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f882134-3f74-46d1-b89c-0f6c5920f626', 'name': '', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'network_id': '1c016b32-f447-4e82-82c5-ec06280faa56', 'ip_version': 4, 'cidr': '60.119.35.64/26', 'allocation_pools': [{'start': '60.119.35.66', 'end': '60.119.35.126'}], 'gateway_ip': '60.119.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.119.35.66', 'tags': [], 'project_id': 'd4bc19a6153545f09a150499f6b5896a'}} 2026-08-25 20:36:37,818 - INFO - Created VN ctest-vn-36333407 2026-08-25 20:36:37,873 - DEBUG - VN ctest-vn-36333407 UUID is 1c016b32-f447-4e82-82c5-ec06280faa56 2026-08-25 20:36:38,190 - DEBUG - Response for create_network : {'network': {'id': '7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7', 'name': 'ctest-vn-74816144', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'project_id': 'd4bc19a6153545f09a150499f6b5896a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-vn-74816144'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 20:36:38,547 - DEBUG - Response for create_subnet : {'subnet': {'id': '168c9664-6b94-4dd4-8e13-d7da2c0c86c5', 'name': '', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'network_id': '7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7', 'ip_version': 4, 'cidr': '94.26.19.128/26', 'allocation_pools': [{'start': '94.26.19.130', 'end': '94.26.19.190'}], 'gateway_ip': '94.26.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.26.19.130', 'tags': [], 'project_id': 'd4bc19a6153545f09a150499f6b5896a'}} 2026-08-25 20:36:38,574 - INFO - Created VN ctest-vn-74816144 2026-08-25 20:36:38,633 - DEBUG - VN ctest-vn-74816144 UUID is 7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7 2026-08-25 20:36:38,793 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407, 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-31017816:ctest-vn-74816144, 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-25 20:36:39,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c016b32-f447-4e82-82c5-ec06280faa56', 'name': 'ctest-vn-36333407', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'project_id': 'd4bc19a6153545f09a150499f6b5896a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1f882134-3f74-46d1-b89c-0f6c5920f626'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-vn-36333407'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-policy-allow-all-00120216']], 'subnet_ipam': [{'subnet_cidr': '60.119.35.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 20:36:39,492 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7', 'name': 'ctest-vn-74816144', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'project_id': 'd4bc19a6153545f09a150499f6b5896a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['168c9664-6b94-4dd4-8e13-d7da2c0c86c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-vn-74816144'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-policy-allow-all-00120216']], 'subnet_ipam': [{'subnet_cidr': '94.26.19.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 20:36:39,665 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-25 20:36:40,050 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-25 20:36:40,082 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1 2026-08-25 20:36:40,100 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a 2026-08-25 20:36:40,181 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56 2026-08-25 20:36:40,199 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56 2026-08-25 20:36:40,212 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156 2026-08-25 20:36:40,222 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156 2026-08-25 20:36:40,233 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0bf4d99a-ba07-4c9d-8b13-0c8c962fc9a5 2026-08-25 20:36:40,243 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 20:36:40,244 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56 2026-08-25 20:36:40,258 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156 2026-08-25 20:36:40,274 - INFO - Verified VN network id 11 for VN 1c016b32-f447-4e82-82c5-ec06280faa56 2026-08-25 20:36:40,274 - INFO - Verifications in API Server for VN ctest-vn-36333407 passed 2026-08-25 20:36:40,274 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56 2026-08-25 20:36:40,286 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156 2026-08-25 20:36:40,295 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156 2026-08-25 20:36:40,304 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0bf4d99a-ba07-4c9d-8b13-0c8c962fc9a5 2026-08-25 20:36:40,318 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31017816', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2018011974629543554', 'uuid-lslong': '9423197306528705110'}, 'enable': 'true', 'created': '2026-08-25T20:36:37', 'last-modified': '2026-08-25T20:36:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.129540'} 2026-08-25 20:36:40,326 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 20:36:40,326 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36333407 passed 2026-08-25 20:36:40,326 - DEBUG - ====Verifying policy data for ctest-vn-36333407 in API_Server ====== 2026-08-25 20:36:40,326 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-25 20:36:40,333 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1 2026-08-25 20:36:40,346 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a 2026-08-25 20:36:40,427 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56 2026-08-25 20:36:40,439 - DEBUG - ==>Verifying data for policy with id: 9d1246b2-428d-4b09-82c1-42262ef3d1b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-policy-allow-all-00120216'] 2026-08-25 20:36:40,439 - INFO - VN ctest-vn-36333407 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 20:36:40,439 - DEBUG - Verifying the vn in opserver 2026-08-25 20:36:40,439 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407 virtual network link through opserver 10.0.0.33 2026-08-25 20:36:40,439 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-25 20:36:40,810 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-25 20:36:40,869 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407?flat'} 2026-08-25 20:36:40,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407 is found in opserver 2026-08-25 20:36:40,885 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 20:36:40,893 - DEBUG - VRF ids for VN ctest-vn-36333407: {} 2026-08-25 20:36:40,893 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-25 20:36:40,900 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1 2026-08-25 20:36:40,912 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a 2026-08-25 20:36:40,995 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7 2026-08-25 20:36:41,010 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7 2026-08-25 20:36:41,021 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10 2026-08-25 20:36:41,029 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10 2026-08-25 20:36:41,035 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/04be369e-2034-450e-96b7-00cdbe452488 2026-08-25 20:36:41,042 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 20:36:41,042 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7 2026-08-25 20:36:41,052 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10 2026-08-25 20:36:41,067 - INFO - Verified VN network id 12 for VN 7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7 2026-08-25 20:36:41,067 - INFO - Verifications in API Server for VN ctest-vn-74816144 passed 2026-08-25 20:36:41,067 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7 2026-08-25 20:36:41,077 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10 2026-08-25 20:36:41,086 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10 2026-08-25 20:36:41,094 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/04be369e-2034-450e-96b7-00cdbe452488 2026-08-25 20:36:41,111 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31017816', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8870784368909961633', 'uuid-lslong': '9945297777192571895'}, 'enable': 'true', 'created': '2026-08-25T20:36:38', 'last-modified': '2026-08-25T20:36:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.646091'} 2026-08-25 20:36:41,119 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 20:36:41,119 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74816144 passed 2026-08-25 20:36:41,120 - DEBUG - ====Verifying policy data for ctest-vn-74816144 in API_Server ====== 2026-08-25 20:36:41,120 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-25 20:36:41,127 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1 2026-08-25 20:36:41,139 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a 2026-08-25 20:36:41,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7 2026-08-25 20:36:41,231 - DEBUG - ==>Verifying data for policy with id: 9d1246b2-428d-4b09-82c1-42262ef3d1b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-policy-allow-all-00120216'] 2026-08-25 20:36:41,231 - INFO - VN ctest-vn-74816144 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 20:36:41,231 - DEBUG - Verifying the vn in opserver 2026-08-25 20:36:41,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144 virtual network link through opserver 10.0.0.33 2026-08-25 20:36:41,231 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-25 20:36:41,243 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144?flat'} 2026-08-25 20:36:41,243 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144 is found in opserver 2026-08-25 20:36:41,257 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 20:36:41,264 - DEBUG - VRF ids for VN ctest-vn-74816144: {} 2026-08-25 20:36:41,337 - DEBUG - Services list from nova: [, , ] 2026-08-25 20:36:41,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6227-1) 2026-08-25 20:36:42,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6227-1) 2026-08-25 20:36:42,323 - INFO - Waiting for VM ctest-TestBasicPolicy-31017816-62322249 to be up.. 2026-08-25 20:36:42,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:36:47,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:36:52,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:36:57,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:37:02,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:37:07,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:37:12,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:37:18,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 20:37:23,125 - DEBUG - VM is in ACTIVE state now 2026-08-25 20:37:23,125 - INFO - VM name : ctest-TestBasicPolicy-31017816-62322249 2026-08-25 20:37:23,233 - DEBUG - VM ctest-TestBasicPolicy-31017816-62322249 ID is 939a7199-d6df-425b-bee5-702148131e69 2026-08-25 20:37:23,261 - DEBUG - VM ctest-TestBasicPolicy-31017816-62322249 launched on Node cn-jenkins-deploy-platform-ansible-os-6227-1 2026-08-25 20:37:23,357 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/939a7199-d6df-425b-bee5-702148131e69 2026-08-25 20:37:23,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7cf329c1-5daa-48f8-93d6-764558a79721 2026-08-25 20:37:26,642 - 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-08-25 20:37:26,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31017816-62322249 failed! 2026-08-25 20:37:26,697 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407 is 60.119.35.65 and allocation pool is NOT set 2026-08-25 20:37:28,767 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.74 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 = 2.739/4.246/5.754/1.507 ms') 2026-08-25 20:37:28,767 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31017816-62322249 passed 2026-08-25 20:37:28,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:37:28,921 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31017816-62322249, IP 60.119.35.67, Port 22 2026-08-25 20:37:29,103 - DEBUG - VM ctest-TestBasicPolicy-31017816-62322249 is ready for SSH connections 2026-08-25 20:37:29,104 - INFO - Waiting for VM ctest-TestBasicPolicy-31017816-83841475 to be up.. 2026-08-25 20:37:29,183 - DEBUG - VM is in ACTIVE state now 2026-08-25 20:37:29,184 - INFO - VM name : ctest-TestBasicPolicy-31017816-83841475 2026-08-25 20:37:29,267 - DEBUG - VM ctest-TestBasicPolicy-31017816-83841475 ID is 93b32e62-cb2f-448a-81f7-7bf55c85d882 2026-08-25 20:37:29,267 - DEBUG - VM ctest-TestBasicPolicy-31017816-83841475 launched on Node cn-jenkins-deploy-platform-ansible-os-6227-1 2026-08-25 20:37:29,357 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/93b32e62-cb2f-448a-81f7-7bf55c85d882 2026-08-25 20:37:29,368 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c1611d83-5c7b-4d0f-b186-552537b3d901 2026-08-25 20:37:32,630 - 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=2 ttl=63 time=15.6 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 15.575/15.575/15.575/0.000 ms') 2026-08-25 20:37:32,630 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31017816-83841475 passed 2026-08-25 20:37:32,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:37:32,789 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31017816-83841475, IP 94.26.19.131, Port 22 2026-08-25 20:37:32,959 - DEBUG - VM ctest-TestBasicPolicy-31017816-83841475 is ready for SSH connections 2026-08-25 20:37:32,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:37:32,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.26.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-25 20:37:32,959 - DEBUG - ping -s 56 -c 3 -W 1 94.26.19.131 2026-08-25 20:37:37,002 - DEBUG - PING 94.26.19.131 (94.26.19.131): 56 data bytes 64 bytes from 94.26.19.131: seq=0 ttl=63 time=4.734 ms 64 bytes from 94.26.19.131: seq=1 ttl=63 time=1.014 ms 64 bytes from 94.26.19.131: seq=2 ttl=63 time=1.376 ms --- 94.26.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.014/2.374/4.734 ms 2026-08-25 20:37:37,003 - INFO - Ping to IP 94.26.19.131 from VM ctest-TestBasicPolicy-31017816-62322249 passed 2026-08-25 20:37:37,201 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9d1246b2-428d-4b09-82c1-42262ef3d1b6", "href": "http://10.0.0.33:8082/network-policy/9d1246b2-428d-4b09-82c1-42262ef3d1b6"}} 2026-08-25 20:37:37,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 20:37:37,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.26.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-25 20:37:37,201 - DEBUG - ping -s 56 -c 3 -W 1 94.26.19.131 2026-08-25 20:37:40,335 - DEBUG - PING 94.26.19.131 (94.26.19.131): 56 data bytes 64 bytes from 94.26.19.131: seq=0 ttl=63 time=1.537 ms --- 94.26.19.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.537/1.537/1.537 ms 2026-08-25 20:37:40,335 - WARNING - Ping to IP 94.26.19.131 from VM ctest-TestBasicPolicy-31017816-62322249 failed 2026-08-25 20:37:40,335 - INFO - Deleting VM ctest-TestBasicPolicy-31017816-83841475 2026-08-25 20:37:40,431 - INFO - Deleting VM ctest-TestBasicPolicy-31017816-62322249 2026-08-25 20:37:40,883 - INFO - Deleted policy ctest-policy-allow-all-00120216 2026-08-25 20:37:40,883 - INFO - Deleting VN ctest-vn-74816144 2026-08-25 20:37:40,926 - DEBUG - VN 7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7 still in use: Unable to complete operation on network 7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed1daba3-2a5b-46aa-9877-7905432d1255'] 2026-08-25 20:37:40,927 - WARNING - Deleting VN ctest-vn-74816144 failed..Will retry 2026-08-25 20:37:43,059 - DEBUG - Response for deleting network () 2026-08-25 20:37:43,059 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10 2026-08-25 20:37:43,068 - DEBUG - Response Code: 404 2026-08-25 20:37:43,068 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-25 20:37:43,075 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1 2026-08-25 20:37:43,131 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a 2026-08-25 20:37:43,222 - INFO - Validated that VN ctest-vn-74816144 is not found in API Server 2026-08-25 20:37:43,235 - DEBUG - VN ctest-vn-74816144 is not present in Agent 10.0.0.33 2026-08-25 20:37:43,235 - INFO - Validated that VN ctest-vn-74816144 is not in any agent 2026-08-25 20:37:43,254 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74816144 info 2026-08-25 20:37:43,254 - INFO - Deleting VN ctest-vn-36333407 2026-08-25 20:37:43,382 - DEBUG - Response for deleting network () 2026-08-25 20:37:43,382 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156 2026-08-25 20:37:43,391 - DEBUG - Response Code: 404 2026-08-25 20:37:43,391 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-25 20:37:43,397 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1 2026-08-25 20:37:43,451 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a 2026-08-25 20:37:43,532 - INFO - Validated that VN ctest-vn-36333407 is not found in API Server 2026-08-25 20:37:43,544 - DEBUG - VN ctest-vn-36333407 is not present in Agent 10.0.0.33 2026-08-25 20:37:43,545 - INFO - Validated that VN ctest-vn-36333407 is not in any agent 2026-08-25 20:37:43,561 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36333407 info 2026-08-25 20:37:43,834 - DEBUG - No XMPP flaps were noticed during the test 2026-08-25 20:37:43,835 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07] 2026-08-25 20:37:43,835 - INFO - -------------------------------------------------------------------------------- 2026-08-25 20:37:44,644 - INFO - Deleted project: ctest-TestBasicPolicy-31017816, ID : d4bc19a6-1535-45f0-9a15-0499f6b5896a