2026-01-15 02:09:12,500 - INFO - Domain Default found not creating 2026-01-15 02:09:12,693 - INFO - Project ctest-TestBasicPolicy-32570846 not found, creating it 2026-01-15 02:09:13,153 - INFO - Created Project:ctest-TestBasicPolicy-32570846, ID : ba08b6b5-3c0b-4610-b823-355b94e542b8 2026-01-15 02:09:14,678 - INFO - ================================================================================ 2026-01-15 02:09:14,678 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-15 02:09:14,678 - 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-01-15 02:09:14,942 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0'}} with 2026-01-15 02:09:14,942 - INFO - Initial checks done. Running the testcase now 2026-01-15 02:09:14,942 - INFO - 2026-01-15 02:09:15,536 - DEBUG - Response for create_network : {'network': {'id': 'cd0ee53b-2762-4202-9bcb-7e8772ab95c3', 'name': 'ctest-vn-75657027', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'project_id': 'ba08b6b53c0b4610b823355b94e542b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-vn-75657027'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:09:15,704 - DEBUG - Response for create_subnet : {'subnet': {'id': '57d6eb7f-819c-4d13-b826-538056ab1d73', 'name': '', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'network_id': 'cd0ee53b-2762-4202-9bcb-7e8772ab95c3', 'ip_version': 4, 'cidr': '86.225.54.64/26', 'allocation_pools': [{'start': '86.225.54.66', 'end': '86.225.54.126'}], 'gateway_ip': '86.225.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.225.54.66', 'tags': [], 'project_id': 'ba08b6b53c0b4610b823355b94e542b8'}} 2026-01-15 02:09:15,724 - INFO - Created VN ctest-vn-75657027 2026-01-15 02:09:15,776 - DEBUG - VN ctest-vn-75657027 UUID is cd0ee53b-2762-4202-9bcb-7e8772ab95c3 2026-01-15 02:09:16,065 - DEBUG - Response for create_network : {'network': {'id': '58a8e865-fc87-4667-b10a-d597a86af87a', 'name': 'ctest-vn-75673162', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'project_id': 'ba08b6b53c0b4610b823355b94e542b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-vn-75673162'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:09:16,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '726e0ad6-4b8e-48dc-a9da-9899dc2876c0', 'name': '', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'network_id': '58a8e865-fc87-4667-b10a-d597a86af87a', 'ip_version': 4, 'cidr': '146.169.71.192/26', 'allocation_pools': [{'start': '146.169.71.194', 'end': '146.169.71.254'}], 'gateway_ip': '146.169.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.169.71.194', 'tags': [], 'project_id': 'ba08b6b53c0b4610b823355b94e542b8'}} 2026-01-15 02:09:16,307 - INFO - Created VN ctest-vn-75673162 2026-01-15 02:09:16,360 - DEBUG - VN ctest-vn-75673162 UUID is 58a8e865-fc87-4667-b10a-d597a86af87a 2026-01-15 02:09:16,477 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027, 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-32570846:ctest-vn-75673162, 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-01-15 02:09:16,772 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd0ee53b-2762-4202-9bcb-7e8772ab95c3', 'name': 'ctest-vn-75657027', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'project_id': 'ba08b6b53c0b4610b823355b94e542b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57d6eb7f-819c-4d13-b826-538056ab1d73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-vn-75657027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-policy-allow-all-73356024']], 'subnet_ipam': [{'subnet_cidr': '86.225.54.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:09:16,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58a8e865-fc87-4667-b10a-d597a86af87a', 'name': 'ctest-vn-75673162', 'tenant_id': 'ba08b6b53c0b4610b823355b94e542b8', 'project_id': 'ba08b6b53c0b4610b823355b94e542b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['726e0ad6-4b8e-48dc-a9da-9899dc2876c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-vn-75673162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-policy-allow-all-73356024']], 'subnet_ipam': [{'subnet_cidr': '146.169.71.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:09:17,136 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-15 02:09:17,448 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-15 02:09:17,481 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548 2026-01-15 02:09:17,494 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8 2026-01-15 02:09:17,569 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3 2026-01-15 02:09:17,579 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3 2026-01-15 02:09:17,587 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d 2026-01-15 02:09:17,594 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d 2026-01-15 02:09:17,601 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/e0682f39-c248-4e71-a6ec-f7ce5e6299a3 2026-01-15 02:09:17,607 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 02:09:17,607 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3 2026-01-15 02:09:17,615 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d 2026-01-15 02:09:17,627 - INFO - Verified VN network id 11 for VN cd0ee53b-2762-4202-9bcb-7e8772ab95c3 2026-01-15 02:09:17,627 - INFO - Verifications in API Server for VN ctest-vn-75657027 passed 2026-01-15 02:09:17,627 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3 2026-01-15 02:09:17,635 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d 2026-01-15 02:09:17,641 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d 2026-01-15 02:09:17,648 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/e0682f39-c248-4e71-a6ec-f7ce5e6299a3 2026-01-15 02:09:17,658 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32570846', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14775999469675758082', 'uuid-lslong': '11226205616360625603'}, 'enable': 'true', 'created': '2026-01-15T02:09:15', 'last-modified': '2026-01-15T02:09:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907796'} 2026-01-15 02:09:17,665 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 02:09:17,665 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75657027 passed 2026-01-15 02:09:17,666 - DEBUG - ====Verifying policy data for ctest-vn-75657027 in API_Server ====== 2026-01-15 02:09:17,666 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-15 02:09:17,672 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548 2026-01-15 02:09:17,683 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8 2026-01-15 02:09:17,756 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/cd0ee53b-2762-4202-9bcb-7e8772ab95c3 2026-01-15 02:09:17,765 - DEBUG - ==>Verifying data for policy with id: 13524e31-f1ec-4ac9-8a81-ba070d749cac, fqn: ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-policy-allow-all-73356024'] 2026-01-15 02:09:17,765 - INFO - VN ctest-vn-75657027 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 02:09:17,765 - DEBUG - Verifying the vn in opserver 2026-01-15 02:09:17,765 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027 virtual network link through opserver 10.0.0.23 2026-01-15 02:09:17,766 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-15 02:09:18,072 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-15 02:09:18,149 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027?flat'} 2026-01-15 02:09:18,149 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027 is found in opserver 2026-01-15 02:09:18,159 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 02:09:18,164 - DEBUG - VRF ids for VN ctest-vn-75657027: {} 2026-01-15 02:09:18,164 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-15 02:09:18,170 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548 2026-01-15 02:09:18,181 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8 2026-01-15 02:09:18,251 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a 2026-01-15 02:09:18,263 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a 2026-01-15 02:09:18,272 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4 2026-01-15 02:09:18,280 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4 2026-01-15 02:09:18,287 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a802cbdc-6c11-4054-8e50-e4045f94e48b 2026-01-15 02:09:18,294 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 02:09:18,294 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a 2026-01-15 02:09:18,305 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4 2026-01-15 02:09:18,318 - INFO - Verified VN network id 12 for VN 58a8e865-fc87-4667-b10a-d597a86af87a 2026-01-15 02:09:18,318 - INFO - Verifications in API Server for VN ctest-vn-75673162 passed 2026-01-15 02:09:18,319 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a 2026-01-15 02:09:18,327 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4 2026-01-15 02:09:18,334 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4 2026-01-15 02:09:18,341 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a802cbdc-6c11-4054-8e50-e4045f94e48b 2026-01-15 02:09:18,356 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32570846', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6388611596151113319', 'uuid-lslong': '12757243741822711930'}, 'enable': 'true', 'created': '2026-01-15T02:09:16', 'last-modified': '2026-01-15T02:09:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386660'} 2026-01-15 02:09:18,363 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 02:09:18,363 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75673162 passed 2026-01-15 02:09:18,363 - DEBUG - ====Verifying policy data for ctest-vn-75673162 in API_Server ====== 2026-01-15 02:09:18,363 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-15 02:09:18,374 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548 2026-01-15 02:09:18,388 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8 2026-01-15 02:09:18,464 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/58a8e865-fc87-4667-b10a-d597a86af87a 2026-01-15 02:09:18,473 - DEBUG - ==>Verifying data for policy with id: 13524e31-f1ec-4ac9-8a81-ba070d749cac, fqn: ['default-domain', 'ctest-TestBasicPolicy-32570846', 'ctest-policy-allow-all-73356024'] 2026-01-15 02:09:18,473 - INFO - VN ctest-vn-75673162 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 02:09:18,473 - DEBUG - Verifying the vn in opserver 2026-01-15 02:09:18,473 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162 virtual network link through opserver 10.0.0.23 2026-01-15 02:09:18,473 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-15 02:09:18,482 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162?flat'} 2026-01-15 02:09:18,483 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75673162 is found in opserver 2026-01-15 02:09:18,492 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 02:09:18,496 - DEBUG - VRF ids for VN ctest-vn-75673162: {} 2026-01-15 02:09:18,568 - DEBUG - Services list from nova: [, , ] 2026-01-15 02:09:19,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5012-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5012-1) 2026-01-15 02:09:20,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5012-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5012-1) 2026-01-15 02:09:20,824 - INFO - Waiting for VM ctest-TestBasicPolicy-32570846-76983029 to be up.. 2026-01-15 02:09:20,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 02:09:26,004 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:09:26,004 - INFO - VM name : ctest-TestBasicPolicy-32570846-76983029 2026-01-15 02:09:26,090 - DEBUG - VM ctest-TestBasicPolicy-32570846-76983029 ID is 074f706e-5919-48bc-809b-9d67e112a24e 2026-01-15 02:09:26,114 - DEBUG - VM ctest-TestBasicPolicy-32570846-76983029 launched on Node cn-jenkins-deploy-platform-ansible-os-5012-1 2026-01-15 02:09:26,195 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/074f706e-5919-48bc-809b-9d67e112a24e 2026-01-15 02:09:26,204 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8e4a9404-f2ee-4643-b4f9-5ae71a9a65c1 2026-01-15 02:09:29,462 - 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 1013ms') 2026-01-15 02:09:29,462 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32570846-76983029 failed! 2026-01-15 02:09:29,520 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32570846:ctest-vn-75657027 is 86.225.54.65 and allocation pool is NOT set 2026-01-15 02:09:31,577 - 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=9.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.538 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.538/5.096/9.655/4.558 ms') 2026-01-15 02:09:31,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32570846-76983029 passed 2026-01-15 02:09:31,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:31,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32570846-76983029, IP 86.225.54.67, Port 22 2026-01-15 02:09:31,883 - DEBUG - VM ctest-TestBasicPolicy-32570846-76983029 is ready for SSH connections 2026-01-15 02:09:31,883 - INFO - Waiting for VM ctest-TestBasicPolicy-32570846-04204247 to be up.. 2026-01-15 02:09:31,962 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:09:31,962 - INFO - VM name : ctest-TestBasicPolicy-32570846-04204247 2026-01-15 02:09:32,043 - DEBUG - VM ctest-TestBasicPolicy-32570846-04204247 ID is b5c9fb63-1267-47ea-b9e0-03d91a6f7478 2026-01-15 02:09:32,043 - DEBUG - VM ctest-TestBasicPolicy-32570846-04204247 launched on Node cn-jenkins-deploy-platform-ansible-os-5012-1 2026-01-15 02:09:32,120 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b5c9fb63-1267-47ea-b9e0-03d91a6f7478 2026-01-15 02:09:32,129 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/12d795fd-b496-4669-849f-3e176c8f28a4 2026-01-15 02:09:33,366 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.926/3.354/1.428 ms') 2026-01-15 02:09:33,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32570846-04204247 passed 2026-01-15 02:09:33,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:33,520 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32570846-04204247, IP 146.169.71.195, Port 22 2026-01-15 02:09:33,689 - DEBUG - VM ctest-TestBasicPolicy-32570846-04204247 is ready for SSH connections 2026-01-15 02:09:33,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:33,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.169.71.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-15 02:09:33,690 - DEBUG - ping -s 56 -c 3 -W 1 146.169.71.195 2026-01-15 02:09:37,713 - DEBUG - PING 146.169.71.195 (146.169.71.195): 56 data bytes 64 bytes from 146.169.71.195: seq=0 ttl=63 time=4.085 ms 64 bytes from 146.169.71.195: seq=1 ttl=63 time=1.026 ms 64 bytes from 146.169.71.195: seq=2 ttl=63 time=1.027 ms --- 146.169.71.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.026/2.046/4.085 ms 2026-01-15 02:09:37,713 - INFO - Ping to IP 146.169.71.195 from VM ctest-TestBasicPolicy-32570846-76983029 passed 2026-01-15 02:09:37,892 - DEBUG - Policy Update Response {"network-policy": {"uuid": "13524e31-f1ec-4ac9-8a81-ba070d749cac", "href": "http://10.0.0.23:8082/network-policy/13524e31-f1ec-4ac9-8a81-ba070d749cac"}} 2026-01-15 02:09:37,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:37,892 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.169.71.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-15 02:09:37,892 - DEBUG - ping -s 56 -c 3 -W 1 146.169.71.195 2026-01-15 02:09:41,117 - DEBUG - PING 146.169.71.195 (146.169.71.195): 56 data bytes --- 146.169.71.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-15 02:09:41,118 - WARNING - Ping to IP 146.169.71.195 from VM ctest-TestBasicPolicy-32570846-76983029 failed 2026-01-15 02:09:41,118 - INFO - Deleting VM ctest-TestBasicPolicy-32570846-04204247 2026-01-15 02:09:41,190 - INFO - Deleting VM ctest-TestBasicPolicy-32570846-76983029 2026-01-15 02:09:41,560 - INFO - Deleted policy ctest-policy-allow-all-73356024 2026-01-15 02:09:41,560 - INFO - Deleting VN ctest-vn-75673162 2026-01-15 02:09:41,592 - DEBUG - VN 58a8e865-fc87-4667-b10a-d597a86af87a still in use: Unable to complete operation on network 58a8e865-fc87-4667-b10a-d597a86af87a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e365a064-8b15-4c53-901f-ebaca3779d41'] 2026-01-15 02:09:41,592 - WARNING - Deleting VN ctest-vn-75673162 failed..Will retry 2026-01-15 02:09:43,727 - DEBUG - Response for deleting network () 2026-01-15 02:09:43,727 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/db9b75e4-60c4-4f3c-818f-d649e865e3e4 2026-01-15 02:09:43,732 - DEBUG - Response Code: 404 2026-01-15 02:09:43,733 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-15 02:09:43,743 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548 2026-01-15 02:09:43,801 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8 2026-01-15 02:09:43,874 - INFO - Validated that VN ctest-vn-75673162 is not found in API Server 2026-01-15 02:09:43,884 - DEBUG - VN ctest-vn-75673162 is not present in Agent 10.0.0.23 2026-01-15 02:09:43,884 - INFO - Validated that VN ctest-vn-75673162 is not in any agent 2026-01-15 02:09:43,899 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75673162 info 2026-01-15 02:09:43,899 - INFO - Deleting VN ctest-vn-75657027 2026-01-15 02:09:44,019 - DEBUG - Response for deleting network () 2026-01-15 02:09:44,019 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/3ee3835c-2121-492c-a8f4-4c92b0b7ae4d 2026-01-15 02:09:44,027 - DEBUG - Response Code: 404 2026-01-15 02:09:44,027 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-15 02:09:44,033 - DEBUG - Requesting: http://10.0.0.23:8082/domain/64e99420-c75c-4c07-a68a-16b5f119e548 2026-01-15 02:09:44,090 - DEBUG - Requesting: http://10.0.0.23:8082/project/ba08b6b5-3c0b-4610-b823-355b94e542b8 2026-01-15 02:09:44,163 - INFO - Validated that VN ctest-vn-75657027 is not found in API Server 2026-01-15 02:09:44,174 - DEBUG - VN ctest-vn-75657027 is not present in Agent 10.0.0.23 2026-01-15 02:09:44,174 - INFO - Validated that VN ctest-vn-75657027 is not in any agent 2026-01-15 02:09:44,189 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75657027 info 2026-01-15 02:09:44,447 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 02:09:44,447 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-15 02:09:44,447 - INFO - -------------------------------------------------------------------------------- 2026-01-15 02:09:45,211 - INFO - Deleted project: ctest-TestBasicPolicy-32570846, ID : ba08b6b5-3c0b-4610-b823-355b94e542b8