2026-03-06 11:47:27,770 - INFO - Domain Default found not creating 2026-03-06 11:47:27,986 - INFO - Project ctest-TestBasicPolicy-24611130 not found, creating it 2026-03-06 11:47:28,483 - INFO - Created Project:ctest-TestBasicPolicy-24611130, ID : 15d83c00-4d63-4366-a37a-2b7ef55ced03 2026-03-06 11:47:30,098 - INFO - ================================================================================ 2026-03-06 11:47:30,099 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-06 11:47:30,099 - 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-03-06 11:47:30,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-03-06 11:47:30,361 - INFO - Initial checks done. Running the testcase now 2026-03-06 11:47:30,361 - INFO - 2026-03-06 11:47:30,922 - DEBUG - Response for create_network : {'network': {'id': 'ca9d5752-3944-477f-b25d-56eb0eeec18a', 'name': 'ctest-vn-35814831', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'project_id': '15d83c004d634366a37a2b7ef55ced03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-vn-35814831'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 11:47:31,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '24411391-f550-4a70-9496-73ba410ae38f', 'name': '', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'network_id': 'ca9d5752-3944-477f-b25d-56eb0eeec18a', 'ip_version': 4, 'cidr': '78.195.212.0/26', 'allocation_pools': [{'start': '78.195.212.2', 'end': '78.195.212.62'}], 'gateway_ip': '78.195.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.195.212.2', 'tags': [], 'project_id': '15d83c004d634366a37a2b7ef55ced03'}} 2026-03-06 11:47:31,091 - INFO - Created VN ctest-vn-35814831 2026-03-06 11:47:31,146 - DEBUG - VN ctest-vn-35814831 UUID is ca9d5752-3944-477f-b25d-56eb0eeec18a 2026-03-06 11:47:31,450 - DEBUG - Response for create_network : {'network': {'id': '56da8429-6e8d-4f25-9135-6db8c5230c1c', 'name': 'ctest-vn-31245703', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'project_id': '15d83c004d634366a37a2b7ef55ced03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-vn-31245703'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 11:47:31,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '8557720b-ece3-4784-b095-32e375518424', 'name': '', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'network_id': '56da8429-6e8d-4f25-9135-6db8c5230c1c', 'ip_version': 4, 'cidr': '26.5.117.0/26', 'allocation_pools': [{'start': '26.5.117.2', 'end': '26.5.117.62'}], 'gateway_ip': '26.5.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.5.117.2', 'tags': [], 'project_id': '15d83c004d634366a37a2b7ef55ced03'}} 2026-03-06 11:47:31,696 - INFO - Created VN ctest-vn-31245703 2026-03-06 11:47:31,750 - DEBUG - VN ctest-vn-31245703 UUID is 56da8429-6e8d-4f25-9135-6db8c5230c1c 2026-03-06 11:47:31,865 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831, 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-24611130:ctest-vn-31245703, 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-03-06 11:47:32,237 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca9d5752-3944-477f-b25d-56eb0eeec18a', 'name': 'ctest-vn-35814831', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'project_id': '15d83c004d634366a37a2b7ef55ced03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24411391-f550-4a70-9496-73ba410ae38f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-vn-35814831'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-policy-allow-all-13227201']], 'subnet_ipam': [{'subnet_cidr': '78.195.212.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-06 11:47:32,478 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56da8429-6e8d-4f25-9135-6db8c5230c1c', 'name': 'ctest-vn-31245703', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'project_id': '15d83c004d634366a37a2b7ef55ced03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8557720b-ece3-4784-b095-32e375518424'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-vn-31245703'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-policy-allow-all-13227201']], 'subnet_ipam': [{'subnet_cidr': '26.5.117.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-06 11:47:32,646 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-06 11:47:32,937 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-06 11:47:32,970 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70 2026-03-06 11:47:32,982 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03 2026-03-06 11:47:33,052 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a 2026-03-06 11:47:33,063 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a 2026-03-06 11:47:33,072 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae 2026-03-06 11:47:33,079 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae 2026-03-06 11:47:33,085 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9b2559f-045f-483f-b7fb-709777e285b7 2026-03-06 11:47:33,094 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-06 11:47:33,094 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a 2026-03-06 11:47:33,125 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae 2026-03-06 11:47:33,140 - INFO - Verified VN network id 11 for VN ca9d5752-3944-477f-b25d-56eb0eeec18a 2026-03-06 11:47:33,140 - INFO - Verifications in API Server for VN ctest-vn-35814831 passed 2026-03-06 11:47:33,140 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a 2026-03-06 11:47:33,148 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae 2026-03-06 11:47:33,155 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae 2026-03-06 11:47:33,161 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9b2559f-045f-483f-b7fb-709777e285b7 2026-03-06 11:47:33,172 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24611130', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14599921577664726911', 'uuid-lslong': '12852524479153095050'}, 'enable': 'true', 'created': '2026-03-06T11:47:30', 'last-modified': '2026-03-06T11:47:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992293'} 2026-03-06 11:47:33,179 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-06 11:47:33,179 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35814831 passed 2026-03-06 11:47:33,179 - DEBUG - ====Verifying policy data for ctest-vn-35814831 in API_Server ====== 2026-03-06 11:47:33,179 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-06 11:47:33,185 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70 2026-03-06 11:47:33,198 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03 2026-03-06 11:47:33,267 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a 2026-03-06 11:47:33,276 - DEBUG - ==>Verifying data for policy with id: d22ca336-2eda-48f6-91bf-00554e714022, fqn: ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-policy-allow-all-13227201'] 2026-03-06 11:47:33,276 - INFO - VN ctest-vn-35814831 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-06 11:47:33,277 - DEBUG - Verifying the vn in opserver 2026-03-06 11:47:33,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831 virtual network link through opserver 10.0.0.33 2026-03-06 11:47:33,277 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-06 11:47:33,579 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-06 11:47:33,651 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831?flat'} 2026-03-06 11:47:33,651 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831 is found in opserver 2026-03-06 11:47:33,660 - DEBUG - Do not have enough data to verify VN in agent 2026-03-06 11:47:33,665 - DEBUG - VRF ids for VN ctest-vn-35814831: {} 2026-03-06 11:47:33,665 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-06 11:47:33,670 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70 2026-03-06 11:47:33,681 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03 2026-03-06 11:47:33,751 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c 2026-03-06 11:47:33,762 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c 2026-03-06 11:47:33,772 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7 2026-03-06 11:47:33,779 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7 2026-03-06 11:47:33,786 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5ef5013f-431d-42e5-8040-efb99a924b16 2026-03-06 11:47:33,792 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-06 11:47:33,792 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c 2026-03-06 11:47:33,802 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7 2026-03-06 11:47:33,817 - INFO - Verified VN network id 12 for VN 56da8429-6e8d-4f25-9135-6db8c5230c1c 2026-03-06 11:47:33,817 - INFO - Verifications in API Server for VN ctest-vn-31245703 passed 2026-03-06 11:47:33,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c 2026-03-06 11:47:33,827 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7 2026-03-06 11:47:33,838 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7 2026-03-06 11:47:33,846 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5ef5013f-431d-42e5-8040-efb99a924b16 2026-03-06 11:47:33,859 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24611130', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6258459945668005669', 'uuid-lslong': '10463389949614033948'}, 'enable': 'true', 'created': '2026-03-06T11:47:31', 'last-modified': '2026-03-06T11:47:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.402917'} 2026-03-06 11:47:33,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-06 11:47:33,865 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31245703 passed 2026-03-06 11:47:33,865 - DEBUG - ====Verifying policy data for ctest-vn-31245703 in API_Server ====== 2026-03-06 11:47:33,865 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-06 11:47:33,871 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70 2026-03-06 11:47:33,881 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03 2026-03-06 11:47:33,952 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c 2026-03-06 11:47:33,963 - DEBUG - ==>Verifying data for policy with id: d22ca336-2eda-48f6-91bf-00554e714022, fqn: ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-policy-allow-all-13227201'] 2026-03-06 11:47:33,963 - INFO - VN ctest-vn-31245703 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-06 11:47:33,963 - DEBUG - Verifying the vn in opserver 2026-03-06 11:47:33,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703 virtual network link through opserver 10.0.0.33 2026-03-06 11:47:33,963 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-06 11:47:33,974 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703?flat'} 2026-03-06 11:47:33,974 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703 is found in opserver 2026-03-06 11:47:33,984 - DEBUG - Do not have enough data to verify VN in agent 2026-03-06 11:47:33,988 - DEBUG - VRF ids for VN ctest-vn-31245703: {} 2026-03-06 11:47:34,047 - DEBUG - Services list from nova: [, , ] 2026-03-06 11:47:35,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5448-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5448-1) 2026-03-06 11:47:36,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5448-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5448-1) 2026-03-06 11:47:36,245 - INFO - Waiting for VM ctest-TestBasicPolicy-24611130-21591010 to be up.. 2026-03-06 11:47:36,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-06 11:47:41,420 - DEBUG - VM is in ACTIVE state now 2026-03-06 11:47:41,420 - INFO - VM name : ctest-TestBasicPolicy-24611130-21591010 2026-03-06 11:47:41,515 - DEBUG - VM ctest-TestBasicPolicy-24611130-21591010 ID is 032ad9c3-353a-437e-a3cc-3ac36252fd54 2026-03-06 11:47:41,539 - DEBUG - VM ctest-TestBasicPolicy-24611130-21591010 launched on Node cn-jenkins-deploy-platform-ansible-os-5448-1 2026-03-06 11:47:41,637 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/032ad9c3-353a-437e-a3cc-3ac36252fd54 2026-03-06 11:47:41,647 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0e90570f-109b-4af3-aa1f-1e3967fc6444 2026-03-06 11:47:44,918 - 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 1023ms') 2026-03-06 11:47:44,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24611130-21591010 failed! 2026-03-06 11:47:44,978 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831 is 78.195.212.1 and allocation pool is NOT set 2026-03-06 11:47:47,043 - 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=8.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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.200/4.945/8.690/3.745 ms') 2026-03-06 11:47:47,043 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24611130-21591010 passed 2026-03-06 11:47:47,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 11:47:47,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24611130-21591010, IP 78.195.212.3, Port 22 2026-03-06 11:47:47,369 - DEBUG - VM ctest-TestBasicPolicy-24611130-21591010 is ready for SSH connections 2026-03-06 11:47:47,369 - INFO - Waiting for VM ctest-TestBasicPolicy-24611130-66226762 to be up.. 2026-03-06 11:47:47,485 - DEBUG - VM is in ACTIVE state now 2026-03-06 11:47:47,485 - INFO - VM name : ctest-TestBasicPolicy-24611130-66226762 2026-03-06 11:47:47,587 - DEBUG - VM ctest-TestBasicPolicy-24611130-66226762 ID is 780a7b5d-90bc-48f1-9ba5-dc6bae0964db 2026-03-06 11:47:47,587 - DEBUG - VM ctest-TestBasicPolicy-24611130-66226762 launched on Node cn-jenkins-deploy-platform-ansible-os-5448-1 2026-03-06 11:47:47,688 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/780a7b5d-90bc-48f1-9ba5-dc6bae0964db 2026-03-06 11:47:47,701 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/de9547a4-8e17-4ce8-a258-cf8f86a382f0 2026-03-06 11:47:48,953 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.716 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.716/1.912/3.108/1.196 ms') 2026-03-06 11:47:48,953 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24611130-66226762 passed 2026-03-06 11:47:49,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 11:47:49,114 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24611130-66226762, IP 26.5.117.3, Port 22 2026-03-06 11:47:49,292 - DEBUG - VM ctest-TestBasicPolicy-24611130-66226762 is ready for SSH connections 2026-03-06 11:47:49,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 11:47:49,292 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.5.117.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-06 11:47:49,292 - DEBUG - ping -s 56 -c 3 -W 1 26.5.117.3 2026-03-06 11:47:53,334 - DEBUG - PING 26.5.117.3 (26.5.117.3): 56 data bytes 64 bytes from 26.5.117.3: seq=0 ttl=63 time=3.376 ms 64 bytes from 26.5.117.3: seq=1 ttl=63 time=0.937 ms 64 bytes from 26.5.117.3: seq=2 ttl=63 time=1.059 ms --- 26.5.117.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.937/1.790/3.376 ms 2026-03-06 11:47:53,334 - INFO - Ping to IP 26.5.117.3 from VM ctest-TestBasicPolicy-24611130-21591010 passed 2026-03-06 11:47:53,506 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d22ca336-2eda-48f6-91bf-00554e714022", "href": "http://10.0.0.33:8082/network-policy/d22ca336-2eda-48f6-91bf-00554e714022"}} 2026-03-06 11:47:53,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 11:47:53,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.5.117.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-06 11:47:53,506 - DEBUG - ping -s 56 -c 3 -W 1 26.5.117.3 2026-03-06 11:47:56,715 - DEBUG - PING 26.5.117.3 (26.5.117.3): 56 data bytes --- 26.5.117.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-06 11:47:56,716 - WARNING - Ping to IP 26.5.117.3 from VM ctest-TestBasicPolicy-24611130-21591010 failed 2026-03-06 11:47:56,716 - INFO - Deleting VM ctest-TestBasicPolicy-24611130-66226762 2026-03-06 11:47:56,799 - INFO - Deleting VM ctest-TestBasicPolicy-24611130-21591010 2026-03-06 11:47:57,228 - INFO - Deleted policy ctest-policy-allow-all-13227201 2026-03-06 11:47:57,229 - INFO - Deleting VN ctest-vn-31245703 2026-03-06 11:47:57,282 - DEBUG - VN 56da8429-6e8d-4f25-9135-6db8c5230c1c still in use: Unable to complete operation on network 56da8429-6e8d-4f25-9135-6db8c5230c1c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2caf129c-10df-41ee-8fbe-5e084c040d83'] 2026-03-06 11:47:57,282 - WARNING - Deleting VN ctest-vn-31245703 failed..Will retry 2026-03-06 11:47:59,396 - DEBUG - Response for deleting network () 2026-03-06 11:47:59,397 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7 2026-03-06 11:47:59,408 - DEBUG - Response Code: 404 2026-03-06 11:47:59,409 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-06 11:47:59,416 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70 2026-03-06 11:47:59,473 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03 2026-03-06 11:47:59,547 - INFO - Validated that VN ctest-vn-31245703 is not found in API Server 2026-03-06 11:47:59,558 - DEBUG - VN ctest-vn-31245703 is not present in Agent 10.0.0.33 2026-03-06 11:47:59,558 - INFO - Validated that VN ctest-vn-31245703 is not in any agent 2026-03-06 11:47:59,571 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31245703 info 2026-03-06 11:47:59,572 - INFO - Deleting VN ctest-vn-35814831 2026-03-06 11:47:59,681 - DEBUG - Response for deleting network () 2026-03-06 11:47:59,681 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae 2026-03-06 11:47:59,687 - DEBUG - Response Code: 404 2026-03-06 11:47:59,687 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-06 11:47:59,694 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70 2026-03-06 11:47:59,746 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03 2026-03-06 11:47:59,815 - INFO - Validated that VN ctest-vn-35814831 is not found in API Server 2026-03-06 11:47:59,825 - DEBUG - VN ctest-vn-35814831 is not present in Agent 10.0.0.33 2026-03-06 11:47:59,825 - INFO - Validated that VN ctest-vn-35814831 is not in any agent 2026-03-06 11:47:59,838 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35814831 info 2026-03-06 11:48:00,091 - DEBUG - No XMPP flaps were noticed during the test
2026-03-06 11:48:00,091 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-06 11:48:00,091 - INFO - -------------------------------------------------------------------------------- 2026-03-06 11:48:01,090 - INFO - Deleted project: ctest-TestBasicPolicy-24611130, ID : 15d83c00-4d63-4366-a37a-2b7ef55ced03