2026-03-26 02:16:54,967 - INFO - Domain Default found not creating 2026-03-26 02:16:55,250 - INFO - Project ctest-TestBasicPolicy-58933428 not found, creating it 2026-03-26 02:16:56,292 - INFO - Created Project:ctest-TestBasicPolicy-58933428, ID : 9e59ba78-6fd8-413c-98d1-5087237e2b20 2026-03-26 02:16:58,365 - INFO - ================================================================================ 2026-03-26 02:16:58,365 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-26 02:16:58,365 - 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-03-26 02:16:58,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-03-26 02:16:58,667 - INFO - Initial checks done. Running the testcase now 2026-03-26 02:16:58,667 - INFO - 2026-03-26 02:16:59,527 - DEBUG - Response for create_network : {'network': {'id': '6c5bc4d0-a9da-4afe-a09a-d6805e2fded4', 'name': 'ctest-vn-08580804', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'project_id': '9e59ba786fd8413c98d15087237e2b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-vn-08580804'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:16:59,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f8ff1b2-09f8-4ed5-ac8f-a5b5cb28fb8a', 'name': '', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'network_id': '6c5bc4d0-a9da-4afe-a09a-d6805e2fded4', 'ip_version': 4, 'cidr': '126.184.199.192/26', 'allocation_pools': [{'start': '126.184.199.194', 'end': '126.184.199.254'}], 'gateway_ip': '126.184.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.184.199.194', 'tags': [], 'project_id': '9e59ba786fd8413c98d15087237e2b20'}} 2026-03-26 02:16:59,710 - INFO - Created VN ctest-vn-08580804 2026-03-26 02:16:59,761 - DEBUG - VN ctest-vn-08580804 UUID is 6c5bc4d0-a9da-4afe-a09a-d6805e2fded4 2026-03-26 02:17:00,154 - DEBUG - Response for create_network : {'network': {'id': '78e0647e-1662-4336-926c-b9c79444c84f', 'name': 'ctest-vn-24932190', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'project_id': '9e59ba786fd8413c98d15087237e2b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-vn-24932190'], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:17:00,339 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4a0c562-43d9-4ae8-b282-bd2940a256b8', 'name': '', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'network_id': '78e0647e-1662-4336-926c-b9c79444c84f', 'ip_version': 4, 'cidr': '102.25.108.128/26', 'allocation_pools': [{'start': '102.25.108.130', 'end': '102.25.108.190'}], 'gateway_ip': '102.25.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.25.108.130', 'tags': [], 'project_id': '9e59ba786fd8413c98d15087237e2b20'}} 2026-03-26 02:17:00,357 - INFO - Created VN ctest-vn-24932190 2026-03-26 02:17:00,409 - DEBUG - VN ctest-vn-24932190 UUID is 78e0647e-1662-4336-926c-b9c79444c84f 2026-03-26 02:17:00,551 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804, 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-58933428:ctest-vn-24932190, 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-03-26 02:17:00,983 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c5bc4d0-a9da-4afe-a09a-d6805e2fded4', 'name': 'ctest-vn-08580804', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'project_id': '9e59ba786fd8413c98d15087237e2b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f8ff1b2-09f8-4ed5-ac8f-a5b5cb28fb8a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-vn-08580804'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-policy-allow-all-32553772']], 'subnet_ipam': [{'subnet_cidr': '126.184.199.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:17:01,288 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78e0647e-1662-4336-926c-b9c79444c84f', 'name': 'ctest-vn-24932190', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'project_id': '9e59ba786fd8413c98d15087237e2b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4a0c562-43d9-4ae8-b282-bd2940a256b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-vn-24932190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-policy-allow-all-32553772']], 'subnet_ipam': [{'subnet_cidr': '102.25.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-26 02:17:01,461 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-26 02:17:01,799 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-26 02:17:01,868 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d 2026-03-26 02:17:01,892 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20 2026-03-26 02:17:01,988 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4 2026-03-26 02:17:02,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4 2026-03-26 02:17:02,022 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf 2026-03-26 02:17:02,034 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf 2026-03-26 02:17:02,046 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2050cecf-eaf6-45cd-af62-fd62d93f9ed8 2026-03-26 02:17:02,057 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-26 02:17:02,057 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4 2026-03-26 02:17:02,076 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf 2026-03-26 02:17:02,101 - INFO - Verified VN network id 11 for VN 6c5bc4d0-a9da-4afe-a09a-d6805e2fded4 2026-03-26 02:17:02,101 - INFO - Verifications in API Server for VN ctest-vn-08580804 passed 2026-03-26 02:17:02,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4 2026-03-26 02:17:02,116 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf 2026-03-26 02:17:02,127 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf 2026-03-26 02:17:02,138 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2050cecf-eaf6-45cd-af62-fd62d93f9ed8 2026-03-26 02:17:02,164 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58933428', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7808050779458783998', 'uuid-lslong': '11572798039306264276'}, 'enable': 'true', 'created': '2026-03-26T02:16:59', 'last-modified': '2026-03-26T02:17:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.235503'} 2026-03-26 02:17:02,177 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-26 02:17:02,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08580804 passed 2026-03-26 02:17:02,177 - DEBUG - ====Verifying policy data for ctest-vn-08580804 in API_Server ====== 2026-03-26 02:17:02,178 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-26 02:17:02,194 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d 2026-03-26 02:17:02,222 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20 2026-03-26 02:17:02,321 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4 2026-03-26 02:17:02,337 - DEBUG - ==>Verifying data for policy with id: 9a0e212c-aa94-4463-a93c-12735a1ec20c, fqn: ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-policy-allow-all-32553772'] 2026-03-26 02:17:02,337 - INFO - VN ctest-vn-08580804 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-26 02:17:02,337 - DEBUG - Verifying the vn in opserver 2026-03-26 02:17:02,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804 virtual network link through opserver 10.0.0.33 2026-03-26 02:17:02,338 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-26 02:17:02,669 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-26 02:17:03,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804?flat'} 2026-03-26 02:17:03,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804 is found in opserver 2026-03-26 02:17:03,123 - DEBUG - Do not have enough data to verify VN in agent 2026-03-26 02:17:03,129 - DEBUG - VRF ids for VN ctest-vn-08580804: {} 2026-03-26 02:17:03,129 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-26 02:17:03,134 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d 2026-03-26 02:17:03,146 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20 2026-03-26 02:17:03,230 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f 2026-03-26 02:17:03,246 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f 2026-03-26 02:17:03,263 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f 2026-03-26 02:17:03,277 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f 2026-03-26 02:17:03,288 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/43da2adf-48a4-42d9-b230-0de2f5a32be4 2026-03-26 02:17:03,299 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-26 02:17:03,300 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f 2026-03-26 02:17:03,316 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f 2026-03-26 02:17:03,340 - INFO - Verified VN network id 12 for VN 78e0647e-1662-4336-926c-b9c79444c84f 2026-03-26 02:17:03,340 - INFO - Verifications in API Server for VN ctest-vn-24932190 passed 2026-03-26 02:17:03,340 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f 2026-03-26 02:17:03,352 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f 2026-03-26 02:17:03,362 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f 2026-03-26 02:17:03,371 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/43da2adf-48a4-42d9-b230-0de2f5a32be4 2026-03-26 02:17:03,392 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58933428', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8710072172038734646', 'uuid-lslong': '10551012293859395663'}, 'enable': 'true', 'created': '2026-03-26T02:17:00', 'last-modified': '2026-03-26T02:17:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.146950'} 2026-03-26 02:17:03,407 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-26 02:17:03,407 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24932190 passed 2026-03-26 02:17:03,408 - DEBUG - ====Verifying policy data for ctest-vn-24932190 in API_Server ====== 2026-03-26 02:17:03,408 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-26 02:17:03,419 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d 2026-03-26 02:17:03,449 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20 2026-03-26 02:17:03,562 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f 2026-03-26 02:17:03,582 - DEBUG - ==>Verifying data for policy with id: 9a0e212c-aa94-4463-a93c-12735a1ec20c, fqn: ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-policy-allow-all-32553772'] 2026-03-26 02:17:03,583 - INFO - VN ctest-vn-24932190 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-26 02:17:03,583 - DEBUG - Verifying the vn in opserver 2026-03-26 02:17:03,583 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190 virtual network link through opserver 10.0.0.33 2026-03-26 02:17:03,583 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-26 02:17:03,643 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190?flat'} 2026-03-26 02:17:03,643 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190 is found in opserver 2026-03-26 02:17:03,663 - DEBUG - Do not have enough data to verify VN in agent 2026-03-26 02:17:03,671 - DEBUG - VRF ids for VN ctest-vn-24932190: {} 2026-03-26 02:17:03,802 - DEBUG - Services list from nova: [, , ] 2026-03-26 02:17:05,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5541-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5541-1) 2026-03-26 02:17:06,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5541-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5541-1) 2026-03-26 02:17:06,891 - INFO - Waiting for VM ctest-TestBasicPolicy-58933428-14153192 to be up.. 2026-03-26 02:17:06,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-26 02:17:12,138 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:17:12,139 - INFO - VM name : ctest-TestBasicPolicy-58933428-14153192 2026-03-26 02:17:12,266 - DEBUG - VM ctest-TestBasicPolicy-58933428-14153192 ID is 879a2450-520b-4871-850f-ea7f13fcda29 2026-03-26 02:17:12,303 - DEBUG - VM ctest-TestBasicPolicy-58933428-14153192 launched on Node cn-jenkins-deploy-platform-ansible-os-5541-1 2026-03-26 02:17:12,407 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/879a2450-520b-4871-850f-ea7f13fcda29 2026-03-26 02:17:12,418 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/25732834-02df-46a4-b129-cd60bfad8ac1 2026-03-26 02:17:15,696 - 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 1004ms') 2026-03-26 02:17:15,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58933428-14153192 failed! 2026-03-26 02:17:15,769 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804 is 126.184.199.193 and allocation pool is NOT set 2026-03-26 02:17:17,850 - 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=9.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.484/5.103/9.723/4.619 ms') 2026-03-26 02:17:17,850 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58933428-14153192 passed 2026-03-26 02:17:18,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:17:18,034 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58933428-14153192, IP 126.184.199.195, Port 22 2026-03-26 02:17:18,230 - DEBUG - VM ctest-TestBasicPolicy-58933428-14153192 is ready for SSH connections 2026-03-26 02:17:18,230 - INFO - Waiting for VM ctest-TestBasicPolicy-58933428-68885245 to be up.. 2026-03-26 02:17:18,414 - DEBUG - VM is in ACTIVE state now 2026-03-26 02:17:18,414 - INFO - VM name : ctest-TestBasicPolicy-58933428-68885245 2026-03-26 02:17:18,571 - DEBUG - VM ctest-TestBasicPolicy-58933428-68885245 ID is 592e2805-56e5-45e8-931e-cc9d5fa1ceb2 2026-03-26 02:17:18,571 - DEBUG - VM ctest-TestBasicPolicy-58933428-68885245 launched on Node cn-jenkins-deploy-platform-ansible-os-5541-1 2026-03-26 02:17:18,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/592e2805-56e5-45e8-931e-cc9d5fa1ceb2 2026-03-26 02:17:18,696 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/323a4496-86a5-47bb-876e-617ccde63749 2026-03-26 02:17:19,979 - 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=6.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.71 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 = 2.709/4.538/6.367/1.829 ms') 2026-03-26 02:17:19,979 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58933428-68885245 passed 2026-03-26 02:17:20,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:17:20,149 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58933428-68885245, IP 102.25.108.131, Port 22 2026-03-26 02:17:20,215 - 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-03-26 02:17:20,358 - DEBUG - VM ctest-TestBasicPolicy-58933428-68885245 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-26 02:17:25,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:17:25,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58933428-68885245, IP 102.25.108.131, Port 22 2026-03-26 02:17:25,553 - DEBUG - VM ctest-TestBasicPolicy-58933428-68885245 is ready for SSH connections 2026-03-26 02:17:25,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:17:25,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.25.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-26 02:17:25,553 - DEBUG - ping -s 56 -c 3 -W 1 102.25.108.131 2026-03-26 02:17:30,011 - DEBUG - PING 102.25.108.131 (102.25.108.131): 56 data bytes 64 bytes from 102.25.108.131: seq=0 ttl=63 time=4.419 ms 64 bytes from 102.25.108.131: seq=1 ttl=63 time=1.379 ms 64 bytes from 102.25.108.131: seq=2 ttl=63 time=1.946 ms --- 102.25.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.379/2.581/4.419 ms 2026-03-26 02:17:30,012 - INFO - Ping to IP 102.25.108.131 from VM ctest-TestBasicPolicy-58933428-14153192 passed 2026-03-26 02:17:30,237 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9a0e212c-aa94-4463-a93c-12735a1ec20c", "href": "http://10.0.0.33:8082/network-policy/9a0e212c-aa94-4463-a93c-12735a1ec20c"}} 2026-03-26 02:17:30,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-26 02:17:30,237 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.25.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-26 02:17:30,237 - DEBUG - ping -s 56 -c 3 -W 1 102.25.108.131 2026-03-26 02:17:33,509 - DEBUG - PING 102.25.108.131 (102.25.108.131): 56 data bytes 64 bytes from 102.25.108.131: seq=0 ttl=63 time=1.986 ms --- 102.25.108.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.986/1.986/1.986 ms 2026-03-26 02:17:33,510 - WARNING - Ping to IP 102.25.108.131 from VM ctest-TestBasicPolicy-58933428-14153192 failed 2026-03-26 02:17:33,510 - INFO - Deleting VM ctest-TestBasicPolicy-58933428-68885245 2026-03-26 02:17:33,613 - INFO - Deleting VM ctest-TestBasicPolicy-58933428-14153192 2026-03-26 02:17:34,179 - INFO - Deleted policy ctest-policy-allow-all-32553772 2026-03-26 02:17:34,179 - INFO - Deleting VN ctest-vn-24932190 2026-03-26 02:17:34,214 - DEBUG - VN 78e0647e-1662-4336-926c-b9c79444c84f still in use: Unable to complete operation on network 78e0647e-1662-4336-926c-b9c79444c84f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58c3836b-1f6c-4c4e-9711-c59c9c32202b'] 2026-03-26 02:17:34,214 - WARNING - Deleting VN ctest-vn-24932190 failed..Will retry 2026-03-26 02:17:36,394 - DEBUG - Response for deleting network () 2026-03-26 02:17:36,394 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f 2026-03-26 02:17:36,404 - DEBUG - Response Code: 404 2026-03-26 02:17:36,404 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-26 02:17:36,413 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d 2026-03-26 02:17:36,438 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20 2026-03-26 02:17:36,533 - INFO - Validated that VN ctest-vn-24932190 is not found in API Server 2026-03-26 02:17:36,547 - DEBUG - VN ctest-vn-24932190 is not present in Agent 10.0.0.33 2026-03-26 02:17:36,547 - INFO - Validated that VN ctest-vn-24932190 is not in any agent 2026-03-26 02:17:36,573 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24932190 info 2026-03-26 02:17:36,574 - INFO - Deleting VN ctest-vn-08580804 2026-03-26 02:17:36,730 - DEBUG - Response for deleting network () 2026-03-26 02:17:36,731 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf 2026-03-26 02:17:36,739 - DEBUG - Response Code: 404 2026-03-26 02:17:36,739 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-26 02:17:36,748 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d 2026-03-26 02:17:36,808 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20 2026-03-26 02:17:36,918 - INFO - Validated that VN ctest-vn-08580804 is not found in API Server 2026-03-26 02:17:36,929 - DEBUG - VN ctest-vn-08580804 is not present in Agent 10.0.0.33 2026-03-26 02:17:36,929 - INFO - Validated that VN ctest-vn-08580804 is not in any agent 2026-03-26 02:17:36,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08580804 info 2026-03-26 02:17:37,248 - DEBUG - No XMPP flaps were noticed during the test
2026-03-26 02:17:37,249 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-03-26 02:17:37,249 - INFO - -------------------------------------------------------------------------------- 2026-03-26 02:17:38,232 - INFO - Deleted project: ctest-TestBasicPolicy-58933428, ID : 9e59ba78-6fd8-413c-98d1-5087237e2b20