2026-04-17 09:01:28,065 - INFO - Domain Default found not creating 2026-04-17 09:01:28,217 - INFO - Project ctest-TestBasicPolicy-97216780 not found, creating it 2026-04-17 09:01:28,660 - INFO - Created Project:ctest-TestBasicPolicy-97216780, ID : b885eb82-68bf-4d68-afbe-306280650012 2026-04-17 09:01:30,098 - INFO - ================================================================================ 2026-04-17 09:01:30,098 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-17 09:01:30,098 - 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-04-17 09:01:30,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-17 09:01:30,349 - INFO - Initial checks done. Running the testcase now 2026-04-17 09:01:30,350 - INFO - 2026-04-17 09:01:30,895 - DEBUG - Response for create_network : {'network': {'id': '4f7d34b8-698f-4d8b-8a83-670bff3bb0a1', 'name': 'ctest-vn-89402547', 'tenant_id': 'b885eb8268bf4d68afbe306280650012', 'project_id': 'b885eb8268bf4d68afbe306280650012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97216780', 'ctest-vn-89402547'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:01:31,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '96f05f00-9b65-4e73-8c98-148007cd9f3b', 'name': '', 'tenant_id': 'b885eb8268bf4d68afbe306280650012', 'network_id': '4f7d34b8-698f-4d8b-8a83-670bff3bb0a1', 'ip_version': 4, 'cidr': '166.252.178.0/26', 'allocation_pools': [{'start': '166.252.178.2', 'end': '166.252.178.62'}], 'gateway_ip': '166.252.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.252.178.2', 'tags': [], 'project_id': 'b885eb8268bf4d68afbe306280650012'}} 2026-04-17 09:01:31,075 - INFO - Created VN ctest-vn-89402547 2026-04-17 09:01:31,125 - DEBUG - VN ctest-vn-89402547 UUID is 4f7d34b8-698f-4d8b-8a83-670bff3bb0a1 2026-04-17 09:01:31,399 - DEBUG - Response for create_network : {'network': {'id': '3948a58b-8c0a-4741-a9b3-96afe3020c69', 'name': 'ctest-vn-43405698', 'tenant_id': 'b885eb8268bf4d68afbe306280650012', 'project_id': 'b885eb8268bf4d68afbe306280650012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97216780', 'ctest-vn-43405698'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:01:31,553 - DEBUG - Response for create_subnet : {'subnet': {'id': '441fa2ad-198b-46f4-b00d-16140e7d0e37', 'name': '', 'tenant_id': 'b885eb8268bf4d68afbe306280650012', 'network_id': '3948a58b-8c0a-4741-a9b3-96afe3020c69', 'ip_version': 4, 'cidr': '162.246.240.64/26', 'allocation_pools': [{'start': '162.246.240.66', 'end': '162.246.240.126'}], 'gateway_ip': '162.246.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.246.240.66', 'tags': [], 'project_id': 'b885eb8268bf4d68afbe306280650012'}} 2026-04-17 09:01:31,570 - INFO - Created VN ctest-vn-43405698 2026-04-17 09:01:31,624 - DEBUG - VN ctest-vn-43405698 UUID is 3948a58b-8c0a-4741-a9b3-96afe3020c69 2026-04-17 09:01:31,791 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-89402547, 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-97216780:ctest-vn-43405698, 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-04-17 09:01:32,226 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f7d34b8-698f-4d8b-8a83-670bff3bb0a1', 'name': 'ctest-vn-89402547', 'tenant_id': 'b885eb8268bf4d68afbe306280650012', 'project_id': 'b885eb8268bf4d68afbe306280650012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96f05f00-9b65-4e73-8c98-148007cd9f3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97216780', 'ctest-vn-89402547'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97216780', 'ctest-policy-allow-all-25454901']], 'subnet_ipam': [{'subnet_cidr': '166.252.178.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:01:32,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3948a58b-8c0a-4741-a9b3-96afe3020c69', 'name': 'ctest-vn-43405698', 'tenant_id': 'b885eb8268bf4d68afbe306280650012', 'project_id': 'b885eb8268bf4d68afbe306280650012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['441fa2ad-198b-46f4-b00d-16140e7d0e37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97216780', 'ctest-vn-43405698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97216780', 'ctest-policy-allow-all-25454901']], 'subnet_ipam': [{'subnet_cidr': '162.246.240.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:01:32,565 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 09:01:32,861 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 09:01:32,890 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df84e62d-899d-43fd-8497-782d411290ed 2026-04-17 09:01:32,902 - DEBUG - Requesting: http://10.0.0.38:8082/project/b885eb82-68bf-4d68-afbe-306280650012 2026-04-17 09:01:32,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4f7d34b8-698f-4d8b-8a83-670bff3bb0a1 2026-04-17 09:01:32,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4f7d34b8-698f-4d8b-8a83-670bff3bb0a1 2026-04-17 09:01:32,988 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33caaee7-032c-4f0e-9dd5-423590f2e4a5 2026-04-17 09:01:32,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33caaee7-032c-4f0e-9dd5-423590f2e4a5 2026-04-17 09:01:32,999 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/43c6a116-ee4c-4158-8e7a-c53cc17554b4 2026-04-17 09:01:33,005 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 09:01:33,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4f7d34b8-698f-4d8b-8a83-670bff3bb0a1 2026-04-17 09:01:33,012 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33caaee7-032c-4f0e-9dd5-423590f2e4a5 2026-04-17 09:01:33,022 - INFO - Verified VN network id 9 for VN 4f7d34b8-698f-4d8b-8a83-670bff3bb0a1 2026-04-17 09:01:33,025 - INFO - Verifications in API Server for VN ctest-vn-89402547 passed 2026-04-17 09:01:33,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4f7d34b8-698f-4d8b-8a83-670bff3bb0a1 2026-04-17 09:01:33,033 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33caaee7-032c-4f0e-9dd5-423590f2e4a5 2026-04-17 09:01:33,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33caaee7-032c-4f0e-9dd5-423590f2e4a5 2026-04-17 09:01:33,044 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/43c6a116-ee4c-4158-8e7a-c53cc17554b4 2026-04-17 09:01:33,053 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-89402547', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97216780', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5727792267734764939', 'uuid-lslong': '9980934500407554209'}, 'enable': 'true', 'created': '2026-04-17T09:01:30', 'last-modified': '2026-04-17T09:01:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860227'} 2026-04-17 09:01:33,058 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 09:01:33,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89402547 passed 2026-04-17 09:01:33,058 - DEBUG - ====Verifying policy data for ctest-vn-89402547 in API_Server ====== 2026-04-17 09:01:33,058 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 09:01:33,063 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df84e62d-899d-43fd-8497-782d411290ed 2026-04-17 09:01:33,071 - DEBUG - Requesting: http://10.0.0.38:8082/project/b885eb82-68bf-4d68-afbe-306280650012 2026-04-17 09:01:33,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4f7d34b8-698f-4d8b-8a83-670bff3bb0a1 2026-04-17 09:01:33,152 - DEBUG - ==>Verifying data for policy with id: aa867c15-25b2-45c5-ac28-0493136731f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-97216780', 'ctest-policy-allow-all-25454901'] 2026-04-17 09:01:33,152 - INFO - VN ctest-vn-89402547 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 09:01:33,152 - DEBUG - Verifying the vn in opserver 2026-04-17 09:01:33,153 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-89402547 virtual network link through opserver 10.0.0.38 2026-04-17 09:01:33,153 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 09:01:33,442 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 09:01:33,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-89402547', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-89402547?flat'} 2026-04-17 09:01:33,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-89402547 is found in opserver 2026-04-17 09:01:33,515 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 09:01:33,520 - DEBUG - VRF ids for VN ctest-vn-89402547: {} 2026-04-17 09:01:33,520 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 09:01:33,526 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df84e62d-899d-43fd-8497-782d411290ed 2026-04-17 09:01:33,536 - DEBUG - Requesting: http://10.0.0.38:8082/project/b885eb82-68bf-4d68-afbe-306280650012 2026-04-17 09:01:33,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3948a58b-8c0a-4741-a9b3-96afe3020c69 2026-04-17 09:01:33,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3948a58b-8c0a-4741-a9b3-96afe3020c69 2026-04-17 09:01:33,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c334d93d-365c-4298-8899-5ed5a1515a52 2026-04-17 09:01:33,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c334d93d-365c-4298-8899-5ed5a1515a52 2026-04-17 09:01:33,646 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/58d854fd-c7f9-45ba-8ad6-fa45d939e670 2026-04-17 09:01:33,652 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 09:01:33,652 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3948a58b-8c0a-4741-a9b3-96afe3020c69 2026-04-17 09:01:33,661 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c334d93d-365c-4298-8899-5ed5a1515a52 2026-04-17 09:01:33,677 - INFO - Verified VN network id 10 for VN 3948a58b-8c0a-4741-a9b3-96afe3020c69 2026-04-17 09:01:33,677 - INFO - Verifications in API Server for VN ctest-vn-43405698 passed 2026-04-17 09:01:33,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3948a58b-8c0a-4741-a9b3-96afe3020c69 2026-04-17 09:01:33,686 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c334d93d-365c-4298-8899-5ed5a1515a52 2026-04-17 09:01:33,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c334d93d-365c-4298-8899-5ed5a1515a52 2026-04-17 09:01:33,701 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/58d854fd-c7f9-45ba-8ad6-fa45d939e670 2026-04-17 09:01:33,716 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-43405698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97216780', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4127731077253580609', 'uuid-lslong': '12228283095413034089'}, 'enable': 'true', 'created': '2026-04-17T09:01:31', 'last-modified': '2026-04-17T09:01:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287017'} 2026-04-17 09:01:33,723 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 09:01:33,723 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43405698 passed 2026-04-17 09:01:33,723 - DEBUG - ====Verifying policy data for ctest-vn-43405698 in API_Server ====== 2026-04-17 09:01:33,723 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 09:01:33,729 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df84e62d-899d-43fd-8497-782d411290ed 2026-04-17 09:01:33,739 - DEBUG - Requesting: http://10.0.0.38:8082/project/b885eb82-68bf-4d68-afbe-306280650012 2026-04-17 09:01:33,811 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3948a58b-8c0a-4741-a9b3-96afe3020c69 2026-04-17 09:01:33,822 - DEBUG - ==>Verifying data for policy with id: aa867c15-25b2-45c5-ac28-0493136731f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-97216780', 'ctest-policy-allow-all-25454901'] 2026-04-17 09:01:33,822 - INFO - VN ctest-vn-43405698 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 09:01:33,822 - DEBUG - Verifying the vn in opserver 2026-04-17 09:01:33,823 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-43405698 virtual network link through opserver 10.0.0.38 2026-04-17 09:01:33,823 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-17 09:01:33,834 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-43405698', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-43405698?flat'} 2026-04-17 09:01:33,835 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-43405698 is found in opserver 2026-04-17 09:01:33,846 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 09:01:33,852 - DEBUG - VRF ids for VN ctest-vn-43405698: {} 2026-04-17 09:01:33,926 - DEBUG - Services list from nova: [, , ] 2026-04-17 09:01:34,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5632-1) 2026-04-17 09:01:36,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5632-1) 2026-04-17 09:01:36,028 - INFO - Waiting for VM ctest-TestBasicPolicy-97216780-67165205 to be up.. 2026-04-17 09:01:36,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 09:01:41,177 - DEBUG - VM is in ACTIVE state now 2026-04-17 09:01:41,177 - INFO - VM name : ctest-TestBasicPolicy-97216780-67165205 2026-04-17 09:01:41,252 - DEBUG - VM ctest-TestBasicPolicy-97216780-67165205 ID is 4513e1c7-2de2-4089-b3ee-5be2c600cf86 2026-04-17 09:01:41,273 - DEBUG - VM ctest-TestBasicPolicy-97216780-67165205 launched on Node cn-jenkins-deploy-platform-ansible-os-5632-1 2026-04-17 09:01:41,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4513e1c7-2de2-4089-b3ee-5be2c600cf86 2026-04-17 09:01:41,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/318ca703-190a-435b-a10a-c3935c91263b 2026-04-17 09:01:44,556 - 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-04-17 09:01:44,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97216780-67165205 failed! 2026-04-17 09:01:44,608 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97216780:ctest-vn-89402547 is 166.252.178.1 and allocation pool is NOT set 2026-04-17 09:01:46,676 - 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=5.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.411/3.459/5.508/2.048 ms') 2026-04-17 09:01:46,676 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97216780-67165205 passed 2026-04-17 09:01:46,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:01:46,825 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97216780-67165205, IP 166.252.178.3, Port 22 2026-04-17 09:01:46,984 - DEBUG - VM ctest-TestBasicPolicy-97216780-67165205 is ready for SSH connections 2026-04-17 09:01:46,984 - INFO - Waiting for VM ctest-TestBasicPolicy-97216780-71688850 to be up.. 2026-04-17 09:01:47,057 - DEBUG - VM is in ACTIVE state now 2026-04-17 09:01:47,057 - INFO - VM name : ctest-TestBasicPolicy-97216780-71688850 2026-04-17 09:01:47,126 - DEBUG - VM ctest-TestBasicPolicy-97216780-71688850 ID is f1ade9b3-f28c-4b93-948c-b82f8fcf7eac 2026-04-17 09:01:47,126 - DEBUG - VM ctest-TestBasicPolicy-97216780-71688850 launched on Node cn-jenkins-deploy-platform-ansible-os-5632-1 2026-04-17 09:01:47,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1ade9b3-f28c-4b93-948c-b82f8fcf7eac 2026-04-17 09:01:47,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b84f92de-3a23-444e-a096-006dc36a1ca7 2026-04-17 09:01:48,437 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.592/2.770/1.178 ms') 2026-04-17 09:01:48,438 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97216780-71688850 passed 2026-04-17 09:01:48,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:01:48,589 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97216780-71688850, IP 162.246.240.67, Port 22 2026-04-17 09:01:48,744 - DEBUG - VM ctest-TestBasicPolicy-97216780-71688850 is ready for SSH connections 2026-04-17 09:01:48,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:01:48,744 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.246.240.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 09:01:48,744 - DEBUG - ping -s 56 -c 3 -W 1 162.246.240.67 2026-04-17 09:01:52,783 - DEBUG - PING 162.246.240.67 (162.246.240.67): 56 data bytes 64 bytes from 162.246.240.67: seq=0 ttl=63 time=3.371 ms 64 bytes from 162.246.240.67: seq=1 ttl=63 time=1.120 ms 64 bytes from 162.246.240.67: seq=2 ttl=63 time=1.081 ms --- 162.246.240.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.081/1.857/3.371 ms 2026-04-17 09:01:52,783 - INFO - Ping to IP 162.246.240.67 from VM ctest-TestBasicPolicy-97216780-67165205 passed 2026-04-17 09:01:52,960 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aa867c15-25b2-45c5-ac28-0493136731f7", "href": "http://10.0.0.38:8082/network-policy/aa867c15-25b2-45c5-ac28-0493136731f7"}} 2026-04-17 09:01:52,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:01:52,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.246.240.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 09:01:52,961 - DEBUG - ping -s 56 -c 3 -W 1 162.246.240.67 2026-04-17 09:01:56,159 - DEBUG - PING 162.246.240.67 (162.246.240.67): 56 data bytes --- 162.246.240.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 09:01:56,159 - WARNING - Ping to IP 162.246.240.67 from VM ctest-TestBasicPolicy-97216780-67165205 failed 2026-04-17 09:01:56,159 - INFO - Deleting VM ctest-TestBasicPolicy-97216780-71688850 2026-04-17 09:01:56,233 - INFO - Deleting VM ctest-TestBasicPolicy-97216780-67165205 2026-04-17 09:01:56,621 - INFO - Deleted policy ctest-policy-allow-all-25454901 2026-04-17 09:01:56,621 - INFO - Deleting VN ctest-vn-43405698 2026-04-17 09:01:56,669 - DEBUG - VN 3948a58b-8c0a-4741-a9b3-96afe3020c69 still in use: Unable to complete operation on network 3948a58b-8c0a-4741-a9b3-96afe3020c69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f73b6867-a09f-45f6-a1f5-dd6faccbf869'] 2026-04-17 09:01:56,669 - WARNING - Deleting VN ctest-vn-43405698 failed..Will retry 2026-04-17 09:01:58,759 - DEBUG - Response for deleting network () 2026-04-17 09:01:58,759 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c334d93d-365c-4298-8899-5ed5a1515a52 2026-04-17 09:01:58,764 - DEBUG - Response Code: 404 2026-04-17 09:01:58,764 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 09:01:58,768 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df84e62d-899d-43fd-8497-782d411290ed 2026-04-17 09:01:58,821 - DEBUG - Requesting: http://10.0.0.38:8082/project/b885eb82-68bf-4d68-afbe-306280650012 2026-04-17 09:01:58,890 - INFO - Validated that VN ctest-vn-43405698 is not found in API Server 2026-04-17 09:01:58,899 - DEBUG - VN ctest-vn-43405698 is not present in Agent 10.0.0.38 2026-04-17 09:01:58,899 - INFO - Validated that VN ctest-vn-43405698 is not in any agent 2026-04-17 09:01:58,910 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43405698 info 2026-04-17 09:01:58,910 - INFO - Deleting VN ctest-vn-89402547 2026-04-17 09:01:59,010 - DEBUG - Response for deleting network () 2026-04-17 09:01:59,010 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33caaee7-032c-4f0e-9dd5-423590f2e4a5 2026-04-17 09:01:59,016 - DEBUG - Response Code: 404 2026-04-17 09:01:59,016 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-17 09:01:59,021 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df84e62d-899d-43fd-8497-782d411290ed 2026-04-17 09:01:59,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/b885eb82-68bf-4d68-afbe-306280650012 2026-04-17 09:01:59,141 - INFO - Validated that VN ctest-vn-89402547 is not found in API Server 2026-04-17 09:01:59,149 - DEBUG - VN ctest-vn-89402547 is not present in Agent 10.0.0.38 2026-04-17 09:01:59,149 - INFO - Validated that VN ctest-vn-89402547 is not in any agent 2026-04-17 09:01:59,162 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89402547 info 2026-04-17 09:01:59,421 - DEBUG - No XMPP flaps were noticed during the test 2026-04-17 09:01:59,421 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-04-17 09:01:59,421 - INFO - -------------------------------------------------------------------------------- 2026-04-17 09:02:00,091 - INFO - Deleted project: ctest-TestBasicPolicy-97216780, ID : b885eb82-68bf-4d68-afbe-306280650012