2026-07-10 16:05:10,246 - INFO - Domain Default found not creating 2026-07-10 16:05:10,403 - INFO - Project ctest-TestBasicPolicy-34586827 not found, creating it 2026-07-10 16:05:10,865 - INFO - Created Project:ctest-TestBasicPolicy-34586827, ID : 086ea637-affa-4c34-bbfc-4ac661dc62de 2026-07-10 16:05:12,424 - INFO - ================================================================================ 2026-07-10 16:05:12,424 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-10 16:05:12,424 - 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-07-10 16:05:12,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-10 16:05:12,680 - INFO - Initial checks done. Running the testcase now 2026-07-10 16:05:12,681 - INFO - 2026-07-10 16:05:13,308 - DEBUG - Response for create_network : {'network': {'id': '10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98', 'name': 'ctest-vn-36923022', 'tenant_id': '086ea637affa4c34bbfc4ac661dc62de', 'project_id': '086ea637affa4c34bbfc4ac661dc62de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34586827', 'ctest-vn-36923022'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 16:05:13,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '165c99d1-3bd0-4f28-8438-5e075c29bf84', 'name': '', 'tenant_id': '086ea637affa4c34bbfc4ac661dc62de', 'network_id': '10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98', 'ip_version': 4, 'cidr': '116.187.187.192/26', 'allocation_pools': [{'start': '116.187.187.194', 'end': '116.187.187.254'}], 'gateway_ip': '116.187.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.187.187.194', 'tags': [], 'project_id': '086ea637affa4c34bbfc4ac661dc62de'}} 2026-07-10 16:05:13,543 - INFO - Created VN ctest-vn-36923022 2026-07-10 16:05:13,594 - DEBUG - VN ctest-vn-36923022 UUID is 10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98 2026-07-10 16:05:13,924 - DEBUG - Response for create_network : {'network': {'id': 'cf5f8d4c-ebf1-43f2-94a0-50217a3b410c', 'name': 'ctest-vn-67649063', 'tenant_id': '086ea637affa4c34bbfc4ac661dc62de', 'project_id': '086ea637affa4c34bbfc4ac661dc62de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34586827', 'ctest-vn-67649063'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 16:05:14,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '7696ad83-a3e2-4e44-b777-355f5e50e355', 'name': '', 'tenant_id': '086ea637affa4c34bbfc4ac661dc62de', 'network_id': 'cf5f8d4c-ebf1-43f2-94a0-50217a3b410c', 'ip_version': 4, 'cidr': '101.221.160.192/26', 'allocation_pools': [{'start': '101.221.160.194', 'end': '101.221.160.254'}], 'gateway_ip': '101.221.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.221.160.194', 'tags': [], 'project_id': '086ea637affa4c34bbfc4ac661dc62de'}} 2026-07-10 16:05:14,156 - INFO - Created VN ctest-vn-67649063 2026-07-10 16:05:14,206 - DEBUG - VN ctest-vn-67649063 UUID is cf5f8d4c-ebf1-43f2-94a0-50217a3b410c 2026-07-10 16:05:14,354 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-36923022, 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-34586827:ctest-vn-67649063, 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-07-10 16:05:14,635 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98', 'name': 'ctest-vn-36923022', 'tenant_id': '086ea637affa4c34bbfc4ac661dc62de', 'project_id': '086ea637affa4c34bbfc4ac661dc62de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['165c99d1-3bd0-4f28-8438-5e075c29bf84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34586827', 'ctest-vn-36923022'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34586827', 'ctest-policy-allow-all-29412307']], 'subnet_ipam': [{'subnet_cidr': '116.187.187.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-10 16:05:14,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf5f8d4c-ebf1-43f2-94a0-50217a3b410c', 'name': 'ctest-vn-67649063', 'tenant_id': '086ea637affa4c34bbfc4ac661dc62de', 'project_id': '086ea637affa4c34bbfc4ac661dc62de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7696ad83-a3e2-4e44-b777-355f5e50e355'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34586827', 'ctest-vn-67649063'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34586827', 'ctest-policy-allow-all-29412307']], 'subnet_ipam': [{'subnet_cidr': '101.221.160.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-10 16:05:15,012 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 16:05:15,331 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 16:05:15,359 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7455f88-ab5f-44f9-982d-d33a90eba710 2026-07-10 16:05:15,373 - DEBUG - Requesting: http://10.0.0.38:8082/project/086ea637-affa-4c34-bbfc-4ac661dc62de 2026-07-10 16:05:15,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98 2026-07-10 16:05:15,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98 2026-07-10 16:05:15,464 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cb30d3f-b66d-417e-b0b6-e0236c65d596 2026-07-10 16:05:15,471 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cb30d3f-b66d-417e-b0b6-e0236c65d596 2026-07-10 16:05:15,478 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8c0c82d6-d69e-48be-8709-86ca6e65a419 2026-07-10 16:05:15,484 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-10 16:05:15,484 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98 2026-07-10 16:05:15,493 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cb30d3f-b66d-417e-b0b6-e0236c65d596 2026-07-10 16:05:15,506 - INFO - Verified VN network id 10 for VN 10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98 2026-07-10 16:05:15,506 - INFO - Verifications in API Server for VN ctest-vn-36923022 passed 2026-07-10 16:05:15,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98 2026-07-10 16:05:15,514 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cb30d3f-b66d-417e-b0b6-e0236c65d596 2026-07-10 16:05:15,521 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cb30d3f-b66d-417e-b0b6-e0236c65d596 2026-07-10 16:05:15,527 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8c0c82d6-d69e-48be-8709-86ca6e65a419 2026-07-10 16:05:15,540 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-36923022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34586827', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1198170451427084976', 'uuid-lslong': '10175038120313891736'}, 'enable': 'true', 'created': '2026-07-10T16:05:13', 'last-modified': '2026-07-10T16:05:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928444'} 2026-07-10 16:05:15,546 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-10 16:05:15,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36923022 passed 2026-07-10 16:05:15,547 - DEBUG - ====Verifying policy data for ctest-vn-36923022 in API_Server ====== 2026-07-10 16:05:15,547 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 16:05:15,553 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7455f88-ab5f-44f9-982d-d33a90eba710 2026-07-10 16:05:15,563 - DEBUG - Requesting: http://10.0.0.38:8082/project/086ea637-affa-4c34-bbfc-4ac661dc62de 2026-07-10 16:05:15,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/10a0c1ad-69ae-4ab0-8d34-ff42c15e2b98 2026-07-10 16:05:15,640 - DEBUG - ==>Verifying data for policy with id: 0670542f-9210-4104-a25f-617996017215, fqn: ['default-domain', 'ctest-TestBasicPolicy-34586827', 'ctest-policy-allow-all-29412307'] 2026-07-10 16:05:15,640 - INFO - VN ctest-vn-36923022 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-10 16:05:15,640 - DEBUG - Verifying the vn in opserver 2026-07-10 16:05:15,640 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-36923022 virtual network link through opserver 10.0.0.38 2026-07-10 16:05:15,640 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 16:05:15,956 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 16:05:16,006 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-36923022', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-36923022?flat'} 2026-07-10 16:05:16,006 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-36923022 is found in opserver 2026-07-10 16:05:16,015 - DEBUG - Do not have enough data to verify VN in agent 2026-07-10 16:05:16,020 - DEBUG - VRF ids for VN ctest-vn-36923022: {} 2026-07-10 16:05:16,020 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 16:05:16,027 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7455f88-ab5f-44f9-982d-d33a90eba710 2026-07-10 16:05:16,037 - DEBUG - Requesting: http://10.0.0.38:8082/project/086ea637-affa-4c34-bbfc-4ac661dc62de 2026-07-10 16:05:16,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf5f8d4c-ebf1-43f2-94a0-50217a3b410c 2026-07-10 16:05:16,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf5f8d4c-ebf1-43f2-94a0-50217a3b410c 2026-07-10 16:05:16,126 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26cf6a01-c2b6-4f10-bc4b-cf034a42051d 2026-07-10 16:05:16,132 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26cf6a01-c2b6-4f10-bc4b-cf034a42051d 2026-07-10 16:05:16,138 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/94c303fa-b0bb-4458-b2e6-765b081db33c 2026-07-10 16:05:16,144 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-10 16:05:16,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf5f8d4c-ebf1-43f2-94a0-50217a3b410c 2026-07-10 16:05:16,153 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26cf6a01-c2b6-4f10-bc4b-cf034a42051d 2026-07-10 16:05:16,167 - INFO - Verified VN network id 11 for VN cf5f8d4c-ebf1-43f2-94a0-50217a3b410c 2026-07-10 16:05:16,167 - INFO - Verifications in API Server for VN ctest-vn-67649063 passed 2026-07-10 16:05:16,167 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf5f8d4c-ebf1-43f2-94a0-50217a3b410c 2026-07-10 16:05:16,177 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26cf6a01-c2b6-4f10-bc4b-cf034a42051d 2026-07-10 16:05:16,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26cf6a01-c2b6-4f10-bc4b-cf034a42051d 2026-07-10 16:05:16,189 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/94c303fa-b0bb-4458-b2e6-765b081db33c 2026-07-10 16:05:16,200 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-67649063', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34586827', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14942817450154083314', 'uuid-lslong': '10709648018601885964'}, 'enable': 'true', 'created': '2026-07-10T16:05:13', 'last-modified': '2026-07-10T16:05:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.371676'} 2026-07-10 16:05:16,208 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-10 16:05:16,208 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67649063 passed 2026-07-10 16:05:16,208 - DEBUG - ====Verifying policy data for ctest-vn-67649063 in API_Server ====== 2026-07-10 16:05:16,208 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 16:05:16,214 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7455f88-ab5f-44f9-982d-d33a90eba710 2026-07-10 16:05:16,227 - DEBUG - Requesting: http://10.0.0.38:8082/project/086ea637-affa-4c34-bbfc-4ac661dc62de 2026-07-10 16:05:16,298 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf5f8d4c-ebf1-43f2-94a0-50217a3b410c 2026-07-10 16:05:16,306 - DEBUG - ==>Verifying data for policy with id: 0670542f-9210-4104-a25f-617996017215, fqn: ['default-domain', 'ctest-TestBasicPolicy-34586827', 'ctest-policy-allow-all-29412307'] 2026-07-10 16:05:16,306 - INFO - VN ctest-vn-67649063 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-10 16:05:16,306 - DEBUG - Verifying the vn in opserver 2026-07-10 16:05:16,306 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-67649063 virtual network link through opserver 10.0.0.38 2026-07-10 16:05:16,306 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 16:05:16,317 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-67649063', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-67649063?flat'} 2026-07-10 16:05:16,317 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-67649063 is found in opserver 2026-07-10 16:05:16,328 - DEBUG - Do not have enough data to verify VN in agent 2026-07-10 16:05:16,333 - DEBUG - VRF ids for VN ctest-vn-67649063: {} 2026-07-10 16:05:16,411 - DEBUG - Services list from nova: [, , ] 2026-07-10 16:05:16,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6089-1) 2026-07-10 16:05:17,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6089-1) 2026-07-10 16:05:17,128 - INFO - Waiting for VM ctest-TestBasicPolicy-34586827-76283575 to be up.. 2026-07-10 16:05:17,161 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 16:05:22,240 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 16:05:27,321 - DEBUG - VM is in ACTIVE state now 2026-07-10 16:05:27,322 - INFO - VM name : ctest-TestBasicPolicy-34586827-76283575 2026-07-10 16:05:27,389 - DEBUG - VM ctest-TestBasicPolicy-34586827-76283575 ID is a260ee4c-a3f5-42ea-a7dd-881d170a907c 2026-07-10 16:05:27,408 - DEBUG - VM ctest-TestBasicPolicy-34586827-76283575 launched on Node cn-jenkins-deploy-platform-ansible-os-6089-1 2026-07-10 16:05:27,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a260ee4c-a3f5-42ea-a7dd-881d170a907c 2026-07-10 16:05:27,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a8fa85fb-eb6b-450c-87c7-93d3c1ebb49d 2026-07-10 16:05:30,782 - 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-07-10 16:05:30,782 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34586827-76283575 failed! 2026-07-10 16:05:30,834 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34586827:ctest-vn-36923022 is 116.187.187.193 and allocation pool is NOT set 2026-07-10 16:05:32,894 - 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=8.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.34 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 = 3.336/6.131/8.926/2.795 ms') 2026-07-10 16:05:32,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34586827-76283575 passed 2026-07-10 16:05:33,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:05:33,042 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34586827-76283575, IP 116.187.187.195, Port 22 2026-07-10 16:05:33,108 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-07-10 16:05:33,179 - DEBUG - VM ctest-TestBasicPolicy-34586827-76283575 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-10 16:05:38,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:05:38,180 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34586827-76283575, IP 116.187.187.195, Port 22 2026-07-10 16:05:38,357 - DEBUG - VM ctest-TestBasicPolicy-34586827-76283575 is ready for SSH connections 2026-07-10 16:05:38,357 - INFO - Waiting for VM ctest-TestBasicPolicy-34586827-04081091 to be up.. 2026-07-10 16:05:38,430 - DEBUG - VM is in ACTIVE state now 2026-07-10 16:05:38,430 - INFO - VM name : ctest-TestBasicPolicy-34586827-04081091 2026-07-10 16:05:38,503 - DEBUG - VM ctest-TestBasicPolicy-34586827-04081091 ID is c301d26d-d001-4938-bcc7-e175a92e73e3 2026-07-10 16:05:38,503 - DEBUG - VM ctest-TestBasicPolicy-34586827-04081091 launched on Node cn-jenkins-deploy-platform-ansible-os-6089-1 2026-07-10 16:05:38,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c301d26d-d001-4938-bcc7-e175a92e73e3 2026-07-10 16:05:38,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d2b52afa-a39a-4f34-b06a-1d0028f16651 2026-07-10 16:05:39,812 - 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=4.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.397/2.216/4.035/1.819 ms') 2026-07-10 16:05:39,812 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34586827-04081091 passed 2026-07-10 16:05:39,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:05:39,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34586827-04081091, IP 101.221.160.195, Port 22 2026-07-10 16:05:40,129 - DEBUG - VM ctest-TestBasicPolicy-34586827-04081091 is ready for SSH connections 2026-07-10 16:05:40,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:05:40,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.221.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-10 16:05:40,129 - DEBUG - ping -s 56 -c 3 -W 1 101.221.160.195 2026-07-10 16:05:44,037 - DEBUG - PING 101.221.160.195 (101.221.160.195): 56 data bytes 64 bytes from 101.221.160.195: seq=0 ttl=63 time=3.926 ms 64 bytes from 101.221.160.195: seq=1 ttl=63 time=1.174 ms 64 bytes from 101.221.160.195: seq=2 ttl=63 time=1.064 ms --- 101.221.160.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.064/2.054/3.926 ms 2026-07-10 16:05:44,037 - INFO - Ping to IP 101.221.160.195 from VM ctest-TestBasicPolicy-34586827-76283575 passed 2026-07-10 16:05:44,214 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0670542f-9210-4104-a25f-617996017215", "href": "http://10.0.0.38:8082/network-policy/0670542f-9210-4104-a25f-617996017215"}} 2026-07-10 16:05:44,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 16:05:44,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.221.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-10 16:05:44,214 - DEBUG - ping -s 56 -c 3 -W 1 101.221.160.195 2026-07-10 16:05:47,328 - DEBUG - PING 101.221.160.195 (101.221.160.195): 56 data bytes --- 101.221.160.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-10 16:05:47,328 - WARNING - Ping to IP 101.221.160.195 from VM ctest-TestBasicPolicy-34586827-76283575 failed 2026-07-10 16:05:47,329 - INFO - Deleting VM ctest-TestBasicPolicy-34586827-04081091 2026-07-10 16:05:47,400 - INFO - Deleting VM ctest-TestBasicPolicy-34586827-76283575 2026-07-10 16:05:47,789 - INFO - Deleted policy ctest-policy-allow-all-29412307 2026-07-10 16:05:47,790 - INFO - Deleting VN ctest-vn-67649063 2026-07-10 16:05:47,832 - DEBUG - VN cf5f8d4c-ebf1-43f2-94a0-50217a3b410c still in use: Unable to complete operation on network cf5f8d4c-ebf1-43f2-94a0-50217a3b410c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42333d96-989f-42c2-8b21-d9876ddbf46f'] 2026-07-10 16:05:47,832 - WARNING - Deleting VN ctest-vn-67649063 failed..Will retry 2026-07-10 16:05:49,943 - DEBUG - Response for deleting network () 2026-07-10 16:05:49,943 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26cf6a01-c2b6-4f10-bc4b-cf034a42051d 2026-07-10 16:05:49,948 - DEBUG - Response Code: 404 2026-07-10 16:05:49,948 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 16:05:49,953 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7455f88-ab5f-44f9-982d-d33a90eba710 2026-07-10 16:05:50,007 - DEBUG - Requesting: http://10.0.0.38:8082/project/086ea637-affa-4c34-bbfc-4ac661dc62de 2026-07-10 16:05:50,076 - INFO - Validated that VN ctest-vn-67649063 is not found in API Server 2026-07-10 16:05:50,085 - DEBUG - VN ctest-vn-67649063 is not present in Agent 10.0.0.38 2026-07-10 16:05:50,085 - INFO - Validated that VN ctest-vn-67649063 is not in any agent 2026-07-10 16:05:50,099 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67649063 info 2026-07-10 16:05:50,099 - INFO - Deleting VN ctest-vn-36923022 2026-07-10 16:05:50,209 - DEBUG - Response for deleting network () 2026-07-10 16:05:50,209 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cb30d3f-b66d-417e-b0b6-e0236c65d596 2026-07-10 16:05:50,214 - DEBUG - Response Code: 404 2026-07-10 16:05:50,214 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 16:05:50,219 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7455f88-ab5f-44f9-982d-d33a90eba710 2026-07-10 16:05:50,271 - DEBUG - Requesting: http://10.0.0.38:8082/project/086ea637-affa-4c34-bbfc-4ac661dc62de 2026-07-10 16:05:50,343 - INFO - Validated that VN ctest-vn-36923022 is not found in API Server 2026-07-10 16:05:50,352 - DEBUG - VN ctest-vn-36923022 is not present in Agent 10.0.0.38 2026-07-10 16:05:50,352 - INFO - Validated that VN ctest-vn-36923022 is not in any agent 2026-07-10 16:05:50,369 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36923022 info 2026-07-10 16:05:50,622 - DEBUG - No XMPP flaps were noticed during the test 2026-07-10 16:05:50,622 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-07-10 16:05:50,622 - INFO - -------------------------------------------------------------------------------- 2026-07-10 16:05:51,313 - INFO - Deleted project: ctest-TestBasicPolicy-34586827, ID : 086ea637-affa-4c34-bbfc-4ac661dc62de