2025-04-26 20:56:38,322 - INFO - Domain Default found not creating 2025-04-26 20:56:38,465 - INFO - Project ctest-TestBasicPolicy-66050776 not found, creating it 2025-04-26 20:56:38,926 - INFO - Created Project:ctest-TestBasicPolicy-66050776, ID : 215f59c4-5274-4e37-beef-1f3dc13906a2 2025-04-26 20:56:40,277 - INFO - ================================================================================ 2025-04-26 20:56:40,277 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-26 20:56:40,278 - 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-26 20:56:40,540 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-26 20:56:40,540 - INFO - Initial checks done. Running the testcase now 2025-04-26 20:56:40,541 - INFO - 2025-04-26 20:56:41,050 - DEBUG - Response for create_network : {'network': {'id': '026514d9-5cf1-4537-86ce-a0fd7114f120', 'name': 'ctest-vn-38366100', 'tenant_id': '215f59c452744e37beef1f3dc13906a2', 'project_id': '215f59c452744e37beef1f3dc13906a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66050776', 'ctest-vn-38366100'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 20:56:41,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '27e44dc6-8765-411e-befc-374f971c05dd', 'name': '', 'tenant_id': '215f59c452744e37beef1f3dc13906a2', 'network_id': '026514d9-5cf1-4537-86ce-a0fd7114f120', 'ip_version': 4, 'cidr': '208.97.156.64/26', 'allocation_pools': [{'start': '208.97.156.66', 'end': '208.97.156.126'}], 'gateway_ip': '208.97.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.97.156.66', 'tags': [], 'project_id': '215f59c452744e37beef1f3dc13906a2'}} 2025-04-26 20:56:41,238 - INFO - Created VN ctest-vn-38366100 2025-04-26 20:56:41,292 - DEBUG - VN ctest-vn-38366100 UUID is 026514d9-5cf1-4537-86ce-a0fd7114f120 2025-04-26 20:56:41,593 - DEBUG - Response for create_network : {'network': {'id': '4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad', 'name': 'ctest-vn-55311155', 'tenant_id': '215f59c452744e37beef1f3dc13906a2', 'project_id': '215f59c452744e37beef1f3dc13906a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66050776', 'ctest-vn-55311155'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 20:56:41,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e71352b-c13e-4d8f-9d5b-3b4eb78c6b71', 'name': '', 'tenant_id': '215f59c452744e37beef1f3dc13906a2', 'network_id': '4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad', 'ip_version': 4, 'cidr': '94.194.9.128/26', 'allocation_pools': [{'start': '94.194.9.130', 'end': '94.194.9.190'}], 'gateway_ip': '94.194.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.194.9.130', 'tags': [], 'project_id': '215f59c452744e37beef1f3dc13906a2'}} 2025-04-26 20:56:41,747 - INFO - Created VN ctest-vn-55311155 2025-04-26 20:56:41,800 - DEBUG - VN ctest-vn-55311155 UUID is 4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad 2025-04-26 20:56:41,947 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-38366100, 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-66050776:ctest-vn-55311155, 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-26 20:56:42,276 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '026514d9-5cf1-4537-86ce-a0fd7114f120', 'name': 'ctest-vn-38366100', 'tenant_id': '215f59c452744e37beef1f3dc13906a2', 'project_id': '215f59c452744e37beef1f3dc13906a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['27e44dc6-8765-411e-befc-374f971c05dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66050776', 'ctest-vn-38366100'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66050776', 'ctest-policy-allow-all-89919160']], 'subnet_ipam': [{'subnet_cidr': '208.97.156.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 20:56:42,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad', 'name': 'ctest-vn-55311155', 'tenant_id': '215f59c452744e37beef1f3dc13906a2', 'project_id': '215f59c452744e37beef1f3dc13906a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e71352b-c13e-4d8f-9d5b-3b4eb78c6b71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66050776', 'ctest-vn-55311155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66050776', 'ctest-policy-allow-all-89919160']], 'subnet_ipam': [{'subnet_cidr': '94.194.9.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 20:56:42,676 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-26 20:56:42,971 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-26 20:56:42,998 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a0239ee-bccd-4378-9611-2fd52baec723 2025-04-26 20:56:43,010 - DEBUG - Requesting: http://10.0.0.254:8082/project/215f59c4-5274-4e37-beef-1f3dc13906a2 2025-04-26 20:56:43,085 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/026514d9-5cf1-4537-86ce-a0fd7114f120 2025-04-26 20:56:43,095 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/026514d9-5cf1-4537-86ce-a0fd7114f120 2025-04-26 20:56:43,104 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/478ba937-fb88-4995-bacc-49d40255cba9 2025-04-26 20:56:43,110 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/478ba937-fb88-4995-bacc-49d40255cba9 2025-04-26 20:56:43,115 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ec766049-b8c1-478c-b50a-823d4b110cbe 2025-04-26 20:56:43,121 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 20:56:43,121 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/026514d9-5cf1-4537-86ce-a0fd7114f120 2025-04-26 20:56:43,129 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/478ba937-fb88-4995-bacc-49d40255cba9 2025-04-26 20:56:43,140 - INFO - Verified VN network id 9 for VN 026514d9-5cf1-4537-86ce-a0fd7114f120 2025-04-26 20:56:43,141 - INFO - Verifications in API Server for VN ctest-vn-38366100 passed 2025-04-26 20:56:43,141 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/026514d9-5cf1-4537-86ce-a0fd7114f120 2025-04-26 20:56:43,148 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/478ba937-fb88-4995-bacc-49d40255cba9 2025-04-26 20:56:43,154 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/478ba937-fb88-4995-bacc-49d40255cba9 2025-04-26 20:56:43,160 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ec766049-b8c1-478c-b50a-823d4b110cbe 2025-04-26 20:56:43,170 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-38366100', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66050776', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '172567084523406647', 'uuid-lslong': '9713878456669106464'}, 'enable': 'true', 'created': '2025-04-26T20:56:41', 'last-modified': '2025-04-26T20:56:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961645'} 2025-04-26 20:56:43,176 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 20:56:43,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38366100 passed 2025-04-26 20:56:43,177 - DEBUG - ====Verifying policy data for ctest-vn-38366100 in API_Server ====== 2025-04-26 20:56:43,177 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-26 20:56:43,182 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a0239ee-bccd-4378-9611-2fd52baec723 2025-04-26 20:56:43,191 - DEBUG - Requesting: http://10.0.0.254:8082/project/215f59c4-5274-4e37-beef-1f3dc13906a2 2025-04-26 20:56:43,266 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/026514d9-5cf1-4537-86ce-a0fd7114f120 2025-04-26 20:56:43,274 - DEBUG - ==>Verifying data for policy with id: ad814e65-09ee-40bc-9a8d-9555a96fa68f, fqn: ['default-domain', 'ctest-TestBasicPolicy-66050776', 'ctest-policy-allow-all-89919160'] 2025-04-26 20:56:43,274 - INFO - VN ctest-vn-38366100 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 20:56:43,274 - DEBUG - Verifying the vn in opserver 2025-04-26 20:56:43,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-38366100 virtual network link through opserver 10.0.0.254 2025-04-26 20:56:43,275 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-26 20:56:43,562 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-26 20:56:43,609 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-38366100', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-38366100?flat'} 2025-04-26 20:56:43,609 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-38366100 is found in opserver 2025-04-26 20:56:43,619 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 20:56:43,624 - DEBUG - VRF ids for VN ctest-vn-38366100: {} 2025-04-26 20:56:43,624 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-26 20:56:43,630 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a0239ee-bccd-4378-9611-2fd52baec723 2025-04-26 20:56:43,641 - DEBUG - Requesting: http://10.0.0.254:8082/project/215f59c4-5274-4e37-beef-1f3dc13906a2 2025-04-26 20:56:43,803 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad 2025-04-26 20:56:43,823 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad 2025-04-26 20:56:43,854 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c385260-4152-49e8-907c-93ff12aacfab 2025-04-26 20:56:43,870 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c385260-4152-49e8-907c-93ff12aacfab 2025-04-26 20:56:43,878 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e7438676-b2c4-4d5a-b3c7-dd04731a1d7d 2025-04-26 20:56:43,888 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 20:56:43,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad 2025-04-26 20:56:43,898 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c385260-4152-49e8-907c-93ff12aacfab 2025-04-26 20:56:43,915 - INFO - Verified VN network id 10 for VN 4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad 2025-04-26 20:56:43,915 - INFO - Verifications in API Server for VN ctest-vn-55311155 passed 2025-04-26 20:56:43,915 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad 2025-04-26 20:56:43,929 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c385260-4152-49e8-907c-93ff12aacfab 2025-04-26 20:56:43,939 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c385260-4152-49e8-907c-93ff12aacfab 2025-04-26 20:56:43,951 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e7438676-b2c4-4d5a-b3c7-dd04731a1d7d 2025-04-26 20:56:43,977 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-55311155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66050776', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5217979952020014281', 'uuid-lslong': '12303487192839872685'}, 'enable': 'true', 'created': '2025-04-26T20:56:41', 'last-modified': '2025-04-26T20:56:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.498974'} 2025-04-26 20:56:43,985 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 20:56:43,985 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55311155 passed 2025-04-26 20:56:43,985 - DEBUG - ====Verifying policy data for ctest-vn-55311155 in API_Server ====== 2025-04-26 20:56:43,985 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-26 20:56:43,993 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a0239ee-bccd-4378-9611-2fd52baec723 2025-04-26 20:56:44,014 - DEBUG - Requesting: http://10.0.0.254:8082/project/215f59c4-5274-4e37-beef-1f3dc13906a2 2025-04-26 20:56:44,121 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad 2025-04-26 20:56:44,144 - DEBUG - ==>Verifying data for policy with id: ad814e65-09ee-40bc-9a8d-9555a96fa68f, fqn: ['default-domain', 'ctest-TestBasicPolicy-66050776', 'ctest-policy-allow-all-89919160'] 2025-04-26 20:56:44,144 - INFO - VN ctest-vn-55311155 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 20:56:44,144 - DEBUG - Verifying the vn in opserver 2025-04-26 20:56:44,144 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-55311155 virtual network link through opserver 10.0.0.254 2025-04-26 20:56:44,144 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-26 20:56:44,164 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-55311155', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-55311155?flat'} 2025-04-26 20:56:44,164 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-55311155 is found in opserver 2025-04-26 20:56:44,175 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 20:56:44,179 - DEBUG - VRF ids for VN ctest-vn-55311155: {} 2025-04-26 20:56:44,255 - DEBUG - Services list from nova: [, , ] 2025-04-26 20:56:45,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3225-1) 2025-04-26 20:56:46,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3225-1) 2025-04-26 20:56:46,344 - INFO - Waiting for VM ctest-TestBasicPolicy-66050776-39172271 to be up.. 2025-04-26 20:56:46,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 20:56:51,483 - DEBUG - VM is in ACTIVE state now 2025-04-26 20:56:51,483 - INFO - VM name : ctest-TestBasicPolicy-66050776-39172271 2025-04-26 20:56:51,558 - DEBUG - VM ctest-TestBasicPolicy-66050776-39172271 ID is 46c5b8b3-29de-4c92-a62b-a471465b0f79 2025-04-26 20:56:51,575 - DEBUG - VM ctest-TestBasicPolicy-66050776-39172271 launched on Node cn-jenkins-deploy-platform-ansible-os-3225-1 2025-04-26 20:56:51,642 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/46c5b8b3-29de-4c92-a62b-a471465b0f79 2025-04-26 20:56:51,650 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e331dd8b-cef2-46c4-a970-b5e7e1dc2bf4 2025-04-26 20:56:54,916 - 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 1024ms') 2025-04-26 20:56:54,916 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66050776-39172271 failed! 2025-04-26 20:56:54,972 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66050776:ctest-vn-38366100 is 208.97.156.65 and allocation pool is NOT set 2025-04-26 20:56:57,039 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 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.370/1.573/2.777/1.203 ms') 2025-04-26 20:56:57,039 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66050776-39172271 passed 2025-04-26 20:56:57,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 20:56:57,188 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66050776-39172271, IP 208.97.156.67, Port 22 2025-04-26 20:56:57,343 - DEBUG - VM ctest-TestBasicPolicy-66050776-39172271 is ready for SSH connections 2025-04-26 20:56:57,343 - INFO - Waiting for VM ctest-TestBasicPolicy-66050776-75782597 to be up.. 2025-04-26 20:56:57,419 - DEBUG - VM is in ACTIVE state now 2025-04-26 20:56:57,420 - INFO - VM name : ctest-TestBasicPolicy-66050776-75782597 2025-04-26 20:56:57,483 - DEBUG - VM ctest-TestBasicPolicy-66050776-75782597 ID is de0bbcc6-5b16-487c-bf7e-e2d405ace315 2025-04-26 20:56:57,484 - DEBUG - VM ctest-TestBasicPolicy-66050776-75782597 launched on Node cn-jenkins-deploy-platform-ansible-os-3225-1 2025-04-26 20:56:57,547 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/de0bbcc6-5b16-487c-bf7e-e2d405ace315 2025-04-26 20:56:57,554 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/04d05d46-4306-4998-97ba-d5943b1eb510 2025-04-26 20:56:58,788 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.619/2.890/1.270 ms') 2025-04-26 20:56:58,788 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66050776-75782597 passed 2025-04-26 20:56:58,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 20:56:58,944 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66050776-75782597, IP 94.194.9.131, Port 22 2025-04-26 20:56:59,099 - DEBUG - VM ctest-TestBasicPolicy-66050776-75782597 is ready for SSH connections 2025-04-26 20:56:59,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 20:56:59,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.194.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-26 20:56:59,100 - DEBUG - ping -s 56 -c 3 -W 1 94.194.9.131 2025-04-26 20:57:03,074 - DEBUG - PING 94.194.9.131 (94.194.9.131): 56 data bytes 64 bytes from 94.194.9.131: seq=0 ttl=63 time=2.855 ms 64 bytes from 94.194.9.131: seq=1 ttl=63 time=0.797 ms 64 bytes from 94.194.9.131: seq=2 ttl=63 time=0.621 ms --- 94.194.9.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.621/1.424/2.855 ms 2025-04-26 20:57:03,074 - INFO - Ping to IP 94.194.9.131 from VM ctest-TestBasicPolicy-66050776-39172271 passed 2025-04-26 20:57:03,247 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ad814e65-09ee-40bc-9a8d-9555a96fa68f", "href": "http://10.0.0.254:8082/network-policy/ad814e65-09ee-40bc-9a8d-9555a96fa68f"}} 2025-04-26 20:57:03,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 20:57:03,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.194.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-26 20:57:03,248 - DEBUG - ping -s 56 -c 3 -W 1 94.194.9.131 2025-04-26 20:57:06,452 - DEBUG - PING 94.194.9.131 (94.194.9.131): 56 data bytes --- 94.194.9.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-26 20:57:06,452 - WARNING - Ping to IP 94.194.9.131 from VM ctest-TestBasicPolicy-66050776-39172271 failed 2025-04-26 20:57:06,452 - INFO - Deleting VM ctest-TestBasicPolicy-66050776-75782597 2025-04-26 20:57:06,514 - INFO - Deleting VM ctest-TestBasicPolicy-66050776-39172271 2025-04-26 20:57:06,848 - INFO - Deleted policy ctest-policy-allow-all-89919160 2025-04-26 20:57:06,849 - INFO - Deleting VN ctest-vn-55311155 2025-04-26 20:57:06,877 - DEBUG - VN 4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad still in use: Unable to complete operation on network 4869fd1e-cd43-44c9-aabe-c46a4bc9e0ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39c12d5d-c185-4139-ad34-642f6ba88a6e'] 2025-04-26 20:57:06,877 - WARNING - Deleting VN ctest-vn-55311155 failed..Will retry 2025-04-26 20:57:08,974 - DEBUG - Response for deleting network () 2025-04-26 20:57:08,974 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c385260-4152-49e8-907c-93ff12aacfab 2025-04-26 20:57:08,984 - DEBUG - Response Code: 404 2025-04-26 20:57:08,984 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-26 20:57:08,989 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a0239ee-bccd-4378-9611-2fd52baec723 2025-04-26 20:57:09,041 - DEBUG - Requesting: http://10.0.0.254:8082/project/215f59c4-5274-4e37-beef-1f3dc13906a2 2025-04-26 20:57:09,112 - INFO - Validated that VN ctest-vn-55311155 is not found in API Server 2025-04-26 20:57:09,125 - DEBUG - VN ctest-vn-55311155 is not present in Agent 10.0.0.254 2025-04-26 20:57:09,126 - INFO - Validated that VN ctest-vn-55311155 is not in any agent 2025-04-26 20:57:09,140 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55311155 info 2025-04-26 20:57:09,140 - INFO - Deleting VN ctest-vn-38366100 2025-04-26 20:57:09,227 - DEBUG - Response for deleting network () 2025-04-26 20:57:09,227 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/478ba937-fb88-4995-bacc-49d40255cba9 2025-04-26 20:57:09,237 - DEBUG - Response Code: 404 2025-04-26 20:57:09,237 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-26 20:57:09,241 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5a0239ee-bccd-4378-9611-2fd52baec723 2025-04-26 20:57:09,292 - DEBUG - Requesting: http://10.0.0.254:8082/project/215f59c4-5274-4e37-beef-1f3dc13906a2 2025-04-26 20:57:09,365 - INFO - Validated that VN ctest-vn-38366100 is not found in API Server 2025-04-26 20:57:09,375 - DEBUG - VN ctest-vn-38366100 is not present in Agent 10.0.0.254 2025-04-26 20:57:09,375 - INFO - Validated that VN ctest-vn-38366100 is not in any agent 2025-04-26 20:57:09,390 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38366100 info 2025-04-26 20:57:09,641 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 20:57:09,641 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-26 20:57:09,641 - INFO - -------------------------------------------------------------------------------- 2025-04-26 20:57:10,275 - INFO - Deleted project: ctest-TestBasicPolicy-66050776, ID : 215f59c4-5274-4e37-beef-1f3dc13906a2