2026-08-21 05:17:47,904 - INFO - Domain Default found not creating 2026-08-21 05:17:48,064 - INFO - Project ctest-TestBasicPolicy-90834018 not found, creating it 2026-08-21 05:17:48,545 - INFO - Created Project:ctest-TestBasicPolicy-90834018, ID : 28547bbf-286f-4793-be05-6de92d5afa2c 2026-08-21 05:17:50,081 - INFO - ================================================================================ 2026-08-21 05:17:50,081 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 05:17:50,081 - 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-08-21 05:17:50,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-21 05:17:50,342 - INFO - Initial checks done. Running the testcase now 2026-08-21 05:17:50,342 - INFO - 2026-08-21 05:17:50,922 - DEBUG - Response for create_network : {'network': {'id': '968e2ca4-cde8-44c1-ad24-60208e5e6258', 'name': 'ctest-vn-50878818', 'tenant_id': '28547bbf286f4793be056de92d5afa2c', 'project_id': '28547bbf286f4793be056de92d5afa2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90834018', 'ctest-vn-50878818'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:17:51,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bce4dee-478b-4bcc-99ae-5bc4e5ff6a3b', 'name': '', 'tenant_id': '28547bbf286f4793be056de92d5afa2c', 'network_id': '968e2ca4-cde8-44c1-ad24-60208e5e6258', 'ip_version': 4, 'cidr': '79.119.131.64/26', 'allocation_pools': [{'start': '79.119.131.66', 'end': '79.119.131.126'}], 'gateway_ip': '79.119.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.119.131.66', 'tags': [], 'project_id': '28547bbf286f4793be056de92d5afa2c'}} 2026-08-21 05:17:51,123 - INFO - Created VN ctest-vn-50878818 2026-08-21 05:17:51,173 - DEBUG - VN ctest-vn-50878818 UUID is 968e2ca4-cde8-44c1-ad24-60208e5e6258 2026-08-21 05:17:51,457 - DEBUG - Response for create_network : {'network': {'id': '268c3bda-b729-481c-a9f0-458f35b81e7a', 'name': 'ctest-vn-73657249', 'tenant_id': '28547bbf286f4793be056de92d5afa2c', 'project_id': '28547bbf286f4793be056de92d5afa2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90834018', 'ctest-vn-73657249'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:17:51,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '3771c61b-0a1f-45ab-aee0-a9c6ab9ffd80', 'name': '', 'tenant_id': '28547bbf286f4793be056de92d5afa2c', 'network_id': '268c3bda-b729-481c-a9f0-458f35b81e7a', 'ip_version': 4, 'cidr': '136.62.226.192/26', 'allocation_pools': [{'start': '136.62.226.194', 'end': '136.62.226.254'}], 'gateway_ip': '136.62.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.62.226.194', 'tags': [], 'project_id': '28547bbf286f4793be056de92d5afa2c'}} 2026-08-21 05:17:51,676 - INFO - Created VN ctest-vn-73657249 2026-08-21 05:17:51,733 - DEBUG - VN ctest-vn-73657249 UUID is 268c3bda-b729-481c-a9f0-458f35b81e7a 2026-08-21 05:17:51,889 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-50878818, 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-90834018:ctest-vn-73657249, 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-08-21 05:17:52,197 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '968e2ca4-cde8-44c1-ad24-60208e5e6258', 'name': 'ctest-vn-50878818', 'tenant_id': '28547bbf286f4793be056de92d5afa2c', 'project_id': '28547bbf286f4793be056de92d5afa2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9bce4dee-478b-4bcc-99ae-5bc4e5ff6a3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90834018', 'ctest-vn-50878818'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90834018', 'ctest-policy-allow-all-39650695']], 'subnet_ipam': [{'subnet_cidr': '79.119.131.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:17:52,445 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '268c3bda-b729-481c-a9f0-458f35b81e7a', 'name': 'ctest-vn-73657249', 'tenant_id': '28547bbf286f4793be056de92d5afa2c', 'project_id': '28547bbf286f4793be056de92d5afa2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3771c61b-0a1f-45ab-aee0-a9c6ab9ffd80'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90834018', 'ctest-vn-73657249'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90834018', 'ctest-policy-allow-all-39650695']], 'subnet_ipam': [{'subnet_cidr': '136.62.226.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:17:52,601 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 05:17:52,934 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 05:17:52,964 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c87fd207-f446-4aca-863e-aacf754261a9 2026-08-21 05:17:52,975 - DEBUG - Requesting: http://10.0.0.162:8082/project/28547bbf-286f-4793-be05-6de92d5afa2c 2026-08-21 05:17:53,057 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/968e2ca4-cde8-44c1-ad24-60208e5e6258 2026-08-21 05:17:53,068 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/968e2ca4-cde8-44c1-ad24-60208e5e6258 2026-08-21 05:17:53,078 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/00ed123e-b758-4f9e-8581-337e85624517 2026-08-21 05:17:53,086 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/00ed123e-b758-4f9e-8581-337e85624517 2026-08-21 05:17:53,093 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/7ece24f0-f172-45fb-8825-c125ec85e911 2026-08-21 05:17:53,100 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 05:17:53,100 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/968e2ca4-cde8-44c1-ad24-60208e5e6258 2026-08-21 05:17:53,109 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/00ed123e-b758-4f9e-8581-337e85624517 2026-08-21 05:17:53,124 - INFO - Verified VN network id 10 for VN 968e2ca4-cde8-44c1-ad24-60208e5e6258 2026-08-21 05:17:53,124 - INFO - Verifications in API Server for VN ctest-vn-50878818 passed 2026-08-21 05:17:53,124 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/968e2ca4-cde8-44c1-ad24-60208e5e6258 2026-08-21 05:17:53,133 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/00ed123e-b758-4f9e-8581-337e85624517 2026-08-21 05:17:53,142 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/00ed123e-b758-4f9e-8581-337e85624517 2026-08-21 05:17:53,152 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/7ece24f0-f172-45fb-8825-c125ec85e911 2026-08-21 05:17:53,165 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-50878818', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90834018', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10848657638722913473', 'uuid-lslong': '12476202560666886744'}, 'enable': 'true', 'created': '2026-08-21T05:17:50', 'last-modified': '2026-08-21T05:17:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993797'} 2026-08-21 05:17:53,172 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 05:17:53,172 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50878818 passed 2026-08-21 05:17:53,173 - DEBUG - ====Verifying policy data for ctest-vn-50878818 in API_Server ====== 2026-08-21 05:17:53,173 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 05:17:53,178 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c87fd207-f446-4aca-863e-aacf754261a9 2026-08-21 05:17:53,189 - DEBUG - Requesting: http://10.0.0.162:8082/project/28547bbf-286f-4793-be05-6de92d5afa2c 2026-08-21 05:17:53,261 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/968e2ca4-cde8-44c1-ad24-60208e5e6258 2026-08-21 05:17:53,272 - DEBUG - ==>Verifying data for policy with id: c4eadac0-9f59-4639-b9b4-f96043960f72, fqn: ['default-domain', 'ctest-TestBasicPolicy-90834018', 'ctest-policy-allow-all-39650695'] 2026-08-21 05:17:53,272 - INFO - VN ctest-vn-50878818 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 05:17:53,272 - DEBUG - Verifying the vn in opserver 2026-08-21 05:17:53,273 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-50878818 virtual network link through opserver 10.0.0.162 2026-08-21 05:17:53,273 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-21 05:17:53,596 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-21 05:17:53,647 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-50878818', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-50878818?flat'} 2026-08-21 05:17:53,647 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-50878818 is found in opserver 2026-08-21 05:17:53,659 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 05:17:53,664 - DEBUG - VRF ids for VN ctest-vn-50878818: {} 2026-08-21 05:17:53,664 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 05:17:53,669 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c87fd207-f446-4aca-863e-aacf754261a9 2026-08-21 05:17:53,680 - DEBUG - Requesting: http://10.0.0.162:8082/project/28547bbf-286f-4793-be05-6de92d5afa2c 2026-08-21 05:17:53,759 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/268c3bda-b729-481c-a9f0-458f35b81e7a 2026-08-21 05:17:53,770 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/268c3bda-b729-481c-a9f0-458f35b81e7a 2026-08-21 05:17:53,779 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3843f68e-dd77-47ae-a58d-7c55e3256dce 2026-08-21 05:17:53,787 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3843f68e-dd77-47ae-a58d-7c55e3256dce 2026-08-21 05:17:53,796 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/b949cf2e-eb77-4aba-8e7a-bc8aa243d6bc 2026-08-21 05:17:53,804 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 05:17:53,804 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/268c3bda-b729-481c-a9f0-458f35b81e7a 2026-08-21 05:17:53,815 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3843f68e-dd77-47ae-a58d-7c55e3256dce 2026-08-21 05:17:53,830 - INFO - Verified VN network id 11 for VN 268c3bda-b729-481c-a9f0-458f35b81e7a 2026-08-21 05:17:53,831 - INFO - Verifications in API Server for VN ctest-vn-73657249 passed 2026-08-21 05:17:53,831 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/268c3bda-b729-481c-a9f0-458f35b81e7a 2026-08-21 05:17:53,841 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3843f68e-dd77-47ae-a58d-7c55e3256dce 2026-08-21 05:17:53,848 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3843f68e-dd77-47ae-a58d-7c55e3256dce 2026-08-21 05:17:53,855 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/b949cf2e-eb77-4aba-8e7a-bc8aa243d6bc 2026-08-21 05:17:53,867 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-73657249', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90834018', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2777660880742598684', 'uuid-lslong': '12245363868204277370'}, 'enable': 'true', 'created': '2026-08-21T05:17:51', 'last-modified': '2026-08-21T05:17:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.459307'} 2026-08-21 05:17:53,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 05:17:53,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73657249 passed 2026-08-21 05:17:53,873 - DEBUG - ====Verifying policy data for ctest-vn-73657249 in API_Server ====== 2026-08-21 05:17:53,873 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 05:17:53,879 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c87fd207-f446-4aca-863e-aacf754261a9 2026-08-21 05:17:53,892 - DEBUG - Requesting: http://10.0.0.162:8082/project/28547bbf-286f-4793-be05-6de92d5afa2c 2026-08-21 05:17:53,967 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/268c3bda-b729-481c-a9f0-458f35b81e7a 2026-08-21 05:17:53,978 - DEBUG - ==>Verifying data for policy with id: c4eadac0-9f59-4639-b9b4-f96043960f72, fqn: ['default-domain', 'ctest-TestBasicPolicy-90834018', 'ctest-policy-allow-all-39650695'] 2026-08-21 05:17:53,978 - INFO - VN ctest-vn-73657249 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 05:17:53,978 - DEBUG - Verifying the vn in opserver 2026-08-21 05:17:53,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-73657249 virtual network link through opserver 10.0.0.162 2026-08-21 05:17:53,978 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-21 05:17:53,989 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-73657249', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-73657249?flat'} 2026-08-21 05:17:53,989 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90834018:ctest-vn-73657249 is found in opserver 2026-08-21 05:17:54,000 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 05:17:54,008 - DEBUG - VRF ids for VN ctest-vn-73657249: {} 2026-08-21 05:17:54,071 - DEBUG - Services list from nova: [, , ] 2026-08-21 05:17:54,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6198-1) 2026-08-21 05:17:54,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6198-1) 2026-08-21 05:17:54,911 - INFO - Waiting for VM ctest-TestBasicPolicy-90834018-92821363 to be up.. 2026-08-21 05:17:54,949 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:18:00,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:18:05,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:18:10,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:18:15,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:18:20,329 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:18:25,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:18:30,482 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:18:35,565 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:18:35,565 - INFO - VM name : ctest-TestBasicPolicy-90834018-92821363 2026-08-21 05:18:35,637 - DEBUG - VM ctest-TestBasicPolicy-90834018-92821363 ID is d516c0f9-a153-4665-b034-291327a0b921 2026-08-21 05:18:35,658 - DEBUG - VM ctest-TestBasicPolicy-90834018-92821363 launched on Node cn-jenkins-deploy-platform-ansible-os-6198-1 2026-08-21 05:18:35,728 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/d516c0f9-a153-4665-b034-291327a0b921 2026-08-21 05:18:35,738 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/515b0837-700d-40f0-aad2-8f4cc9ea90f3 2026-08-21 05:18:36,978 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.653 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 = 0.653/2.646/4.640/1.993 ms') 2026-08-21 05:18:36,978 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90834018-92821363 passed 2026-08-21 05:18:37,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:18:37,130 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90834018-92821363, IP 79.119.131.67, Port 22 2026-08-21 05:18:37,286 - DEBUG - VM ctest-TestBasicPolicy-90834018-92821363 is ready for SSH connections 2026-08-21 05:18:37,286 - INFO - Waiting for VM ctest-TestBasicPolicy-90834018-28705876 to be up.. 2026-08-21 05:18:37,356 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:18:37,356 - INFO - VM name : ctest-TestBasicPolicy-90834018-28705876 2026-08-21 05:18:37,423 - DEBUG - VM ctest-TestBasicPolicy-90834018-28705876 ID is 22cd9224-07fd-4971-9862-24f1b6317ec5 2026-08-21 05:18:37,423 - DEBUG - VM ctest-TestBasicPolicy-90834018-28705876 launched on Node cn-jenkins-deploy-platform-ansible-os-6198-1 2026-08-21 05:18:37,494 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/22cd9224-07fd-4971-9862-24f1b6317ec5 2026-08-21 05:18:37,504 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/1bc02547-75f9-4661-8426-70657a49c667 2026-08-21 05:18:40,766 - 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=9.87 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 9.870/9.870/9.870/0.000 ms') 2026-08-21 05:18:40,766 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90834018-28705876 passed 2026-08-21 05:18:40,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:18:40,918 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90834018-28705876, IP 136.62.226.195, Port 22 2026-08-21 05:18:40,984 - 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-08-21 05:18:41,059 - DEBUG - VM ctest-TestBasicPolicy-90834018-28705876 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-21 05:18:46,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:18:46,060 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90834018-28705876, IP 136.62.226.195, Port 22 2026-08-21 05:18:46,227 - DEBUG - VM ctest-TestBasicPolicy-90834018-28705876 is ready for SSH connections 2026-08-21 05:18:46,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:18:46,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.62.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-21 05:18:46,227 - DEBUG - ping -s 56 -c 3 -W 1 136.62.226.195 2026-08-21 05:18:50,153 - DEBUG - PING 136.62.226.195 (136.62.226.195): 56 data bytes 64 bytes from 136.62.226.195: seq=0 ttl=63 time=5.250 ms 64 bytes from 136.62.226.195: seq=1 ttl=63 time=0.955 ms 64 bytes from 136.62.226.195: seq=2 ttl=63 time=0.944 ms --- 136.62.226.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/2.383/5.250 ms 2026-08-21 05:18:50,153 - INFO - Ping to IP 136.62.226.195 from VM ctest-TestBasicPolicy-90834018-92821363 passed 2026-08-21 05:18:50,333 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c4eadac0-9f59-4639-b9b4-f96043960f72", "href": "http://10.0.0.162:8082/network-policy/c4eadac0-9f59-4639-b9b4-f96043960f72"}} 2026-08-21 05:18:50,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:18:50,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.62.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-21 05:18:50,333 - DEBUG - ping -s 56 -c 3 -W 1 136.62.226.195 2026-08-21 05:18:53,456 - DEBUG - PING 136.62.226.195 (136.62.226.195): 56 data bytes 64 bytes from 136.62.226.195: seq=0 ttl=63 time=1.453 ms --- 136.62.226.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.453/1.453/1.453 ms 2026-08-21 05:18:53,456 - WARNING - Ping to IP 136.62.226.195 from VM ctest-TestBasicPolicy-90834018-92821363 failed 2026-08-21 05:18:53,456 - INFO - Deleting VM ctest-TestBasicPolicy-90834018-28705876 2026-08-21 05:18:53,528 - INFO - Deleting VM ctest-TestBasicPolicy-90834018-92821363 2026-08-21 05:18:53,882 - INFO - Deleted policy ctest-policy-allow-all-39650695 2026-08-21 05:18:53,882 - INFO - Deleting VN ctest-vn-73657249 2026-08-21 05:18:53,914 - DEBUG - VN 268c3bda-b729-481c-a9f0-458f35b81e7a still in use: Unable to complete operation on network 268c3bda-b729-481c-a9f0-458f35b81e7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c520c71-5a16-4e83-b5e6-2f60da2dc994'] 2026-08-21 05:18:53,915 - WARNING - Deleting VN ctest-vn-73657249 failed..Will retry 2026-08-21 05:18:56,027 - DEBUG - Response for deleting network () 2026-08-21 05:18:56,027 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3843f68e-dd77-47ae-a58d-7c55e3256dce 2026-08-21 05:18:56,034 - DEBUG - Response Code: 404 2026-08-21 05:18:56,034 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 05:18:56,043 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c87fd207-f446-4aca-863e-aacf754261a9 2026-08-21 05:18:56,100 - DEBUG - Requesting: http://10.0.0.162:8082/project/28547bbf-286f-4793-be05-6de92d5afa2c 2026-08-21 05:18:56,175 - INFO - Validated that VN ctest-vn-73657249 is not found in API Server 2026-08-21 05:18:56,186 - DEBUG - VN ctest-vn-73657249 is not present in Agent 10.0.0.162 2026-08-21 05:18:56,186 - INFO - Validated that VN ctest-vn-73657249 is not in any agent 2026-08-21 05:18:56,199 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73657249 info 2026-08-21 05:18:56,199 - INFO - Deleting VN ctest-vn-50878818 2026-08-21 05:18:56,316 - DEBUG - Response for deleting network () 2026-08-21 05:18:56,316 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/00ed123e-b758-4f9e-8581-337e85624517 2026-08-21 05:18:56,324 - DEBUG - Response Code: 404 2026-08-21 05:18:56,324 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 05:18:56,330 - DEBUG - Requesting: http://10.0.0.162:8082/domain/c87fd207-f446-4aca-863e-aacf754261a9 2026-08-21 05:18:56,386 - DEBUG - Requesting: http://10.0.0.162:8082/project/28547bbf-286f-4793-be05-6de92d5afa2c 2026-08-21 05:18:56,454 - INFO - Validated that VN ctest-vn-50878818 is not found in API Server 2026-08-21 05:18:56,468 - DEBUG - VN ctest-vn-50878818 is not present in Agent 10.0.0.162 2026-08-21 05:18:56,469 - INFO - Validated that VN ctest-vn-50878818 is not in any agent 2026-08-21 05:18:56,484 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50878818 info 2026-08-21 05:18:56,745 - DEBUG - No XMPP flaps were noticed during the test 2026-08-21 05:18:56,745 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06] 2026-08-21 05:18:56,745 - INFO - -------------------------------------------------------------------------------- 2026-08-21 05:18:57,459 - INFO - Deleted project: ctest-TestBasicPolicy-90834018, ID : 28547bbf-286f-4793-be05-6de92d5afa2c