2026-02-19 11:17:29,800 - INFO - Domain Default found not creating 2026-02-19 11:17:29,949 - INFO - Project ctest-TestBasicPolicy-01808518 not found, creating it 2026-02-19 11:17:30,401 - INFO - Created Project:ctest-TestBasicPolicy-01808518, ID : 52aec6a0-449d-4b18-a728-e67f564602e1 2026-02-19 11:17:31,789 - INFO - ================================================================================ 2026-02-19 11:17:31,790 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-19 11:17:31,790 - 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-19 11:17:32,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-02-19 11:17:32,048 - INFO - Initial checks done. Running the testcase now 2026-02-19 11:17:32,048 - INFO - 2026-02-19 11:17:32,581 - DEBUG - Response for create_network : {'network': {'id': '50d9e5c2-52a9-4e62-beaf-b28f9f63a132', 'name': 'ctest-vn-80091465', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'project_id': '52aec6a0449d4b18a728e67f564602e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-vn-80091465'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 11:17:32,764 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab35e10a-aa79-4b77-886e-b0bb9da10471', 'name': '', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'network_id': '50d9e5c2-52a9-4e62-beaf-b28f9f63a132', 'ip_version': 4, 'cidr': '64.68.1.0/26', 'allocation_pools': [{'start': '64.68.1.2', 'end': '64.68.1.62'}], 'gateway_ip': '64.68.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.68.1.2', 'tags': [], 'project_id': '52aec6a0449d4b18a728e67f564602e1'}} 2026-02-19 11:17:32,781 - INFO - Created VN ctest-vn-80091465 2026-02-19 11:17:32,831 - DEBUG - VN ctest-vn-80091465 UUID is 50d9e5c2-52a9-4e62-beaf-b28f9f63a132 2026-02-19 11:17:33,178 - DEBUG - Response for create_network : {'network': {'id': '65f89435-ff9e-4702-84fa-6513488c5f22', 'name': 'ctest-vn-58313186', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'project_id': '52aec6a0449d4b18a728e67f564602e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-vn-58313186'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 11:17:33,351 - DEBUG - Response for create_subnet : {'subnet': {'id': '389c358c-e327-436c-8f47-d10293159ec4', 'name': '', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'network_id': '65f89435-ff9e-4702-84fa-6513488c5f22', 'ip_version': 4, 'cidr': '47.239.145.192/26', 'allocation_pools': [{'start': '47.239.145.194', 'end': '47.239.145.254'}], 'gateway_ip': '47.239.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.239.145.194', 'tags': [], 'project_id': '52aec6a0449d4b18a728e67f564602e1'}} 2026-02-19 11:17:33,368 - INFO - Created VN ctest-vn-58313186 2026-02-19 11:17:33,423 - DEBUG - VN ctest-vn-58313186 UUID is 65f89435-ff9e-4702-84fa-6513488c5f22 2026-02-19 11:17:33,575 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465, 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-01808518:ctest-vn-58313186, 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-19 11:17:33,857 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50d9e5c2-52a9-4e62-beaf-b28f9f63a132', 'name': 'ctest-vn-80091465', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'project_id': '52aec6a0449d4b18a728e67f564602e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab35e10a-aa79-4b77-886e-b0bb9da10471'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-vn-80091465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-policy-allow-all-28011084']], 'subnet_ipam': [{'subnet_cidr': '64.68.1.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 11:17:34,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65f89435-ff9e-4702-84fa-6513488c5f22', 'name': 'ctest-vn-58313186', 'tenant_id': '52aec6a0449d4b18a728e67f564602e1', 'project_id': '52aec6a0449d4b18a728e67f564602e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['389c358c-e327-436c-8f47-d10293159ec4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-vn-58313186'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-policy-allow-all-28011084']], 'subnet_ipam': [{'subnet_cidr': '47.239.145.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 11:17:34,267 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-19 11:17:34,563 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-19 11:17:34,590 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e 2026-02-19 11:17:34,601 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1 2026-02-19 11:17:34,672 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132 2026-02-19 11:17:34,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132 2026-02-19 11:17:34,693 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c 2026-02-19 11:17:34,700 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c 2026-02-19 11:17:34,706 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/57f7c753-4186-40f8-b949-43e2bf2d65c2 2026-02-19 11:17:34,712 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 11:17:34,712 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132 2026-02-19 11:17:34,721 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c 2026-02-19 11:17:34,734 - INFO - Verified VN network id 12 for VN 50d9e5c2-52a9-4e62-beaf-b28f9f63a132 2026-02-19 11:17:34,735 - INFO - Verifications in API Server for VN ctest-vn-80091465 passed 2026-02-19 11:17:34,735 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132 2026-02-19 11:17:34,743 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c 2026-02-19 11:17:34,749 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c 2026-02-19 11:17:34,755 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/57f7c753-4186-40f8-b949-43e2bf2d65c2 2026-02-19 11:17:34,767 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01808518', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5825940215753690722', 'uuid-lslong': '13740397318054846770'}, 'enable': 'true', 'created': '2026-02-19T11:17:32', 'last-modified': '2026-02-19T11:17:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927450'} 2026-02-19 11:17:34,774 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 11:17:34,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80091465 passed 2026-02-19 11:17:34,774 - DEBUG - ====Verifying policy data for ctest-vn-80091465 in API_Server ====== 2026-02-19 11:17:34,774 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-19 11:17:34,779 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e 2026-02-19 11:17:34,787 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1 2026-02-19 11:17:34,858 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/50d9e5c2-52a9-4e62-beaf-b28f9f63a132 2026-02-19 11:17:34,867 - DEBUG - ==>Verifying data for policy with id: e133320a-8dd0-4ddb-a657-c94a3f5191a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-policy-allow-all-28011084'] 2026-02-19 11:17:34,867 - INFO - VN ctest-vn-80091465 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 11:17:34,867 - DEBUG - Verifying the vn in opserver 2026-02-19 11:17:34,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465 virtual network link through opserver 10.0.0.33 2026-02-19 11:17:34,868 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-19 11:17:35,157 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-19 11:17:35,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465?flat'} 2026-02-19 11:17:35,213 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465 is found in opserver 2026-02-19 11:17:35,222 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 11:17:35,227 - DEBUG - VRF ids for VN ctest-vn-80091465: {} 2026-02-19 11:17:35,227 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-19 11:17:35,232 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e 2026-02-19 11:17:35,241 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1 2026-02-19 11:17:35,310 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22 2026-02-19 11:17:35,319 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22 2026-02-19 11:17:35,327 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14 2026-02-19 11:17:35,333 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14 2026-02-19 11:17:35,339 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b24991a1-1f46-4422-b456-eca09adfdd03 2026-02-19 11:17:35,345 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 11:17:35,345 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22 2026-02-19 11:17:35,354 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14 2026-02-19 11:17:35,367 - INFO - Verified VN network id 13 for VN 65f89435-ff9e-4702-84fa-6513488c5f22 2026-02-19 11:17:35,367 - INFO - Verifications in API Server for VN ctest-vn-58313186 passed 2026-02-19 11:17:35,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22 2026-02-19 11:17:35,376 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14 2026-02-19 11:17:35,382 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14 2026-02-19 11:17:35,388 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b24991a1-1f46-4422-b456-eca09adfdd03 2026-02-19 11:17:35,399 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01808518', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7347785751697704706', 'uuid-lslong': '9582082290680094498'}, 'enable': 'true', 'created': '2026-02-19T11:17:33', 'last-modified': '2026-02-19T11:17:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343860'} 2026-02-19 11:17:35,405 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 11:17:35,405 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58313186 passed 2026-02-19 11:17:35,406 - DEBUG - ====Verifying policy data for ctest-vn-58313186 in API_Server ====== 2026-02-19 11:17:35,406 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-19 11:17:35,411 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e 2026-02-19 11:17:35,420 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1 2026-02-19 11:17:35,488 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/65f89435-ff9e-4702-84fa-6513488c5f22 2026-02-19 11:17:35,496 - DEBUG - ==>Verifying data for policy with id: e133320a-8dd0-4ddb-a657-c94a3f5191a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-01808518', 'ctest-policy-allow-all-28011084'] 2026-02-19 11:17:35,496 - INFO - VN ctest-vn-58313186 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 11:17:35,496 - DEBUG - Verifying the vn in opserver 2026-02-19 11:17:35,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186 virtual network link through opserver 10.0.0.33 2026-02-19 11:17:35,497 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-19 11:17:35,506 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186?flat'} 2026-02-19 11:17:35,506 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-58313186 is found in opserver 2026-02-19 11:17:35,514 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 11:17:35,518 - DEBUG - VRF ids for VN ctest-vn-58313186: {} 2026-02-19 11:17:35,572 - DEBUG - Services list from nova: [, , ] 2026-02-19 11:17:36,531 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5354-1) 2026-02-19 11:17:37,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5354-1) 2026-02-19 11:17:37,608 - INFO - Waiting for VM ctest-TestBasicPolicy-01808518-59307808 to be up.. 2026-02-19 11:17:37,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 11:17:42,754 - DEBUG - VM is in ACTIVE state now 2026-02-19 11:17:42,754 - INFO - VM name : ctest-TestBasicPolicy-01808518-59307808 2026-02-19 11:17:42,822 - DEBUG - VM ctest-TestBasicPolicy-01808518-59307808 ID is d07f7219-a202-4945-8f2c-1ee2677e6e15 2026-02-19 11:17:42,843 - DEBUG - VM ctest-TestBasicPolicy-01808518-59307808 launched on Node cn-jenkins-deploy-platform-ansible-os-5354-1 2026-02-19 11:17:42,917 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d07f7219-a202-4945-8f2c-1ee2677e6e15 2026-02-19 11:17:42,924 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b85a6362-6124-4515-bf90-e3ad59a6b49f 2026-02-19 11:17:46,164 - 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 1007ms') 2026-02-19 11:17:46,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01808518-59307808 failed! 2026-02-19 11:17:46,219 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01808518:ctest-vn-80091465 is 64.68.1.1 and allocation pool is NOT set 2026-02-19 11:17:48,283 - 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=3.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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.440/1.986/3.532/1.546 ms') 2026-02-19 11:17:48,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01808518-59307808 passed 2026-02-19 11:17:48,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 11:17:48,448 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01808518-59307808, IP 64.68.1.3, Port 22 2026-02-19 11:17:48,602 - DEBUG - VM ctest-TestBasicPolicy-01808518-59307808 is ready for SSH connections 2026-02-19 11:17:48,602 - INFO - Waiting for VM ctest-TestBasicPolicy-01808518-59087095 to be up.. 2026-02-19 11:17:48,679 - DEBUG - VM is in ACTIVE state now 2026-02-19 11:17:48,679 - INFO - VM name : ctest-TestBasicPolicy-01808518-59087095 2026-02-19 11:17:48,753 - DEBUG - VM ctest-TestBasicPolicy-01808518-59087095 ID is 8cb04fc2-4de7-44ea-a51a-59851daca97f 2026-02-19 11:17:48,753 - DEBUG - VM ctest-TestBasicPolicy-01808518-59087095 launched on Node cn-jenkins-deploy-platform-ansible-os-5354-1 2026-02-19 11:17:48,836 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8cb04fc2-4de7-44ea-a51a-59851daca97f 2026-02-19 11:17:48,844 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8c5b873d-11e5-45ce-a5f9-8dab907cd8cf 2026-02-19 11:17:50,076 - 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=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.665/2.891/1.226 ms') 2026-02-19 11:17:50,076 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01808518-59087095 passed 2026-02-19 11:17:50,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 11:17:50,223 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01808518-59087095, IP 47.239.145.195, Port 22 2026-02-19 11:17:50,379 - DEBUG - VM ctest-TestBasicPolicy-01808518-59087095 is ready for SSH connections 2026-02-19 11:17:50,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 11:17:50,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.239.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-19 11:17:50,379 - DEBUG - ping -s 56 -c 3 -W 1 47.239.145.195 2026-02-19 11:17:54,347 - DEBUG - PING 47.239.145.195 (47.239.145.195): 56 data bytes 64 bytes from 47.239.145.195: seq=0 ttl=63 time=3.197 ms 64 bytes from 47.239.145.195: seq=1 ttl=63 time=1.082 ms 64 bytes from 47.239.145.195: seq=2 ttl=63 time=0.760 ms --- 47.239.145.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.679/3.197 ms 2026-02-19 11:17:54,347 - INFO - Ping to IP 47.239.145.195 from VM ctest-TestBasicPolicy-01808518-59307808 passed 2026-02-19 11:17:54,515 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e133320a-8dd0-4ddb-a657-c94a3f5191a9", "href": "http://10.0.0.33:8082/network-policy/e133320a-8dd0-4ddb-a657-c94a3f5191a9"}} 2026-02-19 11:17:54,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 11:17:54,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.239.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-19 11:17:54,515 - DEBUG - ping -s 56 -c 3 -W 1 47.239.145.195 2026-02-19 11:17:57,725 - DEBUG - PING 47.239.145.195 (47.239.145.195): 56 data bytes --- 47.239.145.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 11:17:57,725 - WARNING - Ping to IP 47.239.145.195 from VM ctest-TestBasicPolicy-01808518-59307808 failed 2026-02-19 11:17:57,725 - INFO - Deleting VM ctest-TestBasicPolicy-01808518-59087095 2026-02-19 11:17:57,814 - INFO - Deleting VM ctest-TestBasicPolicy-01808518-59307808 2026-02-19 11:17:58,193 - INFO - Deleted policy ctest-policy-allow-all-28011084 2026-02-19 11:17:58,193 - INFO - Deleting VN ctest-vn-58313186 2026-02-19 11:17:58,225 - DEBUG - VN 65f89435-ff9e-4702-84fa-6513488c5f22 still in use: Unable to complete operation on network 65f89435-ff9e-4702-84fa-6513488c5f22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-862dcb5d-d29d-4ff6-a280-ae1f6bacb812'] 2026-02-19 11:17:58,225 - WARNING - Deleting VN ctest-vn-58313186 failed..Will retry 2026-02-19 11:18:00,317 - DEBUG - Response for deleting network () 2026-02-19 11:18:00,317 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f1d08a5d-1983-4111-b462-cc777652bd14 2026-02-19 11:18:00,321 - DEBUG - Response Code: 404 2026-02-19 11:18:00,322 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-19 11:18:00,326 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e 2026-02-19 11:18:00,376 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1 2026-02-19 11:18:00,443 - INFO - Validated that VN ctest-vn-58313186 is not found in API Server 2026-02-19 11:18:00,452 - DEBUG - VN ctest-vn-58313186 is not present in Agent 10.0.0.33 2026-02-19 11:18:00,452 - INFO - Validated that VN ctest-vn-58313186 is not in any agent 2026-02-19 11:18:00,465 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58313186 info 2026-02-19 11:18:00,465 - INFO - Deleting VN ctest-vn-80091465 2026-02-19 11:18:00,554 - DEBUG - Response for deleting network () 2026-02-19 11:18:00,554 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/85637ca3-70d7-4ac5-885d-8d7bb942ec0c 2026-02-19 11:18:00,562 - DEBUG - Response Code: 404 2026-02-19 11:18:00,562 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-19 11:18:00,567 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ed4f3a69-05cd-4b0e-821f-1df6097db24e 2026-02-19 11:18:00,620 - DEBUG - Requesting: http://10.0.0.33:8082/project/52aec6a0-449d-4b18-a728-e67f564602e1 2026-02-19 11:18:00,688 - INFO - Validated that VN ctest-vn-80091465 is not found in API Server 2026-02-19 11:18:00,697 - DEBUG - VN ctest-vn-80091465 is not present in Agent 10.0.0.33 2026-02-19 11:18:00,697 - INFO - Validated that VN ctest-vn-80091465 is not in any agent 2026-02-19 11:18:00,710 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80091465 info 2026-02-19 11:18:00,964 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 11:18:00,964 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-19 11:18:00,964 - INFO - -------------------------------------------------------------------------------- 2026-02-19 11:18:01,635 - INFO - Deleted project: ctest-TestBasicPolicy-01808518, ID : 52aec6a0-449d-4b18-a728-e67f564602e1