2026-09-17 11:28:07,514 - INFO - Domain Default found not creating 2026-09-17 11:28:07,721 - INFO - Project ctest-TestBasicPolicy-81535436 not found, creating it 2026-09-17 11:28:08,241 - INFO - Created Project:ctest-TestBasicPolicy-81535436, ID : ebf60bc0-e951-40bc-a0e0-11e1e58f9153 2026-09-17 11:28:09,949 - INFO - ================================================================================ 2026-09-17 11:28:09,950 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-17 11:28:09,950 - 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-17 11:28:10,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.25': '0'}} with 2026-09-17 11:28:10,211 - INFO - Initial checks done. Running the testcase now 2026-09-17 11:28:10,211 - INFO - 2026-09-17 11:28:10,855 - DEBUG - Response for create_network : {'network': {'id': '1db81247-5061-4197-8c45-0681e181bcb4', 'name': 'ctest-vn-88231475', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-vn-88231475'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 11:28:11,043 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feebd34a-e3e0-48b9-862a-d6aee7ad28c0', 'name': '', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'network_id': '1db81247-5061-4197-8c45-0681e181bcb4', 'ip_version': 4, 'cidr': '129.23.253.192/26', 'allocation_pools': [{'start': '129.23.253.194', 'end': '129.23.253.254'}], 'gateway_ip': '129.23.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.23.253.194', 'tags': [], 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153'}} 2026-09-17 11:28:11,066 - INFO - Created VN ctest-vn-88231475 2026-09-17 11:28:11,122 - DEBUG - VN ctest-vn-88231475 UUID is 1db81247-5061-4197-8c45-0681e181bcb4 2026-09-17 11:28:11,455 - DEBUG - Response for create_network : {'network': {'id': 'd874d3eb-b9b6-4005-9a06-9a3f45707200', 'name': 'ctest-vn-55897897', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-vn-55897897'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 11:28:11,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '781ab807-e6ce-4ec1-b787-fe76ba90fba3', 'name': '', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'network_id': 'd874d3eb-b9b6-4005-9a06-9a3f45707200', 'ip_version': 4, 'cidr': '212.185.161.128/26', 'allocation_pools': [{'start': '212.185.161.130', 'end': '212.185.161.190'}], 'gateway_ip': '212.185.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.185.161.130', 'tags': [], 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153'}} 2026-09-17 11:28:11,681 - INFO - Created VN ctest-vn-55897897 2026-09-17 11:28:11,734 - DEBUG - VN ctest-vn-55897897 UUID is d874d3eb-b9b6-4005-9a06-9a3f45707200 2026-09-17 11:28:11,852 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475, 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-81535436:ctest-vn-55897897, 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-17 11:28:12,206 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1db81247-5061-4197-8c45-0681e181bcb4', 'name': 'ctest-vn-88231475', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['feebd34a-e3e0-48b9-862a-d6aee7ad28c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-vn-88231475'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-policy-allow-all-13094539']], 'subnet_ipam': [{'subnet_cidr': '129.23.253.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 11:28:12,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd874d3eb-b9b6-4005-9a06-9a3f45707200', 'name': 'ctest-vn-55897897', 'tenant_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'project_id': 'ebf60bc0e95140bca0e011e1e58f9153', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['781ab807-e6ce-4ec1-b787-fe76ba90fba3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-vn-55897897'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-policy-allow-all-13094539']], 'subnet_ipam': [{'subnet_cidr': '212.185.161.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 11:28:12,634 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-17 11:28:12,971 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-17 11:28:13,012 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3 2026-09-17 11:28:13,030 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153 2026-09-17 11:28:13,125 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4 2026-09-17 11:28:13,142 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4 2026-09-17 11:28:13,154 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298 2026-09-17 11:28:13,164 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298 2026-09-17 11:28:13,174 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/907c8b0f-86ea-4529-9791-4179a6095143 2026-09-17 11:28:13,184 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 11:28:13,184 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4 2026-09-17 11:28:13,196 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298 2026-09-17 11:28:13,215 - INFO - Verified VN network id 12 for VN 1db81247-5061-4197-8c45-0681e181bcb4 2026-09-17 11:28:13,215 - INFO - Verifications in API Server for VN ctest-vn-88231475 passed 2026-09-17 11:28:13,215 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4 2026-09-17 11:28:13,226 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298 2026-09-17 11:28:13,234 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298 2026-09-17 11:28:13,242 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/907c8b0f-86ea-4529-9791-4179a6095143 2026-09-17 11:28:13,255 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81535436', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2141481720315199895', 'uuid-lslong': '10107492093606870196'}, 'enable': 'true', 'created': '2026-09-17T11:28:10', 'last-modified': '2026-09-17T11:28:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084000'} 2026-09-17 11:28:13,265 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 11:28:13,265 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88231475 passed 2026-09-17 11:28:13,265 - DEBUG - ====Verifying policy data for ctest-vn-88231475 in API_Server ====== 2026-09-17 11:28:13,265 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-17 11:28:13,271 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3 2026-09-17 11:28:13,283 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153 2026-09-17 11:28:13,363 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/1db81247-5061-4197-8c45-0681e181bcb4 2026-09-17 11:28:13,377 - DEBUG - ==>Verifying data for policy with id: bbfb5819-a35e-42ec-a0fb-0c57b22da177, fqn: ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-policy-allow-all-13094539'] 2026-09-17 11:28:13,377 - INFO - VN ctest-vn-88231475 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 11:28:13,377 - DEBUG - Verifying the vn in opserver 2026-09-17 11:28:13,377 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475 virtual network link through opserver 10.0.0.188 2026-09-17 11:28:13,378 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-09-17 11:28:13,710 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-09-17 11:28:13,771 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475?flat'} 2026-09-17 11:28:13,771 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475 is found in opserver 2026-09-17 11:28:13,783 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 11:28:13,790 - DEBUG - VRF ids for VN ctest-vn-88231475: {} 2026-09-17 11:28:13,790 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-17 11:28:13,797 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3 2026-09-17 11:28:13,808 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153 2026-09-17 11:28:13,886 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200 2026-09-17 11:28:13,902 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200 2026-09-17 11:28:13,915 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7 2026-09-17 11:28:13,923 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7 2026-09-17 11:28:13,933 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/2201b916-1fb3-4c6f-a969-b7d7c7ed2800 2026-09-17 11:28:13,944 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 11:28:13,944 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200 2026-09-17 11:28:13,956 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7 2026-09-17 11:28:13,976 - INFO - Verified VN network id 13 for VN d874d3eb-b9b6-4005-9a06-9a3f45707200 2026-09-17 11:28:13,976 - INFO - Verifications in API Server for VN ctest-vn-55897897 passed 2026-09-17 11:28:13,976 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200 2026-09-17 11:28:13,987 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7 2026-09-17 11:28:13,997 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7 2026-09-17 11:28:14,007 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/2201b916-1fb3-4c6f-a969-b7d7c7ed2800 2026-09-17 11:28:14,023 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81535436', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15597324418877374469', 'uuid-lslong': '11098727928239780352'}, 'enable': 'true', 'created': '2026-09-17T11:28:11', 'last-modified': '2026-09-17T11:28:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.593788'} 2026-09-17 11:28:14,030 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 11:28:14,030 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55897897 passed 2026-09-17 11:28:14,030 - DEBUG - ====Verifying policy data for ctest-vn-55897897 in API_Server ====== 2026-09-17 11:28:14,031 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-17 11:28:14,038 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3 2026-09-17 11:28:14,051 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153 2026-09-17 11:28:14,145 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/d874d3eb-b9b6-4005-9a06-9a3f45707200 2026-09-17 11:28:14,159 - DEBUG - ==>Verifying data for policy with id: bbfb5819-a35e-42ec-a0fb-0c57b22da177, fqn: ['default-domain', 'ctest-TestBasicPolicy-81535436', 'ctest-policy-allow-all-13094539'] 2026-09-17 11:28:14,159 - INFO - VN ctest-vn-55897897 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 11:28:14,159 - DEBUG - Verifying the vn in opserver 2026-09-17 11:28:14,159 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897 virtual network link through opserver 10.0.0.188 2026-09-17 11:28:14,159 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks 2026-09-17 11:28:14,171 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897?flat'} 2026-09-17 11:28:14,171 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-55897897 is found in opserver 2026-09-17 11:28:14,183 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 11:28:14,189 - DEBUG - VRF ids for VN ctest-vn-55897897: {} 2026-09-17 11:28:14,250 - DEBUG - Services list from nova: [, , ] 2026-09-17 11:28:14,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6298-1) 2026-09-17 11:28:15,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6298-1) 2026-09-17 11:28:15,244 - INFO - Waiting for VM ctest-TestBasicPolicy-81535436-91610155 to be up.. 2026-09-17 11:28:15,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:28:20,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:28:25,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:28:30,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:28:35,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:28:40,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:28:45,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:28:51,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 11:28:56,115 - DEBUG - VM is in ACTIVE state now 2026-09-17 11:28:56,115 - INFO - VM name : ctest-TestBasicPolicy-81535436-91610155 2026-09-17 11:28:56,240 - DEBUG - VM ctest-TestBasicPolicy-81535436-91610155 ID is ccbb2cb3-2c1a-4b23-bd51-ed13e31c274b 2026-09-17 11:28:56,353 - DEBUG - VM ctest-TestBasicPolicy-81535436-91610155 launched on Node cn-jenkins-deploy-platform-ansible-os-6298-1 2026-09-17 11:28:56,446 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/ccbb2cb3-2c1a-4b23-bd51-ed13e31c274b 2026-09-17 11:28:56,460 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/f81f8c83-85cf-41b2-b9fd-2c113ccdb182 2026-09-17 11:28:59,756 - 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 1024ms') 2026-09-17 11:28:59,757 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81535436-91610155 failed! 2026-09-17 11:28:59,814 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475 is 129.23.253.193 and allocation pool is NOT set 2026-09-17 11:29:03,914 - 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 1031ms') 2026-09-17 11:29:03,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81535436-91610155 failed! 2026-09-17 11:29:03,974 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81535436:ctest-vn-88231475 is 129.23.253.193 and allocation pool is NOT set 2026-09-17 11:29:06,046 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.559/2.590/4.622/2.031 ms') 2026-09-17 11:29:06,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81535436-91610155 passed 2026-09-17 11:29:06,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 11:29:06,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81535436-91610155, IP 129.23.253.195, Port 22 2026-09-17 11:29:06,377 - DEBUG - VM ctest-TestBasicPolicy-81535436-91610155 is ready for SSH connections 2026-09-17 11:29:06,377 - INFO - Waiting for VM ctest-TestBasicPolicy-81535436-29142339 to be up.. 2026-09-17 11:29:06,484 - DEBUG - VM is in ACTIVE state now 2026-09-17 11:29:06,484 - INFO - VM name : ctest-TestBasicPolicy-81535436-29142339 2026-09-17 11:29:06,589 - DEBUG - VM ctest-TestBasicPolicy-81535436-29142339 ID is f4e61a25-0c2d-46be-8dec-af1cc003a868 2026-09-17 11:29:06,589 - DEBUG - VM ctest-TestBasicPolicy-81535436-29142339 launched on Node cn-jenkins-deploy-platform-ansible-os-6298-1 2026-09-17 11:29:06,691 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/f4e61a25-0c2d-46be-8dec-af1cc003a868 2026-09-17 11:29:06,703 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/e6d08b0f-69e3-4050-bb7c-91427615b8fb 2026-09-17 11:29:07,982 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.669 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.669/2.205/3.742/1.536 ms') 2026-09-17 11:29:07,982 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81535436-29142339 passed 2026-09-17 11:29:08,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 11:29:08,143 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81535436-29142339, IP 212.185.161.131, Port 22 2026-09-17 11:29:08,321 - DEBUG - VM ctest-TestBasicPolicy-81535436-29142339 is ready for SSH connections 2026-09-17 11:29:08,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 11:29:08,321 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.185.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-09-17 11:29:08,321 - DEBUG - ping -s 56 -c 3 -W 1 212.185.161.131 2026-09-17 11:29:12,429 - DEBUG - PING 212.185.161.131 (212.185.161.131): 56 data bytes 64 bytes from 212.185.161.131: seq=0 ttl=63 time=4.582 ms 64 bytes from 212.185.161.131: seq=1 ttl=63 time=1.117 ms 64 bytes from 212.185.161.131: seq=2 ttl=63 time=1.205 ms --- 212.185.161.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.117/2.301/4.582 ms 2026-09-17 11:29:12,430 - INFO - Ping to IP 212.185.161.131 from VM ctest-TestBasicPolicy-81535436-91610155 passed 2026-09-17 11:29:12,630 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bbfb5819-a35e-42ec-a0fb-0c57b22da177", "href": "http://10.0.0.188:8082/network-policy/bbfb5819-a35e-42ec-a0fb-0c57b22da177"}} 2026-09-17 11:29:12,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 11:29:12,630 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.185.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-09-17 11:29:12,630 - DEBUG - ping -s 56 -c 3 -W 1 212.185.161.131 2026-09-17 11:29:15,765 - DEBUG - PING 212.185.161.131 (212.185.161.131): 56 data bytes 64 bytes from 212.185.161.131: seq=0 ttl=63 time=2.818 ms --- 212.185.161.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.818/2.818/2.818 ms 2026-09-17 11:29:15,765 - WARNING - Ping to IP 212.185.161.131 from VM ctest-TestBasicPolicy-81535436-91610155 failed 2026-09-17 11:29:15,765 - INFO - Deleting VM ctest-TestBasicPolicy-81535436-29142339 2026-09-17 11:29:15,878 - INFO - Deleting VM ctest-TestBasicPolicy-81535436-91610155 2026-09-17 11:29:16,364 - INFO - Deleted policy ctest-policy-allow-all-13094539 2026-09-17 11:29:16,365 - INFO - Deleting VN ctest-vn-55897897 2026-09-17 11:29:16,412 - DEBUG - VN d874d3eb-b9b6-4005-9a06-9a3f45707200 still in use: Unable to complete operation on network d874d3eb-b9b6-4005-9a06-9a3f45707200. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83c8a276-87af-4c11-91a9-7288790f959e'] 2026-09-17 11:29:16,412 - WARNING - Deleting VN ctest-vn-55897897 failed..Will retry 2026-09-17 11:29:18,574 - DEBUG - Response for deleting network () 2026-09-17 11:29:18,575 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/feef2984-4741-4132-954c-260ca33e86f7 2026-09-17 11:29:18,580 - DEBUG - Response Code: 404 2026-09-17 11:29:18,580 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-17 11:29:18,586 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3 2026-09-17 11:29:18,642 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153 2026-09-17 11:29:18,745 - INFO - Validated that VN ctest-vn-55897897 is not found in API Server 2026-09-17 11:29:18,761 - DEBUG - VN ctest-vn-55897897 is not present in Agent 10.0.0.188 2026-09-17 11:29:18,761 - INFO - Validated that VN ctest-vn-55897897 is not in any agent 2026-09-17 11:29:18,780 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55897897 info 2026-09-17 11:29:18,780 - INFO - Deleting VN ctest-vn-88231475 2026-09-17 11:29:18,949 - DEBUG - Response for deleting network () 2026-09-17 11:29:18,949 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/103bbce0-396a-47f4-a948-2dfc9349b298 2026-09-17 11:29:18,957 - DEBUG - Response Code: 404 2026-09-17 11:29:18,958 - DEBUG - Requesting: http://10.0.0.188:8082/domains 2026-09-17 11:29:18,967 - DEBUG - Requesting: http://10.0.0.188:8082/domain/c368d39e-df47-4cd2-afdc-8f3f26b88dc3 2026-09-17 11:29:19,019 - DEBUG - Requesting: http://10.0.0.188:8082/project/ebf60bc0-e951-40bc-a0e0-11e1e58f9153 2026-09-17 11:29:19,098 - INFO - Validated that VN ctest-vn-88231475 is not found in API Server 2026-09-17 11:29:19,108 - DEBUG - VN ctest-vn-88231475 is not present in Agent 10.0.0.188 2026-09-17 11:29:19,108 - INFO - Validated that VN ctest-vn-88231475 is not in any agent 2026-09-17 11:29:19,125 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88231475 info 2026-09-17 11:29:19,385 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 11:29:19,385 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-09-17 11:29:19,385 - INFO - -------------------------------------------------------------------------------- 2026-09-17 11:29:20,155 - INFO - Deleted project: ctest-TestBasicPolicy-81535436, ID : ebf60bc0-e951-40bc-a0e0-11e1e58f9153