2026-06-15 12:20:26,932 - INFO - Domain Default found not creating 2026-06-15 12:20:27,086 - INFO - Project ctest-TestBasicPolicy-82678562 not found, creating it 2026-06-15 12:20:27,533 - INFO - Created Project:ctest-TestBasicPolicy-82678562, ID : 0b52eb01-c0e4-43b4-b30e-8b95f95866dc 2026-06-15 12:20:29,082 - INFO - ================================================================================ 2026-06-15 12:20:29,082 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-15 12:20:29,082 - 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-06-15 12:20:29,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-06-15 12:20:29,349 - INFO - Initial checks done. Running the testcase now 2026-06-15 12:20:29,349 - INFO - 2026-06-15 12:20:29,929 - DEBUG - Response for create_network : {'network': {'id': '2d22e751-6c5b-41e8-9e82-c71f2323948a', 'name': 'ctest-vn-82363619', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-vn-82363619'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:20:30,134 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c06d2642-b163-4dce-9700-b4b8b1807bab', 'name': '', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'network_id': '2d22e751-6c5b-41e8-9e82-c71f2323948a', 'ip_version': 4, 'cidr': '186.212.225.64/26', 'allocation_pools': [{'start': '186.212.225.66', 'end': '186.212.225.126'}], 'gateway_ip': '186.212.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.212.225.66', 'tags': [], 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc'}} 2026-06-15 12:20:30,151 - INFO - Created VN ctest-vn-82363619 2026-06-15 12:20:30,203 - DEBUG - VN ctest-vn-82363619 UUID is 2d22e751-6c5b-41e8-9e82-c71f2323948a 2026-06-15 12:20:30,522 - DEBUG - Response for create_network : {'network': {'id': 'bf4cee4a-734a-423b-b630-06e6618adbda', 'name': 'ctest-vn-14258432', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-vn-14258432'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:20:30,727 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c16f9ed-93c2-4069-8114-28e069f6d226', 'name': '', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'network_id': 'bf4cee4a-734a-423b-b630-06e6618adbda', 'ip_version': 4, 'cidr': '116.223.104.192/26', 'allocation_pools': [{'start': '116.223.104.194', 'end': '116.223.104.254'}], 'gateway_ip': '116.223.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.223.104.194', 'tags': [], 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc'}} 2026-06-15 12:20:30,742 - INFO - Created VN ctest-vn-14258432 2026-06-15 12:20:30,795 - DEBUG - VN ctest-vn-14258432 UUID is bf4cee4a-734a-423b-b630-06e6618adbda 2026-06-15 12:20:30,947 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619, 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-82678562:ctest-vn-14258432, 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-06-15 12:20:31,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d22e751-6c5b-41e8-9e82-c71f2323948a', 'name': 'ctest-vn-82363619', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c06d2642-b163-4dce-9700-b4b8b1807bab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-vn-82363619'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-policy-allow-all-33228326']], 'subnet_ipam': [{'subnet_cidr': '186.212.225.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:20:31,472 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf4cee4a-734a-423b-b630-06e6618adbda', 'name': 'ctest-vn-14258432', 'tenant_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'project_id': '0b52eb01c0e443b4b30e8b95f95866dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c16f9ed-93c2-4069-8114-28e069f6d226'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-vn-14258432'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-policy-allow-all-33228326']], 'subnet_ipam': [{'subnet_cidr': '116.223.104.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:20:31,631 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-15 12:20:31,965 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-15 12:20:31,991 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf 2026-06-15 12:20:32,003 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc 2026-06-15 12:20:32,075 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a 2026-06-15 12:20:32,086 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a 2026-06-15 12:20:32,096 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85 2026-06-15 12:20:32,103 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85 2026-06-15 12:20:32,109 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/07908467-997b-4cd2-9759-92f159a52ed6 2026-06-15 12:20:32,114 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 12:20:32,114 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a 2026-06-15 12:20:32,123 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85 2026-06-15 12:20:32,137 - INFO - Verified VN network id 11 for VN 2d22e751-6c5b-41e8-9e82-c71f2323948a 2026-06-15 12:20:32,137 - INFO - Verifications in API Server for VN ctest-vn-82363619 passed 2026-06-15 12:20:32,137 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a 2026-06-15 12:20:32,145 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85 2026-06-15 12:20:32,152 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85 2026-06-15 12:20:32,158 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/07908467-997b-4cd2-9759-92f159a52ed6 2026-06-15 12:20:32,169 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82678562', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3252416217811206632', 'uuid-lslong': '11421910541512447114'}, 'enable': 'true', 'created': '2026-06-15T12:20:29', 'last-modified': '2026-06-15T12:20:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947141'} 2026-06-15 12:20:32,176 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 12:20:32,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82363619 passed 2026-06-15 12:20:32,177 - DEBUG - ====Verifying policy data for ctest-vn-82363619 in API_Server ====== 2026-06-15 12:20:32,177 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-15 12:20:32,182 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf 2026-06-15 12:20:32,192 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc 2026-06-15 12:20:32,266 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2d22e751-6c5b-41e8-9e82-c71f2323948a 2026-06-15 12:20:32,276 - DEBUG - ==>Verifying data for policy with id: baa3bc61-960c-4887-a456-5e436f034fa3, fqn: ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-policy-allow-all-33228326'] 2026-06-15 12:20:32,276 - INFO - VN ctest-vn-82363619 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 12:20:32,276 - DEBUG - Verifying the vn in opserver 2026-06-15 12:20:32,276 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619 virtual network link through opserver 10.0.0.249 2026-06-15 12:20:32,276 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-15 12:20:32,611 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-15 12:20:32,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619?flat'} 2026-06-15 12:20:32,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619 is found in opserver 2026-06-15 12:20:32,670 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 12:20:32,674 - DEBUG - VRF ids for VN ctest-vn-82363619: {} 2026-06-15 12:20:32,674 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-15 12:20:32,679 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf 2026-06-15 12:20:32,688 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc 2026-06-15 12:20:32,758 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda 2026-06-15 12:20:32,769 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda 2026-06-15 12:20:32,779 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca 2026-06-15 12:20:32,786 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca 2026-06-15 12:20:32,792 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/74441ebc-975b-4b77-960e-75b2dd1b4f53 2026-06-15 12:20:32,797 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 12:20:32,797 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda 2026-06-15 12:20:32,805 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca 2026-06-15 12:20:32,818 - INFO - Verified VN network id 12 for VN bf4cee4a-734a-423b-b630-06e6618adbda 2026-06-15 12:20:32,818 - INFO - Verifications in API Server for VN ctest-vn-14258432 passed 2026-06-15 12:20:32,818 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda 2026-06-15 12:20:32,827 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca 2026-06-15 12:20:32,834 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca 2026-06-15 12:20:32,840 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/74441ebc-975b-4b77-960e-75b2dd1b4f53 2026-06-15 12:20:32,852 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82678562', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13784654563003482683', 'uuid-lslong': '13128000500333730778'}, 'enable': 'true', 'created': '2026-06-15T12:20:30', 'last-modified': '2026-06-15T12:20:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400308'} 2026-06-15 12:20:32,863 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 12:20:32,863 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14258432 passed 2026-06-15 12:20:32,863 - DEBUG - ====Verifying policy data for ctest-vn-14258432 in API_Server ====== 2026-06-15 12:20:32,863 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-15 12:20:32,870 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf 2026-06-15 12:20:32,881 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc 2026-06-15 12:20:32,953 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bf4cee4a-734a-423b-b630-06e6618adbda 2026-06-15 12:20:32,963 - DEBUG - ==>Verifying data for policy with id: baa3bc61-960c-4887-a456-5e436f034fa3, fqn: ['default-domain', 'ctest-TestBasicPolicy-82678562', 'ctest-policy-allow-all-33228326'] 2026-06-15 12:20:32,963 - INFO - VN ctest-vn-14258432 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 12:20:32,963 - DEBUG - Verifying the vn in opserver 2026-06-15 12:20:32,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432 virtual network link through opserver 10.0.0.249 2026-06-15 12:20:32,963 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-15 12:20:32,972 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432?flat'} 2026-06-15 12:20:32,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-14258432 is found in opserver 2026-06-15 12:20:32,982 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 12:20:32,986 - DEBUG - VRF ids for VN ctest-vn-14258432: {} 2026-06-15 12:20:33,047 - DEBUG - Services list from nova: [, , ] 2026-06-15 12:20:34,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5943-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5943-1) 2026-06-15 12:20:35,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5943-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5943-1) 2026-06-15 12:20:35,228 - INFO - Waiting for VM ctest-TestBasicPolicy-82678562-61052178 to be up.. 2026-06-15 12:20:35,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 12:20:40,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 12:20:45,438 - DEBUG - VM is in ACTIVE state now 2026-06-15 12:20:45,438 - INFO - VM name : ctest-TestBasicPolicy-82678562-61052178 2026-06-15 12:20:45,510 - DEBUG - VM ctest-TestBasicPolicy-82678562-61052178 ID is 60b609b1-5636-401d-a120-8f25ab62f9e9 2026-06-15 12:20:45,531 - DEBUG - VM ctest-TestBasicPolicy-82678562-61052178 launched on Node cn-jenkins-deploy-platform-ansible-os-5943-1 2026-06-15 12:20:45,606 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/60b609b1-5636-401d-a120-8f25ab62f9e9 2026-06-15 12:20:45,614 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9dbb3a2e-cb25-42d8-b2ca-a5e7d66d45c0 2026-06-15 12:20:48,858 - 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 1002ms') 2026-06-15 12:20:48,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82678562-61052178 failed! 2026-06-15 12:20:48,915 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82678562:ctest-vn-82363619 is 186.212.225.65 and allocation pool is NOT set 2026-06-15 12:20:50,979 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/5.044/9.635/4.591 ms') 2026-06-15 12:20:50,979 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82678562-61052178 passed 2026-06-15 12:20:51,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:20:51,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82678562-61052178, IP 186.212.225.67, Port 22 2026-06-15 12:20:51,299 - DEBUG - VM ctest-TestBasicPolicy-82678562-61052178 is ready for SSH connections 2026-06-15 12:20:51,299 - INFO - Waiting for VM ctest-TestBasicPolicy-82678562-39226743 to be up.. 2026-06-15 12:20:51,381 - DEBUG - VM is in ACTIVE state now 2026-06-15 12:20:51,381 - INFO - VM name : ctest-TestBasicPolicy-82678562-39226743 2026-06-15 12:20:51,471 - DEBUG - VM ctest-TestBasicPolicy-82678562-39226743 ID is 01f5cf17-ceed-4bf9-8da3-7af882349d20 2026-06-15 12:20:51,471 - DEBUG - VM ctest-TestBasicPolicy-82678562-39226743 launched on Node cn-jenkins-deploy-platform-ansible-os-5943-1 2026-06-15 12:20:51,549 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/01f5cf17-ceed-4bf9-8da3-7af882349d20 2026-06-15 12:20:51,560 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/72df0869-69b2-4a49-aa9f-d944fa8551e2 2026-06-15 12:20:54,812 - 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=2 ttl=63 time=10.2 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 10.212/10.212/10.212/0.000 ms') 2026-06-15 12:20:54,812 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82678562-39226743 passed 2026-06-15 12:20:54,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:20:54,967 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82678562-39226743, IP 116.223.104.195, Port 22 2026-06-15 12:20:55,122 - DEBUG - VM ctest-TestBasicPolicy-82678562-39226743 is ready for SSH connections 2026-06-15 12:20:55,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:20:55,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.223.104.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-15 12:20:55,123 - DEBUG - ping -s 56 -c 3 -W 1 116.223.104.195 2026-06-15 12:20:59,095 - DEBUG - PING 116.223.104.195 (116.223.104.195): 56 data bytes 64 bytes from 116.223.104.195: seq=0 ttl=63 time=3.719 ms 64 bytes from 116.223.104.195: seq=1 ttl=63 time=1.020 ms 64 bytes from 116.223.104.195: seq=2 ttl=63 time=0.908 ms --- 116.223.104.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/1.882/3.719 ms 2026-06-15 12:20:59,095 - INFO - Ping to IP 116.223.104.195 from VM ctest-TestBasicPolicy-82678562-61052178 passed 2026-06-15 12:20:59,271 - DEBUG - Policy Update Response {"network-policy": {"uuid": "baa3bc61-960c-4887-a456-5e436f034fa3", "href": "http://10.0.0.249:8082/network-policy/baa3bc61-960c-4887-a456-5e436f034fa3"}} 2026-06-15 12:20:59,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:20:59,271 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.223.104.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-15 12:20:59,271 - DEBUG - ping -s 56 -c 3 -W 1 116.223.104.195 2026-06-15 12:21:02,393 - DEBUG - PING 116.223.104.195 (116.223.104.195): 56 data bytes --- 116.223.104.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-15 12:21:02,393 - WARNING - Ping to IP 116.223.104.195 from VM ctest-TestBasicPolicy-82678562-61052178 failed 2026-06-15 12:21:02,393 - INFO - Deleting VM ctest-TestBasicPolicy-82678562-39226743 2026-06-15 12:21:02,469 - INFO - Deleting VM ctest-TestBasicPolicy-82678562-61052178 2026-06-15 12:21:02,839 - INFO - Deleted policy ctest-policy-allow-all-33228326 2026-06-15 12:21:02,839 - INFO - Deleting VN ctest-vn-14258432 2026-06-15 12:21:02,876 - DEBUG - VN bf4cee4a-734a-423b-b630-06e6618adbda still in use: Unable to complete operation on network bf4cee4a-734a-423b-b630-06e6618adbda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c398551-e949-4c39-be8c-a2815749edfa'] 2026-06-15 12:21:02,876 - WARNING - Deleting VN ctest-vn-14258432 failed..Will retry 2026-06-15 12:21:04,974 - DEBUG - Response for deleting network () 2026-06-15 12:21:04,974 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/df999409-6540-48ff-bf71-293e72b558ca 2026-06-15 12:21:04,981 - DEBUG - Response Code: 404 2026-06-15 12:21:04,981 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-15 12:21:04,986 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf 2026-06-15 12:21:05,040 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc 2026-06-15 12:21:05,115 - INFO - Validated that VN ctest-vn-14258432 is not found in API Server 2026-06-15 12:21:05,126 - DEBUG - VN ctest-vn-14258432 is not present in Agent 10.0.0.249 2026-06-15 12:21:05,126 - INFO - Validated that VN ctest-vn-14258432 is not in any agent 2026-06-15 12:21:05,140 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14258432 info 2026-06-15 12:21:05,141 - INFO - Deleting VN ctest-vn-82363619 2026-06-15 12:21:05,256 - DEBUG - Response for deleting network () 2026-06-15 12:21:05,257 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a967b3e0-d000-4761-9db2-8e95fe6eaa85 2026-06-15 12:21:05,261 - DEBUG - Response Code: 404 2026-06-15 12:21:05,262 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-15 12:21:05,267 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ac1214b2-447c-47e4-998f-c2e4c279d9cf 2026-06-15 12:21:05,320 - DEBUG - Requesting: http://10.0.0.249:8082/project/0b52eb01-c0e4-43b4-b30e-8b95f95866dc 2026-06-15 12:21:05,388 - INFO - Validated that VN ctest-vn-82363619 is not found in API Server 2026-06-15 12:21:05,398 - DEBUG - VN ctest-vn-82363619 is not present in Agent 10.0.0.249 2026-06-15 12:21:05,398 - INFO - Validated that VN ctest-vn-82363619 is not in any agent 2026-06-15 12:21:05,410 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82363619 info 2026-06-15 12:21:05,664 - DEBUG - No XMPP flaps were noticed during the test
2026-06-15 12:21:05,664 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-06-15 12:21:05,664 - INFO - -------------------------------------------------------------------------------- 2026-06-15 12:21:06,422 - INFO - Deleted project: ctest-TestBasicPolicy-82678562, ID : 0b52eb01-c0e4-43b4-b30e-8b95f95866dc