2026-01-26 02:09:36,882 - INFO - Domain Default found not creating 2026-01-26 02:09:37,091 - INFO - Project ctest-TestBasicPolicy-40608789 not found, creating it 2026-01-26 02:09:37,607 - INFO - Created Project:ctest-TestBasicPolicy-40608789, ID : c8e36d8d-489d-4d21-a098-434d55a44830 2026-01-26 02:09:39,280 - INFO - ================================================================================ 2026-01-26 02:09:39,280 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-26 02:09:39,280 - 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-26 02:09:39,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2026-01-26 02:09:39,548 - INFO - Initial checks done. Running the testcase now 2026-01-26 02:09:39,548 - INFO - 2026-01-26 02:09:40,169 - DEBUG - Response for create_network : {'network': {'id': '9663d34f-85bf-4882-96cf-8513135431c5', 'name': 'ctest-vn-93512468', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'project_id': 'c8e36d8d489d4d21a098434d55a44830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-vn-93512468'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:09:40,321 - DEBUG - Response for create_subnet : {'subnet': {'id': '8684aa15-fefb-4af3-9064-7c502dab27ec', 'name': '', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'network_id': '9663d34f-85bf-4882-96cf-8513135431c5', 'ip_version': 4, 'cidr': '112.104.99.192/26', 'allocation_pools': [{'start': '112.104.99.194', 'end': '112.104.99.254'}], 'gateway_ip': '112.104.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.104.99.194', 'tags': [], 'project_id': 'c8e36d8d489d4d21a098434d55a44830'}} 2026-01-26 02:09:40,341 - INFO - Created VN ctest-vn-93512468 2026-01-26 02:09:40,395 - DEBUG - VN ctest-vn-93512468 UUID is 9663d34f-85bf-4882-96cf-8513135431c5 2026-01-26 02:09:40,700 - DEBUG - Response for create_network : {'network': {'id': '20d438bc-9b38-4a03-b043-d9a441153252', 'name': 'ctest-vn-61928070', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'project_id': 'c8e36d8d489d4d21a098434d55a44830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-vn-61928070'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:09:40,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '573eb54f-29ac-4194-8898-6dbd5cb507dc', 'name': '', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'network_id': '20d438bc-9b38-4a03-b043-d9a441153252', 'ip_version': 4, 'cidr': '23.152.135.128/26', 'allocation_pools': [{'start': '23.152.135.130', 'end': '23.152.135.190'}], 'gateway_ip': '23.152.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.152.135.130', 'tags': [], 'project_id': 'c8e36d8d489d4d21a098434d55a44830'}} 2026-01-26 02:09:40,974 - INFO - Created VN ctest-vn-61928070 2026-01-26 02:09:41,031 - DEBUG - VN ctest-vn-61928070 UUID is 20d438bc-9b38-4a03-b043-d9a441153252 2026-01-26 02:09:41,147 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468, 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-40608789:ctest-vn-61928070, 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-26 02:09:41,457 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9663d34f-85bf-4882-96cf-8513135431c5', 'name': 'ctest-vn-93512468', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'project_id': 'c8e36d8d489d4d21a098434d55a44830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8684aa15-fefb-4af3-9064-7c502dab27ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-vn-93512468'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-policy-allow-all-05071974']], 'subnet_ipam': [{'subnet_cidr': '112.104.99.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:09:41,698 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20d438bc-9b38-4a03-b043-d9a441153252', 'name': 'ctest-vn-61928070', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'project_id': 'c8e36d8d489d4d21a098434d55a44830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['573eb54f-29ac-4194-8898-6dbd5cb507dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-vn-61928070'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-policy-allow-all-05071974']], 'subnet_ipam': [{'subnet_cidr': '23.152.135.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:09:41,855 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-26 02:09:42,180 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-26 02:09:42,221 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b 2026-01-26 02:09:42,236 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830 2026-01-26 02:09:42,317 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5 2026-01-26 02:09:42,329 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5 2026-01-26 02:09:42,340 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32 2026-01-26 02:09:42,348 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32 2026-01-26 02:09:42,357 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/bfc00bb2-0432-47a0-beda-eb8f37d3d164 2026-01-26 02:09:42,367 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 02:09:42,367 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5 2026-01-26 02:09:42,378 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32 2026-01-26 02:09:42,394 - INFO - Verified VN network id 11 for VN 9663d34f-85bf-4882-96cf-8513135431c5 2026-01-26 02:09:42,394 - INFO - Verifications in API Server for VN ctest-vn-93512468 passed 2026-01-26 02:09:42,395 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5 2026-01-26 02:09:42,405 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32 2026-01-26 02:09:42,412 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32 2026-01-26 02:09:42,420 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/bfc00bb2-0432-47a0-beda-eb8f37d3d164 2026-01-26 02:09:42,435 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40608789', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10836737466883328130', 'uuid-lslong': '10867050742843453893'}, 'enable': 'true', 'created': '2026-01-26T02:09:40', 'last-modified': '2026-01-26T02:09:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007813'} 2026-01-26 02:09:42,442 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 02:09:42,443 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93512468 passed 2026-01-26 02:09:42,443 - DEBUG - ====Verifying policy data for ctest-vn-93512468 in API_Server ====== 2026-01-26 02:09:42,443 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-26 02:09:42,449 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b 2026-01-26 02:09:42,462 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830 2026-01-26 02:09:42,535 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5 2026-01-26 02:09:42,546 - DEBUG - ==>Verifying data for policy with id: e4cc3af4-ef15-4b37-a05a-7446d1138f61, fqn: ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-policy-allow-all-05071974'] 2026-01-26 02:09:42,546 - INFO - VN ctest-vn-93512468 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 02:09:42,546 - DEBUG - Verifying the vn in opserver 2026-01-26 02:09:42,546 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468 virtual network link through opserver 10.0.0.27 2026-01-26 02:09:42,546 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-26 02:09:42,850 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-26 02:09:42,928 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468?flat'} 2026-01-26 02:09:42,928 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468 is found in opserver 2026-01-26 02:09:42,939 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 02:09:42,944 - DEBUG - VRF ids for VN ctest-vn-93512468: {} 2026-01-26 02:09:42,944 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-26 02:09:42,950 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b 2026-01-26 02:09:42,961 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830 2026-01-26 02:09:43,032 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252 2026-01-26 02:09:43,048 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252 2026-01-26 02:09:43,060 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335 2026-01-26 02:09:43,069 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335 2026-01-26 02:09:43,077 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c7f53ca6-a49f-4de7-bc4c-e75c40e3aeb2 2026-01-26 02:09:43,086 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 02:09:43,086 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252 2026-01-26 02:09:43,096 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335 2026-01-26 02:09:43,114 - INFO - Verified VN network id 12 for VN 20d438bc-9b38-4a03-b043-d9a441153252 2026-01-26 02:09:43,114 - INFO - Verifications in API Server for VN ctest-vn-61928070 passed 2026-01-26 02:09:43,114 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252 2026-01-26 02:09:43,126 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335 2026-01-26 02:09:43,134 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335 2026-01-26 02:09:43,143 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c7f53ca6-a49f-4de7-bc4c-e75c40e3aeb2 2026-01-26 02:09:43,156 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40608789', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2365578086985517571', 'uuid-lslong': '12701234673604702802'}, 'enable': 'true', 'created': '2026-01-26T02:09:40', 'last-modified': '2026-01-26T02:09:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479794'} 2026-01-26 02:09:43,163 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 02:09:43,163 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61928070 passed 2026-01-26 02:09:43,164 - DEBUG - ====Verifying policy data for ctest-vn-61928070 in API_Server ====== 2026-01-26 02:09:43,164 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-26 02:09:43,172 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b 2026-01-26 02:09:43,184 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830 2026-01-26 02:09:43,259 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252 2026-01-26 02:09:43,268 - DEBUG - ==>Verifying data for policy with id: e4cc3af4-ef15-4b37-a05a-7446d1138f61, fqn: ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-policy-allow-all-05071974'] 2026-01-26 02:09:43,268 - INFO - VN ctest-vn-61928070 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 02:09:43,268 - DEBUG - Verifying the vn in opserver 2026-01-26 02:09:43,268 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070 virtual network link through opserver 10.0.0.27 2026-01-26 02:09:43,269 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-26 02:09:43,280 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070?flat'} 2026-01-26 02:09:43,280 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070 is found in opserver 2026-01-26 02:09:43,290 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 02:09:43,296 - DEBUG - VRF ids for VN ctest-vn-61928070: {} 2026-01-26 02:09:43,367 - DEBUG - Services list from nova: [, , ] 2026-01-26 02:09:44,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5075-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5075-1) 2026-01-26 02:09:45,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5075-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5075-1) 2026-01-26 02:09:45,729 - INFO - Waiting for VM ctest-TestBasicPolicy-40608789-55495842 to be up.. 2026-01-26 02:09:45,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 02:09:50,906 - DEBUG - VM is in ACTIVE state now 2026-01-26 02:09:50,906 - INFO - VM name : ctest-TestBasicPolicy-40608789-55495842 2026-01-26 02:09:50,982 - DEBUG - VM ctest-TestBasicPolicy-40608789-55495842 ID is f9da7990-cf13-4f6d-af31-93619290c957 2026-01-26 02:09:51,004 - DEBUG - VM ctest-TestBasicPolicy-40608789-55495842 launched on Node cn-jenkins-deploy-platform-ansible-os-5075-1 2026-01-26 02:09:51,079 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f9da7990-cf13-4f6d-af31-93619290c957 2026-01-26 02:09:51,087 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4bb15393-d059-4da8-b70f-b273735bc941 2026-01-26 02:09:54,351 - 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 1015ms') 2026-01-26 02:09:54,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40608789-55495842 failed! 2026-01-26 02:09:54,407 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468 is 112.104.99.193 and allocation pool is NOT set 2026-01-26 02:09:56,474 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.001/6.288/10.575/4.287 ms') 2026-01-26 02:09:56,474 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40608789-55495842 passed 2026-01-26 02:09:56,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:09:56,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40608789-55495842, IP 112.104.99.195, Port 22 2026-01-26 02:09:56,783 - DEBUG - VM ctest-TestBasicPolicy-40608789-55495842 is ready for SSH connections 2026-01-26 02:09:56,783 - INFO - Waiting for VM ctest-TestBasicPolicy-40608789-24105411 to be up.. 2026-01-26 02:09:56,866 - DEBUG - VM is in ACTIVE state now 2026-01-26 02:09:56,867 - INFO - VM name : ctest-TestBasicPolicy-40608789-24105411 2026-01-26 02:09:56,946 - DEBUG - VM ctest-TestBasicPolicy-40608789-24105411 ID is 0dfe0bad-e3ed-4103-8bbf-1ff77347eb33 2026-01-26 02:09:56,947 - DEBUG - VM ctest-TestBasicPolicy-40608789-24105411 launched on Node cn-jenkins-deploy-platform-ansible-os-5075-1 2026-01-26 02:09:57,038 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0dfe0bad-e3ed-4103-8bbf-1ff77347eb33 2026-01-26 02:09:57,047 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/09e8051e-2578-41e1-b70c-52b774edbb54 2026-01-26 02:09:58,295 - 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=5.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.880 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.880/3.245/5.611/2.365 ms') 2026-01-26 02:09:58,295 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40608789-24105411 passed 2026-01-26 02:09:58,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:09:58,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40608789-24105411, IP 23.152.135.131, Port 22 2026-01-26 02:09:58,606 - DEBUG - VM ctest-TestBasicPolicy-40608789-24105411 is ready for SSH connections 2026-01-26 02:09:58,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:09:58,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.152.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-01-26 02:09:58,607 - DEBUG - ping -s 56 -c 3 -W 1 23.152.135.131 2026-01-26 02:10:02,794 - DEBUG - PING 23.152.135.131 (23.152.135.131): 56 data bytes 64 bytes from 23.152.135.131: seq=0 ttl=63 time=4.962 ms 64 bytes from 23.152.135.131: seq=1 ttl=63 time=0.960 ms 64 bytes from 23.152.135.131: seq=2 ttl=63 time=1.104 ms --- 23.152.135.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/2.342/4.962 ms 2026-01-26 02:10:02,794 - INFO - Ping to IP 23.152.135.131 from VM ctest-TestBasicPolicy-40608789-55495842 passed 2026-01-26 02:10:02,979 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e4cc3af4-ef15-4b37-a05a-7446d1138f61", "href": "http://10.0.0.27:8082/network-policy/e4cc3af4-ef15-4b37-a05a-7446d1138f61"}} 2026-01-26 02:10:02,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:10:02,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.152.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-01-26 02:10:02,979 - DEBUG - ping -s 56 -c 3 -W 1 23.152.135.131 2026-01-26 02:10:06,230 - DEBUG - PING 23.152.135.131 (23.152.135.131): 56 data bytes --- 23.152.135.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-26 02:10:06,230 - WARNING - Ping to IP 23.152.135.131 from VM ctest-TestBasicPolicy-40608789-55495842 failed 2026-01-26 02:10:06,231 - INFO - Deleting VM ctest-TestBasicPolicy-40608789-24105411 2026-01-26 02:10:06,318 - INFO - Deleting VM ctest-TestBasicPolicy-40608789-55495842 2026-01-26 02:10:06,725 - INFO - Deleted policy ctest-policy-allow-all-05071974 2026-01-26 02:10:06,725 - INFO - Deleting VN ctest-vn-61928070 2026-01-26 02:10:06,769 - DEBUG - VN 20d438bc-9b38-4a03-b043-d9a441153252 still in use: Unable to complete operation on network 20d438bc-9b38-4a03-b043-d9a441153252. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b05cf4ed-ca58-4092-bf05-46bf61ccd55a'] 2026-01-26 02:10:06,769 - WARNING - Deleting VN ctest-vn-61928070 failed..Will retry 2026-01-26 02:10:08,880 - DEBUG - Response for deleting network () 2026-01-26 02:10:08,880 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335 2026-01-26 02:10:08,885 - DEBUG - Response Code: 404 2026-01-26 02:10:08,885 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-26 02:10:08,891 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b 2026-01-26 02:10:08,948 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830 2026-01-26 02:10:09,022 - INFO - Validated that VN ctest-vn-61928070 is not found in API Server 2026-01-26 02:10:09,033 - DEBUG - VN ctest-vn-61928070 is not present in Agent 10.0.0.27 2026-01-26 02:10:09,033 - INFO - Validated that VN ctest-vn-61928070 is not in any agent 2026-01-26 02:10:09,048 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61928070 info 2026-01-26 02:10:09,048 - INFO - Deleting VN ctest-vn-93512468 2026-01-26 02:10:09,174 - DEBUG - Response for deleting network () 2026-01-26 02:10:09,174 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32 2026-01-26 02:10:09,181 - DEBUG - Response Code: 404 2026-01-26 02:10:09,181 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-26 02:10:09,187 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b 2026-01-26 02:10:09,244 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830 2026-01-26 02:10:09,319 - INFO - Validated that VN ctest-vn-93512468 is not found in API Server 2026-01-26 02:10:09,330 - DEBUG - VN ctest-vn-93512468 is not present in Agent 10.0.0.27 2026-01-26 02:10:09,330 - INFO - Validated that VN ctest-vn-93512468 is not in any agent 2026-01-26 02:10:09,347 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93512468 info 2026-01-26 02:10:09,617 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 02:10:09,617 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-26 02:10:09,617 - INFO - -------------------------------------------------------------------------------- 2026-01-26 02:10:10,359 - INFO - Deleted project: ctest-TestBasicPolicy-40608789, ID : c8e36d8d-489d-4d21-a098-434d55a44830