2026-09-21 19:05:35,729 - INFO - Domain Default found not creating 2026-09-21 19:05:35,939 - INFO - Project ctest-TestBasicPolicy-13444960 not found, creating it 2026-09-21 19:05:36,432 - INFO - Created Project:ctest-TestBasicPolicy-13444960, ID : 41503915-d5ab-40c8-b38a-f8046b8fdfcc 2026-09-21 19:05:38,297 - INFO - ================================================================================ 2026-09-21 19:05:38,297 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-21 19:05:38,297 - 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-09-21 19:05:38,579 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-09-21 19:05:38,579 - INFO - Initial checks done. Running the testcase now 2026-09-21 19:05:38,579 - INFO - 2026-09-21 19:05:39,298 - DEBUG - Response for create_network : {'network': {'id': '7df55a0c-462c-4e24-8159-5f4b2a37923a', 'name': 'ctest-vn-50919477', 'tenant_id': '41503915d5ab40c8b38af8046b8fdfcc', 'project_id': '41503915d5ab40c8b38af8046b8fdfcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13444960', 'ctest-vn-50919477'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 19:05:39,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bcf98c4-a832-4401-92a0-7b47bf58cdb3', 'name': '', 'tenant_id': '41503915d5ab40c8b38af8046b8fdfcc', 'network_id': '7df55a0c-462c-4e24-8159-5f4b2a37923a', 'ip_version': 4, 'cidr': '165.214.13.192/26', 'allocation_pools': [{'start': '165.214.13.194', 'end': '165.214.13.254'}], 'gateway_ip': '165.214.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.214.13.194', 'tags': [], 'project_id': '41503915d5ab40c8b38af8046b8fdfcc'}} 2026-09-21 19:05:39,556 - INFO - Created VN ctest-vn-50919477 2026-09-21 19:05:39,611 - DEBUG - VN ctest-vn-50919477 UUID is 7df55a0c-462c-4e24-8159-5f4b2a37923a 2026-09-21 19:05:39,946 - DEBUG - Response for create_network : {'network': {'id': 'c50d133c-f3a1-4c25-87ef-bd938484be0d', 'name': 'ctest-vn-60074217', 'tenant_id': '41503915d5ab40c8b38af8046b8fdfcc', 'project_id': '41503915d5ab40c8b38af8046b8fdfcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13444960', 'ctest-vn-60074217'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 19:05:40,150 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd662d3e0-0f4b-4c0f-ad37-6f63d01f8f1e', 'name': '', 'tenant_id': '41503915d5ab40c8b38af8046b8fdfcc', 'network_id': 'c50d133c-f3a1-4c25-87ef-bd938484be0d', 'ip_version': 4, 'cidr': '163.107.40.128/26', 'allocation_pools': [{'start': '163.107.40.130', 'end': '163.107.40.190'}], 'gateway_ip': '163.107.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.107.40.130', 'tags': [], 'project_id': '41503915d5ab40c8b38af8046b8fdfcc'}} 2026-09-21 19:05:40,169 - INFO - Created VN ctest-vn-60074217 2026-09-21 19:05:40,227 - DEBUG - VN ctest-vn-60074217 UUID is c50d133c-f3a1-4c25-87ef-bd938484be0d 2026-09-21 19:05:40,348 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-50919477, 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-13444960:ctest-vn-60074217, 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-09-21 19:05:40,682 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7df55a0c-462c-4e24-8159-5f4b2a37923a', 'name': 'ctest-vn-50919477', 'tenant_id': '41503915d5ab40c8b38af8046b8fdfcc', 'project_id': '41503915d5ab40c8b38af8046b8fdfcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1bcf98c4-a832-4401-92a0-7b47bf58cdb3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13444960', 'ctest-vn-50919477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13444960', 'ctest-policy-allow-all-32491160']], 'subnet_ipam': [{'subnet_cidr': '165.214.13.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-21 19:05:40,955 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c50d133c-f3a1-4c25-87ef-bd938484be0d', 'name': 'ctest-vn-60074217', 'tenant_id': '41503915d5ab40c8b38af8046b8fdfcc', 'project_id': '41503915d5ab40c8b38af8046b8fdfcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d662d3e0-0f4b-4c0f-ad37-6f63d01f8f1e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13444960', 'ctest-vn-60074217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13444960', 'ctest-policy-allow-all-32491160']], 'subnet_ipam': [{'subnet_cidr': '163.107.40.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-21 19:05:41,131 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 19:05:41,498 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 19:05:41,528 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1ea92881-870c-4138-86d0-ed60f9e04349 2026-09-21 19:05:41,542 - DEBUG - Requesting: http://10.0.0.161:8082/project/41503915-d5ab-40c8-b38a-f8046b8fdfcc 2026-09-21 19:05:41,618 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7df55a0c-462c-4e24-8159-5f4b2a37923a 2026-09-21 19:05:41,632 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7df55a0c-462c-4e24-8159-5f4b2a37923a 2026-09-21 19:05:41,644 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/66922d85-4343-4f79-8c19-9f30a066a8ce 2026-09-21 19:05:41,654 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/66922d85-4343-4f79-8c19-9f30a066a8ce 2026-09-21 19:05:41,664 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/5fb053f0-f4e0-4efa-9299-8fa30ca8ee92 2026-09-21 19:05:41,673 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-21 19:05:41,673 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7df55a0c-462c-4e24-8159-5f4b2a37923a 2026-09-21 19:05:41,684 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/66922d85-4343-4f79-8c19-9f30a066a8ce 2026-09-21 19:05:41,708 - INFO - Verified VN network id 12 for VN 7df55a0c-462c-4e24-8159-5f4b2a37923a 2026-09-21 19:05:41,708 - INFO - Verifications in API Server for VN ctest-vn-50919477 passed 2026-09-21 19:05:41,708 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7df55a0c-462c-4e24-8159-5f4b2a37923a 2026-09-21 19:05:41,720 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/66922d85-4343-4f79-8c19-9f30a066a8ce 2026-09-21 19:05:41,730 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/66922d85-4343-4f79-8c19-9f30a066a8ce 2026-09-21 19:05:41,739 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/5fb053f0-f4e0-4efa-9299-8fa30ca8ee92 2026-09-21 19:05:41,753 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-50919477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13444960', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9076259632798518820', 'uuid-lslong': '9320585680255423034'}, 'enable': 'true', 'created': '2026-09-21T19:05:39', 'last-modified': '2026-09-21T19:05:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.094821'} 2026-09-21 19:05:41,762 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-21 19:05:41,762 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50919477 passed 2026-09-21 19:05:41,762 - DEBUG - ====Verifying policy data for ctest-vn-50919477 in API_Server ====== 2026-09-21 19:05:41,762 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 19:05:41,768 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1ea92881-870c-4138-86d0-ed60f9e04349 2026-09-21 19:05:41,781 - DEBUG - Requesting: http://10.0.0.161:8082/project/41503915-d5ab-40c8-b38a-f8046b8fdfcc 2026-09-21 19:05:41,862 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7df55a0c-462c-4e24-8159-5f4b2a37923a 2026-09-21 19:05:41,876 - DEBUG - ==>Verifying data for policy with id: 391389e5-2cce-479e-b348-ef7ec2292dab, fqn: ['default-domain', 'ctest-TestBasicPolicy-13444960', 'ctest-policy-allow-all-32491160'] 2026-09-21 19:05:41,876 - INFO - VN ctest-vn-50919477 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-21 19:05:41,876 - DEBUG - Verifying the vn in opserver 2026-09-21 19:05:41,876 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-50919477 virtual network link through opserver 10.0.0.161 2026-09-21 19:05:41,876 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-21 19:05:42,254 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-21 19:05:42,317 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-50919477', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-50919477?flat'} 2026-09-21 19:05:42,317 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-50919477 is found in opserver 2026-09-21 19:05:42,332 - DEBUG - Do not have enough data to verify VN in agent 2026-09-21 19:05:42,338 - DEBUG - VRF ids for VN ctest-vn-50919477: {} 2026-09-21 19:05:42,338 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 19:05:42,344 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1ea92881-870c-4138-86d0-ed60f9e04349 2026-09-21 19:05:42,358 - DEBUG - Requesting: http://10.0.0.161:8082/project/41503915-d5ab-40c8-b38a-f8046b8fdfcc 2026-09-21 19:05:42,446 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c50d133c-f3a1-4c25-87ef-bd938484be0d 2026-09-21 19:05:42,467 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c50d133c-f3a1-4c25-87ef-bd938484be0d 2026-09-21 19:05:42,480 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ace9dc4d-f659-499f-ab5f-6141a5e4eb94 2026-09-21 19:05:42,490 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ace9dc4d-f659-499f-ab5f-6141a5e4eb94 2026-09-21 19:05:42,498 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/927afb44-70b3-44f8-a96c-26c1dbcf6352 2026-09-21 19:05:42,506 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-21 19:05:42,506 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c50d133c-f3a1-4c25-87ef-bd938484be0d 2026-09-21 19:05:42,517 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ace9dc4d-f659-499f-ab5f-6141a5e4eb94 2026-09-21 19:05:42,533 - INFO - Verified VN network id 13 for VN c50d133c-f3a1-4c25-87ef-bd938484be0d 2026-09-21 19:05:42,533 - INFO - Verifications in API Server for VN ctest-vn-60074217 passed 2026-09-21 19:05:42,533 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c50d133c-f3a1-4c25-87ef-bd938484be0d 2026-09-21 19:05:42,547 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ace9dc4d-f659-499f-ab5f-6141a5e4eb94 2026-09-21 19:05:42,556 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ace9dc4d-f659-499f-ab5f-6141a5e4eb94 2026-09-21 19:05:42,566 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/927afb44-70b3-44f8-a96c-26c1dbcf6352 2026-09-21 19:05:42,582 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-60074217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13444960', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14199026352675441701', 'uuid-lslong': '9795256155835252237'}, 'enable': 'true', 'created': '2026-09-21T19:05:39', 'last-modified': '2026-09-21T19:05:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.664662'} 2026-09-21 19:05:42,591 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-21 19:05:42,591 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60074217 passed 2026-09-21 19:05:42,592 - DEBUG - ====Verifying policy data for ctest-vn-60074217 in API_Server ====== 2026-09-21 19:05:42,592 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 19:05:42,599 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1ea92881-870c-4138-86d0-ed60f9e04349 2026-09-21 19:05:42,612 - DEBUG - Requesting: http://10.0.0.161:8082/project/41503915-d5ab-40c8-b38a-f8046b8fdfcc 2026-09-21 19:05:42,697 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c50d133c-f3a1-4c25-87ef-bd938484be0d 2026-09-21 19:05:42,708 - DEBUG - ==>Verifying data for policy with id: 391389e5-2cce-479e-b348-ef7ec2292dab, fqn: ['default-domain', 'ctest-TestBasicPolicy-13444960', 'ctest-policy-allow-all-32491160'] 2026-09-21 19:05:42,708 - INFO - VN ctest-vn-60074217 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-21 19:05:42,708 - DEBUG - Verifying the vn in opserver 2026-09-21 19:05:42,708 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-60074217 virtual network link through opserver 10.0.0.161 2026-09-21 19:05:42,708 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-21 19:05:42,721 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-60074217', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-60074217?flat'} 2026-09-21 19:05:42,721 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-60074217 is found in opserver 2026-09-21 19:05:42,734 - DEBUG - Do not have enough data to verify VN in agent 2026-09-21 19:05:42,741 - DEBUG - VRF ids for VN ctest-vn-60074217: {} 2026-09-21 19:05:42,813 - DEBUG - Services list from nova: [, , ] 2026-09-21 19:05:43,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6315-1) 2026-09-21 19:05:43,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6315-1) 2026-09-21 19:05:43,745 - INFO - Waiting for VM ctest-TestBasicPolicy-13444960-94728458 to be up.. 2026-09-21 19:05:43,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:05:48,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:05:53,981 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:05:59,071 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:06:04,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:06:09,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:06:14,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:06:19,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:06:24,554 - DEBUG - VM is in ACTIVE state now 2026-09-21 19:06:24,555 - INFO - VM name : ctest-TestBasicPolicy-13444960-94728458 2026-09-21 19:06:24,654 - DEBUG - VM ctest-TestBasicPolicy-13444960-94728458 ID is 07a94b22-7973-401e-bebd-6b492b87a04b 2026-09-21 19:06:24,681 - DEBUG - VM ctest-TestBasicPolicy-13444960-94728458 launched on Node cn-jenkins-deploy-platform-ansible-os-6315-1 2026-09-21 19:06:24,780 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/07a94b22-7973-401e-bebd-6b492b87a04b 2026-09-21 19:06:24,793 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/a2c97c3c-ba83-4115-8cda-21e4995f4974 2026-09-21 19:06:28,076 - 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-09-21 19:06:28,077 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13444960-94728458 failed! 2026-09-21 19:06:28,135 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-50919477 is 165.214.13.193 and allocation pool is NOT set 2026-09-21 19:06:32,212 - 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 1007ms') 2026-09-21 19:06:32,212 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13444960-94728458 failed! 2026-09-21 19:06:32,267 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13444960:ctest-vn-50919477 is 165.214.13.193 and allocation pool is NOT set 2026-09-21 19:06:34,333 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.844/3.904/5.964/2.060 ms') 2026-09-21 19:06:34,333 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13444960-94728458 passed 2026-09-21 19:06:34,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:06:34,495 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13444960-94728458, IP 165.214.13.195, Port 22 2026-09-21 19:06:34,561 - 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-09-21 19:06:34,671 - DEBUG - VM ctest-TestBasicPolicy-13444960-94728458 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-21 19:06:39,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:06:39,671 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13444960-94728458, IP 165.214.13.195, Port 22 2026-09-21 19:06:39,841 - DEBUG - VM ctest-TestBasicPolicy-13444960-94728458 is ready for SSH connections 2026-09-21 19:06:39,841 - INFO - Waiting for VM ctest-TestBasicPolicy-13444960-74321112 to be up.. 2026-09-21 19:06:39,927 - DEBUG - VM is in ACTIVE state now 2026-09-21 19:06:39,928 - INFO - VM name : ctest-TestBasicPolicy-13444960-74321112 2026-09-21 19:06:40,017 - DEBUG - VM ctest-TestBasicPolicy-13444960-74321112 ID is c52efbd5-f3a2-4713-9426-0ae6402551fb 2026-09-21 19:06:40,017 - DEBUG - VM ctest-TestBasicPolicy-13444960-74321112 launched on Node cn-jenkins-deploy-platform-ansible-os-6315-1 2026-09-21 19:06:40,109 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/c52efbd5-f3a2-4713-9426-0ae6402551fb 2026-09-21 19:06:40,119 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/32efb995-7252-4d81-be13-a8aa3e670ffa 2026-09-21 19:06:41,368 - 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=4.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/2.501/4.503/2.002 ms') 2026-09-21 19:06:41,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13444960-74321112 passed 2026-09-21 19:06:41,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:06:41,523 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13444960-74321112, IP 163.107.40.131, Port 22 2026-09-21 19:06:41,701 - DEBUG - VM ctest-TestBasicPolicy-13444960-74321112 is ready for SSH connections 2026-09-21 19:06:41,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:06:41,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.107.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-21 19:06:41,702 - DEBUG - ping -s 56 -c 3 -W 1 163.107.40.131 2026-09-21 19:06:45,846 - DEBUG - PING 163.107.40.131 (163.107.40.131): 56 data bytes 64 bytes from 163.107.40.131: seq=0 ttl=63 time=5.568 ms 64 bytes from 163.107.40.131: seq=1 ttl=63 time=1.263 ms 64 bytes from 163.107.40.131: seq=2 ttl=63 time=1.308 ms --- 163.107.40.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.263/2.713/5.568 ms 2026-09-21 19:06:45,847 - INFO - Ping to IP 163.107.40.131 from VM ctest-TestBasicPolicy-13444960-94728458 passed 2026-09-21 19:06:46,035 - DEBUG - Policy Update Response {"network-policy": {"uuid": "391389e5-2cce-479e-b348-ef7ec2292dab", "href": "http://10.0.0.161:8082/network-policy/391389e5-2cce-479e-b348-ef7ec2292dab"}} 2026-09-21 19:06:46,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:06:46,035 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.107.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-21 19:06:46,035 - DEBUG - ping -s 56 -c 3 -W 1 163.107.40.131 2026-09-21 19:06:49,182 - DEBUG - PING 163.107.40.131 (163.107.40.131): 56 data bytes 64 bytes from 163.107.40.131: seq=0 ttl=63 time=1.548 ms --- 163.107.40.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.548/1.548/1.548 ms 2026-09-21 19:06:49,182 - WARNING - Ping to IP 163.107.40.131 from VM ctest-TestBasicPolicy-13444960-94728458 failed 2026-09-21 19:06:49,183 - INFO - Deleting VM ctest-TestBasicPolicy-13444960-74321112 2026-09-21 19:06:49,271 - INFO - Deleting VM ctest-TestBasicPolicy-13444960-94728458 2026-09-21 19:06:49,731 - INFO - Deleted policy ctest-policy-allow-all-32491160 2026-09-21 19:06:49,731 - INFO - Deleting VN ctest-vn-60074217 2026-09-21 19:06:49,769 - DEBUG - VN c50d133c-f3a1-4c25-87ef-bd938484be0d still in use: Unable to complete operation on network c50d133c-f3a1-4c25-87ef-bd938484be0d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5682fdc-2c60-4b46-9435-df3eda4db542'] 2026-09-21 19:06:49,770 - WARNING - Deleting VN ctest-vn-60074217 failed..Will retry 2026-09-21 19:06:51,912 - DEBUG - Response for deleting network () 2026-09-21 19:06:51,912 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ace9dc4d-f659-499f-ab5f-6141a5e4eb94 2026-09-21 19:06:51,919 - DEBUG - Response Code: 404 2026-09-21 19:06:51,919 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 19:06:51,941 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1ea92881-870c-4138-86d0-ed60f9e04349 2026-09-21 19:06:51,955 - DEBUG - Requesting: http://10.0.0.161:8082/project/41503915-d5ab-40c8-b38a-f8046b8fdfcc 2026-09-21 19:06:52,039 - INFO - Validated that VN ctest-vn-60074217 is not found in API Server 2026-09-21 19:06:52,053 - DEBUG - VN ctest-vn-60074217 is not present in Agent 10.0.0.161 2026-09-21 19:06:52,053 - INFO - Validated that VN ctest-vn-60074217 is not in any agent 2026-09-21 19:06:52,073 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60074217 info 2026-09-21 19:06:52,073 - INFO - Deleting VN ctest-vn-50919477 2026-09-21 19:06:52,230 - DEBUG - Response for deleting network () 2026-09-21 19:06:52,230 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/66922d85-4343-4f79-8c19-9f30a066a8ce 2026-09-21 19:06:52,240 - DEBUG - Response Code: 404 2026-09-21 19:06:52,240 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-21 19:06:52,247 - DEBUG - Requesting: http://10.0.0.161:8082/domain/1ea92881-870c-4138-86d0-ed60f9e04349 2026-09-21 19:06:52,301 - DEBUG - Requesting: http://10.0.0.161:8082/project/41503915-d5ab-40c8-b38a-f8046b8fdfcc 2026-09-21 19:06:52,384 - INFO - Validated that VN ctest-vn-50919477 is not found in API Server 2026-09-21 19:06:52,398 - DEBUG - VN ctest-vn-50919477 is not present in Agent 10.0.0.161 2026-09-21 19:06:52,398 - INFO - Validated that VN ctest-vn-50919477 is not in any agent 2026-09-21 19:06:52,420 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50919477 info 2026-09-21 19:06:52,696 - DEBUG - No XMPP flaps were noticed during the test 2026-09-21 19:06:52,697 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:14] 2026-09-21 19:06:52,697 - INFO - -------------------------------------------------------------------------------- 2026-09-21 19:06:53,514 - INFO - Deleted project: ctest-TestBasicPolicy-13444960, ID : 41503915-d5ab-40c8-b38a-f8046b8fdfcc