2026-09-11 07:29:46,900 - INFO - Domain Default found not creating 2026-09-11 07:29:47,097 - INFO - Project ctest-TestBasicPolicy-36080276 not found, creating it 2026-09-11 07:29:47,664 - INFO - Created Project:ctest-TestBasicPolicy-36080276, ID : a25ebffe-67f2-4163-b2a8-8ef39cdfef4f 2026-09-11 07:29:49,532 - INFO - ================================================================================ 2026-09-11 07:29:49,532 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-11 07:29:49,532 - 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-11 07:29:49,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-09-11 07:29:49,809 - INFO - Initial checks done. Running the testcase now 2026-09-11 07:29:49,809 - INFO - 2026-09-11 07:29:51,257 - DEBUG - Response for create_network : {'network': {'id': '58ee9dd3-3942-44a7-92e4-e95edac73c63', 'name': 'ctest-vn-82160696', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-vn-82160696'], 'port_security_enabled': True, 'description': ''}} 2026-09-11 07:29:51,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '91249ac0-3a9f-4c38-8eac-7bce07c88932', 'name': '', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'network_id': '58ee9dd3-3942-44a7-92e4-e95edac73c63', 'ip_version': 4, 'cidr': '19.199.67.192/26', 'allocation_pools': [{'start': '19.199.67.194', 'end': '19.199.67.254'}], 'gateway_ip': '19.199.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.199.67.194', 'tags': [], 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f'}} 2026-09-11 07:29:51,497 - INFO - Created VN ctest-vn-82160696 2026-09-11 07:29:51,554 - DEBUG - VN ctest-vn-82160696 UUID is 58ee9dd3-3942-44a7-92e4-e95edac73c63 2026-09-11 07:29:51,926 - DEBUG - Response for create_network : {'network': {'id': 'de7c29b3-0e89-487f-9d41-7e3f03228524', 'name': 'ctest-vn-20674741', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-vn-20674741'], 'port_security_enabled': True, 'description': ''}} 2026-09-11 07:29:52,164 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5ac7e75-c17a-43b3-9598-d8e2571eb39e', 'name': '', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'network_id': 'de7c29b3-0e89-487f-9d41-7e3f03228524', 'ip_version': 4, 'cidr': '206.93.163.64/26', 'allocation_pools': [{'start': '206.93.163.66', 'end': '206.93.163.126'}], 'gateway_ip': '206.93.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.93.163.66', 'tags': [], 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f'}} 2026-09-11 07:29:52,183 - INFO - Created VN ctest-vn-20674741 2026-09-11 07:29:52,242 - DEBUG - VN ctest-vn-20674741 UUID is de7c29b3-0e89-487f-9d41-7e3f03228524 2026-09-11 07:29:52,371 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696, 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-36080276:ctest-vn-20674741, 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-11 07:29:52,715 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58ee9dd3-3942-44a7-92e4-e95edac73c63', 'name': 'ctest-vn-82160696', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['91249ac0-3a9f-4c38-8eac-7bce07c88932'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-vn-82160696'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-policy-allow-all-37001504']], 'subnet_ipam': [{'subnet_cidr': '19.199.67.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-11 07:29:52,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de7c29b3-0e89-487f-9d41-7e3f03228524', 'name': 'ctest-vn-20674741', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a5ac7e75-c17a-43b3-9598-d8e2571eb39e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-vn-20674741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-policy-allow-all-37001504']], 'subnet_ipam': [{'subnet_cidr': '206.93.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-11 07:29:53,158 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-11 07:29:53,532 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-11 07:29:53,564 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417 2026-09-11 07:29:53,579 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f 2026-09-11 07:29:53,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63 2026-09-11 07:29:53,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63 2026-09-11 07:29:53,695 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0 2026-09-11 07:29:53,706 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0 2026-09-11 07:29:53,715 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/75bc11db-300b-4a11-91f7-da65220a5c4b 2026-09-11 07:29:53,723 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-11 07:29:53,723 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63 2026-09-11 07:29:53,735 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0 2026-09-11 07:29:53,753 - INFO - Verified VN network id 12 for VN 58ee9dd3-3942-44a7-92e4-e95edac73c63 2026-09-11 07:29:53,753 - INFO - Verifications in API Server for VN ctest-vn-82160696 passed 2026-09-11 07:29:53,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63 2026-09-11 07:29:53,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0 2026-09-11 07:29:53,775 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0 2026-09-11 07:29:53,785 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/75bc11db-300b-4a11-91f7-da65220a5c4b 2026-09-11 07:29:53,801 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080276', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6408232850319099047', 'uuid-lslong': '10584841617834196067'}, 'enable': 'true', 'created': '2026-09-11T07:29:51', 'last-modified': '2026-09-11T07:29:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.111595'} 2026-09-11 07:29:53,811 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-11 07:29:53,811 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82160696 passed 2026-09-11 07:29:53,812 - DEBUG - ====Verifying policy data for ctest-vn-82160696 in API_Server ====== 2026-09-11 07:29:53,812 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-11 07:29:53,819 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417 2026-09-11 07:29:53,834 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f 2026-09-11 07:29:53,919 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63 2026-09-11 07:29:53,930 - DEBUG - ==>Verifying data for policy with id: 241251ff-aa12-490d-8f66-0d12befcf3c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-policy-allow-all-37001504'] 2026-09-11 07:29:53,930 - INFO - VN ctest-vn-82160696 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-11 07:29:53,930 - DEBUG - Verifying the vn in opserver 2026-09-11 07:29:53,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696 virtual network link through opserver 10.0.0.50 2026-09-11 07:29:53,930 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-11 07:29:54,303 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-11 07:29:54,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696?flat'} 2026-09-11 07:29:54,365 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696 is found in opserver 2026-09-11 07:29:54,378 - DEBUG - Do not have enough data to verify VN in agent 2026-09-11 07:29:54,385 - DEBUG - VRF ids for VN ctest-vn-82160696: {} 2026-09-11 07:29:54,385 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-11 07:29:54,392 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417 2026-09-11 07:29:54,405 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f 2026-09-11 07:29:54,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524 2026-09-11 07:29:54,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524 2026-09-11 07:29:54,517 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf 2026-09-11 07:29:54,527 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf 2026-09-11 07:29:54,538 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d262401-fbc4-473d-908f-688890333caa 2026-09-11 07:29:54,547 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-11 07:29:54,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524 2026-09-11 07:29:54,560 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf 2026-09-11 07:29:54,580 - INFO - Verified VN network id 13 for VN de7c29b3-0e89-487f-9d41-7e3f03228524 2026-09-11 07:29:54,580 - INFO - Verifications in API Server for VN ctest-vn-20674741 passed 2026-09-11 07:29:54,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524 2026-09-11 07:29:54,592 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf 2026-09-11 07:29:54,602 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf 2026-09-11 07:29:54,612 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d262401-fbc4-473d-908f-688890333caa 2026-09-11 07:29:54,627 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080276', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16031734622551885951', 'uuid-lslong': '11331476946541511972'}, 'enable': 'true', 'created': '2026-09-11T07:29:51', 'last-modified': '2026-09-11T07:29:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.677416'} 2026-09-11 07:29:54,636 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-11 07:29:54,636 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20674741 passed 2026-09-11 07:29:54,637 - DEBUG - ====Verifying policy data for ctest-vn-20674741 in API_Server ====== 2026-09-11 07:29:54,637 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-11 07:29:54,645 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417 2026-09-11 07:29:54,660 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f 2026-09-11 07:29:54,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524 2026-09-11 07:29:54,751 - DEBUG - ==>Verifying data for policy with id: 241251ff-aa12-490d-8f66-0d12befcf3c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-policy-allow-all-37001504'] 2026-09-11 07:29:54,751 - INFO - VN ctest-vn-20674741 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-11 07:29:54,751 - DEBUG - Verifying the vn in opserver 2026-09-11 07:29:54,751 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741 virtual network link through opserver 10.0.0.50 2026-09-11 07:29:54,751 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-11 07:29:54,766 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741?flat'} 2026-09-11 07:29:54,766 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741 is found in opserver 2026-09-11 07:29:54,782 - DEBUG - Do not have enough data to verify VN in agent 2026-09-11 07:29:54,790 - DEBUG - VRF ids for VN ctest-vn-20674741: {} 2026-09-11 07:29:54,874 - DEBUG - Services list from nova: [, , ] 2026-09-11 07:29:55,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6275-1) 2026-09-11 07:29:55,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6275-1) 2026-09-11 07:29:55,766 - INFO - Waiting for VM ctest-TestBasicPolicy-36080276-53999607 to be up.. 2026-09-11 07:29:55,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-11 07:30:00,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-11 07:30:06,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-11 07:30:11,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-11 07:30:16,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-11 07:30:21,325 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-11 07:30:26,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-11 07:30:31,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-11 07:30:36,637 - DEBUG - VM is in ACTIVE state now 2026-09-11 07:30:36,637 - INFO - VM name : ctest-TestBasicPolicy-36080276-53999607 2026-09-11 07:30:36,742 - DEBUG - VM ctest-TestBasicPolicy-36080276-53999607 ID is ee065ef5-8d77-46f8-8192-50f59b3c52ec 2026-09-11 07:30:36,777 - DEBUG - VM ctest-TestBasicPolicy-36080276-53999607 launched on Node cn-jenkins-deploy-platform-ansible-os-6275-1 2026-09-11 07:30:36,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ee065ef5-8d77-46f8-8192-50f59b3c52ec 2026-09-11 07:30:36,894 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/53fcdaac-b4b3-44b2-b7c4-5920dfbd8fb5 2026-09-11 07:30:40,183 - 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 1014ms') 2026-09-11 07:30:40,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080276-53999607 failed! 2026-09-11 07:30:40,242 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696 is 19.199.67.193 and allocation pool is NOT set 2026-09-11 07:30:42,307 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.479/2.212/3.945/1.733 ms') 2026-09-11 07:30:42,307 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080276-53999607 passed 2026-09-11 07:30:42,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-11 07:30:42,467 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36080276-53999607, IP 19.199.67.195, Port 22 2026-09-11 07:30:42,645 - DEBUG - VM ctest-TestBasicPolicy-36080276-53999607 is ready for SSH connections 2026-09-11 07:30:42,645 - INFO - Waiting for VM ctest-TestBasicPolicy-36080276-52157251 to be up.. 2026-09-11 07:30:42,739 - DEBUG - VM is in ACTIVE state now 2026-09-11 07:30:42,740 - INFO - VM name : ctest-TestBasicPolicy-36080276-52157251 2026-09-11 07:30:42,832 - DEBUG - VM ctest-TestBasicPolicy-36080276-52157251 ID is 7b9c05a6-6f91-4676-83f8-de2ded03ede8 2026-09-11 07:30:42,832 - DEBUG - VM ctest-TestBasicPolicy-36080276-52157251 launched on Node cn-jenkins-deploy-platform-ansible-os-6275-1 2026-09-11 07:30:42,923 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7b9c05a6-6f91-4676-83f8-de2ded03ede8 2026-09-11 07:30:42,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/33017520-5697-4fd4-b272-be238fb66756 2026-09-11 07:30:46,209 - 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 1015ms') 2026-09-11 07:30:46,209 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36080276-52157251 failed! 2026-09-11 07:30:46,270 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741 is 206.93.163.65 and allocation pool is NOT set 2026-09-11 07:30:48,333 - 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=5.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.590 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.590/3.233/5.877/2.643 ms') 2026-09-11 07:30:48,333 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36080276-52157251 passed 2026-09-11 07:30:48,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-11 07:30:48,486 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36080276-52157251, IP 206.93.163.67, Port 22 2026-09-11 07:30:48,663 - DEBUG - VM ctest-TestBasicPolicy-36080276-52157251 is ready for SSH connections 2026-09-11 07:30:48,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-11 07:30:48,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.93.163.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-11 07:30:48,664 - DEBUG - ping -s 56 -c 3 -W 1 206.93.163.67 2026-09-11 07:30:52,900 - DEBUG - PING 206.93.163.67 (206.93.163.67): 56 data bytes 64 bytes from 206.93.163.67: seq=0 ttl=63 time=5.659 ms 64 bytes from 206.93.163.67: seq=1 ttl=63 time=1.347 ms 64 bytes from 206.93.163.67: seq=2 ttl=63 time=1.728 ms --- 206.93.163.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.347/2.911/5.659 ms 2026-09-11 07:30:52,900 - INFO - Ping to IP 206.93.163.67 from VM ctest-TestBasicPolicy-36080276-53999607 passed 2026-09-11 07:30:53,110 - DEBUG - Policy Update Response {"network-policy": {"uuid": "241251ff-aa12-490d-8f66-0d12befcf3c3", "href": "http://10.0.0.50:8082/network-policy/241251ff-aa12-490d-8f66-0d12befcf3c3"}} 2026-09-11 07:30:53,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-11 07:30:53,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.93.163.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-11 07:30:53,110 - DEBUG - ping -s 56 -c 3 -W 1 206.93.163.67 2026-09-11 07:30:56,271 - DEBUG - PING 206.93.163.67 (206.93.163.67): 56 data bytes 64 bytes from 206.93.163.67: seq=0 ttl=63 time=2.171 ms --- 206.93.163.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.171/2.171/2.171 ms 2026-09-11 07:30:56,272 - WARNING - Ping to IP 206.93.163.67 from VM ctest-TestBasicPolicy-36080276-53999607 failed 2026-09-11 07:30:56,272 - INFO - Deleting VM ctest-TestBasicPolicy-36080276-52157251 2026-09-11 07:30:56,372 - INFO - Deleting VM ctest-TestBasicPolicy-36080276-53999607 2026-09-11 07:30:56,847 - INFO - Deleted policy ctest-policy-allow-all-37001504 2026-09-11 07:30:56,847 - INFO - Deleting VN ctest-vn-20674741 2026-09-11 07:30:56,889 - DEBUG - VN de7c29b3-0e89-487f-9d41-7e3f03228524 still in use: Unable to complete operation on network de7c29b3-0e89-487f-9d41-7e3f03228524. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af6361d5-86ea-47c8-ae58-6f4c3bf4c476'] 2026-09-11 07:30:56,889 - WARNING - Deleting VN ctest-vn-20674741 failed..Will retry 2026-09-11 07:30:59,034 - DEBUG - Response for deleting network () 2026-09-11 07:30:59,034 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf 2026-09-11 07:30:59,044 - DEBUG - Response Code: 404 2026-09-11 07:30:59,045 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-11 07:30:59,051 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417 2026-09-11 07:30:59,109 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f 2026-09-11 07:30:59,198 - INFO - Validated that VN ctest-vn-20674741 is not found in API Server 2026-09-11 07:30:59,212 - DEBUG - VN ctest-vn-20674741 is not present in Agent 10.0.0.50 2026-09-11 07:30:59,212 - INFO - Validated that VN ctest-vn-20674741 is not in any agent 2026-09-11 07:30:59,234 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20674741 info 2026-09-11 07:30:59,234 - INFO - Deleting VN ctest-vn-82160696 2026-09-11 07:30:59,427 - DEBUG - Response for deleting network () 2026-09-11 07:30:59,427 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0 2026-09-11 07:30:59,434 - DEBUG - Response Code: 404 2026-09-11 07:30:59,434 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-11 07:30:59,446 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417 2026-09-11 07:30:59,508 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f 2026-09-11 07:30:59,595 - INFO - Validated that VN ctest-vn-82160696 is not found in API Server 2026-09-11 07:30:59,610 - DEBUG - VN ctest-vn-82160696 is not present in Agent 10.0.0.50 2026-09-11 07:30:59,610 - INFO - Validated that VN ctest-vn-82160696 is not in any agent 2026-09-11 07:30:59,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82160696 info 2026-09-11 07:30:59,912 - DEBUG - No XMPP flaps were noticed during the test 2026-09-11 07:30:59,912 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-09-11 07:30:59,912 - INFO - -------------------------------------------------------------------------------- 2026-09-11 07:31:00,783 - INFO - Deleted project: ctest-TestBasicPolicy-36080276, ID : a25ebffe-67f2-4163-b2a8-8ef39cdfef4f