2025-06-07 10:21:22,811 - INFO - Domain Default found not creating 2025-06-07 10:21:22,941 - INFO - Project ctest-TestBasicPolicy-96622933 not found, creating it 2025-06-07 10:21:23,469 - INFO - Created Project:ctest-TestBasicPolicy-96622933, ID : 48966b86-e010-4078-b90b-7170956e90f6 2025-06-07 10:21:24,888 - INFO - ================================================================================ 2025-06-07 10:21:24,889 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-07 10:21:24,889 - 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-06-07 10:21:25,148 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2025-06-07 10:21:25,148 - INFO - Initial checks done. Running the testcase now 2025-06-07 10:21:25,148 - INFO - 2025-06-07 10:21:25,693 - DEBUG - Response for create_network : {'network': {'id': '9b6453a9-2340-4c10-94b5-8715bc3ade48', 'name': 'ctest-vn-37587615', 'tenant_id': '48966b86e0104078b90b7170956e90f6', 'project_id': '48966b86e0104078b90b7170956e90f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96622933', 'ctest-vn-37587615'], 'port_security_enabled': True, 'description': ''}} 2025-06-07 10:21:25,876 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2ed07d2-0c3c-4738-9f63-4aa9c71aa0f6', 'name': '', 'tenant_id': '48966b86e0104078b90b7170956e90f6', 'network_id': '9b6453a9-2340-4c10-94b5-8715bc3ade48', 'ip_version': 4, 'cidr': '216.85.125.192/26', 'allocation_pools': [{'start': '216.85.125.194', 'end': '216.85.125.254'}], 'gateway_ip': '216.85.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.85.125.194', 'tags': [], 'project_id': '48966b86e0104078b90b7170956e90f6'}} 2025-06-07 10:21:25,894 - INFO - Created VN ctest-vn-37587615 2025-06-07 10:21:25,946 - DEBUG - VN ctest-vn-37587615 UUID is 9b6453a9-2340-4c10-94b5-8715bc3ade48 2025-06-07 10:21:26,259 - DEBUG - Response for create_network : {'network': {'id': 'a394c619-b445-4f68-8c75-e15b0f0a98da', 'name': 'ctest-vn-75642507', 'tenant_id': '48966b86e0104078b90b7170956e90f6', 'project_id': '48966b86e0104078b90b7170956e90f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96622933', 'ctest-vn-75642507'], 'port_security_enabled': True, 'description': ''}} 2025-06-07 10:21:26,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '467adac9-34e2-47a6-8d58-de7692fb405f', 'name': '', 'tenant_id': '48966b86e0104078b90b7170956e90f6', 'network_id': 'a394c619-b445-4f68-8c75-e15b0f0a98da', 'ip_version': 4, 'cidr': '136.60.3.192/26', 'allocation_pools': [{'start': '136.60.3.194', 'end': '136.60.3.254'}], 'gateway_ip': '136.60.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.60.3.194', 'tags': [], 'project_id': '48966b86e0104078b90b7170956e90f6'}} 2025-06-07 10:21:26,427 - INFO - Created VN ctest-vn-75642507 2025-06-07 10:21:26,478 - DEBUG - VN ctest-vn-75642507 UUID is a394c619-b445-4f68-8c75-e15b0f0a98da 2025-06-07 10:21:26,625 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-37587615, 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-96622933:ctest-vn-75642507, 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-06-07 10:21:26,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b6453a9-2340-4c10-94b5-8715bc3ade48', 'name': 'ctest-vn-37587615', 'tenant_id': '48966b86e0104078b90b7170956e90f6', 'project_id': '48966b86e0104078b90b7170956e90f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2ed07d2-0c3c-4738-9f63-4aa9c71aa0f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96622933', 'ctest-vn-37587615'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96622933', 'ctest-policy-allow-all-24640956']], 'subnet_ipam': [{'subnet_cidr': '216.85.125.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-07 10:21:27,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a394c619-b445-4f68-8c75-e15b0f0a98da', 'name': 'ctest-vn-75642507', 'tenant_id': '48966b86e0104078b90b7170956e90f6', 'project_id': '48966b86e0104078b90b7170956e90f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['467adac9-34e2-47a6-8d58-de7692fb405f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96622933', 'ctest-vn-75642507'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96622933', 'ctest-policy-allow-all-24640956']], 'subnet_ipam': [{'subnet_cidr': '136.60.3.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-07 10:21:27,286 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-07 10:21:27,584 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-07 10:21:27,611 - DEBUG - Requesting: http://10.0.0.57:8082/domain/ae0ac6d1-d91d-4618-99a2-722ce96d1502 2025-06-07 10:21:27,624 - DEBUG - Requesting: http://10.0.0.57:8082/project/48966b86-e010-4078-b90b-7170956e90f6 2025-06-07 10:21:27,699 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9b6453a9-2340-4c10-94b5-8715bc3ade48 2025-06-07 10:21:27,711 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9b6453a9-2340-4c10-94b5-8715bc3ade48 2025-06-07 10:21:27,722 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d7d55b45-bde8-4648-8039-fc0c7d07bf91 2025-06-07 10:21:27,729 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d7d55b45-bde8-4648-8039-fc0c7d07bf91 2025-06-07 10:21:27,736 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/15f55e4d-146d-4d5c-97d5-6ae35102a774 2025-06-07 10:21:27,743 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-07 10:21:27,743 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9b6453a9-2340-4c10-94b5-8715bc3ade48 2025-06-07 10:21:27,753 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d7d55b45-bde8-4648-8039-fc0c7d07bf91 2025-06-07 10:21:27,767 - INFO - Verified VN network id 8 for VN 9b6453a9-2340-4c10-94b5-8715bc3ade48 2025-06-07 10:21:27,767 - INFO - Verifications in API Server for VN ctest-vn-37587615 passed 2025-06-07 10:21:27,767 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9b6453a9-2340-4c10-94b5-8715bc3ade48 2025-06-07 10:21:27,778 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d7d55b45-bde8-4648-8039-fc0c7d07bf91 2025-06-07 10:21:27,785 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d7d55b45-bde8-4648-8039-fc0c7d07bf91 2025-06-07 10:21:27,792 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/15f55e4d-146d-4d5c-97d5-6ae35102a774 2025-06-07 10:21:27,805 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-37587615', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96622933', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11197166559455890448', 'uuid-lslong': '10715619415820000840'}, 'enable': 'true', 'created': '2025-06-07T10:21:25', 'last-modified': '2025-06-07T10:21:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905718'} 2025-06-07 10:21:27,813 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-07 10:21:27,813 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37587615 passed 2025-06-07 10:21:27,814 - DEBUG - ====Verifying policy data for ctest-vn-37587615 in API_Server ====== 2025-06-07 10:21:27,814 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-07 10:21:27,819 - DEBUG - Requesting: http://10.0.0.57:8082/domain/ae0ac6d1-d91d-4618-99a2-722ce96d1502 2025-06-07 10:21:27,831 - DEBUG - Requesting: http://10.0.0.57:8082/project/48966b86-e010-4078-b90b-7170956e90f6 2025-06-07 10:21:27,898 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9b6453a9-2340-4c10-94b5-8715bc3ade48 2025-06-07 10:21:27,918 - DEBUG - ==>Verifying data for policy with id: d35823d8-ad54-4cab-a49c-689a7495977b, fqn: ['default-domain', 'ctest-TestBasicPolicy-96622933', 'ctest-policy-allow-all-24640956'] 2025-06-07 10:21:27,918 - INFO - VN ctest-vn-37587615 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-07 10:21:27,918 - DEBUG - Verifying the vn in opserver 2025-06-07 10:21:27,918 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-37587615 virtual network link through opserver 10.0.0.57 2025-06-07 10:21:27,918 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-07 10:21:28,219 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-07 10:21:28,272 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-37587615', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-37587615?flat'} 2025-06-07 10:21:28,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-37587615 is found in opserver 2025-06-07 10:21:28,283 - DEBUG - Do not have enough data to verify VN in agent 2025-06-07 10:21:28,288 - DEBUG - VRF ids for VN ctest-vn-37587615: {} 2025-06-07 10:21:28,288 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-07 10:21:28,293 - DEBUG - Requesting: http://10.0.0.57:8082/domain/ae0ac6d1-d91d-4618-99a2-722ce96d1502 2025-06-07 10:21:28,305 - DEBUG - Requesting: http://10.0.0.57:8082/project/48966b86-e010-4078-b90b-7170956e90f6 2025-06-07 10:21:28,380 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a394c619-b445-4f68-8c75-e15b0f0a98da 2025-06-07 10:21:28,392 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a394c619-b445-4f68-8c75-e15b0f0a98da 2025-06-07 10:21:28,411 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c967ca03-59b9-43d9-9152-6ba8ef7f251d 2025-06-07 10:21:28,419 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c967ca03-59b9-43d9-9152-6ba8ef7f251d 2025-06-07 10:21:28,427 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/63f25d12-1d45-4686-9b62-71a206d6e302 2025-06-07 10:21:28,435 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-07 10:21:28,435 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a394c619-b445-4f68-8c75-e15b0f0a98da 2025-06-07 10:21:28,446 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c967ca03-59b9-43d9-9152-6ba8ef7f251d 2025-06-07 10:21:28,461 - INFO - Verified VN network id 9 for VN a394c619-b445-4f68-8c75-e15b0f0a98da 2025-06-07 10:21:28,461 - INFO - Verifications in API Server for VN ctest-vn-75642507 passed 2025-06-07 10:21:28,461 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a394c619-b445-4f68-8c75-e15b0f0a98da 2025-06-07 10:21:28,471 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c967ca03-59b9-43d9-9152-6ba8ef7f251d 2025-06-07 10:21:28,478 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c967ca03-59b9-43d9-9152-6ba8ef7f251d 2025-06-07 10:21:28,484 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/63f25d12-1d45-4686-9b62-71a206d6e302 2025-06-07 10:21:28,497 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-75642507', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96622933', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11787263938436353896', 'uuid-lslong': '10121243518795684058'}, 'enable': 'true', 'created': '2025-06-07T10:21:26', 'last-modified': '2025-06-07T10:21:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373029'} 2025-06-07 10:21:28,503 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-07 10:21:28,503 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75642507 passed 2025-06-07 10:21:28,504 - DEBUG - ====Verifying policy data for ctest-vn-75642507 in API_Server ====== 2025-06-07 10:21:28,504 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-07 10:21:28,510 - DEBUG - Requesting: http://10.0.0.57:8082/domain/ae0ac6d1-d91d-4618-99a2-722ce96d1502 2025-06-07 10:21:28,522 - DEBUG - Requesting: http://10.0.0.57:8082/project/48966b86-e010-4078-b90b-7170956e90f6 2025-06-07 10:21:28,602 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a394c619-b445-4f68-8c75-e15b0f0a98da 2025-06-07 10:21:28,614 - DEBUG - ==>Verifying data for policy with id: d35823d8-ad54-4cab-a49c-689a7495977b, fqn: ['default-domain', 'ctest-TestBasicPolicy-96622933', 'ctest-policy-allow-all-24640956'] 2025-06-07 10:21:28,614 - INFO - VN ctest-vn-75642507 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-07 10:21:28,614 - DEBUG - Verifying the vn in opserver 2025-06-07 10:21:28,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-75642507 virtual network link through opserver 10.0.0.57 2025-06-07 10:21:28,614 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-07 10:21:28,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-75642507', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-75642507?flat'} 2025-06-07 10:21:28,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-75642507 is found in opserver 2025-06-07 10:21:28,636 - DEBUG - Do not have enough data to verify VN in agent 2025-06-07 10:21:28,642 - DEBUG - VRF ids for VN ctest-vn-75642507: {} 2025-06-07 10:21:28,699 - DEBUG - Services list from nova: [, , ] 2025-06-07 10:21:29,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3411-1) 2025-06-07 10:21:30,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3411-1) 2025-06-07 10:21:30,901 - INFO - Waiting for VM ctest-TestBasicPolicy-96622933-71289097 to be up.. 2025-06-07 10:21:30,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-07 10:21:36,060 - DEBUG - VM is in ACTIVE state now 2025-06-07 10:21:36,060 - INFO - VM name : ctest-TestBasicPolicy-96622933-71289097 2025-06-07 10:21:36,134 - DEBUG - VM ctest-TestBasicPolicy-96622933-71289097 ID is f8cb96f4-7608-41ae-b50b-e9363d7d14fc 2025-06-07 10:21:36,151 - DEBUG - VM ctest-TestBasicPolicy-96622933-71289097 launched on Node cn-jenkins-deploy-platform-ansible-os-3411-1 2025-06-07 10:21:36,225 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f8cb96f4-7608-41ae-b50b-e9363d7d14fc 2025-06-07 10:21:36,236 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f36b32c3-8f4c-401f-ac39-301627a77031 2025-06-07 10:21:39,457 - 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 1019ms') 2025-06-07 10:21:39,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96622933-71289097 failed! 2025-06-07 10:21:39,518 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96622933:ctest-vn-37587615 is 216.85.125.193 and allocation pool is NOT set 2025-06-07 10:21:41,584 - 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=3.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/1.907/3.361/1.453 ms') 2025-06-07 10:21:41,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96622933-71289097 passed 2025-06-07 10:21:41,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 10:21:41,742 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96622933-71289097, IP 216.85.125.195, Port 22 2025-06-07 10:21:41,907 - DEBUG - VM ctest-TestBasicPolicy-96622933-71289097 is ready for SSH connections 2025-06-07 10:21:41,907 - INFO - Waiting for VM ctest-TestBasicPolicy-96622933-08484848 to be up.. 2025-06-07 10:21:42,000 - DEBUG - VM is in ACTIVE state now 2025-06-07 10:21:42,000 - INFO - VM name : ctest-TestBasicPolicy-96622933-08484848 2025-06-07 10:21:42,089 - DEBUG - VM ctest-TestBasicPolicy-96622933-08484848 ID is c6326b78-4d84-463e-8ff9-325b9ecef961 2025-06-07 10:21:42,089 - DEBUG - VM ctest-TestBasicPolicy-96622933-08484848 launched on Node cn-jenkins-deploy-platform-ansible-os-3411-1 2025-06-07 10:21:42,170 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c6326b78-4d84-463e-8ff9-325b9ecef961 2025-06-07 10:21:42,178 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8230043c-7c2d-41de-b63c-67f8810e5eef 2025-06-07 10:21:43,426 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.880 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.880/2.385/3.890/1.505 ms') 2025-06-07 10:21:43,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96622933-08484848 passed 2025-06-07 10:21:43,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 10:21:43,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96622933-08484848, IP 136.60.3.195, Port 22 2025-06-07 10:21:43,726 - DEBUG - VM ctest-TestBasicPolicy-96622933-08484848 is ready for SSH connections 2025-06-07 10:21:43,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 10:21:43,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.60.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-07 10:21:43,727 - DEBUG - ping -s 56 -c 3 -W 1 136.60.3.195 2025-06-07 10:21:47,415 - DEBUG - PING 136.60.3.195 (136.60.3.195): 56 data bytes 64 bytes from 136.60.3.195: seq=0 ttl=63 time=3.522 ms 64 bytes from 136.60.3.195: seq=1 ttl=63 time=0.767 ms 64 bytes from 136.60.3.195: seq=2 ttl=63 time=1.178 ms --- 136.60.3.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.822/3.522 ms 2025-06-07 10:21:47,415 - INFO - Ping to IP 136.60.3.195 from VM ctest-TestBasicPolicy-96622933-71289097 passed 2025-06-07 10:21:47,589 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d35823d8-ad54-4cab-a49c-689a7495977b", "href": "http://10.0.0.57:8082/network-policy/d35823d8-ad54-4cab-a49c-689a7495977b"}} 2025-06-07 10:21:47,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-07 10:21:47,590 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.60.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-07 10:21:47,590 - DEBUG - ping -s 56 -c 3 -W 1 136.60.3.195 2025-06-07 10:21:50,788 - DEBUG - PING 136.60.3.195 (136.60.3.195): 56 data bytes --- 136.60.3.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-07 10:21:50,788 - WARNING - Ping to IP 136.60.3.195 from VM ctest-TestBasicPolicy-96622933-71289097 failed 2025-06-07 10:21:50,788 - INFO - Deleting VM ctest-TestBasicPolicy-96622933-08484848 2025-06-07 10:21:50,850 - INFO - Deleting VM ctest-TestBasicPolicy-96622933-71289097 2025-06-07 10:21:51,206 - INFO - Deleted policy ctest-policy-allow-all-24640956 2025-06-07 10:21:51,206 - INFO - Deleting VN ctest-vn-75642507 2025-06-07 10:21:51,245 - DEBUG - VN a394c619-b445-4f68-8c75-e15b0f0a98da still in use: Unable to complete operation on network a394c619-b445-4f68-8c75-e15b0f0a98da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84945087-a918-4e25-bb93-e8085085d4b6'] 2025-06-07 10:21:51,246 - WARNING - Deleting VN ctest-vn-75642507 failed..Will retry 2025-06-07 10:21:53,358 - DEBUG - Response for deleting network () 2025-06-07 10:21:53,358 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/c967ca03-59b9-43d9-9152-6ba8ef7f251d 2025-06-07 10:21:53,366 - DEBUG - Response Code: 404 2025-06-07 10:21:53,366 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-07 10:21:53,372 - DEBUG - Requesting: http://10.0.0.57:8082/domain/ae0ac6d1-d91d-4618-99a2-722ce96d1502 2025-06-07 10:21:53,429 - DEBUG - Requesting: http://10.0.0.57:8082/project/48966b86-e010-4078-b90b-7170956e90f6 2025-06-07 10:21:53,499 - INFO - Validated that VN ctest-vn-75642507 is not found in API Server 2025-06-07 10:21:53,512 - DEBUG - VN ctest-vn-75642507 is not present in Agent 10.0.0.57 2025-06-07 10:21:53,512 - INFO - Validated that VN ctest-vn-75642507 is not in any agent 2025-06-07 10:21:53,528 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75642507 info 2025-06-07 10:21:53,528 - INFO - Deleting VN ctest-vn-37587615 2025-06-07 10:21:53,629 - DEBUG - Response for deleting network () 2025-06-07 10:21:53,629 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d7d55b45-bde8-4648-8039-fc0c7d07bf91 2025-06-07 10:21:53,634 - DEBUG - Response Code: 404 2025-06-07 10:21:53,634 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-07 10:21:53,641 - DEBUG - Requesting: http://10.0.0.57:8082/domain/ae0ac6d1-d91d-4618-99a2-722ce96d1502 2025-06-07 10:21:53,695 - DEBUG - Requesting: http://10.0.0.57:8082/project/48966b86-e010-4078-b90b-7170956e90f6 2025-06-07 10:21:53,766 - INFO - Validated that VN ctest-vn-37587615 is not found in API Server 2025-06-07 10:21:53,776 - DEBUG - VN ctest-vn-37587615 is not present in Agent 10.0.0.57 2025-06-07 10:21:53,776 - INFO - Validated that VN ctest-vn-37587615 is not in any agent 2025-06-07 10:21:53,792 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37587615 info 2025-06-07 10:21:54,051 - DEBUG - No XMPP flaps were noticed during the test 2025-06-07 10:21:54,051 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-07 10:21:54,051 - INFO - -------------------------------------------------------------------------------- 2025-06-07 10:21:54,714 - INFO - Deleted project: ctest-TestBasicPolicy-96622933, ID : 48966b86-e010-4078-b90b-7170956e90f6