2026-02-12 12:30:26,965 - INFO - Domain Default found not creating 2026-02-12 12:30:27,193 - INFO - Project ctest-TestBasicPolicy-38052918 not found, creating it 2026-02-12 12:30:27,688 - INFO - Created Project:ctest-TestBasicPolicy-38052918, ID : bf2f0999-b65b-4a5a-bef6-db6f63bc447c 2026-02-12 12:30:29,427 - INFO - ================================================================================ 2026-02-12 12:30:29,427 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 12:30:29,427 - 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-02-12 12:30:29,689 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2026-02-12 12:30:29,689 - INFO - Initial checks done. Running the testcase now 2026-02-12 12:30:29,689 - INFO - 2026-02-12 12:30:30,317 - DEBUG - Response for create_network : {'network': {'id': '0bff9064-d0a0-40c1-af66-c933ad1ad6d7', 'name': 'ctest-vn-15672207', 'tenant_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'project_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38052918', 'ctest-vn-15672207'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:30:30,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d45b467-12e9-40d5-b7b4-7b9941e3f8bf', 'name': '', 'tenant_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'network_id': '0bff9064-d0a0-40c1-af66-c933ad1ad6d7', 'ip_version': 4, 'cidr': '214.225.244.128/26', 'allocation_pools': [{'start': '214.225.244.130', 'end': '214.225.244.190'}], 'gateway_ip': '214.225.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.225.244.130', 'tags': [], 'project_id': 'bf2f0999b65b4a5abef6db6f63bc447c'}} 2026-02-12 12:30:30,550 - INFO - Created VN ctest-vn-15672207 2026-02-12 12:30:30,604 - DEBUG - VN ctest-vn-15672207 UUID is 0bff9064-d0a0-40c1-af66-c933ad1ad6d7 2026-02-12 12:30:30,962 - DEBUG - Response for create_network : {'network': {'id': '9760b960-6c4d-494f-954a-83a9fc88bf0f', 'name': 'ctest-vn-17238035', 'tenant_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'project_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38052918', 'ctest-vn-17238035'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:30:31,216 - DEBUG - Response for create_subnet : {'subnet': {'id': '913b2476-d8c0-43f7-a4e9-cb97f00102b9', 'name': '', 'tenant_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'network_id': '9760b960-6c4d-494f-954a-83a9fc88bf0f', 'ip_version': 4, 'cidr': '213.240.129.64/26', 'allocation_pools': [{'start': '213.240.129.66', 'end': '213.240.129.126'}], 'gateway_ip': '213.240.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.240.129.66', 'tags': [], 'project_id': 'bf2f0999b65b4a5abef6db6f63bc447c'}} 2026-02-12 12:30:31,242 - INFO - Created VN ctest-vn-17238035 2026-02-12 12:30:31,300 - DEBUG - VN ctest-vn-17238035 UUID is 9760b960-6c4d-494f-954a-83a9fc88bf0f 2026-02-12 12:30:31,429 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-15672207, 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-38052918:ctest-vn-17238035, 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-02-12 12:30:31,747 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0bff9064-d0a0-40c1-af66-c933ad1ad6d7', 'name': 'ctest-vn-15672207', 'tenant_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'project_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d45b467-12e9-40d5-b7b4-7b9941e3f8bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38052918', 'ctest-vn-15672207'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38052918', 'ctest-policy-allow-all-86905996']], 'subnet_ipam': [{'subnet_cidr': '214.225.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:30:31,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9760b960-6c4d-494f-954a-83a9fc88bf0f', 'name': 'ctest-vn-17238035', 'tenant_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'project_id': 'bf2f0999b65b4a5abef6db6f63bc447c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['913b2476-d8c0-43f7-a4e9-cb97f00102b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38052918', 'ctest-vn-17238035'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38052918', 'ctest-policy-allow-all-86905996']], 'subnet_ipam': [{'subnet_cidr': '213.240.129.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:30:32,160 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-12 12:30:32,463 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-12 12:30:32,498 - DEBUG - Requesting: http://10.0.0.141:8082/domain/94f49d51-0397-40ee-9150-48eaffeb93c1 2026-02-12 12:30:32,511 - DEBUG - Requesting: http://10.0.0.141:8082/project/bf2f0999-b65b-4a5a-bef6-db6f63bc447c 2026-02-12 12:30:32,588 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0bff9064-d0a0-40c1-af66-c933ad1ad6d7 2026-02-12 12:30:32,598 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0bff9064-d0a0-40c1-af66-c933ad1ad6d7 2026-02-12 12:30:32,607 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cdfb3435-ed2b-4fcf-a217-e78e36228c7d 2026-02-12 12:30:32,614 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cdfb3435-ed2b-4fcf-a217-e78e36228c7d 2026-02-12 12:30:32,622 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/001b9d88-996e-42f2-8d9b-8e0f3df98c26 2026-02-12 12:30:32,628 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 12:30:32,628 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0bff9064-d0a0-40c1-af66-c933ad1ad6d7 2026-02-12 12:30:32,637 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cdfb3435-ed2b-4fcf-a217-e78e36228c7d 2026-02-12 12:30:32,657 - INFO - Verified VN network id 12 for VN 0bff9064-d0a0-40c1-af66-c933ad1ad6d7 2026-02-12 12:30:32,657 - INFO - Verifications in API Server for VN ctest-vn-15672207 passed 2026-02-12 12:30:32,657 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0bff9064-d0a0-40c1-af66-c933ad1ad6d7 2026-02-12 12:30:32,667 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cdfb3435-ed2b-4fcf-a217-e78e36228c7d 2026-02-12 12:30:32,675 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cdfb3435-ed2b-4fcf-a217-e78e36228c7d 2026-02-12 12:30:32,684 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/001b9d88-996e-42f2-8d9b-8e0f3df98c26 2026-02-12 12:30:32,698 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-15672207', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38052918', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '864568416149717185', 'uuid-lslong': '12639010628046608087'}, 'enable': 'true', 'created': '2026-02-12T12:30:30', 'last-modified': '2026-02-12T12:30:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980917'} 2026-02-12 12:30:32,704 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 12:30:32,704 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15672207 passed 2026-02-12 12:30:32,704 - DEBUG - ====Verifying policy data for ctest-vn-15672207 in API_Server ====== 2026-02-12 12:30:32,705 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-12 12:30:32,710 - DEBUG - Requesting: http://10.0.0.141:8082/domain/94f49d51-0397-40ee-9150-48eaffeb93c1 2026-02-12 12:30:32,722 - DEBUG - Requesting: http://10.0.0.141:8082/project/bf2f0999-b65b-4a5a-bef6-db6f63bc447c 2026-02-12 12:30:32,803 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0bff9064-d0a0-40c1-af66-c933ad1ad6d7 2026-02-12 12:30:32,813 - DEBUG - ==>Verifying data for policy with id: 4284e157-59de-44fc-8c40-ef0e2807413a, fqn: ['default-domain', 'ctest-TestBasicPolicy-38052918', 'ctest-policy-allow-all-86905996'] 2026-02-12 12:30:32,813 - INFO - VN ctest-vn-15672207 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 12:30:32,813 - DEBUG - Verifying the vn in opserver 2026-02-12 12:30:32,813 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-15672207 virtual network link through opserver 10.0.0.141 2026-02-12 12:30:32,813 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-12 12:30:33,125 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-12 12:30:33,194 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-15672207', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-15672207?flat'} 2026-02-12 12:30:33,194 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-15672207 is found in opserver 2026-02-12 12:30:33,206 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 12:30:33,213 - DEBUG - VRF ids for VN ctest-vn-15672207: {} 2026-02-12 12:30:33,213 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-12 12:30:33,219 - DEBUG - Requesting: http://10.0.0.141:8082/domain/94f49d51-0397-40ee-9150-48eaffeb93c1 2026-02-12 12:30:33,232 - DEBUG - Requesting: http://10.0.0.141:8082/project/bf2f0999-b65b-4a5a-bef6-db6f63bc447c 2026-02-12 12:30:33,311 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9760b960-6c4d-494f-954a-83a9fc88bf0f 2026-02-12 12:30:33,326 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9760b960-6c4d-494f-954a-83a9fc88bf0f 2026-02-12 12:30:33,336 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1775ea1b-41c5-408d-bd2d-a6548dc8a0ac 2026-02-12 12:30:33,344 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1775ea1b-41c5-408d-bd2d-a6548dc8a0ac 2026-02-12 12:30:33,353 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/65af56b8-d77f-4e39-8868-47e371a33f6e 2026-02-12 12:30:33,360 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 12:30:33,360 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9760b960-6c4d-494f-954a-83a9fc88bf0f 2026-02-12 12:30:33,370 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1775ea1b-41c5-408d-bd2d-a6548dc8a0ac 2026-02-12 12:30:33,386 - INFO - Verified VN network id 13 for VN 9760b960-6c4d-494f-954a-83a9fc88bf0f 2026-02-12 12:30:33,386 - INFO - Verifications in API Server for VN ctest-vn-17238035 passed 2026-02-12 12:30:33,386 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9760b960-6c4d-494f-954a-83a9fc88bf0f 2026-02-12 12:30:33,398 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1775ea1b-41c5-408d-bd2d-a6548dc8a0ac 2026-02-12 12:30:33,410 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1775ea1b-41c5-408d-bd2d-a6548dc8a0ac 2026-02-12 12:30:33,418 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/65af56b8-d77f-4e39-8868-47e371a33f6e 2026-02-12 12:30:33,431 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-17238035', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38052918', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10907922121276344655', 'uuid-lslong': '10757555426037382927'}, 'enable': 'true', 'created': '2026-02-12T12:30:30', 'last-modified': '2026-02-12T12:30:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456391'} 2026-02-12 12:30:33,436 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 12:30:33,437 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17238035 passed 2026-02-12 12:30:33,437 - DEBUG - ====Verifying policy data for ctest-vn-17238035 in API_Server ====== 2026-02-12 12:30:33,437 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-12 12:30:33,444 - DEBUG - Requesting: http://10.0.0.141:8082/domain/94f49d51-0397-40ee-9150-48eaffeb93c1 2026-02-12 12:30:33,457 - DEBUG - Requesting: http://10.0.0.141:8082/project/bf2f0999-b65b-4a5a-bef6-db6f63bc447c 2026-02-12 12:30:33,528 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9760b960-6c4d-494f-954a-83a9fc88bf0f 2026-02-12 12:30:33,538 - DEBUG - ==>Verifying data for policy with id: 4284e157-59de-44fc-8c40-ef0e2807413a, fqn: ['default-domain', 'ctest-TestBasicPolicy-38052918', 'ctest-policy-allow-all-86905996'] 2026-02-12 12:30:33,539 - INFO - VN ctest-vn-17238035 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 12:30:33,539 - DEBUG - Verifying the vn in opserver 2026-02-12 12:30:33,539 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-17238035 virtual network link through opserver 10.0.0.141 2026-02-12 12:30:33,539 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-12 12:30:33,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-17238035', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-17238035?flat'} 2026-02-12 12:30:33,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-17238035 is found in opserver 2026-02-12 12:30:33,565 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 12:30:33,570 - DEBUG - VRF ids for VN ctest-vn-17238035: {} 2026-02-12 12:30:33,650 - DEBUG - Services list from nova: [, , ] 2026-02-12 12:30:34,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5316-1) 2026-02-12 12:30:36,135 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5316-1) 2026-02-12 12:30:36,135 - INFO - Waiting for VM ctest-TestBasicPolicy-38052918-07947856 to be up.. 2026-02-12 12:30:36,224 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 12:30:41,301 - DEBUG - VM is in ACTIVE state now 2026-02-12 12:30:41,301 - INFO - VM name : ctest-TestBasicPolicy-38052918-07947856 2026-02-12 12:30:41,383 - DEBUG - VM ctest-TestBasicPolicy-38052918-07947856 ID is 7259d728-4bb6-4279-a175-c2aa7384c1df 2026-02-12 12:30:41,410 - DEBUG - VM ctest-TestBasicPolicy-38052918-07947856 launched on Node cn-jenkins-deploy-platform-ansible-os-5316-1 2026-02-12 12:30:41,502 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7259d728-4bb6-4279-a175-c2aa7384c1df 2026-02-12 12:30:41,513 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/30a87970-149f-4f64-ad3e-47b4fcc49b97 2026-02-12 12:30:44,779 - 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 1016ms') 2026-02-12 12:30:44,779 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38052918-07947856 failed! 2026-02-12 12:30:44,836 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38052918:ctest-vn-15672207 is 214.225.244.129 and allocation pool is NOT set 2026-02-12 12:30:46,906 - 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=7.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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 = 1.617/4.320/7.023/2.703 ms') 2026-02-12 12:30:46,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38052918-07947856 passed 2026-02-12 12:30:47,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:30:47,073 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38052918-07947856, IP 214.225.244.131, Port 22 2026-02-12 12:30:47,143 - 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-02-12 12:30:47,236 - DEBUG - VM ctest-TestBasicPolicy-38052918-07947856 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 12:30:52,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:30:52,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38052918-07947856, IP 214.225.244.131, Port 22 2026-02-12 12:30:52,402 - DEBUG - VM ctest-TestBasicPolicy-38052918-07947856 is ready for SSH connections 2026-02-12 12:30:52,402 - INFO - Waiting for VM ctest-TestBasicPolicy-38052918-38752512 to be up.. 2026-02-12 12:30:52,495 - DEBUG - VM is in ACTIVE state now 2026-02-12 12:30:52,495 - INFO - VM name : ctest-TestBasicPolicy-38052918-38752512 2026-02-12 12:30:52,586 - DEBUG - VM ctest-TestBasicPolicy-38052918-38752512 ID is a142aa56-9b11-4588-8a7e-2c40f1a60877 2026-02-12 12:30:52,586 - DEBUG - VM ctest-TestBasicPolicy-38052918-38752512 launched on Node cn-jenkins-deploy-platform-ansible-os-5316-1 2026-02-12 12:30:52,677 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a142aa56-9b11-4588-8a7e-2c40f1a60877 2026-02-12 12:30:52,688 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d748e127-0355-4378-8fec-ec28e59bd04c 2026-02-12 12:30:53,941 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.634 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.634/2.206/3.778/1.572 ms') 2026-02-12 12:30:53,941 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38052918-38752512 passed 2026-02-12 12:30:54,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:30:54,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38052918-38752512, IP 213.240.129.67, Port 22 2026-02-12 12:30:54,266 - DEBUG - VM ctest-TestBasicPolicy-38052918-38752512 is ready for SSH connections 2026-02-12 12:30:54,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:30:54,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.240.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-12 12:30:54,266 - DEBUG - ping -s 56 -c 3 -W 1 213.240.129.67 2026-02-12 12:30:58,374 - DEBUG - PING 213.240.129.67 (213.240.129.67): 56 data bytes 64 bytes from 213.240.129.67: seq=0 ttl=63 time=4.710 ms 64 bytes from 213.240.129.67: seq=1 ttl=63 time=1.017 ms 64 bytes from 213.240.129.67: seq=2 ttl=63 time=1.015 ms --- 213.240.129.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/2.247/4.710 ms 2026-02-12 12:30:58,374 - INFO - Ping to IP 213.240.129.67 from VM ctest-TestBasicPolicy-38052918-07947856 passed 2026-02-12 12:30:58,560 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4284e157-59de-44fc-8c40-ef0e2807413a", "href": "http://10.0.0.141:8082/network-policy/4284e157-59de-44fc-8c40-ef0e2807413a"}} 2026-02-12 12:30:58,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:30:58,560 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.240.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-12 12:30:58,560 - DEBUG - ping -s 56 -c 3 -W 1 213.240.129.67 2026-02-12 12:31:01,788 - DEBUG - PING 213.240.129.67 (213.240.129.67): 56 data bytes --- 213.240.129.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 12:31:01,788 - WARNING - Ping to IP 213.240.129.67 from VM ctest-TestBasicPolicy-38052918-07947856 failed 2026-02-12 12:31:01,789 - INFO - Deleting VM ctest-TestBasicPolicy-38052918-38752512 2026-02-12 12:31:01,888 - INFO - Deleting VM ctest-TestBasicPolicy-38052918-07947856 2026-02-12 12:31:02,326 - INFO - Deleted policy ctest-policy-allow-all-86905996 2026-02-12 12:31:02,326 - INFO - Deleting VN ctest-vn-17238035 2026-02-12 12:31:02,360 - DEBUG - VN 9760b960-6c4d-494f-954a-83a9fc88bf0f still in use: Unable to complete operation on network 9760b960-6c4d-494f-954a-83a9fc88bf0f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f0562fc6-a41a-48fb-9a46-0dd4d480f4d9'] 2026-02-12 12:31:02,360 - WARNING - Deleting VN ctest-vn-17238035 failed..Will retry 2026-02-12 12:31:04,482 - DEBUG - Response for deleting network () 2026-02-12 12:31:04,483 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1775ea1b-41c5-408d-bd2d-a6548dc8a0ac 2026-02-12 12:31:04,492 - DEBUG - Response Code: 404 2026-02-12 12:31:04,493 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-12 12:31:04,501 - DEBUG - Requesting: http://10.0.0.141:8082/domain/94f49d51-0397-40ee-9150-48eaffeb93c1 2026-02-12 12:31:04,565 - DEBUG - Requesting: http://10.0.0.141:8082/project/bf2f0999-b65b-4a5a-bef6-db6f63bc447c 2026-02-12 12:31:04,652 - INFO - Validated that VN ctest-vn-17238035 is not found in API Server 2026-02-12 12:31:04,664 - DEBUG - VN ctest-vn-17238035 is not present in Agent 10.0.0.141 2026-02-12 12:31:04,664 - INFO - Validated that VN ctest-vn-17238035 is not in any agent 2026-02-12 12:31:04,680 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17238035 info 2026-02-12 12:31:04,680 - INFO - Deleting VN ctest-vn-15672207 2026-02-12 12:31:04,811 - DEBUG - Response for deleting network () 2026-02-12 12:31:04,811 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/cdfb3435-ed2b-4fcf-a217-e78e36228c7d 2026-02-12 12:31:04,816 - DEBUG - Response Code: 404 2026-02-12 12:31:04,816 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-02-12 12:31:04,827 - DEBUG - Requesting: http://10.0.0.141:8082/domain/94f49d51-0397-40ee-9150-48eaffeb93c1 2026-02-12 12:31:04,883 - DEBUG - Requesting: http://10.0.0.141:8082/project/bf2f0999-b65b-4a5a-bef6-db6f63bc447c 2026-02-12 12:31:04,963 - INFO - Validated that VN ctest-vn-15672207 is not found in API Server 2026-02-12 12:31:04,974 - DEBUG - VN ctest-vn-15672207 is not present in Agent 10.0.0.141 2026-02-12 12:31:04,974 - INFO - Validated that VN ctest-vn-15672207 is not in any agent 2026-02-12 12:31:04,995 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15672207 info 2026-02-12 12:31:05,265 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 12:31:05,265 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-02-12 12:31:05,265 - INFO - -------------------------------------------------------------------------------- 2026-02-12 12:31:05,999 - INFO - Deleted project: ctest-TestBasicPolicy-38052918, ID : bf2f0999-b65b-4a5a-bef6-db6f63bc447c