2026-07-10 20:12:18,311 - INFO - Domain Default found not creating 2026-07-10 20:12:18,455 - INFO - Project ctest-TestBasicPolicy-11299955 not found, creating it 2026-07-10 20:12:18,927 - INFO - Created Project:ctest-TestBasicPolicy-11299955, ID : 74675401-fec5-4ed1-b2f8-93dfe0a5c34a 2026-07-10 20:12:20,372 - INFO - ================================================================================ 2026-07-10 20:12:20,372 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-10 20:12:20,372 - 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-07-10 20:12:20,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-07-10 20:12:20,636 - INFO - Initial checks done. Running the testcase now 2026-07-10 20:12:20,636 - INFO - 2026-07-10 20:12:21,191 - DEBUG - Response for create_network : {'network': {'id': '079d2a41-175a-457b-8dbe-0c3285b9d797', 'name': 'ctest-vn-70773474', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'project_id': '74675401fec54ed1b2f893dfe0a5c34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-vn-70773474'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:12:21,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd927842a-71de-45bc-83de-f3c4db7e9511', 'name': '', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'network_id': '079d2a41-175a-457b-8dbe-0c3285b9d797', 'ip_version': 4, 'cidr': '144.161.207.192/26', 'allocation_pools': [{'start': '144.161.207.194', 'end': '144.161.207.254'}], 'gateway_ip': '144.161.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.161.207.194', 'tags': [], 'project_id': '74675401fec54ed1b2f893dfe0a5c34a'}} 2026-07-10 20:12:21,398 - INFO - Created VN ctest-vn-70773474 2026-07-10 20:12:21,451 - DEBUG - VN ctest-vn-70773474 UUID is 079d2a41-175a-457b-8dbe-0c3285b9d797 2026-07-10 20:12:21,751 - DEBUG - Response for create_network : {'network': {'id': 'bb2d3d72-900d-4460-9f60-5eade88bb01a', 'name': 'ctest-vn-99774421', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'project_id': '74675401fec54ed1b2f893dfe0a5c34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-vn-99774421'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:12:21,910 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e12357a8-a106-4030-a722-903b610c383b', 'name': '', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'network_id': 'bb2d3d72-900d-4460-9f60-5eade88bb01a', 'ip_version': 4, 'cidr': '192.150.11.128/26', 'allocation_pools': [{'start': '192.150.11.130', 'end': '192.150.11.190'}], 'gateway_ip': '192.150.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.150.11.130', 'tags': [], 'project_id': '74675401fec54ed1b2f893dfe0a5c34a'}} 2026-07-10 20:12:21,924 - INFO - Created VN ctest-vn-99774421 2026-07-10 20:12:21,975 - DEBUG - VN ctest-vn-99774421 UUID is bb2d3d72-900d-4460-9f60-5eade88bb01a 2026-07-10 20:12:22,115 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474, 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-11299955:ctest-vn-99774421, 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-07-10 20:12:22,406 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '079d2a41-175a-457b-8dbe-0c3285b9d797', 'name': 'ctest-vn-70773474', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'project_id': '74675401fec54ed1b2f893dfe0a5c34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d927842a-71de-45bc-83de-f3c4db7e9511'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-vn-70773474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-policy-allow-all-22051743']], 'subnet_ipam': [{'subnet_cidr': '144.161.207.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:12:22,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb2d3d72-900d-4460-9f60-5eade88bb01a', 'name': 'ctest-vn-99774421', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'project_id': '74675401fec54ed1b2f893dfe0a5c34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e12357a8-a106-4030-a722-903b610c383b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-vn-99774421'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-policy-allow-all-22051743']], 'subnet_ipam': [{'subnet_cidr': '192.150.11.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:12:22,795 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 20:12:23,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 20:12:23,132 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1 2026-07-10 20:12:23,143 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a 2026-07-10 20:12:23,214 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797 2026-07-10 20:12:23,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797 2026-07-10 20:12:23,232 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751 2026-07-10 20:12:23,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751 2026-07-10 20:12:23,244 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/95f84d60-9202-4bdb-83c2-db3ce55862dd 2026-07-10 20:12:23,249 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-10 20:12:23,249 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797 2026-07-10 20:12:23,257 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751 2026-07-10 20:12:23,269 - INFO - Verified VN network id 11 for VN 079d2a41-175a-457b-8dbe-0c3285b9d797 2026-07-10 20:12:23,269 - INFO - Verifications in API Server for VN ctest-vn-70773474 passed 2026-07-10 20:12:23,269 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797 2026-07-10 20:12:23,277 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751 2026-07-10 20:12:23,283 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751 2026-07-10 20:12:23,288 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/95f84d60-9202-4bdb-83c2-db3ce55862dd 2026-07-10 20:12:23,300 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11299955', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '548641188662101371', 'uuid-lslong': '10213614416054310807'}, 'enable': 'true', 'created': '2026-07-10T20:12:21', 'last-modified': '2026-07-10T20:12:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914465'} 2026-07-10 20:12:23,306 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-10 20:12:23,306 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70773474 passed 2026-07-10 20:12:23,307 - DEBUG - ====Verifying policy data for ctest-vn-70773474 in API_Server ====== 2026-07-10 20:12:23,307 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 20:12:23,313 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1 2026-07-10 20:12:23,327 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a 2026-07-10 20:12:23,400 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797 2026-07-10 20:12:23,408 - DEBUG - ==>Verifying data for policy with id: 48fc45d6-b3f6-4d8f-8683-ff8b1a31aaee, fqn: ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-policy-allow-all-22051743'] 2026-07-10 20:12:23,408 - INFO - VN ctest-vn-70773474 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-10 20:12:23,408 - DEBUG - Verifying the vn in opserver 2026-07-10 20:12:23,408 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474 virtual network link through opserver 10.0.0.38 2026-07-10 20:12:23,409 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 20:12:23,743 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 20:12:23,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474?flat'} 2026-07-10 20:12:23,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474 is found in opserver 2026-07-10 20:12:23,800 - DEBUG - Do not have enough data to verify VN in agent 2026-07-10 20:12:23,804 - DEBUG - VRF ids for VN ctest-vn-70773474: {} 2026-07-10 20:12:23,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 20:12:23,809 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1 2026-07-10 20:12:23,818 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a 2026-07-10 20:12:23,893 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a 2026-07-10 20:12:23,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a 2026-07-10 20:12:23,910 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940 2026-07-10 20:12:23,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940 2026-07-10 20:12:23,921 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/119317b4-68c8-431e-a58f-5a8f7e6418b9 2026-07-10 20:12:23,926 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-10 20:12:23,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a 2026-07-10 20:12:23,933 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940 2026-07-10 20:12:23,946 - INFO - Verified VN network id 12 for VN bb2d3d72-900d-4460-9f60-5eade88bb01a 2026-07-10 20:12:23,946 - INFO - Verifications in API Server for VN ctest-vn-99774421 passed 2026-07-10 20:12:23,947 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a 2026-07-10 20:12:23,954 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940 2026-07-10 20:12:23,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940 2026-07-10 20:12:23,965 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/119317b4-68c8-431e-a58f-5a8f7e6418b9 2026-07-10 20:12:23,975 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11299955', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13487504021296858208', 'uuid-lslong': '11484283150818586650'}, 'enable': 'true', 'created': '2026-07-10T20:12:21', 'last-modified': '2026-07-10T20:12:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364457'} 2026-07-10 20:12:23,982 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-10 20:12:23,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99774421 passed 2026-07-10 20:12:23,982 - DEBUG - ====Verifying policy data for ctest-vn-99774421 in API_Server ====== 2026-07-10 20:12:23,982 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 20:12:23,986 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1 2026-07-10 20:12:23,995 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a 2026-07-10 20:12:24,064 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a 2026-07-10 20:12:24,071 - DEBUG - ==>Verifying data for policy with id: 48fc45d6-b3f6-4d8f-8683-ff8b1a31aaee, fqn: ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-policy-allow-all-22051743'] 2026-07-10 20:12:24,071 - INFO - VN ctest-vn-99774421 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-10 20:12:24,071 - DEBUG - Verifying the vn in opserver 2026-07-10 20:12:24,072 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421 virtual network link through opserver 10.0.0.38 2026-07-10 20:12:24,072 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-10 20:12:24,080 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421?flat'} 2026-07-10 20:12:24,080 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421 is found in opserver 2026-07-10 20:12:24,089 - DEBUG - Do not have enough data to verify VN in agent 2026-07-10 20:12:24,093 - DEBUG - VRF ids for VN ctest-vn-99774421: {} 2026-07-10 20:12:24,142 - DEBUG - Services list from nova: [, , ] 2026-07-10 20:12:24,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6093-1) 2026-07-10 20:12:24,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6093-1) 2026-07-10 20:12:24,816 - INFO - Waiting for VM ctest-TestBasicPolicy-11299955-33049648 to be up.. 2026-07-10 20:12:24,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 20:12:29,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 20:12:35,013 - DEBUG - VM is in ACTIVE state now 2026-07-10 20:12:35,013 - INFO - VM name : ctest-TestBasicPolicy-11299955-33049648 2026-07-10 20:12:35,076 - DEBUG - VM ctest-TestBasicPolicy-11299955-33049648 ID is 1a3ff166-a961-4040-b866-20625a9133ea 2026-07-10 20:12:35,094 - DEBUG - VM ctest-TestBasicPolicy-11299955-33049648 launched on Node cn-jenkins-deploy-platform-ansible-os-6093-1 2026-07-10 20:12:35,177 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a3ff166-a961-4040-b866-20625a9133ea 2026-07-10 20:12:35,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1c418b69-e8ce-41eb-90d9-a7cb702981d1 2026-07-10 20:12:38,444 - 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 1020ms') 2026-07-10 20:12:38,444 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11299955-33049648 failed! 2026-07-10 20:12:38,499 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474 is 144.161.207.193 and allocation pool is NOT set 2026-07-10 20:12:40,556 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.795/3.799/5.803/2.004 ms') 2026-07-10 20:12:40,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11299955-33049648 passed 2026-07-10 20:12:40,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:12:40,703 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11299955-33049648, IP 144.161.207.195, Port 22 2026-07-10 20:12:40,865 - DEBUG - VM ctest-TestBasicPolicy-11299955-33049648 is ready for SSH connections 2026-07-10 20:12:40,865 - INFO - Waiting for VM ctest-TestBasicPolicy-11299955-11382293 to be up.. 2026-07-10 20:12:40,929 - DEBUG - VM is in ACTIVE state now 2026-07-10 20:12:40,929 - INFO - VM name : ctest-TestBasicPolicy-11299955-11382293 2026-07-10 20:12:41,005 - DEBUG - VM ctest-TestBasicPolicy-11299955-11382293 ID is 74316875-f97d-4a54-b3ed-30e661dce0f0 2026-07-10 20:12:41,005 - DEBUG - VM ctest-TestBasicPolicy-11299955-11382293 launched on Node cn-jenkins-deploy-platform-ansible-os-6093-1 2026-07-10 20:12:41,075 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74316875-f97d-4a54-b3ed-30e661dce0f0 2026-07-10 20:12:41,083 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1c437592-ab5a-48cb-a8aa-9738f0af2d36 2026-07-10 20:12:42,325 - 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=8.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.54 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 = 2.537/5.472/8.407/2.935 ms') 2026-07-10 20:12:42,325 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11299955-11382293 passed 2026-07-10 20:12:42,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:12:42,471 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11299955-11382293, IP 192.150.11.131, Port 22 2026-07-10 20:12:42,526 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-07-10 20:12:42,586 - DEBUG - VM ctest-TestBasicPolicy-11299955-11382293 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-10 20:12:47,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:12:47,587 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11299955-11382293, IP 192.150.11.131, Port 22 2026-07-10 20:12:47,738 - DEBUG - VM ctest-TestBasicPolicy-11299955-11382293 is ready for SSH connections 2026-07-10 20:12:47,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:12:47,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.150.11.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-10 20:12:47,739 - DEBUG - ping -s 56 -c 3 -W 1 192.150.11.131 2026-07-10 20:12:51,580 - DEBUG - PING 192.150.11.131 (192.150.11.131): 56 data bytes 64 bytes from 192.150.11.131: seq=0 ttl=63 time=4.023 ms 64 bytes from 192.150.11.131: seq=1 ttl=63 time=0.909 ms 64 bytes from 192.150.11.131: seq=2 ttl=63 time=0.805 ms --- 192.150.11.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.912/4.023 ms 2026-07-10 20:12:51,580 - INFO - Ping to IP 192.150.11.131 from VM ctest-TestBasicPolicy-11299955-33049648 passed 2026-07-10 20:12:51,750 - DEBUG - Policy Update Response {"network-policy": {"uuid": "48fc45d6-b3f6-4d8f-8683-ff8b1a31aaee", "href": "http://10.0.0.38:8082/network-policy/48fc45d6-b3f6-4d8f-8683-ff8b1a31aaee"}} 2026-07-10 20:12:51,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:12:51,751 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.150.11.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-10 20:12:51,751 - DEBUG - ping -s 56 -c 3 -W 1 192.150.11.131 2026-07-10 20:12:54,867 - DEBUG - PING 192.150.11.131 (192.150.11.131): 56 data bytes --- 192.150.11.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-10 20:12:54,867 - WARNING - Ping to IP 192.150.11.131 from VM ctest-TestBasicPolicy-11299955-33049648 failed 2026-07-10 20:12:54,868 - INFO - Deleting VM ctest-TestBasicPolicy-11299955-11382293 2026-07-10 20:12:54,938 - INFO - Deleting VM ctest-TestBasicPolicy-11299955-33049648 2026-07-10 20:12:55,268 - INFO - Deleted policy ctest-policy-allow-all-22051743 2026-07-10 20:12:55,268 - INFO - Deleting VN ctest-vn-99774421 2026-07-10 20:12:55,296 - DEBUG - VN bb2d3d72-900d-4460-9f60-5eade88bb01a still in use: Unable to complete operation on network bb2d3d72-900d-4460-9f60-5eade88bb01a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7aa411a0-3d7f-41a9-82ab-0f3fc554a1a4'] 2026-07-10 20:12:55,296 - WARNING - Deleting VN ctest-vn-99774421 failed..Will retry 2026-07-10 20:12:57,388 - DEBUG - Response for deleting network () 2026-07-10 20:12:57,388 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940 2026-07-10 20:12:57,393 - DEBUG - Response Code: 404 2026-07-10 20:12:57,393 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 20:12:57,397 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1 2026-07-10 20:12:57,452 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a 2026-07-10 20:12:57,524 - INFO - Validated that VN ctest-vn-99774421 is not found in API Server 2026-07-10 20:12:57,533 - DEBUG - VN ctest-vn-99774421 is not present in Agent 10.0.0.38 2026-07-10 20:12:57,533 - INFO - Validated that VN ctest-vn-99774421 is not in any agent 2026-07-10 20:12:57,546 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99774421 info 2026-07-10 20:12:57,546 - INFO - Deleting VN ctest-vn-70773474 2026-07-10 20:12:57,630 - DEBUG - Response for deleting network () 2026-07-10 20:12:57,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751 2026-07-10 20:12:57,636 - DEBUG - Response Code: 404 2026-07-10 20:12:57,636 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-10 20:12:57,641 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1 2026-07-10 20:12:57,691 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a 2026-07-10 20:12:57,761 - INFO - Validated that VN ctest-vn-70773474 is not found in API Server 2026-07-10 20:12:57,770 - DEBUG - VN ctest-vn-70773474 is not present in Agent 10.0.0.38 2026-07-10 20:12:57,770 - INFO - Validated that VN ctest-vn-70773474 is not in any agent 2026-07-10 20:12:57,782 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70773474 info 2026-07-10 20:12:58,034 - DEBUG - No XMPP flaps were noticed during the test 2026-07-10 20:12:58,035 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-07-10 20:12:58,035 - INFO - -------------------------------------------------------------------------------- 2026-07-10 20:12:58,712 - INFO - Deleted project: ctest-TestBasicPolicy-11299955, ID : 74675401-fec5-4ed1-b2f8-93dfe0a5c34a