2025-09-03 16:10:25,954 - INFO - Domain Default found not creating 2025-09-03 16:10:26,090 - INFO - Project ctest-TestBasicPolicy-08551115 not found, creating it 2025-09-03 16:10:26,506 - INFO - Created Project:ctest-TestBasicPolicy-08551115, ID : 17b845eb-6795-4612-8bea-b8837d850167 2025-09-03 16:10:27,909 - INFO - ================================================================================ 2025-09-03 16:10:27,909 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-03 16:10:27,909 - 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-09-03 16:10:28,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-09-03 16:10:28,164 - INFO - Initial checks done. Running the testcase now 2025-09-03 16:10:28,164 - INFO - 2025-09-03 16:10:28,674 - DEBUG - Response for create_network : {'network': {'id': '1a701749-26be-483d-902c-0ddc709115ed', 'name': 'ctest-vn-37513016', 'tenant_id': '17b845eb679546128beab8837d850167', 'project_id': '17b845eb679546128beab8837d850167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08551115', 'ctest-vn-37513016'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:10:28,878 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9518681-8f33-4360-a986-fbfee633d49f', 'name': '', 'tenant_id': '17b845eb679546128beab8837d850167', 'network_id': '1a701749-26be-483d-902c-0ddc709115ed', 'ip_version': 4, 'cidr': '49.47.48.0/26', 'allocation_pools': [{'start': '49.47.48.2', 'end': '49.47.48.62'}], 'gateway_ip': '49.47.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.47.48.2', 'tags': [], 'project_id': '17b845eb679546128beab8837d850167'}} 2025-09-03 16:10:28,896 - INFO - Created VN ctest-vn-37513016 2025-09-03 16:10:28,948 - DEBUG - VN ctest-vn-37513016 UUID is 1a701749-26be-483d-902c-0ddc709115ed 2025-09-03 16:10:29,254 - DEBUG - Response for create_network : {'network': {'id': '27a8827c-a8a6-44f1-81e5-0f439ff99b09', 'name': 'ctest-vn-83943362', 'tenant_id': '17b845eb679546128beab8837d850167', 'project_id': '17b845eb679546128beab8837d850167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08551115', 'ctest-vn-83943362'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:10:29,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a5d6cbc-0e45-471e-9b6a-3b583076dead', 'name': '', 'tenant_id': '17b845eb679546128beab8837d850167', 'network_id': '27a8827c-a8a6-44f1-81e5-0f439ff99b09', 'ip_version': 4, 'cidr': '24.251.54.0/26', 'allocation_pools': [{'start': '24.251.54.2', 'end': '24.251.54.62'}], 'gateway_ip': '24.251.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.251.54.2', 'tags': [], 'project_id': '17b845eb679546128beab8837d850167'}} 2025-09-03 16:10:29,423 - INFO - Created VN ctest-vn-83943362 2025-09-03 16:10:29,476 - DEBUG - VN ctest-vn-83943362 UUID is 27a8827c-a8a6-44f1-81e5-0f439ff99b09 2025-09-03 16:10:29,619 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-37513016, 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-08551115:ctest-vn-83943362, 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-09-03 16:10:29,898 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a701749-26be-483d-902c-0ddc709115ed', 'name': 'ctest-vn-37513016', 'tenant_id': '17b845eb679546128beab8837d850167', 'project_id': '17b845eb679546128beab8837d850167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9518681-8f33-4360-a986-fbfee633d49f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08551115', 'ctest-vn-37513016'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08551115', 'ctest-policy-allow-all-14184437']], 'subnet_ipam': [{'subnet_cidr': '49.47.48.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:10:30,115 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '27a8827c-a8a6-44f1-81e5-0f439ff99b09', 'name': 'ctest-vn-83943362', 'tenant_id': '17b845eb679546128beab8837d850167', 'project_id': '17b845eb679546128beab8837d850167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a5d6cbc-0e45-471e-9b6a-3b583076dead'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08551115', 'ctest-vn-83943362'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08551115', 'ctest-policy-allow-all-14184437']], 'subnet_ipam': [{'subnet_cidr': '24.251.54.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:10:30,288 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-03 16:10:30,584 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-03 16:10:30,609 - DEBUG - Requesting: http://10.0.0.130:8082/domain/380b2609-74ae-49b8-a437-9d24fa756255 2025-09-03 16:10:30,619 - DEBUG - Requesting: http://10.0.0.130:8082/project/17b845eb-6795-4612-8bea-b8837d850167 2025-09-03 16:10:30,684 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1a701749-26be-483d-902c-0ddc709115ed 2025-09-03 16:10:30,693 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1a701749-26be-483d-902c-0ddc709115ed 2025-09-03 16:10:30,701 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6e83cf5f-0fdc-4496-bd68-629846ebf8be 2025-09-03 16:10:30,706 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6e83cf5f-0fdc-4496-bd68-629846ebf8be 2025-09-03 16:10:30,712 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/ae5b0892-1ce9-4f3a-9b14-45bf0da2bcf4 2025-09-03 16:10:30,716 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-03 16:10:30,716 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1a701749-26be-483d-902c-0ddc709115ed 2025-09-03 16:10:30,724 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6e83cf5f-0fdc-4496-bd68-629846ebf8be 2025-09-03 16:10:30,734 - INFO - Verified VN network id 12 for VN 1a701749-26be-483d-902c-0ddc709115ed 2025-09-03 16:10:30,734 - INFO - Verifications in API Server for VN ctest-vn-37513016 passed 2025-09-03 16:10:30,734 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1a701749-26be-483d-902c-0ddc709115ed 2025-09-03 16:10:30,742 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6e83cf5f-0fdc-4496-bd68-629846ebf8be 2025-09-03 16:10:30,747 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6e83cf5f-0fdc-4496-bd68-629846ebf8be 2025-09-03 16:10:30,753 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/ae5b0892-1ce9-4f3a-9b14-45bf0da2bcf4 2025-09-03 16:10:30,763 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-37513016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08551115', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1905048245327775805', 'uuid-lslong': '10388693680869414381'}, 'enable': 'true', 'created': '2025-09-03T16:10:28', 'last-modified': '2025-09-03T16:10:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887407'} 2025-09-03 16:10:30,768 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-03 16:10:30,768 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37513016 passed 2025-09-03 16:10:30,768 - DEBUG - ====Verifying policy data for ctest-vn-37513016 in API_Server ====== 2025-09-03 16:10:30,768 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-03 16:10:30,773 - DEBUG - Requesting: http://10.0.0.130:8082/domain/380b2609-74ae-49b8-a437-9d24fa756255 2025-09-03 16:10:30,782 - DEBUG - Requesting: http://10.0.0.130:8082/project/17b845eb-6795-4612-8bea-b8837d850167 2025-09-03 16:10:30,846 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/1a701749-26be-483d-902c-0ddc709115ed 2025-09-03 16:10:30,854 - DEBUG - ==>Verifying data for policy with id: 45052202-d4b7-49a2-86a0-9984a89ea9cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-08551115', 'ctest-policy-allow-all-14184437'] 2025-09-03 16:10:30,854 - INFO - VN ctest-vn-37513016 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-03 16:10:30,854 - DEBUG - Verifying the vn in opserver 2025-09-03 16:10:30,854 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-37513016 virtual network link through opserver 10.0.0.130 2025-09-03 16:10:30,855 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-03 16:10:31,143 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-03 16:10:31,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-37513016', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-37513016?flat'} 2025-09-03 16:10:31,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-37513016 is found in opserver 2025-09-03 16:10:31,199 - DEBUG - Do not have enough data to verify VN in agent 2025-09-03 16:10:31,203 - DEBUG - VRF ids for VN ctest-vn-37513016: {} 2025-09-03 16:10:31,203 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-03 16:10:31,208 - DEBUG - Requesting: http://10.0.0.130:8082/domain/380b2609-74ae-49b8-a437-9d24fa756255 2025-09-03 16:10:31,216 - DEBUG - Requesting: http://10.0.0.130:8082/project/17b845eb-6795-4612-8bea-b8837d850167 2025-09-03 16:10:31,285 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/27a8827c-a8a6-44f1-81e5-0f439ff99b09 2025-09-03 16:10:31,295 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/27a8827c-a8a6-44f1-81e5-0f439ff99b09 2025-09-03 16:10:31,305 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27577228-9cf9-4223-b211-fa457d06a3c7 2025-09-03 16:10:31,310 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27577228-9cf9-4223-b211-fa457d06a3c7 2025-09-03 16:10:31,316 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9de69e71-bd7a-4626-9482-43c0efbf4407 2025-09-03 16:10:31,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-03 16:10:31,321 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/27a8827c-a8a6-44f1-81e5-0f439ff99b09 2025-09-03 16:10:31,328 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27577228-9cf9-4223-b211-fa457d06a3c7 2025-09-03 16:10:31,339 - INFO - Verified VN network id 13 for VN 27a8827c-a8a6-44f1-81e5-0f439ff99b09 2025-09-03 16:10:31,339 - INFO - Verifications in API Server for VN ctest-vn-83943362 passed 2025-09-03 16:10:31,340 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/27a8827c-a8a6-44f1-81e5-0f439ff99b09 2025-09-03 16:10:31,347 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27577228-9cf9-4223-b211-fa457d06a3c7 2025-09-03 16:10:31,353 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27577228-9cf9-4223-b211-fa457d06a3c7 2025-09-03 16:10:31,358 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9de69e71-bd7a-4626-9482-43c0efbf4407 2025-09-03 16:10:31,366 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-83943362', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08551115', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2857677435483604209', 'uuid-lslong': '9359904183680604937'}, 'enable': 'true', 'created': '2025-09-03T16:10:29', 'last-modified': '2025-09-03T16:10:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.273301'} 2025-09-03 16:10:31,371 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-03 16:10:31,371 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83943362 passed 2025-09-03 16:10:31,371 - DEBUG - ====Verifying policy data for ctest-vn-83943362 in API_Server ====== 2025-09-03 16:10:31,372 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-03 16:10:31,376 - DEBUG - Requesting: http://10.0.0.130:8082/domain/380b2609-74ae-49b8-a437-9d24fa756255 2025-09-03 16:10:31,387 - DEBUG - Requesting: http://10.0.0.130:8082/project/17b845eb-6795-4612-8bea-b8837d850167 2025-09-03 16:10:31,454 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/27a8827c-a8a6-44f1-81e5-0f439ff99b09 2025-09-03 16:10:31,462 - DEBUG - ==>Verifying data for policy with id: 45052202-d4b7-49a2-86a0-9984a89ea9cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-08551115', 'ctest-policy-allow-all-14184437'] 2025-09-03 16:10:31,462 - INFO - VN ctest-vn-83943362 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-03 16:10:31,462 - DEBUG - Verifying the vn in opserver 2025-09-03 16:10:31,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-83943362 virtual network link through opserver 10.0.0.130 2025-09-03 16:10:31,462 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-03 16:10:31,470 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-83943362', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-83943362?flat'} 2025-09-03 16:10:31,470 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-83943362 is found in opserver 2025-09-03 16:10:31,478 - DEBUG - Do not have enough data to verify VN in agent 2025-09-03 16:10:31,481 - DEBUG - VRF ids for VN ctest-vn-83943362: {} 2025-09-03 16:10:31,528 - DEBUG - Services list from nova: [, , ] 2025-09-03 16:10:32,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4006-1) 2025-09-03 16:10:33,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4006-1) 2025-09-03 16:10:33,683 - INFO - Waiting for VM ctest-TestBasicPolicy-08551115-63049872 to be up.. 2025-09-03 16:10:33,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-03 16:10:38,819 - DEBUG - VM is in ACTIVE state now 2025-09-03 16:10:38,819 - INFO - VM name : ctest-TestBasicPolicy-08551115-63049872 2025-09-03 16:10:38,884 - DEBUG - VM ctest-TestBasicPolicy-08551115-63049872 ID is a68806b4-2db5-4d74-8d6a-5a32d124ec6e 2025-09-03 16:10:38,901 - DEBUG - VM ctest-TestBasicPolicy-08551115-63049872 launched on Node cn-jenkins-deploy-platform-ansible-os-4006-1 2025-09-03 16:10:38,963 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a68806b4-2db5-4d74-8d6a-5a32d124ec6e 2025-09-03 16:10:38,970 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/55950ebe-efe3-4b9f-a43b-be3d404dfc4c 2025-09-03 16:10:42,227 - 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 1022ms') 2025-09-03 16:10:42,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08551115-63049872 failed! 2025-09-03 16:10:42,280 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08551115:ctest-vn-37513016 is 49.47.48.1 and allocation pool is NOT set 2025-09-03 16:10:44,341 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/1.590/2.771/1.181 ms') 2025-09-03 16:10:44,341 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08551115-63049872 passed 2025-09-03 16:10:44,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:10:44,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08551115-63049872, IP 49.47.48.3, Port 22 2025-09-03 16:10:44,639 - DEBUG - VM ctest-TestBasicPolicy-08551115-63049872 is ready for SSH connections 2025-09-03 16:10:44,639 - INFO - Waiting for VM ctest-TestBasicPolicy-08551115-51158153 to be up.. 2025-09-03 16:10:44,701 - DEBUG - VM is in ACTIVE state now 2025-09-03 16:10:44,702 - INFO - VM name : ctest-TestBasicPolicy-08551115-51158153 2025-09-03 16:10:44,763 - DEBUG - VM ctest-TestBasicPolicy-08551115-51158153 ID is 624e5ef7-e5ac-4869-a9c6-e52f0f39f4e0 2025-09-03 16:10:44,764 - DEBUG - VM ctest-TestBasicPolicy-08551115-51158153 launched on Node cn-jenkins-deploy-platform-ansible-os-4006-1 2025-09-03 16:10:44,830 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/624e5ef7-e5ac-4869-a9c6-e52f0f39f4e0 2025-09-03 16:10:44,841 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/62d22713-1fae-44a5-bb5b-60d304bd422f 2025-09-03 16:10:46,066 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.606/2.839/1.232 ms') 2025-09-03 16:10:46,066 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08551115-51158153 passed 2025-09-03 16:10:46,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:10:46,212 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08551115-51158153, IP 24.251.54.3, Port 22 2025-09-03 16:10:46,363 - DEBUG - VM ctest-TestBasicPolicy-08551115-51158153 is ready for SSH connections 2025-09-03 16:10:46,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:10:46,363 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.251.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:10:46,363 - DEBUG - ping -s 56 -c 3 -W 1 24.251.54.3 2025-09-03 16:10:50,027 - DEBUG - PING 24.251.54.3 (24.251.54.3): 56 data bytes 64 bytes from 24.251.54.3: seq=0 ttl=63 time=3.411 ms 64 bytes from 24.251.54.3: seq=1 ttl=63 time=0.819 ms 64 bytes from 24.251.54.3: seq=2 ttl=63 time=0.832 ms --- 24.251.54.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.687/3.411 ms 2025-09-03 16:10:50,027 - INFO - Ping to IP 24.251.54.3 from VM ctest-TestBasicPolicy-08551115-63049872 passed 2025-09-03 16:10:50,199 - DEBUG - Policy Update Response {"network-policy": {"uuid": "45052202-d4b7-49a2-86a0-9984a89ea9cd", "href": "http://10.0.0.130:8082/network-policy/45052202-d4b7-49a2-86a0-9984a89ea9cd"}} 2025-09-03 16:10:50,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:10:50,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.251.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:10:50,200 - DEBUG - ping -s 56 -c 3 -W 1 24.251.54.3 2025-09-03 16:10:53,394 - DEBUG - PING 24.251.54.3 (24.251.54.3): 56 data bytes --- 24.251.54.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-03 16:10:53,394 - WARNING - Ping to IP 24.251.54.3 from VM ctest-TestBasicPolicy-08551115-63049872 failed 2025-09-03 16:10:53,394 - INFO - Deleting VM ctest-TestBasicPolicy-08551115-51158153 2025-09-03 16:10:53,455 - INFO - Deleting VM ctest-TestBasicPolicy-08551115-63049872 2025-09-03 16:10:53,792 - INFO - Deleted policy ctest-policy-allow-all-14184437 2025-09-03 16:10:53,792 - INFO - Deleting VN ctest-vn-83943362 2025-09-03 16:10:53,833 - DEBUG - VN 27a8827c-a8a6-44f1-81e5-0f439ff99b09 still in use: Unable to complete operation on network 27a8827c-a8a6-44f1-81e5-0f439ff99b09. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2dea8b3-7d8c-4be3-b3fd-d57bbb66962f'] 2025-09-03 16:10:53,833 - WARNING - Deleting VN ctest-vn-83943362 failed..Will retry 2025-09-03 16:10:55,930 - DEBUG - Response for deleting network () 2025-09-03 16:10:55,930 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27577228-9cf9-4223-b211-fa457d06a3c7 2025-09-03 16:10:55,937 - DEBUG - Response Code: 404 2025-09-03 16:10:55,938 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-03 16:10:55,944 - DEBUG - Requesting: http://10.0.0.130:8082/domain/380b2609-74ae-49b8-a437-9d24fa756255 2025-09-03 16:10:55,998 - DEBUG - Requesting: http://10.0.0.130:8082/project/17b845eb-6795-4612-8bea-b8837d850167 2025-09-03 16:10:56,065 - INFO - Validated that VN ctest-vn-83943362 is not found in API Server 2025-09-03 16:10:56,073 - DEBUG - VN ctest-vn-83943362 is not present in Agent 10.0.0.130 2025-09-03 16:10:56,073 - INFO - Validated that VN ctest-vn-83943362 is not in any agent 2025-09-03 16:10:56,085 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83943362 info 2025-09-03 16:10:56,085 - INFO - Deleting VN ctest-vn-37513016 2025-09-03 16:10:56,167 - DEBUG - Response for deleting network () 2025-09-03 16:10:56,167 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6e83cf5f-0fdc-4496-bd68-629846ebf8be 2025-09-03 16:10:56,170 - DEBUG - Response Code: 404 2025-09-03 16:10:56,171 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-03 16:10:56,179 - DEBUG - Requesting: http://10.0.0.130:8082/domain/380b2609-74ae-49b8-a437-9d24fa756255 2025-09-03 16:10:56,228 - DEBUG - Requesting: http://10.0.0.130:8082/project/17b845eb-6795-4612-8bea-b8837d850167 2025-09-03 16:10:56,299 - INFO - Validated that VN ctest-vn-37513016 is not found in API Server 2025-09-03 16:10:56,307 - DEBUG - VN ctest-vn-37513016 is not present in Agent 10.0.0.130 2025-09-03 16:10:56,307 - INFO - Validated that VN ctest-vn-37513016 is not in any agent 2025-09-03 16:10:56,318 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37513016 info 2025-09-03 16:10:56,572 - DEBUG - No XMPP flaps were noticed during the test
2025-09-03 16:10:56,572 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-03 16:10:56,572 - INFO - -------------------------------------------------------------------------------- 2025-09-03 16:10:57,228 - INFO - Deleted project: ctest-TestBasicPolicy-08551115, ID : 17b845eb-6795-4612-8bea-b8837d850167