2026-06-18 13:02:08,415 - INFO - Domain Default found not creating 2026-06-18 13:02:08,570 - INFO - Project ctest-TestBasicPolicy-24004214 not found, creating it 2026-06-18 13:02:09,028 - INFO - Created Project:ctest-TestBasicPolicy-24004214, ID : 51219027-268a-4323-ad6f-c253f9f9bae9 2026-06-18 13:02:10,582 - INFO - ================================================================================ 2026-06-18 13:02:10,582 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 13:02:10,582 - 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-06-18 13:02:10,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.129': '0'}} with 2026-06-18 13:02:10,839 - INFO - Initial checks done. Running the testcase now 2026-06-18 13:02:10,839 - INFO - 2026-06-18 13:02:11,443 - DEBUG - Response for create_network : {'network': {'id': 'c2c1aa2e-50dc-4374-a55b-abd197ed9aa7', 'name': 'ctest-vn-20455726', 'tenant_id': '51219027268a4323ad6fc253f9f9bae9', 'project_id': '51219027268a4323ad6fc253f9f9bae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24004214', 'ctest-vn-20455726'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:02:11,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e118e6f-54f0-48c2-9b22-7dfa55414fd4', 'name': '', 'tenant_id': '51219027268a4323ad6fc253f9f9bae9', 'network_id': 'c2c1aa2e-50dc-4374-a55b-abd197ed9aa7', 'ip_version': 4, 'cidr': '1.41.218.192/26', 'allocation_pools': [{'start': '1.41.218.194', 'end': '1.41.218.254'}], 'gateway_ip': '1.41.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.41.218.194', 'tags': [], 'project_id': '51219027268a4323ad6fc253f9f9bae9'}} 2026-06-18 13:02:11,605 - INFO - Created VN ctest-vn-20455726 2026-06-18 13:02:11,658 - DEBUG - VN ctest-vn-20455726 UUID is c2c1aa2e-50dc-4374-a55b-abd197ed9aa7 2026-06-18 13:02:11,996 - DEBUG - Response for create_network : {'network': {'id': '01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703', 'name': 'ctest-vn-10234099', 'tenant_id': '51219027268a4323ad6fc253f9f9bae9', 'project_id': '51219027268a4323ad6fc253f9f9bae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24004214', 'ctest-vn-10234099'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:02:12,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f0bd05e-4398-4b15-87e2-d03c3d083792', 'name': '', 'tenant_id': '51219027268a4323ad6fc253f9f9bae9', 'network_id': '01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703', 'ip_version': 4, 'cidr': '21.28.158.0/26', 'allocation_pools': [{'start': '21.28.158.2', 'end': '21.28.158.62'}], 'gateway_ip': '21.28.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.28.158.2', 'tags': [], 'project_id': '51219027268a4323ad6fc253f9f9bae9'}} 2026-06-18 13:02:12,164 - INFO - Created VN ctest-vn-10234099 2026-06-18 13:02:12,214 - DEBUG - VN ctest-vn-10234099 UUID is 01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703 2026-06-18 13:02:12,366 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-20455726, 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-24004214:ctest-vn-10234099, 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-06-18 13:02:12,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c2c1aa2e-50dc-4374-a55b-abd197ed9aa7', 'name': 'ctest-vn-20455726', 'tenant_id': '51219027268a4323ad6fc253f9f9bae9', 'project_id': '51219027268a4323ad6fc253f9f9bae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8e118e6f-54f0-48c2-9b22-7dfa55414fd4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24004214', 'ctest-vn-20455726'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24004214', 'ctest-policy-allow-all-86685741']], 'subnet_ipam': [{'subnet_cidr': '1.41.218.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:02:12,888 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703', 'name': 'ctest-vn-10234099', 'tenant_id': '51219027268a4323ad6fc253f9f9bae9', 'project_id': '51219027268a4323ad6fc253f9f9bae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f0bd05e-4398-4b15-87e2-d03c3d083792'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24004214', 'ctest-vn-10234099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24004214', 'ctest-policy-allow-all-86685741']], 'subnet_ipam': [{'subnet_cidr': '21.28.158.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:02:13,050 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-06-18 13:02:13,369 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-06-18 13:02:13,394 - DEBUG - Requesting: http://10.0.0.130:8082/domain/78c6e090-d7e6-46b5-b5ad-3d0f153b1507 2026-06-18 13:02:13,407 - DEBUG - Requesting: http://10.0.0.130:8082/project/51219027-268a-4323-ad6f-c253f9f9bae9 2026-06-18 13:02:13,484 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c2c1aa2e-50dc-4374-a55b-abd197ed9aa7 2026-06-18 13:02:13,495 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c2c1aa2e-50dc-4374-a55b-abd197ed9aa7 2026-06-18 13:02:13,504 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d3fa3926-9aa1-4486-9d4f-c24412ad5d90 2026-06-18 13:02:13,511 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d3fa3926-9aa1-4486-9d4f-c24412ad5d90 2026-06-18 13:02:13,518 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/301212e8-5477-4bf1-b9da-b29d4fe2adb7 2026-06-18 13:02:13,527 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 13:02:13,527 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c2c1aa2e-50dc-4374-a55b-abd197ed9aa7 2026-06-18 13:02:13,536 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d3fa3926-9aa1-4486-9d4f-c24412ad5d90 2026-06-18 13:02:13,549 - INFO - Verified VN network id 11 for VN c2c1aa2e-50dc-4374-a55b-abd197ed9aa7 2026-06-18 13:02:13,549 - INFO - Verifications in API Server for VN ctest-vn-20455726 passed 2026-06-18 13:02:13,549 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c2c1aa2e-50dc-4374-a55b-abd197ed9aa7 2026-06-18 13:02:13,559 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d3fa3926-9aa1-4486-9d4f-c24412ad5d90 2026-06-18 13:02:13,565 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d3fa3926-9aa1-4486-9d4f-c24412ad5d90 2026-06-18 13:02:13,572 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/301212e8-5477-4bf1-b9da-b29d4fe2adb7 2026-06-18 13:02:13,583 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-20455726', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24004214', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14033685029765006196', 'uuid-lslong': '11915306155824224935'}, 'enable': 'true', 'created': '2026-06-18T13:02:11', 'last-modified': '2026-06-18T13:02:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947170'} 2026-06-18 13:02:13,588 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 13:02:13,588 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20455726 passed 2026-06-18 13:02:13,588 - DEBUG - ====Verifying policy data for ctest-vn-20455726 in API_Server ====== 2026-06-18 13:02:13,588 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-06-18 13:02:13,593 - DEBUG - Requesting: http://10.0.0.130:8082/domain/78c6e090-d7e6-46b5-b5ad-3d0f153b1507 2026-06-18 13:02:13,604 - DEBUG - Requesting: http://10.0.0.130:8082/project/51219027-268a-4323-ad6f-c253f9f9bae9 2026-06-18 13:02:13,672 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c2c1aa2e-50dc-4374-a55b-abd197ed9aa7 2026-06-18 13:02:13,681 - DEBUG - ==>Verifying data for policy with id: 7d0a7e64-90a2-4eec-a4e1-10ccbe517738, fqn: ['default-domain', 'ctest-TestBasicPolicy-24004214', 'ctest-policy-allow-all-86685741'] 2026-06-18 13:02:13,681 - INFO - VN ctest-vn-20455726 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 13:02:13,681 - DEBUG - Verifying the vn in opserver 2026-06-18 13:02:13,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-20455726 virtual network link through opserver 10.0.0.130 2026-06-18 13:02:13,681 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-06-18 13:02:14,010 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-06-18 13:02:14,061 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-20455726', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-20455726?flat'} 2026-06-18 13:02:14,061 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-20455726 is found in opserver 2026-06-18 13:02:14,070 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 13:02:14,074 - DEBUG - VRF ids for VN ctest-vn-20455726: {} 2026-06-18 13:02:14,074 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-06-18 13:02:14,079 - DEBUG - Requesting: http://10.0.0.130:8082/domain/78c6e090-d7e6-46b5-b5ad-3d0f153b1507 2026-06-18 13:02:14,091 - DEBUG - Requesting: http://10.0.0.130:8082/project/51219027-268a-4323-ad6f-c253f9f9bae9 2026-06-18 13:02:14,159 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703 2026-06-18 13:02:14,169 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703 2026-06-18 13:02:14,178 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3d69ab9f-7a88-435b-be9e-277a5969c4f1 2026-06-18 13:02:14,186 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3d69ab9f-7a88-435b-be9e-277a5969c4f1 2026-06-18 13:02:14,192 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/3e66a0f1-ecf9-4b4d-a0db-e47d8b3f2efd 2026-06-18 13:02:14,198 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 13:02:14,198 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703 2026-06-18 13:02:14,206 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3d69ab9f-7a88-435b-be9e-277a5969c4f1 2026-06-18 13:02:14,219 - INFO - Verified VN network id 12 for VN 01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703 2026-06-18 13:02:14,219 - INFO - Verifications in API Server for VN ctest-vn-10234099 passed 2026-06-18 13:02:14,221 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703 2026-06-18 13:02:14,233 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3d69ab9f-7a88-435b-be9e-277a5969c4f1 2026-06-18 13:02:14,240 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3d69ab9f-7a88-435b-be9e-277a5969c4f1 2026-06-18 13:02:14,246 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/3e66a0f1-ecf9-4b4d-a0db-e47d8b3f2efd 2026-06-18 13:02:14,255 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-10234099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24004214', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '139299300534668190', 'uuid-lslong': '13118229226613753603'}, 'enable': 'true', 'created': '2026-06-18T13:02:11', 'last-modified': '2026-06-18T13:02:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.388958'} 2026-06-18 13:02:14,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 13:02:14,261 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10234099 passed 2026-06-18 13:02:14,261 - DEBUG - ====Verifying policy data for ctest-vn-10234099 in API_Server ====== 2026-06-18 13:02:14,261 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-06-18 13:02:14,266 - DEBUG - Requesting: http://10.0.0.130:8082/domain/78c6e090-d7e6-46b5-b5ad-3d0f153b1507 2026-06-18 13:02:14,276 - DEBUG - Requesting: http://10.0.0.130:8082/project/51219027-268a-4323-ad6f-c253f9f9bae9 2026-06-18 13:02:14,344 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703 2026-06-18 13:02:14,355 - DEBUG - ==>Verifying data for policy with id: 7d0a7e64-90a2-4eec-a4e1-10ccbe517738, fqn: ['default-domain', 'ctest-TestBasicPolicy-24004214', 'ctest-policy-allow-all-86685741'] 2026-06-18 13:02:14,355 - INFO - VN ctest-vn-10234099 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 13:02:14,355 - DEBUG - Verifying the vn in opserver 2026-06-18 13:02:14,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-10234099 virtual network link through opserver 10.0.0.130 2026-06-18 13:02:14,355 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-06-18 13:02:14,366 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-10234099', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-10234099?flat'} 2026-06-18 13:02:14,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-10234099 is found in opserver 2026-06-18 13:02:14,375 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 13:02:14,379 - DEBUG - VRF ids for VN ctest-vn-10234099: {} 2026-06-18 13:02:14,447 - DEBUG - Services list from nova: [, , ] 2026-06-18 13:02:15,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5982-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5982-1) 2026-06-18 13:02:16,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5982-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5982-1) 2026-06-18 13:02:16,682 - INFO - Waiting for VM ctest-TestBasicPolicy-24004214-17605537 to be up.. 2026-06-18 13:02:16,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:02:21,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:02:26,908 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:02:26,909 - INFO - VM name : ctest-TestBasicPolicy-24004214-17605537 2026-06-18 13:02:26,980 - DEBUG - VM ctest-TestBasicPolicy-24004214-17605537 ID is efead972-cd4a-4905-97f6-d0d6e5c6c97c 2026-06-18 13:02:26,997 - DEBUG - VM ctest-TestBasicPolicy-24004214-17605537 launched on Node cn-jenkins-deploy-platform-ansible-os-5982-1 2026-06-18 13:02:27,092 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/efead972-cd4a-4905-97f6-d0d6e5c6c97c 2026-06-18 13:02:27,100 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/51b2cd85-eac8-4dcd-8ed9-52511623d181 2026-06-18 13:02:30,313 - 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 1018ms') 2026-06-18 13:02:30,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24004214-17605537 failed! 2026-06-18 13:02:30,370 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24004214:ctest-vn-20455726 is 1.41.218.193 and allocation pool is NOT set 2026-06-18 13:02:32,431 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 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.566/6.770/10.975/4.204 ms') 2026-06-18 13:02:32,432 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24004214-17605537 passed 2026-06-18 13:02:32,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:02:32,582 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24004214-17605537, IP 1.41.218.195, Port 22 2026-06-18 13:02:32,649 - 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-06-18 13:02:32,734 - DEBUG - VM ctest-TestBasicPolicy-24004214-17605537 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 13:02:37,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:02:37,735 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24004214-17605537, IP 1.41.218.195, Port 22 2026-06-18 13:02:37,895 - DEBUG - VM ctest-TestBasicPolicy-24004214-17605537 is ready for SSH connections 2026-06-18 13:02:37,895 - INFO - Waiting for VM ctest-TestBasicPolicy-24004214-22939932 to be up.. 2026-06-18 13:02:37,972 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:02:37,972 - INFO - VM name : ctest-TestBasicPolicy-24004214-22939932 2026-06-18 13:02:38,041 - DEBUG - VM ctest-TestBasicPolicy-24004214-22939932 ID is f955bbd2-297b-444f-a022-32dc1bed2be2 2026-06-18 13:02:38,041 - DEBUG - VM ctest-TestBasicPolicy-24004214-22939932 launched on Node cn-jenkins-deploy-platform-ansible-os-5982-1 2026-06-18 13:02:38,108 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f955bbd2-297b-444f-a022-32dc1bed2be2 2026-06-18 13:02:38,116 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6cfb01d3-f54d-49ae-8038-d3c04ee1da43 2026-06-18 13:02:39,353 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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.504/2.315/4.127/1.811 ms') 2026-06-18 13:02:39,353 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24004214-22939932 passed 2026-06-18 13:02:39,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:02:39,502 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24004214-22939932, IP 21.28.158.3, Port 22 2026-06-18 13:02:39,678 - DEBUG - VM ctest-TestBasicPolicy-24004214-22939932 is ready for SSH connections 2026-06-18 13:02:39,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:02:39,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.28.158.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-06-18 13:02:39,679 - DEBUG - ping -s 56 -c 3 -W 1 21.28.158.3 2026-06-18 13:02:43,261 - DEBUG - PING 21.28.158.3 (21.28.158.3): 56 data bytes 64 bytes from 21.28.158.3: seq=0 ttl=63 time=3.288 ms 64 bytes from 21.28.158.3: seq=1 ttl=63 time=1.272 ms 64 bytes from 21.28.158.3: seq=2 ttl=63 time=1.136 ms --- 21.28.158.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.136/1.898/3.288 ms 2026-06-18 13:02:43,261 - INFO - Ping to IP 21.28.158.3 from VM ctest-TestBasicPolicy-24004214-17605537 passed 2026-06-18 13:02:43,442 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7d0a7e64-90a2-4eec-a4e1-10ccbe517738", "href": "http://10.0.0.130:8082/network-policy/7d0a7e64-90a2-4eec-a4e1-10ccbe517738"}} 2026-06-18 13:02:43,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:02:43,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.28.158.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-06-18 13:02:43,442 - DEBUG - ping -s 56 -c 3 -W 1 21.28.158.3 2026-06-18 13:02:46,562 - DEBUG - PING 21.28.158.3 (21.28.158.3): 56 data bytes --- 21.28.158.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-18 13:02:46,563 - WARNING - Ping to IP 21.28.158.3 from VM ctest-TestBasicPolicy-24004214-17605537 failed 2026-06-18 13:02:46,563 - INFO - Deleting VM ctest-TestBasicPolicy-24004214-22939932 2026-06-18 13:02:46,628 - INFO - Deleting VM ctest-TestBasicPolicy-24004214-17605537 2026-06-18 13:02:46,967 - INFO - Deleted policy ctest-policy-allow-all-86685741 2026-06-18 13:02:46,967 - INFO - Deleting VN ctest-vn-10234099 2026-06-18 13:02:47,012 - DEBUG - VN 01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703 still in use: Unable to complete operation on network 01eee3f9-cdd4-4b9e-b60d-4ffa6e75c703. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b6b358b9-b103-4191-9820-7ec3bdb7dae5'] 2026-06-18 13:02:47,012 - WARNING - Deleting VN ctest-vn-10234099 failed..Will retry 2026-06-18 13:02:49,115 - DEBUG - Response for deleting network () 2026-06-18 13:02:49,115 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3d69ab9f-7a88-435b-be9e-277a5969c4f1 2026-06-18 13:02:49,123 - DEBUG - Response Code: 404 2026-06-18 13:02:49,124 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-06-18 13:02:49,129 - DEBUG - Requesting: http://10.0.0.130:8082/domain/78c6e090-d7e6-46b5-b5ad-3d0f153b1507 2026-06-18 13:02:49,184 - DEBUG - Requesting: http://10.0.0.130:8082/project/51219027-268a-4323-ad6f-c253f9f9bae9 2026-06-18 13:02:49,259 - INFO - Validated that VN ctest-vn-10234099 is not found in API Server 2026-06-18 13:02:49,269 - DEBUG - VN ctest-vn-10234099 is not present in Agent 10.0.0.130 2026-06-18 13:02:49,269 - INFO - Validated that VN ctest-vn-10234099 is not in any agent 2026-06-18 13:02:49,284 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10234099 info 2026-06-18 13:02:49,284 - INFO - Deleting VN ctest-vn-20455726 2026-06-18 13:02:49,388 - DEBUG - Response for deleting network () 2026-06-18 13:02:49,388 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d3fa3926-9aa1-4486-9d4f-c24412ad5d90 2026-06-18 13:02:49,395 - DEBUG - Response Code: 404 2026-06-18 13:02:49,395 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-06-18 13:02:49,399 - DEBUG - Requesting: http://10.0.0.130:8082/domain/78c6e090-d7e6-46b5-b5ad-3d0f153b1507 2026-06-18 13:02:49,455 - DEBUG - Requesting: http://10.0.0.130:8082/project/51219027-268a-4323-ad6f-c253f9f9bae9 2026-06-18 13:02:49,522 - INFO - Validated that VN ctest-vn-20455726 is not found in API Server 2026-06-18 13:02:49,533 - DEBUG - VN ctest-vn-20455726 is not present in Agent 10.0.0.130 2026-06-18 13:02:49,533 - INFO - Validated that VN ctest-vn-20455726 is not in any agent 2026-06-18 13:02:49,547 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20455726 info 2026-06-18 13:02:49,800 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 13:02:49,800 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2026-06-18 13:02:49,800 - INFO - -------------------------------------------------------------------------------- 2026-06-18 13:02:50,537 - INFO - Deleted project: ctest-TestBasicPolicy-24004214, ID : 51219027-268a-4323-ad6f-c253f9f9bae9