2026-10-20 19:08:04,650 - INFO - Domain Default found not creating 2026-10-20 19:08:05,220 - INFO - Project ctest-TestBasicPolicy-21159068 not found, creating it 2026-10-20 19:08:05,711 - INFO - Created Project:ctest-TestBasicPolicy-21159068, ID : 184600ca-9abb-4289-aeaa-6d131123af23 2026-10-20 19:08:07,375 - INFO - ================================================================================ 2026-10-20 19:08:07,375 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-20 19:08:07,375 - 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-10-20 19:08:07,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-10-20 19:08:07,631 - INFO - Initial checks done. Running the testcase now 2026-10-20 19:08:07,631 - INFO - 2026-10-20 19:08:08,224 - DEBUG - Response for create_network : {'network': {'id': 'f5aaa9ce-50c7-4d28-b01c-63895004e3e0', 'name': 'ctest-vn-04333681', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'project_id': '184600ca9abb4289aeaa6d131123af23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-vn-04333681'], 'port_security_enabled': True, 'description': ''}} 2026-10-20 19:08:08,437 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb183105-0456-4539-8ad6-0b70524601be', 'name': '', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'network_id': 'f5aaa9ce-50c7-4d28-b01c-63895004e3e0', 'ip_version': 4, 'cidr': '167.80.147.192/26', 'allocation_pools': [{'start': '167.80.147.194', 'end': '167.80.147.254'}], 'gateway_ip': '167.80.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.80.147.194', 'tags': [], 'project_id': '184600ca9abb4289aeaa6d131123af23'}} 2026-10-20 19:08:08,451 - INFO - Created VN ctest-vn-04333681 2026-10-20 19:08:08,500 - DEBUG - VN ctest-vn-04333681 UUID is f5aaa9ce-50c7-4d28-b01c-63895004e3e0 2026-10-20 19:08:08,793 - DEBUG - Response for create_network : {'network': {'id': 'db3a5376-76c1-4e6d-9b7c-e59a16a880c3', 'name': 'ctest-vn-76500642', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'project_id': '184600ca9abb4289aeaa6d131123af23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-vn-76500642'], 'port_security_enabled': True, 'description': ''}} 2026-10-20 19:08:08,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bfd11d5-5c1c-45b1-ac85-7092c5d5b168', 'name': '', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'network_id': 'db3a5376-76c1-4e6d-9b7c-e59a16a880c3', 'ip_version': 4, 'cidr': '59.153.2.192/26', 'allocation_pools': [{'start': '59.153.2.194', 'end': '59.153.2.254'}], 'gateway_ip': '59.153.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.153.2.194', 'tags': [], 'project_id': '184600ca9abb4289aeaa6d131123af23'}} 2026-10-20 19:08:08,981 - INFO - Created VN ctest-vn-76500642 2026-10-20 19:08:09,032 - DEBUG - VN ctest-vn-76500642 UUID is db3a5376-76c1-4e6d-9b7c-e59a16a880c3 2026-10-20 19:08:09,145 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681, 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-21159068:ctest-vn-76500642, 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-10-20 19:08:09,430 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5aaa9ce-50c7-4d28-b01c-63895004e3e0', 'name': 'ctest-vn-04333681', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'project_id': '184600ca9abb4289aeaa6d131123af23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bb183105-0456-4539-8ad6-0b70524601be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-vn-04333681'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-policy-allow-all-54478941']], 'subnet_ipam': [{'subnet_cidr': '167.80.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-20 19:08:09,642 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db3a5376-76c1-4e6d-9b7c-e59a16a880c3', 'name': 'ctest-vn-76500642', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'project_id': '184600ca9abb4289aeaa6d131123af23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0bfd11d5-5c1c-45b1-ac85-7092c5d5b168'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-vn-76500642'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-policy-allow-all-54478941']], 'subnet_ipam': [{'subnet_cidr': '59.153.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-20 19:08:09,792 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-20 19:08:10,151 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-20 19:08:10,175 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c 2026-10-20 19:08:10,185 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23 2026-10-20 19:08:10,255 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0 2026-10-20 19:08:10,265 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0 2026-10-20 19:08:10,272 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786 2026-10-20 19:08:10,279 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786 2026-10-20 19:08:10,284 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/bc3ce15d-ce1a-4f2f-a41b-22b771e6641f 2026-10-20 19:08:10,289 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-20 19:08:10,289 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0 2026-10-20 19:08:10,297 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786 2026-10-20 19:08:10,307 - INFO - Verified VN network id 12 for VN f5aaa9ce-50c7-4d28-b01c-63895004e3e0 2026-10-20 19:08:10,307 - INFO - Verifications in API Server for VN ctest-vn-04333681 passed 2026-10-20 19:08:10,308 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0 2026-10-20 19:08:10,315 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786 2026-10-20 19:08:10,320 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786 2026-10-20 19:08:10,326 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/bc3ce15d-ce1a-4f2f-a41b-22b771e6641f 2026-10-20 19:08:10,336 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21159068', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17702147988916751656', 'uuid-lslong': '12690127291427382240'}, 'enable': 'true', 'created': '2026-10-20T19:08:08', 'last-modified': '2026-10-20T19:08:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927465'} 2026-10-20 19:08:10,342 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-20 19:08:10,342 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04333681 passed 2026-10-20 19:08:10,342 - DEBUG - ====Verifying policy data for ctest-vn-04333681 in API_Server ====== 2026-10-20 19:08:10,342 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-20 19:08:10,347 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c 2026-10-20 19:08:10,356 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23 2026-10-20 19:08:10,435 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0 2026-10-20 19:08:10,442 - DEBUG - ==>Verifying data for policy with id: 79d467d8-bad5-45f9-843b-bf1f38315acb, fqn: ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-policy-allow-all-54478941'] 2026-10-20 19:08:10,442 - INFO - VN ctest-vn-04333681 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-20 19:08:10,442 - DEBUG - Verifying the vn in opserver 2026-10-20 19:08:10,443 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681 virtual network link through opserver 10.0.0.185 2026-10-20 19:08:10,443 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-20 19:08:10,805 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-20 19:08:10,847 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681?flat'} 2026-10-20 19:08:10,847 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681 is found in opserver 2026-10-20 19:08:10,856 - DEBUG - Do not have enough data to verify VN in agent 2026-10-20 19:08:10,860 - DEBUG - VRF ids for VN ctest-vn-04333681: {} 2026-10-20 19:08:10,860 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-20 19:08:10,865 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c 2026-10-20 19:08:10,874 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23 2026-10-20 19:08:10,940 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3 2026-10-20 19:08:10,950 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3 2026-10-20 19:08:10,958 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb 2026-10-20 19:08:10,964 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb 2026-10-20 19:08:10,969 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/63fd65b5-76bc-415f-bd24-0975dd26d864 2026-10-20 19:08:10,974 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-20 19:08:10,975 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3 2026-10-20 19:08:10,984 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb 2026-10-20 19:08:10,997 - INFO - Verified VN network id 13 for VN db3a5376-76c1-4e6d-9b7c-e59a16a880c3 2026-10-20 19:08:10,998 - INFO - Verifications in API Server for VN ctest-vn-76500642 passed 2026-10-20 19:08:10,998 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3 2026-10-20 19:08:11,007 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb 2026-10-20 19:08:11,014 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb 2026-10-20 19:08:11,020 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/63fd65b5-76bc-415f-bd24-0975dd26d864 2026-10-20 19:08:11,033 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21159068', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15797030411219062381', 'uuid-lslong': '11204082422958817475'}, 'enable': 'true', 'created': '2026-10-20T19:08:08', 'last-modified': '2026-10-20T19:08:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409295'} 2026-10-20 19:08:11,040 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-20 19:08:11,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76500642 passed 2026-10-20 19:08:11,041 - DEBUG - ====Verifying policy data for ctest-vn-76500642 in API_Server ====== 2026-10-20 19:08:11,041 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-20 19:08:11,045 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c 2026-10-20 19:08:11,056 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23 2026-10-20 19:08:11,128 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3 2026-10-20 19:08:11,136 - DEBUG - ==>Verifying data for policy with id: 79d467d8-bad5-45f9-843b-bf1f38315acb, fqn: ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-policy-allow-all-54478941'] 2026-10-20 19:08:11,136 - INFO - VN ctest-vn-76500642 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-20 19:08:11,136 - DEBUG - Verifying the vn in opserver 2026-10-20 19:08:11,136 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642 virtual network link through opserver 10.0.0.185 2026-10-20 19:08:11,136 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-20 19:08:11,144 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642?flat'} 2026-10-20 19:08:11,144 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642 is found in opserver 2026-10-20 19:08:11,153 - DEBUG - Do not have enough data to verify VN in agent 2026-10-20 19:08:11,157 - DEBUG - VRF ids for VN ctest-vn-76500642: {} 2026-10-20 19:08:11,205 - DEBUG - Services list from nova: [, , ] 2026-10-20 19:08:11,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6376-1) 2026-10-20 19:08:11,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6376-1) 2026-10-20 19:08:11,839 - INFO - Waiting for VM ctest-TestBasicPolicy-21159068-69049891 to be up.. 2026-10-20 19:08:11,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:08:16,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:08:22,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:08:27,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:08:32,165 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:08:37,259 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:08:42,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:08:47,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-20 19:08:52,576 - DEBUG - VM is in ACTIVE state now 2026-10-20 19:08:52,577 - INFO - VM name : ctest-TestBasicPolicy-21159068-69049891 2026-10-20 19:08:52,657 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 ID is 11e7211b-9cf2-45ac-bbf1-38765f18b44c 2026-10-20 19:08:52,687 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 launched on Node cn-jenkins-deploy-platform-ansible-os-6376-1 2026-10-20 19:08:52,762 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/11e7211b-9cf2-45ac-bbf1-38765f18b44c 2026-10-20 19:08:52,770 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/9edddf3c-8ba7-4f5e-bb97-ad123a9dd1a1 2026-10-20 19:08:56,059 - 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=2 ttl=63 time=8.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 8.877/8.877/8.877/0.000 ms') 2026-10-20 19:08:56,060 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21159068-69049891 passed 2026-10-20 19:08:56,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:08:56,223 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:08:56,299 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:08:56,440 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:09:01,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:01,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:09:01,516 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:09:01,604 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:09:06,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:06,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:09:06,707 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:09:06,793 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:09:11,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:11,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:09:11,853 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:09:11,946 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:09:16,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:16,947 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:09:17,004 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:09:17,089 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:09:22,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:22,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:09:22,159 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:09:22,247 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:09:27,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:27,247 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:09:27,314 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:09:27,486 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:09:32,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:32,486 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:09:32,555 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-20 19:09:32,655 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-20 19:09:37,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:37,657 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-69049891, IP 167.80.147.195, Port 22 2026-10-20 19:09:37,826 - DEBUG - VM ctest-TestBasicPolicy-21159068-69049891 is ready for SSH connections 2026-10-20 19:09:37,826 - INFO - Waiting for VM ctest-TestBasicPolicy-21159068-88174026 to be up.. 2026-10-20 19:09:37,901 - DEBUG - VM is in ACTIVE state now 2026-10-20 19:09:37,901 - INFO - VM name : ctest-TestBasicPolicy-21159068-88174026 2026-10-20 19:09:37,970 - DEBUG - VM ctest-TestBasicPolicy-21159068-88174026 ID is e9519d03-16c1-4127-8ea9-7946afe9b030 2026-10-20 19:09:37,970 - DEBUG - VM ctest-TestBasicPolicy-21159068-88174026 launched on Node cn-jenkins-deploy-platform-ansible-os-6376-1 2026-10-20 19:09:38,042 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/e9519d03-16c1-4127-8ea9-7946afe9b030 2026-10-20 19:09:38,051 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/ddcd2948-4f9a-43fb-b8dc-f2e0f3d0467b 2026-10-20 19:09:39,296 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.023/2.483/3.944/1.460 ms') 2026-10-20 19:09:39,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21159068-88174026 passed 2026-10-20 19:09:39,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:39,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21159068-88174026, IP 59.153.2.195, Port 22 2026-10-20 19:09:39,610 - DEBUG - VM ctest-TestBasicPolicy-21159068-88174026 is ready for SSH connections 2026-10-20 19:09:39,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:39,611 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.153.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-20 19:09:39,611 - DEBUG - ping -s 56 -c 3 -W 1 59.153.2.195 2026-10-20 19:09:43,718 - DEBUG - PING 59.153.2.195 (59.153.2.195): 56 data bytes 64 bytes from 59.153.2.195: seq=0 ttl=63 time=2.269 ms 64 bytes from 59.153.2.195: seq=1 ttl=63 time=1.237 ms 64 bytes from 59.153.2.195: seq=2 ttl=63 time=1.373 ms --- 59.153.2.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.237/1.626/2.269 ms 2026-10-20 19:09:43,718 - INFO - Ping to IP 59.153.2.195 from VM ctest-TestBasicPolicy-21159068-69049891 passed 2026-10-20 19:09:43,925 - DEBUG - Policy Update Response {"network-policy": {"uuid": "79d467d8-bad5-45f9-843b-bf1f38315acb", "href": "http://10.0.0.185:8082/network-policy/79d467d8-bad5-45f9-843b-bf1f38315acb"}} 2026-10-20 19:09:43,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-20 19:09:43,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.153.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-20 19:09:43,925 - DEBUG - ping -s 56 -c 3 -W 1 59.153.2.195 2026-10-20 19:09:47,072 - DEBUG - PING 59.153.2.195 (59.153.2.195): 56 data bytes 64 bytes from 59.153.2.195: seq=0 ttl=63 time=1.491 ms --- 59.153.2.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.491/1.491/1.491 ms 2026-10-20 19:09:47,073 - WARNING - Ping to IP 59.153.2.195 from VM ctest-TestBasicPolicy-21159068-69049891 failed 2026-10-20 19:09:47,073 - INFO - Deleting VM ctest-TestBasicPolicy-21159068-88174026 2026-10-20 19:09:47,156 - INFO - Deleting VM ctest-TestBasicPolicy-21159068-69049891 2026-10-20 19:09:47,575 - INFO - Deleted policy ctest-policy-allow-all-54478941 2026-10-20 19:09:47,576 - INFO - Deleting VN ctest-vn-76500642 2026-10-20 19:09:47,614 - DEBUG - VN db3a5376-76c1-4e6d-9b7c-e59a16a880c3 still in use: Unable to complete operation on network db3a5376-76c1-4e6d-9b7c-e59a16a880c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f04ba71-b82a-4152-bc8f-710c92726370'] 2026-10-20 19:09:47,615 - WARNING - Deleting VN ctest-vn-76500642 failed..Will retry 2026-10-20 19:09:49,665 - DEBUG - VN db3a5376-76c1-4e6d-9b7c-e59a16a880c3 still in use: Unable to complete operation on network db3a5376-76c1-4e6d-9b7c-e59a16a880c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2af85790-41d0-4738-a7e8-3b40edf8925d'] 2026-10-20 19:09:49,665 - WARNING - Deleting VN ctest-vn-76500642 failed..Will retry 2026-10-20 19:09:51,776 - DEBUG - Response for deleting network () 2026-10-20 19:09:51,776 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb 2026-10-20 19:09:51,784 - DEBUG - Response Code: 404 2026-10-20 19:09:51,784 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-20 19:09:51,789 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c 2026-10-20 19:09:51,847 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23 2026-10-20 19:09:51,924 - INFO - Validated that VN ctest-vn-76500642 is not found in API Server 2026-10-20 19:09:51,937 - DEBUG - VN ctest-vn-76500642 is not present in Agent 10.0.0.185 2026-10-20 19:09:51,937 - INFO - Validated that VN ctest-vn-76500642 is not in any agent 2026-10-20 19:09:51,957 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76500642 info 2026-10-20 19:09:51,957 - INFO - Deleting VN ctest-vn-04333681 2026-10-20 19:09:52,065 - DEBUG - Response for deleting network () 2026-10-20 19:09:52,065 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786 2026-10-20 19:09:52,073 - DEBUG - Response Code: 404 2026-10-20 19:09:52,073 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-20 19:09:52,078 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c 2026-10-20 19:09:52,129 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23 2026-10-20 19:09:52,205 - INFO - Validated that VN ctest-vn-04333681 is not found in API Server 2026-10-20 19:09:52,215 - DEBUG - VN ctest-vn-04333681 is not present in Agent 10.0.0.185 2026-10-20 19:09:52,215 - INFO - Validated that VN ctest-vn-04333681 is not in any agent 2026-10-20 19:09:52,231 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04333681 info 2026-10-20 19:09:52,506 - DEBUG - No XMPP flaps were noticed during the test 2026-10-20 19:09:52,506 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:45] 2026-10-20 19:09:52,506 - INFO - -------------------------------------------------------------------------------- 2026-10-20 19:09:53,305 - INFO - Deleted project: ctest-TestBasicPolicy-21159068, ID : 184600ca-9abb-4289-aeaa-6d131123af23