2026-01-30 20:57:20,239 - INFO - Domain Default found not creating 2026-01-30 20:57:20,384 - INFO - Project ctest-TestBasicPolicy-84212014 not found, creating it 2026-01-30 20:57:20,814 - INFO - Created Project:ctest-TestBasicPolicy-84212014, ID : cf5adcfc-0bab-4fc0-810f-da31e77ec126 2026-01-30 20:57:22,248 - INFO - ================================================================================ 2026-01-30 20:57:22,249 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-30 20:57:22,249 - 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-30 20:57:22,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-01-30 20:57:22,509 - INFO - Initial checks done. Running the testcase now 2026-01-30 20:57:22,509 - INFO - 2026-01-30 20:57:23,049 - DEBUG - Response for create_network : {'network': {'id': 'a468cd50-e999-4399-ad01-810aec121b1f', 'name': 'ctest-vn-37385441', 'tenant_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'project_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84212014', 'ctest-vn-37385441'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 20:57:23,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f07d663-3f89-43d3-9480-fda8095126c7', 'name': '', 'tenant_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'network_id': 'a468cd50-e999-4399-ad01-810aec121b1f', 'ip_version': 4, 'cidr': '31.212.150.64/26', 'allocation_pools': [{'start': '31.212.150.66', 'end': '31.212.150.126'}], 'gateway_ip': '31.212.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.212.150.66', 'tags': [], 'project_id': 'cf5adcfc0bab4fc0810fda31e77ec126'}} 2026-01-30 20:57:23,265 - INFO - Created VN ctest-vn-37385441 2026-01-30 20:57:23,316 - DEBUG - VN ctest-vn-37385441 UUID is a468cd50-e999-4399-ad01-810aec121b1f 2026-01-30 20:57:23,634 - DEBUG - Response for create_network : {'network': {'id': 'e6aca8bc-97f5-4740-b01c-3b28e5d34a84', 'name': 'ctest-vn-03442312', 'tenant_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'project_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84212014', 'ctest-vn-03442312'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 20:57:23,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c01d56b1-74db-49cd-8f7e-1e565e133b5b', 'name': '', 'tenant_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'network_id': 'e6aca8bc-97f5-4740-b01c-3b28e5d34a84', 'ip_version': 4, 'cidr': '117.133.222.192/26', 'allocation_pools': [{'start': '117.133.222.194', 'end': '117.133.222.254'}], 'gateway_ip': '117.133.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.133.222.194', 'tags': [], 'project_id': 'cf5adcfc0bab4fc0810fda31e77ec126'}} 2026-01-30 20:57:23,866 - INFO - Created VN ctest-vn-03442312 2026-01-30 20:57:23,916 - DEBUG - VN ctest-vn-03442312 UUID is e6aca8bc-97f5-4740-b01c-3b28e5d34a84 2026-01-30 20:57:24,068 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-37385441, 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-84212014:ctest-vn-03442312, 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-30 20:57:24,353 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a468cd50-e999-4399-ad01-810aec121b1f', 'name': 'ctest-vn-37385441', 'tenant_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'project_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f07d663-3f89-43d3-9480-fda8095126c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84212014', 'ctest-vn-37385441'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84212014', 'ctest-policy-allow-all-68856634']], 'subnet_ipam': [{'subnet_cidr': '31.212.150.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 20:57:24,579 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6aca8bc-97f5-4740-b01c-3b28e5d34a84', 'name': 'ctest-vn-03442312', 'tenant_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'project_id': 'cf5adcfc0bab4fc0810fda31e77ec126', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c01d56b1-74db-49cd-8f7e-1e565e133b5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84212014', 'ctest-vn-03442312'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84212014', 'ctest-policy-allow-all-68856634']], 'subnet_ipam': [{'subnet_cidr': '117.133.222.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 20:57:24,736 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-30 20:57:25,027 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-30 20:57:25,057 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7cc790dc-c6fe-48b7-9f75-a0aeaa55fe04 2026-01-30 20:57:25,069 - DEBUG - Requesting: http://10.0.0.242:8082/project/cf5adcfc-0bab-4fc0-810f-da31e77ec126 2026-01-30 20:57:25,143 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a468cd50-e999-4399-ad01-810aec121b1f 2026-01-30 20:57:25,152 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a468cd50-e999-4399-ad01-810aec121b1f 2026-01-30 20:57:25,161 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd3dc15e-683e-48e2-ad53-21bfd92f3385 2026-01-30 20:57:25,167 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd3dc15e-683e-48e2-ad53-21bfd92f3385 2026-01-30 20:57:25,172 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/f3d1a32d-c1d7-49af-ab8a-d6ce8e9c4d0a 2026-01-30 20:57:25,177 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 20:57:25,177 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a468cd50-e999-4399-ad01-810aec121b1f 2026-01-30 20:57:25,185 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd3dc15e-683e-48e2-ad53-21bfd92f3385 2026-01-30 20:57:25,196 - INFO - Verified VN network id 12 for VN a468cd50-e999-4399-ad01-810aec121b1f 2026-01-30 20:57:25,196 - INFO - Verifications in API Server for VN ctest-vn-37385441 passed 2026-01-30 20:57:25,196 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a468cd50-e999-4399-ad01-810aec121b1f 2026-01-30 20:57:25,204 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd3dc15e-683e-48e2-ad53-21bfd92f3385 2026-01-30 20:57:25,211 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd3dc15e-683e-48e2-ad53-21bfd92f3385 2026-01-30 20:57:25,218 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/f3d1a32d-c1d7-49af-ab8a-d6ce8e9c4d0a 2026-01-30 20:57:25,229 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-37385441', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84212014', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11846944567198303129', 'uuid-lslong': '12466387127448509215'}, 'enable': 'true', 'created': '2026-01-30T20:57:23', 'last-modified': '2026-01-30T20:57:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895229'} 2026-01-30 20:57:25,237 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 20:57:25,237 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37385441 passed 2026-01-30 20:57:25,237 - DEBUG - ====Verifying policy data for ctest-vn-37385441 in API_Server ====== 2026-01-30 20:57:25,237 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-30 20:57:25,242 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7cc790dc-c6fe-48b7-9f75-a0aeaa55fe04 2026-01-30 20:57:25,253 - DEBUG - Requesting: http://10.0.0.242:8082/project/cf5adcfc-0bab-4fc0-810f-da31e77ec126 2026-01-30 20:57:25,320 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a468cd50-e999-4399-ad01-810aec121b1f 2026-01-30 20:57:25,329 - DEBUG - ==>Verifying data for policy with id: 2dc7259c-9142-4bc6-94c8-75ceecc4e522, fqn: ['default-domain', 'ctest-TestBasicPolicy-84212014', 'ctest-policy-allow-all-68856634'] 2026-01-30 20:57:25,329 - INFO - VN ctest-vn-37385441 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 20:57:25,329 - DEBUG - Verifying the vn in opserver 2026-01-30 20:57:25,329 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-37385441 virtual network link through opserver 10.0.0.242 2026-01-30 20:57:25,329 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-30 20:57:25,619 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-30 20:57:25,682 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-37385441', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-37385441?flat'} 2026-01-30 20:57:25,682 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-37385441 is found in opserver 2026-01-30 20:57:25,692 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 20:57:25,696 - DEBUG - VRF ids for VN ctest-vn-37385441: {} 2026-01-30 20:57:25,696 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-30 20:57:25,701 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7cc790dc-c6fe-48b7-9f75-a0aeaa55fe04 2026-01-30 20:57:25,710 - DEBUG - Requesting: http://10.0.0.242:8082/project/cf5adcfc-0bab-4fc0-810f-da31e77ec126 2026-01-30 20:57:25,780 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6aca8bc-97f5-4740-b01c-3b28e5d34a84 2026-01-30 20:57:25,791 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6aca8bc-97f5-4740-b01c-3b28e5d34a84 2026-01-30 20:57:25,799 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9717d59-717a-4ad4-99c8-f490d6d0f794 2026-01-30 20:57:25,804 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9717d59-717a-4ad4-99c8-f490d6d0f794 2026-01-30 20:57:25,810 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/fbf691f1-22a8-4f88-baa1-f6b80e6f07d1 2026-01-30 20:57:25,815 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 20:57:25,815 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6aca8bc-97f5-4740-b01c-3b28e5d34a84 2026-01-30 20:57:25,822 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9717d59-717a-4ad4-99c8-f490d6d0f794 2026-01-30 20:57:25,833 - INFO - Verified VN network id 13 for VN e6aca8bc-97f5-4740-b01c-3b28e5d34a84 2026-01-30 20:57:25,834 - INFO - Verifications in API Server for VN ctest-vn-03442312 passed 2026-01-30 20:57:25,834 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6aca8bc-97f5-4740-b01c-3b28e5d34a84 2026-01-30 20:57:25,842 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9717d59-717a-4ad4-99c8-f490d6d0f794 2026-01-30 20:57:25,848 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9717d59-717a-4ad4-99c8-f490d6d0f794 2026-01-30 20:57:25,854 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/fbf691f1-22a8-4f88-baa1-f6b80e6f07d1 2026-01-30 20:57:25,863 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-03442312', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84212014', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16621845852674410304', 'uuid-lslong': '12690082896863775364'}, 'enable': 'true', 'created': '2026-01-30T20:57:23', 'last-modified': '2026-01-30T20:57:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.309153'} 2026-01-30 20:57:25,868 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 20:57:25,869 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03442312 passed 2026-01-30 20:57:25,869 - DEBUG - ====Verifying policy data for ctest-vn-03442312 in API_Server ====== 2026-01-30 20:57:25,869 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-30 20:57:25,873 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7cc790dc-c6fe-48b7-9f75-a0aeaa55fe04 2026-01-30 20:57:25,882 - DEBUG - Requesting: http://10.0.0.242:8082/project/cf5adcfc-0bab-4fc0-810f-da31e77ec126 2026-01-30 20:57:25,951 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e6aca8bc-97f5-4740-b01c-3b28e5d34a84 2026-01-30 20:57:25,959 - DEBUG - ==>Verifying data for policy with id: 2dc7259c-9142-4bc6-94c8-75ceecc4e522, fqn: ['default-domain', 'ctest-TestBasicPolicy-84212014', 'ctest-policy-allow-all-68856634'] 2026-01-30 20:57:25,960 - INFO - VN ctest-vn-03442312 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 20:57:25,960 - DEBUG - Verifying the vn in opserver 2026-01-30 20:57:25,960 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-03442312 virtual network link through opserver 10.0.0.242 2026-01-30 20:57:25,960 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-30 20:57:25,971 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-03442312', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-03442312?flat'} 2026-01-30 20:57:25,971 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-03442312 is found in opserver 2026-01-30 20:57:25,980 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 20:57:25,984 - DEBUG - VRF ids for VN ctest-vn-03442312: {} 2026-01-30 20:57:26,041 - DEBUG - Services list from nova: [, , ] 2026-01-30 20:57:27,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5152-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5152-1) 2026-01-30 20:57:28,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5152-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5152-1) 2026-01-30 20:57:28,284 - INFO - Waiting for VM ctest-TestBasicPolicy-84212014-05671615 to be up.. 2026-01-30 20:57:28,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 20:57:33,432 - DEBUG - VM is in ACTIVE state now 2026-01-30 20:57:33,433 - INFO - VM name : ctest-TestBasicPolicy-84212014-05671615 2026-01-30 20:57:33,505 - DEBUG - VM ctest-TestBasicPolicy-84212014-05671615 ID is 1e6d39d9-461f-4d23-92ed-1bdc297e172d 2026-01-30 20:57:33,526 - DEBUG - VM ctest-TestBasicPolicy-84212014-05671615 launched on Node cn-jenkins-deploy-platform-ansible-os-5152-1 2026-01-30 20:57:33,599 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1e6d39d9-461f-4d23-92ed-1bdc297e172d 2026-01-30 20:57:33,606 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/27317ba0-72ef-47ad-8079-c2296c484716 2026-01-30 20:57:36,849 - 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 1011ms') 2026-01-30 20:57:36,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84212014-05671615 failed! 2026-01-30 20:57:36,904 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84212014:ctest-vn-37385441 is 31.212.150.65 and allocation pool is NOT set 2026-01-30 20:57:38,967 - 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=4.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.59 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.590/3.087/4.584/1.497 ms') 2026-01-30 20:57:38,967 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84212014-05671615 passed 2026-01-30 20:57:39,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 20:57:39,116 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84212014-05671615, IP 31.212.150.67, Port 22 2026-01-30 20:57:39,290 - DEBUG - VM ctest-TestBasicPolicy-84212014-05671615 is ready for SSH connections 2026-01-30 20:57:39,291 - INFO - Waiting for VM ctest-TestBasicPolicy-84212014-76963647 to be up.. 2026-01-30 20:57:39,365 - DEBUG - VM is in ACTIVE state now 2026-01-30 20:57:39,365 - INFO - VM name : ctest-TestBasicPolicy-84212014-76963647 2026-01-30 20:57:39,437 - DEBUG - VM ctest-TestBasicPolicy-84212014-76963647 ID is 1720a590-475f-45d0-8485-ad2b15ef9b99 2026-01-30 20:57:39,437 - DEBUG - VM ctest-TestBasicPolicy-84212014-76963647 launched on Node cn-jenkins-deploy-platform-ansible-os-5152-1 2026-01-30 20:57:39,511 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1720a590-475f-45d0-8485-ad2b15ef9b99 2026-01-30 20:57:39,519 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a08f29a7-635d-4ac0-ba4e-77ecb2f216b1 2026-01-30 20:57:40,751 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.664 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.664/1.939/3.214/1.275 ms') 2026-01-30 20:57:40,751 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84212014-76963647 passed 2026-01-30 20:57:40,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 20:57:40,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84212014-76963647, IP 117.133.222.195, Port 22 2026-01-30 20:57:41,056 - DEBUG - VM ctest-TestBasicPolicy-84212014-76963647 is ready for SSH connections 2026-01-30 20:57:41,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 20:57:41,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.133.222.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-30 20:57:41,056 - DEBUG - ping -s 56 -c 3 -W 1 117.133.222.195 2026-01-30 20:57:45,027 - DEBUG - PING 117.133.222.195 (117.133.222.195): 56 data bytes 64 bytes from 117.133.222.195: seq=0 ttl=63 time=3.277 ms 64 bytes from 117.133.222.195: seq=1 ttl=63 time=0.782 ms 64 bytes from 117.133.222.195: seq=2 ttl=63 time=0.766 ms --- 117.133.222.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/1.608/3.277 ms 2026-01-30 20:57:45,027 - INFO - Ping to IP 117.133.222.195 from VM ctest-TestBasicPolicy-84212014-05671615 passed 2026-01-30 20:57:45,204 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2dc7259c-9142-4bc6-94c8-75ceecc4e522", "href": "http://10.0.0.242:8082/network-policy/2dc7259c-9142-4bc6-94c8-75ceecc4e522"}} 2026-01-30 20:57:45,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 20:57:45,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.133.222.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-30 20:57:45,204 - DEBUG - ping -s 56 -c 3 -W 1 117.133.222.195 2026-01-30 20:57:48,396 - DEBUG - PING 117.133.222.195 (117.133.222.195): 56 data bytes --- 117.133.222.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-30 20:57:48,396 - WARNING - Ping to IP 117.133.222.195 from VM ctest-TestBasicPolicy-84212014-05671615 failed 2026-01-30 20:57:48,396 - INFO - Deleting VM ctest-TestBasicPolicy-84212014-76963647 2026-01-30 20:57:48,460 - INFO - Deleting VM ctest-TestBasicPolicy-84212014-05671615 2026-01-30 20:57:48,815 - INFO - Deleted policy ctest-policy-allow-all-68856634 2026-01-30 20:57:48,816 - INFO - Deleting VN ctest-vn-03442312 2026-01-30 20:57:48,852 - DEBUG - VN e6aca8bc-97f5-4740-b01c-3b28e5d34a84 still in use: Unable to complete operation on network e6aca8bc-97f5-4740-b01c-3b28e5d34a84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8b95ea70-8cb1-4e3e-8b87-3d18778c8242'] 2026-01-30 20:57:48,852 - WARNING - Deleting VN ctest-vn-03442312 failed..Will retry 2026-01-30 20:57:50,962 - DEBUG - Response for deleting network () 2026-01-30 20:57:50,962 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c9717d59-717a-4ad4-99c8-f490d6d0f794 2026-01-30 20:57:50,967 - DEBUG - Response Code: 404 2026-01-30 20:57:50,967 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-30 20:57:50,972 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7cc790dc-c6fe-48b7-9f75-a0aeaa55fe04 2026-01-30 20:57:51,034 - DEBUG - Requesting: http://10.0.0.242:8082/project/cf5adcfc-0bab-4fc0-810f-da31e77ec126 2026-01-30 20:57:51,110 - INFO - Validated that VN ctest-vn-03442312 is not found in API Server 2026-01-30 20:57:51,119 - DEBUG - VN ctest-vn-03442312 is not present in Agent 10.0.0.242 2026-01-30 20:57:51,120 - INFO - Validated that VN ctest-vn-03442312 is not in any agent 2026-01-30 20:57:51,131 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03442312 info 2026-01-30 20:57:51,131 - INFO - Deleting VN ctest-vn-37385441 2026-01-30 20:57:51,230 - DEBUG - Response for deleting network () 2026-01-30 20:57:51,230 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dd3dc15e-683e-48e2-ad53-21bfd92f3385 2026-01-30 20:57:51,237 - DEBUG - Response Code: 404 2026-01-30 20:57:51,237 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-30 20:57:51,242 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7cc790dc-c6fe-48b7-9f75-a0aeaa55fe04 2026-01-30 20:57:51,292 - DEBUG - Requesting: http://10.0.0.242:8082/project/cf5adcfc-0bab-4fc0-810f-da31e77ec126 2026-01-30 20:57:51,360 - INFO - Validated that VN ctest-vn-37385441 is not found in API Server 2026-01-30 20:57:51,369 - DEBUG - VN ctest-vn-37385441 is not present in Agent 10.0.0.242 2026-01-30 20:57:51,369 - INFO - Validated that VN ctest-vn-37385441 is not in any agent 2026-01-30 20:57:51,380 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37385441 info 2026-01-30 20:57:51,633 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 20:57:51,634 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-30 20:57:51,634 - INFO - -------------------------------------------------------------------------------- 2026-01-30 20:57:52,298 - INFO - Deleted project: ctest-TestBasicPolicy-84212014, ID : cf5adcfc-0bab-4fc0-810f-da31e77ec126