2026-10-21 16:46:20,384 - INFO - Domain Default found not creating
2026-10-21 16:46:20,591 - INFO - Project ctest-TestBasicPolicy-75825532 not found, creating it
2026-10-21 16:46:21,119 - INFO - Created Project:ctest-TestBasicPolicy-75825532, ID : 7349915c-2836-4730-bce3-4a5efae675de
2026-10-21 16:46:22,989 - INFO - ================================================================================
2026-10-21 16:46:22,989 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-21 16:46:22,990 - 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-21 16:46:23,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-10-21 16:46:23,260 - INFO - Initial checks done. Running the testcase now
2026-10-21 16:46:23,260 - INFO -
2026-10-21 16:46:23,927 - DEBUG - Response for create_network : {'network': {'id': 'fb0a88fe-7aec-4e0e-8224-6f6415951653', 'name': 'ctest-vn-11542396', 'tenant_id': '7349915c28364730bce34a5efae675de', 'project_id': '7349915c28364730bce34a5efae675de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75825532', 'ctest-vn-11542396'], 'port_security_enabled': True, 'description': ''}}
2026-10-21 16:46:24,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '154d048b-fe21-4db9-84cc-a632ae414794', 'name': '', 'tenant_id': '7349915c28364730bce34a5efae675de', 'network_id': 'fb0a88fe-7aec-4e0e-8224-6f6415951653', 'ip_version': 4, 'cidr': '141.153.110.128/26', 'allocation_pools': [{'start': '141.153.110.130', 'end': '141.153.110.190'}], 'gateway_ip': '141.153.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.153.110.130', 'tags': [], 'project_id': '7349915c28364730bce34a5efae675de'}}
2026-10-21 16:46:24,148 - INFO - Created VN ctest-vn-11542396
2026-10-21 16:46:24,201 - DEBUG - VN ctest-vn-11542396 UUID is fb0a88fe-7aec-4e0e-8224-6f6415951653
2026-10-21 16:46:24,534 - DEBUG - Response for create_network : {'network': {'id': 'b219de76-8c65-443a-8e65-33d1021769d4', 'name': 'ctest-vn-39293559', 'tenant_id': '7349915c28364730bce34a5efae675de', 'project_id': '7349915c28364730bce34a5efae675de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75825532', 'ctest-vn-39293559'], 'port_security_enabled': True, 'description': ''}}
2026-10-21 16:46:24,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '01bb3767-a334-42be-b086-6fce15a6b9a7', 'name': '', 'tenant_id': '7349915c28364730bce34a5efae675de', 'network_id': 'b219de76-8c65-443a-8e65-33d1021769d4', 'ip_version': 4, 'cidr': '85.222.247.192/26', 'allocation_pools': [{'start': '85.222.247.194', 'end': '85.222.247.254'}], 'gateway_ip': '85.222.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.222.247.194', 'tags': [], 'project_id': '7349915c28364730bce34a5efae675de'}}
2026-10-21 16:46:24,786 - INFO - Created VN ctest-vn-39293559
2026-10-21 16:46:24,845 - DEBUG - VN ctest-vn-39293559 UUID is b219de76-8c65-443a-8e65-33d1021769d4
2026-10-21 16:46:24,962 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-11542396, 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-75825532:ctest-vn-39293559, 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-21 16:46:25,276 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb0a88fe-7aec-4e0e-8224-6f6415951653', 'name': 'ctest-vn-11542396', 'tenant_id': '7349915c28364730bce34a5efae675de', 'project_id': '7349915c28364730bce34a5efae675de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['154d048b-fe21-4db9-84cc-a632ae414794'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75825532', 'ctest-vn-11542396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75825532', 'ctest-policy-allow-all-36738286']], 'subnet_ipam': [{'subnet_cidr': '141.153.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-21 16:46:25,505 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b219de76-8c65-443a-8e65-33d1021769d4', 'name': 'ctest-vn-39293559', 'tenant_id': '7349915c28364730bce34a5efae675de', 'project_id': '7349915c28364730bce34a5efae675de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['01bb3767-a334-42be-b086-6fce15a6b9a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75825532', 'ctest-vn-39293559'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75825532', 'ctest-policy-allow-all-36738286']], 'subnet_ipam': [{'subnet_cidr': '85.222.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-21 16:46:25,665 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:46:26,036 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:46:26,066 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:46:26,082 - DEBUG - Requesting: http://10.0.0.190:8082/project/7349915c-2836-4730-bce3-4a5efae675de
2026-10-21 16:46:26,164 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fb0a88fe-7aec-4e0e-8224-6f6415951653
2026-10-21 16:46:26,176 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fb0a88fe-7aec-4e0e-8224-6f6415951653
2026-10-21 16:46:26,188 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8ff3a003-9864-4773-80b1-e0a4392a2f41
2026-10-21 16:46:26,198 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8ff3a003-9864-4773-80b1-e0a4392a2f41
2026-10-21 16:46:26,206 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/aa3362dd-d9cf-4c83-b15b-094287219b9d
2026-10-21 16:46:26,213 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-21 16:46:26,213 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fb0a88fe-7aec-4e0e-8224-6f6415951653
2026-10-21 16:46:26,223 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8ff3a003-9864-4773-80b1-e0a4392a2f41
2026-10-21 16:46:26,241 - INFO - Verified VN network id 10 for VN fb0a88fe-7aec-4e0e-8224-6f6415951653
2026-10-21 16:46:26,241 - INFO - Verifications in API Server for VN ctest-vn-11542396 passed
2026-10-21 16:46:26,241 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fb0a88fe-7aec-4e0e-8224-6f6415951653
2026-10-21 16:46:26,253 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8ff3a003-9864-4773-80b1-e0a4392a2f41
2026-10-21 16:46:26,261 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8ff3a003-9864-4773-80b1-e0a4392a2f41
2026-10-21 16:46:26,269 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/aa3362dd-d9cf-4c83-b15b-094287219b9d
2026-10-21 16:46:26,285 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-11542396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75825532', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18089421479852396046', 'uuid-lslong': '9377742799741720147'}, 'enable': 'true', 'created': '2026-10-21T16:46:23', 'last-modified': '2026-10-21T16:46:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.027529'}
2026-10-21 16:46:26,295 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-21 16:46:26,295 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11542396 passed
2026-10-21 16:46:26,296 - DEBUG - ====Verifying policy data for ctest-vn-11542396 in API_Server ======
2026-10-21 16:46:26,296 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:46:26,302 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:46:26,316 - DEBUG - Requesting: http://10.0.0.190:8082/project/7349915c-2836-4730-bce3-4a5efae675de
2026-10-21 16:46:26,397 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fb0a88fe-7aec-4e0e-8224-6f6415951653
2026-10-21 16:46:26,407 - DEBUG - ==>Verifying data for policy with id: 15a7caf0-5258-436c-9a7e-7d910ea2074b, fqn: ['default-domain', 'ctest-TestBasicPolicy-75825532', 'ctest-policy-allow-all-36738286']
2026-10-21 16:46:26,407 - INFO - VN ctest-vn-11542396 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-21 16:46:26,407 - DEBUG - Verifying the vn in opserver
2026-10-21 16:46:26,407 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-11542396 virtual network link through opserver 10.0.0.190
2026-10-21 16:46:26,408 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-21 16:46:26,776 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-21 16:46:26,831 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-11542396', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-11542396?flat'}
2026-10-21 16:46:26,831 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-11542396 is found in opserver
2026-10-21 16:46:26,843 - DEBUG - Do not have enough data to verify VN in agent
2026-10-21 16:46:26,849 - DEBUG - VRF ids for VN ctest-vn-11542396: {}
2026-10-21 16:46:26,849 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:46:26,854 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:46:26,866 - DEBUG - Requesting: http://10.0.0.190:8082/project/7349915c-2836-4730-bce3-4a5efae675de
2026-10-21 16:46:26,939 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b219de76-8c65-443a-8e65-33d1021769d4
2026-10-21 16:46:26,951 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b219de76-8c65-443a-8e65-33d1021769d4
2026-10-21 16:46:26,962 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f762d971-86ed-4b41-9461-d24cb161cc58
2026-10-21 16:46:26,969 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f762d971-86ed-4b41-9461-d24cb161cc58
2026-10-21 16:46:26,977 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/42a98513-0724-401d-8891-b8ce0d484d79
2026-10-21 16:46:26,984 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-21 16:46:26,985 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b219de76-8c65-443a-8e65-33d1021769d4
2026-10-21 16:46:26,994 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f762d971-86ed-4b41-9461-d24cb161cc58
2026-10-21 16:46:27,009 - INFO - Verified VN network id 11 for VN b219de76-8c65-443a-8e65-33d1021769d4
2026-10-21 16:46:27,009 - INFO - Verifications in API Server for VN ctest-vn-39293559 passed
2026-10-21 16:46:27,009 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b219de76-8c65-443a-8e65-33d1021769d4
2026-10-21 16:46:27,020 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f762d971-86ed-4b41-9461-d24cb161cc58
2026-10-21 16:46:27,028 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f762d971-86ed-4b41-9461-d24cb161cc58
2026-10-21 16:46:27,035 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/42a98513-0724-401d-8891-b8ce0d484d79
2026-10-21 16:46:27,048 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-39293559', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75825532', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12833533213911893050', 'uuid-lslong': '10260664298809813460'}, 'enable': 'true', 'created': '2026-10-21T16:46:24', 'last-modified': '2026-10-21T16:46:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.567582'}
2026-10-21 16:46:27,056 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-21 16:46:27,056 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39293559 passed
2026-10-21 16:46:27,057 - DEBUG - ====Verifying policy data for ctest-vn-39293559 in API_Server ======
2026-10-21 16:46:27,057 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:46:27,063 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:46:27,074 - DEBUG - Requesting: http://10.0.0.190:8082/project/7349915c-2836-4730-bce3-4a5efae675de
2026-10-21 16:46:27,150 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/b219de76-8c65-443a-8e65-33d1021769d4
2026-10-21 16:46:27,160 - DEBUG - ==>Verifying data for policy with id: 15a7caf0-5258-436c-9a7e-7d910ea2074b, fqn: ['default-domain', 'ctest-TestBasicPolicy-75825532', 'ctest-policy-allow-all-36738286']
2026-10-21 16:46:27,160 - INFO - VN ctest-vn-39293559 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-21 16:46:27,160 - DEBUG - Verifying the vn in opserver
2026-10-21 16:46:27,160 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-39293559 virtual network link through opserver 10.0.0.190
2026-10-21 16:46:27,160 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-21 16:46:27,171 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-39293559', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-39293559?flat'}
2026-10-21 16:46:27,171 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-39293559 is found in opserver
2026-10-21 16:46:27,183 - DEBUG - Do not have enough data to verify VN in agent
2026-10-21 16:46:27,189 - DEBUG - VRF ids for VN ctest-vn-39293559: {}
2026-10-21 16:46:27,258 - DEBUG - Services list from nova: [, , ]
2026-10-21 16:46:27,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6382-1)
2026-10-21 16:46:28,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6382-1)
2026-10-21 16:46:28,064 - INFO - Waiting for VM ctest-TestBasicPolicy-75825532-04149265 to be up..
2026-10-21 16:46:28,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:46:33,196 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:46:38,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:46:43,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:46:48,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:46:53,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:46:58,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:47:03,748 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-21 16:47:08,886 - DEBUG - VM is in ACTIVE state now
2026-10-21 16:47:08,887 - INFO - VM name : ctest-TestBasicPolicy-75825532-04149265
2026-10-21 16:47:08,988 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 ID is f3e2523f-e9ea-41b3-b22c-9fe4b5dfdd78
2026-10-21 16:47:09,017 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 launched on Node cn-jenkins-deploy-platform-ansible-os-6382-1
2026-10-21 16:47:09,113 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/f3e2523f-e9ea-41b3-b22c-9fe4b5dfdd78
2026-10-21 16:47:09,124 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/399cd3b2-a9ff-4541-aff3-2b09d4a2584d
2026-10-21 16:47:12,396 - 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-10-21 16:47:12,397 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75825532-04149265 failed!
2026-10-21 16:47:12,453 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75825532:ctest-vn-11542396 is 141.153.110.129 and allocation pool is NOT set
2026-10-21 16:47:14,526 - 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=6.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/3.506/6.587/3.081 ms')
2026-10-21 16:47:14,526 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75825532-04149265 passed
2026-10-21 16:47:14,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:14,692 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:14,764 - 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-21 16:47:14,879 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:47:19,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:19,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:19,937 - 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-21 16:47:20,027 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:47:25,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:25,028 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:25,096 - 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-21 16:47:25,502 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:47:30,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:30,503 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:30,571 - 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-21 16:47:30,653 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:47:35,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:35,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:35,719 - 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-21 16:47:35,798 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:47:40,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:40,798 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:40,858 - 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-21 16:47:40,944 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:47:45,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:45,945 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:46,012 - 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-21 16:47:46,095 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:47:51,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:51,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:51,164 - 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-21 16:47:51,247 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:47:56,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:56,248 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-04149265, IP 141.153.110.131, Port 22
2026-10-21 16:47:56,419 - DEBUG - VM ctest-TestBasicPolicy-75825532-04149265 is ready for SSH connections
2026-10-21 16:47:56,419 - INFO - Waiting for VM ctest-TestBasicPolicy-75825532-58168730 to be up..
2026-10-21 16:47:56,500 - DEBUG - VM is in ACTIVE state now
2026-10-21 16:47:56,500 - INFO - VM name : ctest-TestBasicPolicy-75825532-58168730
2026-10-21 16:47:56,576 - DEBUG - VM ctest-TestBasicPolicy-75825532-58168730 ID is ec8ede56-6910-46b2-84d7-0c4f5099145e
2026-10-21 16:47:56,576 - DEBUG - VM ctest-TestBasicPolicy-75825532-58168730 launched on Node cn-jenkins-deploy-platform-ansible-os-6382-1
2026-10-21 16:47:56,654 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/ec8ede56-6910-46b2-84d7-0c4f5099145e
2026-10-21 16:47:56,664 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/3999e3f2-11a0-49fb-8720-ccfff196efa5
2026-10-21 16:47:57,901 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.44 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.442/2.624/3.807/1.182 ms')
2026-10-21 16:47:57,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75825532-58168730 passed
2026-10-21 16:47:58,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:47:58,049 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-58168730, IP 85.222.247.195, Port 22
2026-10-21 16:47:58,116 - 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-10-21 16:47:58,203 - DEBUG - VM ctest-TestBasicPolicy-75825532-58168730 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-21 16:48:03,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:48:03,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75825532-58168730, IP 85.222.247.195, Port 22
2026-10-21 16:48:03,371 - DEBUG - VM ctest-TestBasicPolicy-75825532-58168730 is ready for SSH connections
2026-10-21 16:48:03,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:48:03,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.222.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:48:03,371 - DEBUG - ping -s 56 -c 3 -W 1 85.222.247.195
2026-10-21 16:48:07,463 - DEBUG - PING 85.222.247.195 (85.222.247.195): 56 data bytes
64 bytes from 85.222.247.195: seq=0 ttl=63 time=2.716 ms
64 bytes from 85.222.247.195: seq=1 ttl=63 time=1.023 ms
64 bytes from 85.222.247.195: seq=2 ttl=63 time=1.077 ms
--- 85.222.247.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.023/1.605/2.716 ms
2026-10-21 16:48:07,464 - INFO - Ping to IP 85.222.247.195 from VM ctest-TestBasicPolicy-75825532-04149265 passed
2026-10-21 16:48:07,681 - DEBUG - Policy Update Response {"network-policy": {"uuid": "15a7caf0-5258-436c-9a7e-7d910ea2074b", "href": "http://10.0.0.190:8082/network-policy/15a7caf0-5258-436c-9a7e-7d910ea2074b"}}
2026-10-21 16:48:07,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-21 16:48:07,681 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.222.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-21 16:48:07,681 - DEBUG - ping -s 56 -c 3 -W 1 85.222.247.195
2026-10-21 16:48:10,824 - DEBUG - PING 85.222.247.195 (85.222.247.195): 56 data bytes
64 bytes from 85.222.247.195: seq=0 ttl=63 time=1.983 ms
--- 85.222.247.195 ping statistics ---
3 packets transmitted, 1 packets received, 66% packet loss
round-trip min/avg/max = 1.983/1.983/1.983 ms
2026-10-21 16:48:10,825 - WARNING - Ping to IP 85.222.247.195 from VM ctest-TestBasicPolicy-75825532-04149265 failed
2026-10-21 16:48:10,825 - INFO - Deleting VM ctest-TestBasicPolicy-75825532-58168730
2026-10-21 16:48:10,902 - INFO - Deleting VM ctest-TestBasicPolicy-75825532-04149265
2026-10-21 16:48:11,352 - INFO - Deleted policy ctest-policy-allow-all-36738286
2026-10-21 16:48:11,352 - INFO - Deleting VN ctest-vn-39293559
2026-10-21 16:48:11,392 - DEBUG - VN b219de76-8c65-443a-8e65-33d1021769d4 still in use: Unable to complete operation on network b219de76-8c65-443a-8e65-33d1021769d4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c74eb406-646e-4667-bb3e-ed6892d955ee']
2026-10-21 16:48:11,393 - WARNING - Deleting VN ctest-vn-39293559 failed..Will retry
2026-10-21 16:48:13,434 - DEBUG - VN b219de76-8c65-443a-8e65-33d1021769d4 still in use: Unable to complete operation on network b219de76-8c65-443a-8e65-33d1021769d4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e9ac5078-53f1-43a6-b9e4-77f60a6edad5']
2026-10-21 16:48:13,434 - WARNING - Deleting VN ctest-vn-39293559 failed..Will retry
2026-10-21 16:48:15,553 - DEBUG - Response for deleting network ()
2026-10-21 16:48:15,553 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f762d971-86ed-4b41-9461-d24cb161cc58
2026-10-21 16:48:15,558 - DEBUG - Response Code: 404
2026-10-21 16:48:15,559 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:48:15,567 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:48:15,620 - DEBUG - Requesting: http://10.0.0.190:8082/project/7349915c-2836-4730-bce3-4a5efae675de
2026-10-21 16:48:15,715 - INFO - Validated that VN ctest-vn-39293559 is not found in API Server
2026-10-21 16:48:15,731 - DEBUG - VN ctest-vn-39293559 is not present in Agent 10.0.0.190
2026-10-21 16:48:15,731 - INFO - Validated that VN ctest-vn-39293559 is not in any agent
2026-10-21 16:48:15,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39293559 info
2026-10-21 16:48:15,753 - INFO - Deleting VN ctest-vn-11542396
2026-10-21 16:48:15,882 - DEBUG - Response for deleting network ()
2026-10-21 16:48:15,882 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/8ff3a003-9864-4773-80b1-e0a4392a2f41
2026-10-21 16:48:15,890 - DEBUG - Response Code: 404
2026-10-21 16:48:15,891 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-21 16:48:15,905 - DEBUG - Requesting: http://10.0.0.190:8082/domain/73689576-5f3a-4cc7-b619-3c307fcdb943
2026-10-21 16:48:15,958 - DEBUG - Requesting: http://10.0.0.190:8082/project/7349915c-2836-4730-bce3-4a5efae675de
2026-10-21 16:48:16,043 - INFO - Validated that VN ctest-vn-11542396 is not found in API Server
2026-10-21 16:48:16,053 - DEBUG - VN ctest-vn-11542396 is not present in Agent 10.0.0.190
2026-10-21 16:48:16,053 - INFO - Validated that VN ctest-vn-11542396 is not in any agent
2026-10-21 16:48:16,073 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11542396 info
2026-10-21 16:48:16,331 - DEBUG - No XMPP flaps were noticed during the test
2026-10-21 16:48:16,331 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:54]
2026-10-21 16:48:16,331 - INFO - --------------------------------------------------------------------------------
2026-10-21 16:48:17,135 - INFO - Deleted project: ctest-TestBasicPolicy-75825532, ID : 7349915c-2836-4730-bce3-4a5efae675de