2025-04-23 17:09:09,292 - INFO - Domain Default found not creating 2025-04-23 17:09:09,419 - INFO - Project ctest-TestBasicPolicy-79226274 not found, creating it 2025-04-23 17:09:09,849 - INFO - Created Project:ctest-TestBasicPolicy-79226274, ID : 7033606f-d9a2-4b33-829a-97beb59f03d5 2025-04-23 17:09:11,185 - INFO - ================================================================================ 2025-04-23 17:09:11,185 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 17:09:11,186 - 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 2025-04-23 17:09:11,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-04-23 17:09:11,441 - INFO - Initial checks done. Running the testcase now 2025-04-23 17:09:11,441 - INFO - 2025-04-23 17:09:11,958 - DEBUG - Response for create_network : {'network': {'id': '10f1d7d4-5548-4052-8f7f-844336af2be0', 'name': 'ctest-vn-73481417', 'tenant_id': '7033606fd9a24b33829a97beb59f03d5', 'project_id': '7033606fd9a24b33829a97beb59f03d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79226274', 'ctest-vn-73481417'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 17:09:12,111 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cc00738-dc1b-41ca-9d8d-6b5c138696d1', 'name': '', 'tenant_id': '7033606fd9a24b33829a97beb59f03d5', 'network_id': '10f1d7d4-5548-4052-8f7f-844336af2be0', 'ip_version': 4, 'cidr': '122.206.193.192/26', 'allocation_pools': [{'start': '122.206.193.194', 'end': '122.206.193.254'}], 'gateway_ip': '122.206.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.206.193.194', 'tags': [], 'project_id': '7033606fd9a24b33829a97beb59f03d5'}} 2025-04-23 17:09:12,128 - INFO - Created VN ctest-vn-73481417 2025-04-23 17:09:12,181 - DEBUG - VN ctest-vn-73481417 UUID is 10f1d7d4-5548-4052-8f7f-844336af2be0 2025-04-23 17:09:12,488 - DEBUG - Response for create_network : {'network': {'id': '73da47a6-3ad1-400f-9a85-b85c8ae147a5', 'name': 'ctest-vn-93244449', 'tenant_id': '7033606fd9a24b33829a97beb59f03d5', 'project_id': '7033606fd9a24b33829a97beb59f03d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79226274', 'ctest-vn-93244449'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 17:09:12,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eab5b7f-5166-4795-b0f1-f0026cc2e2af', 'name': '', 'tenant_id': '7033606fd9a24b33829a97beb59f03d5', 'network_id': '73da47a6-3ad1-400f-9a85-b85c8ae147a5', 'ip_version': 4, 'cidr': '80.124.150.128/26', 'allocation_pools': [{'start': '80.124.150.130', 'end': '80.124.150.190'}], 'gateway_ip': '80.124.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.124.150.130', 'tags': [], 'project_id': '7033606fd9a24b33829a97beb59f03d5'}} 2025-04-23 17:09:12,649 - INFO - Created VN ctest-vn-93244449 2025-04-23 17:09:12,701 - DEBUG - VN ctest-vn-93244449 UUID is 73da47a6-3ad1-400f-9a85-b85c8ae147a5 2025-04-23 17:09:12,845 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-73481417, 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-79226274:ctest-vn-93244449, 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] 2025-04-23 17:09:13,162 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10f1d7d4-5548-4052-8f7f-844336af2be0', 'name': 'ctest-vn-73481417', 'tenant_id': '7033606fd9a24b33829a97beb59f03d5', 'project_id': '7033606fd9a24b33829a97beb59f03d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6cc00738-dc1b-41ca-9d8d-6b5c138696d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79226274', 'ctest-vn-73481417'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79226274', 'ctest-policy-allow-all-85240498']], 'subnet_ipam': [{'subnet_cidr': '122.206.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 17:09:13,373 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73da47a6-3ad1-400f-9a85-b85c8ae147a5', 'name': 'ctest-vn-93244449', 'tenant_id': '7033606fd9a24b33829a97beb59f03d5', 'project_id': '7033606fd9a24b33829a97beb59f03d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1eab5b7f-5166-4795-b0f1-f0026cc2e2af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79226274', 'ctest-vn-93244449'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79226274', 'ctest-policy-allow-all-85240498']], 'subnet_ipam': [{'subnet_cidr': '80.124.150.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 17:09:13,493 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 17:09:13,798 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 17:09:13,825 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a951b5f7-ebdb-40f2-9a45-a38c2f5bcea4 2025-04-23 17:09:13,835 - DEBUG - Requesting: http://10.0.0.33:8082/project/7033606f-d9a2-4b33-829a-97beb59f03d5 2025-04-23 17:09:13,904 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10f1d7d4-5548-4052-8f7f-844336af2be0 2025-04-23 17:09:13,913 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10f1d7d4-5548-4052-8f7f-844336af2be0 2025-04-23 17:09:13,921 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77458e57-3348-4ed5-8820-40c5500fdd58 2025-04-23 17:09:13,926 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77458e57-3348-4ed5-8820-40c5500fdd58 2025-04-23 17:09:13,932 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/75e38b47-a00f-47a5-9a9e-db9d63d1d6c6 2025-04-23 17:09:13,937 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 17:09:13,937 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10f1d7d4-5548-4052-8f7f-844336af2be0 2025-04-23 17:09:13,947 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77458e57-3348-4ed5-8820-40c5500fdd58 2025-04-23 17:09:13,961 - INFO - Verified VN network id 8 for VN 10f1d7d4-5548-4052-8f7f-844336af2be0 2025-04-23 17:09:13,961 - INFO - Verifications in API Server for VN ctest-vn-73481417 passed 2025-04-23 17:09:13,961 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10f1d7d4-5548-4052-8f7f-844336af2be0 2025-04-23 17:09:13,970 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77458e57-3348-4ed5-8820-40c5500fdd58 2025-04-23 17:09:13,975 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77458e57-3348-4ed5-8820-40c5500fdd58 2025-04-23 17:09:13,980 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/75e38b47-a00f-47a5-9a9e-db9d63d1d6c6 2025-04-23 17:09:13,991 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-73481417', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79226274', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1220994280957952082', 'uuid-lslong': '10340128693681073120'}, 'enable': 'true', 'created': '2025-04-23T17:09:11', 'last-modified': '2025-04-23T17:09:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.857874'} 2025-04-23 17:09:13,996 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 17:09:13,997 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73481417 passed 2025-04-23 17:09:13,997 - DEBUG - ====Verifying policy data for ctest-vn-73481417 in API_Server ====== 2025-04-23 17:09:13,997 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 17:09:14,001 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a951b5f7-ebdb-40f2-9a45-a38c2f5bcea4 2025-04-23 17:09:14,011 - DEBUG - Requesting: http://10.0.0.33:8082/project/7033606f-d9a2-4b33-829a-97beb59f03d5 2025-04-23 17:09:14,076 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/10f1d7d4-5548-4052-8f7f-844336af2be0 2025-04-23 17:09:14,086 - DEBUG - ==>Verifying data for policy with id: 522797c6-e41e-4951-a9d5-2c7b1c0f1547, fqn: ['default-domain', 'ctest-TestBasicPolicy-79226274', 'ctest-policy-allow-all-85240498'] 2025-04-23 17:09:14,086 - INFO - VN ctest-vn-73481417 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 17:09:14,086 - DEBUG - Verifying the vn in opserver 2025-04-23 17:09:14,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-73481417 virtual network link through opserver 10.0.0.33 2025-04-23 17:09:14,087 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-23 17:09:14,381 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-23 17:09:14,428 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-73481417', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-73481417?flat'} 2025-04-23 17:09:14,428 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-73481417 is found in opserver 2025-04-23 17:09:14,438 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 17:09:14,442 - DEBUG - VRF ids for VN ctest-vn-73481417: {} 2025-04-23 17:09:14,442 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 17:09:14,447 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a951b5f7-ebdb-40f2-9a45-a38c2f5bcea4 2025-04-23 17:09:14,457 - DEBUG - Requesting: http://10.0.0.33:8082/project/7033606f-d9a2-4b33-829a-97beb59f03d5 2025-04-23 17:09:14,530 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/73da47a6-3ad1-400f-9a85-b85c8ae147a5 2025-04-23 17:09:14,546 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/73da47a6-3ad1-400f-9a85-b85c8ae147a5 2025-04-23 17:09:14,554 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1b4786fb-7d04-470d-b41f-9737a8a59330 2025-04-23 17:09:14,559 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1b4786fb-7d04-470d-b41f-9737a8a59330 2025-04-23 17:09:14,565 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ac587404-ad1e-4a6e-b4f4-ede4619c461a 2025-04-23 17:09:14,570 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 17:09:14,570 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/73da47a6-3ad1-400f-9a85-b85c8ae147a5 2025-04-23 17:09:14,578 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1b4786fb-7d04-470d-b41f-9737a8a59330 2025-04-23 17:09:14,590 - INFO - Verified VN network id 9 for VN 73da47a6-3ad1-400f-9a85-b85c8ae147a5 2025-04-23 17:09:14,590 - INFO - Verifications in API Server for VN ctest-vn-93244449 passed 2025-04-23 17:09:14,590 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/73da47a6-3ad1-400f-9a85-b85c8ae147a5 2025-04-23 17:09:14,600 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1b4786fb-7d04-470d-b41f-9737a8a59330 2025-04-23 17:09:14,607 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1b4786fb-7d04-470d-b41f-9737a8a59330 2025-04-23 17:09:14,613 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ac587404-ad1e-4a6e-b4f4-ede4619c461a 2025-04-23 17:09:14,623 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-93244449', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79226274', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8348063638561570831', 'uuid-lslong': '11134508361349941157'}, 'enable': 'true', 'created': '2025-04-23T17:09:12', 'last-modified': '2025-04-23T17:09:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.261275'} 2025-04-23 17:09:14,628 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 17:09:14,628 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93244449 passed 2025-04-23 17:09:14,628 - DEBUG - ====Verifying policy data for ctest-vn-93244449 in API_Server ====== 2025-04-23 17:09:14,628 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 17:09:14,633 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a951b5f7-ebdb-40f2-9a45-a38c2f5bcea4 2025-04-23 17:09:14,642 - DEBUG - Requesting: http://10.0.0.33:8082/project/7033606f-d9a2-4b33-829a-97beb59f03d5 2025-04-23 17:09:14,716 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/73da47a6-3ad1-400f-9a85-b85c8ae147a5 2025-04-23 17:09:14,724 - DEBUG - ==>Verifying data for policy with id: 522797c6-e41e-4951-a9d5-2c7b1c0f1547, fqn: ['default-domain', 'ctest-TestBasicPolicy-79226274', 'ctest-policy-allow-all-85240498'] 2025-04-23 17:09:14,724 - INFO - VN ctest-vn-93244449 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 17:09:14,724 - DEBUG - Verifying the vn in opserver 2025-04-23 17:09:14,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-93244449 virtual network link through opserver 10.0.0.33 2025-04-23 17:09:14,724 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-23 17:09:14,732 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-93244449', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-93244449?flat'} 2025-04-23 17:09:14,732 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-93244449 is found in opserver 2025-04-23 17:09:14,741 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 17:09:14,745 - DEBUG - VRF ids for VN ctest-vn-93244449: {} 2025-04-23 17:09:14,793 - DEBUG - Services list from nova: [, , ] 2025-04-23 17:09:15,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3194-1) 2025-04-23 17:09:16,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3194-1) 2025-04-23 17:09:16,982 - INFO - Waiting for VM ctest-TestBasicPolicy-79226274-81741260 to be up.. 2025-04-23 17:09:17,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 17:09:22,142 - DEBUG - VM is in ACTIVE state now 2025-04-23 17:09:22,142 - INFO - VM name : ctest-TestBasicPolicy-79226274-81741260 2025-04-23 17:09:22,210 - DEBUG - VM ctest-TestBasicPolicy-79226274-81741260 ID is 2528a524-de4f-4c15-9f4c-ca69b704eb0e 2025-04-23 17:09:22,230 - DEBUG - VM ctest-TestBasicPolicy-79226274-81741260 launched on Node cn-jenkins-deploy-platform-ansible-os-3194-1. 2025-04-23 17:09:22,303 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2528a524-de4f-4c15-9f4c-ca69b704eb0e 2025-04-23 17:09:22,311 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/96726b79-bc16-4384-9d05-85b92c0147fa 2025-04-23 17:09:25,557 - 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 1023ms') 2025-04-23 17:09:25,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79226274-81741260 failed! 2025-04-23 17:09:25,617 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79226274:ctest-vn-73481417 is 122.206.193.193 and allocation pool is NOT set 2025-04-23 17:09:27,673 - 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=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/1.516/2.624/1.108 ms') 2025-04-23 17:09:27,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79226274-81741260 passed 2025-04-23 17:09:27,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 17:09:27,821 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79226274-81741260, IP 122.206.193.195, Port 22 2025-04-23 17:09:27,982 - DEBUG - VM ctest-TestBasicPolicy-79226274-81741260 is ready for SSH connections 2025-04-23 17:09:27,982 - INFO - Waiting for VM ctest-TestBasicPolicy-79226274-46292629 to be up.. 2025-04-23 17:09:28,049 - DEBUG - VM is in ACTIVE state now 2025-04-23 17:09:28,049 - INFO - VM name : ctest-TestBasicPolicy-79226274-46292629 2025-04-23 17:09:28,115 - DEBUG - VM ctest-TestBasicPolicy-79226274-46292629 ID is 3d1fcb69-7081-493b-85fd-d645eae8a6bd 2025-04-23 17:09:28,115 - DEBUG - VM ctest-TestBasicPolicy-79226274-46292629 launched on Node cn-jenkins-deploy-platform-ansible-os-3194-1. 2025-04-23 17:09:28,182 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3d1fcb69-7081-493b-85fd-d645eae8a6bd 2025-04-23 17:09:28,189 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7ef42484-da1a-43b9-8943-f9a923d0ec7d 2025-04-23 17:09:29,415 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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 = 0.425/1.613/2.802/1.188 ms') 2025-04-23 17:09:29,415 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79226274-46292629 passed 2025-04-23 17:09:29,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 17:09:29,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79226274-46292629, IP 80.124.150.131, Port 22 2025-04-23 17:09:29,720 - DEBUG - VM ctest-TestBasicPolicy-79226274-46292629 is ready for SSH connections 2025-04-23 17:09:29,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 17:09:29,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.124.150.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-23 17:09:29,720 - DEBUG - ping -s 56 -c 3 -W 1 80.124.150.131 2025-04-23 17:09:33,737 - DEBUG - PING 80.124.150.131 (80.124.150.131): 56 data bytes 64 bytes from 80.124.150.131: seq=0 ttl=63 time=3.409 ms 64 bytes from 80.124.150.131: seq=1 ttl=63 time=0.983 ms 64 bytes from 80.124.150.131: seq=2 ttl=63 time=0.815 ms --- 80.124.150.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.735/3.409 ms 2025-04-23 17:09:33,737 - INFO - Ping to IP 80.124.150.131 from VM ctest-TestBasicPolicy-79226274-81741260 passed 2025-04-23 17:09:33,912 - DEBUG - Policy Update Response {"network-policy": {"uuid": "522797c6-e41e-4951-a9d5-2c7b1c0f1547", "href": "http://10.0.0.33:8082/network-policy/522797c6-e41e-4951-a9d5-2c7b1c0f1547"}} 2025-04-23 17:09:33,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 17:09:33,913 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.124.150.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-23 17:09:33,913 - DEBUG - ping -s 56 -c 3 -W 1 80.124.150.131 2025-04-23 17:09:37,108 - DEBUG - PING 80.124.150.131 (80.124.150.131): 56 data bytes --- 80.124.150.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-23 17:09:37,108 - WARNING - Ping to IP 80.124.150.131 from VM ctest-TestBasicPolicy-79226274-81741260 failed 2025-04-23 17:09:37,109 - INFO - Deleting VM ctest-TestBasicPolicy-79226274-46292629 2025-04-23 17:09:37,167 - INFO - Deleting VM ctest-TestBasicPolicy-79226274-81741260 2025-04-23 17:09:37,536 - INFO - Deleted policy ctest-policy-allow-all-85240498 2025-04-23 17:09:37,537 - INFO - Deleting VN ctest-vn-93244449 2025-04-23 17:09:37,573 - DEBUG - VN 73da47a6-3ad1-400f-9a85-b85c8ae147a5 still in use: Unable to complete operation on network 73da47a6-3ad1-400f-9a85-b85c8ae147a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b540d0e2-1c89-48e3-889f-e8cf6f5a8f96'] 2025-04-23 17:09:37,573 - WARNING - Deleting VN ctest-vn-93244449 failed..Will retry 2025-04-23 17:09:39,689 - DEBUG - Response for deleting network () 2025-04-23 17:09:39,689 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1b4786fb-7d04-470d-b41f-9737a8a59330 2025-04-23 17:09:39,695 - DEBUG - Response Code: 404 2025-04-23 17:09:39,695 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 17:09:39,700 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a951b5f7-ebdb-40f2-9a45-a38c2f5bcea4 2025-04-23 17:09:39,753 - DEBUG - Requesting: http://10.0.0.33:8082/project/7033606f-d9a2-4b33-829a-97beb59f03d5 2025-04-23 17:09:39,823 - INFO - Validated that VN ctest-vn-93244449 is not found in API Server 2025-04-23 17:09:39,832 - DEBUG - VN ctest-vn-93244449 is not present in Agent 10.0.0.33 2025-04-23 17:09:39,832 - INFO - Validated that VN ctest-vn-93244449 is not in any agent 2025-04-23 17:09:39,850 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93244449 info 2025-04-23 17:09:39,850 - INFO - Deleting VN ctest-vn-73481417 2025-04-23 17:09:39,934 - DEBUG - Response for deleting network () 2025-04-23 17:09:39,934 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77458e57-3348-4ed5-8820-40c5500fdd58 2025-04-23 17:09:39,941 - DEBUG - Response Code: 404 2025-04-23 17:09:39,941 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-23 17:09:39,945 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a951b5f7-ebdb-40f2-9a45-a38c2f5bcea4 2025-04-23 17:09:39,997 - DEBUG - Requesting: http://10.0.0.33:8082/project/7033606f-d9a2-4b33-829a-97beb59f03d5 2025-04-23 17:09:40,061 - INFO - Validated that VN ctest-vn-73481417 is not found in API Server 2025-04-23 17:09:40,070 - DEBUG - VN ctest-vn-73481417 is not present in Agent 10.0.0.33 2025-04-23 17:09:40,071 - INFO - Validated that VN ctest-vn-73481417 is not in any agent 2025-04-23 17:09:40,082 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73481417 info 2025-04-23 17:09:40,341 - DEBUG - No XMPP flaps were noticed during the test 2025-04-23 17:09:40,341 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-23 17:09:40,341 - INFO - -------------------------------------------------------------------------------- 2025-04-23 17:09:41,012 - INFO - Deleted project: ctest-TestBasicPolicy-79226274, ID : 7033606f-d9a2-4b33-829a-97beb59f03d5