2024-08-29 15:19:28,158 - INFO - Domain Default found not creating 2024-08-29 15:19:28,333 - INFO - Project ctest-TestBasicPolicy-68473838 not found, creating it 2024-08-29 15:19:28,813 - INFO - Created Project:ctest-TestBasicPolicy-68473838, ID : ec9b7fb1-ebed-478f-9896-29445c269b33 2024-08-29 15:19:30,356 - INFO - ================================================================================ 2024-08-29 15:19:30,356 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-29 15:19:30,356 - 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 2024-08-29 15:19:30,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2024-08-29 15:19:30,617 - INFO - Initial checks done. Running the testcase now 2024-08-29 15:19:30,617 - INFO - 2024-08-29 15:19:31,223 - DEBUG - Response for create_network : {'network': {'id': 'ffebe818-9477-4e19-889c-88193c63455b', 'name': 'ctest-vn-04615433', 'tenant_id': 'ec9b7fb1ebed478f989629445c269b33', 'project_id': 'ec9b7fb1ebed478f989629445c269b33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68473838', 'ctest-vn-04615433'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 15:19:31,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '377fb51a-892f-4fc9-8be1-bb625730e435', 'name': '', 'tenant_id': 'ec9b7fb1ebed478f989629445c269b33', 'network_id': 'ffebe818-9477-4e19-889c-88193c63455b', 'ip_version': 4, 'cidr': '170.204.246.192/26', 'allocation_pools': [{'start': '170.204.246.194', 'end': '170.204.246.254'}], 'gateway_ip': '170.204.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.204.246.194', 'tags': [], 'project_id': 'ec9b7fb1ebed478f989629445c269b33'}} 2024-08-29 15:19:31,444 - INFO - Created VN ctest-vn-04615433 2024-08-29 15:19:31,498 - DEBUG - VN ctest-vn-04615433 UUID is ffebe818-9477-4e19-889c-88193c63455b 2024-08-29 15:19:32,100 - DEBUG - Response for create_network : {'network': {'id': 'b25ad180-4b83-43c5-9339-15ff804c32a0', 'name': 'ctest-vn-63213250', 'tenant_id': 'ec9b7fb1ebed478f989629445c269b33', 'project_id': 'ec9b7fb1ebed478f989629445c269b33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68473838', 'ctest-vn-63213250'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 15:19:32,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a53af73-349a-447e-ab68-5379cc22f589', 'name': '', 'tenant_id': 'ec9b7fb1ebed478f989629445c269b33', 'network_id': 'b25ad180-4b83-43c5-9339-15ff804c32a0', 'ip_version': 4, 'cidr': '35.229.247.0/26', 'allocation_pools': [{'start': '35.229.247.2', 'end': '35.229.247.62'}], 'gateway_ip': '35.229.247.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.229.247.2', 'tags': [], 'project_id': 'ec9b7fb1ebed478f989629445c269b33'}} 2024-08-29 15:19:32,386 - INFO - Created VN ctest-vn-63213250 2024-08-29 15:19:32,442 - DEBUG - VN ctest-vn-63213250 UUID is b25ad180-4b83-43c5-9339-15ff804c32a0 2024-08-29 15:19:32,576 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-04615433, 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-68473838:ctest-vn-63213250, 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] 2024-08-29 15:19:32,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ffebe818-9477-4e19-889c-88193c63455b', 'name': 'ctest-vn-04615433', 'tenant_id': 'ec9b7fb1ebed478f989629445c269b33', 'project_id': 'ec9b7fb1ebed478f989629445c269b33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['377fb51a-892f-4fc9-8be1-bb625730e435'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68473838', 'ctest-vn-04615433'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68473838', 'ctest-policy-allow-all-82549142']], 'subnet_ipam': [{'subnet_cidr': '170.204.246.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-29 15:19:33,149 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b25ad180-4b83-43c5-9339-15ff804c32a0', 'name': 'ctest-vn-63213250', 'tenant_id': 'ec9b7fb1ebed478f989629445c269b33', 'project_id': 'ec9b7fb1ebed478f989629445c269b33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a53af73-349a-447e-ab68-5379cc22f589'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68473838', 'ctest-vn-63213250'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68473838', 'ctest-policy-allow-all-82549142']], 'subnet_ipam': [{'subnet_cidr': '35.229.247.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-29 15:19:33,303 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-08-29 15:19:33,602 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-08-29 15:19:33,637 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e076116d-b17e-439d-be41-49a52c501735 2024-08-29 15:19:33,654 - DEBUG - Requesting: http://10.0.0.33:8082/project/ec9b7fb1-ebed-478f-9896-29445c269b33 2024-08-29 15:19:33,737 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ffebe818-9477-4e19-889c-88193c63455b 2024-08-29 15:19:33,750 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ffebe818-9477-4e19-889c-88193c63455b 2024-08-29 15:19:33,759 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/584f00ec-0525-4057-b062-3dfedd8e6bfe 2024-08-29 15:19:33,768 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/584f00ec-0525-4057-b062-3dfedd8e6bfe 2024-08-29 15:19:33,776 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/baa3c31a-5220-47be-8876-8f9acbb3451a 2024-08-29 15:19:33,782 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-29 15:19:33,783 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ffebe818-9477-4e19-889c-88193c63455b 2024-08-29 15:19:33,791 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/584f00ec-0525-4057-b062-3dfedd8e6bfe 2024-08-29 15:19:33,804 - INFO - Verified VN network id 9 for VN ffebe818-9477-4e19-889c-88193c63455b 2024-08-29 15:19:33,804 - INFO - Verifications in API Server for VN ctest-vn-04615433 passed 2024-08-29 15:19:33,805 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ffebe818-9477-4e19-889c-88193c63455b 2024-08-29 15:19:33,813 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/584f00ec-0525-4057-b062-3dfedd8e6bfe 2024-08-29 15:19:33,821 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/584f00ec-0525-4057-b062-3dfedd8e6bfe 2024-08-29 15:19:33,828 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/baa3c31a-5220-47be-8876-8f9acbb3451a 2024-08-29 15:19:33,842 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-04615433', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68473838', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18441088291466333721', 'uuid-lslong': '9843892527493760347'}, 'enable': 'true', 'created': '2024-08-29T15:19:31', 'last-modified': '2024-08-29T15:19:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962177'} 2024-08-29 15:19:33,850 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-29 15:19:33,850 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04615433 passed 2024-08-29 15:19:33,850 - DEBUG - ====Verifying policy data for ctest-vn-04615433 in API_Server ====== 2024-08-29 15:19:33,850 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-08-29 15:19:33,857 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e076116d-b17e-439d-be41-49a52c501735 2024-08-29 15:19:33,870 - DEBUG - Requesting: http://10.0.0.33:8082/project/ec9b7fb1-ebed-478f-9896-29445c269b33 2024-08-29 15:19:33,943 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ffebe818-9477-4e19-889c-88193c63455b 2024-08-29 15:19:33,953 - DEBUG - ==>Verifying data for policy with id: 2d2aba3a-edc1-4f02-9eac-6ced2fb8e892, fqn: ['default-domain', 'ctest-TestBasicPolicy-68473838', 'ctest-policy-allow-all-82549142'] 2024-08-29 15:19:33,953 - INFO - VN ctest-vn-04615433 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-29 15:19:33,953 - DEBUG - Verifying the vn in opserver 2024-08-29 15:19:33,953 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-04615433 virtual network link through opserver 10.0.0.33 2024-08-29 15:19:33,953 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-08-29 15:19:34,253 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-08-29 15:19:34,316 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-04615433', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-04615433?flat'} 2024-08-29 15:19:34,316 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-04615433 is found in opserver 2024-08-29 15:19:34,328 - DEBUG - Do not have enough data to verify VN in agent 2024-08-29 15:19:34,334 - DEBUG - VRF ids for VN ctest-vn-04615433: {} 2024-08-29 15:19:34,334 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-08-29 15:19:34,341 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e076116d-b17e-439d-be41-49a52c501735 2024-08-29 15:19:34,354 - DEBUG - Requesting: http://10.0.0.33:8082/project/ec9b7fb1-ebed-478f-9896-29445c269b33 2024-08-29 15:19:34,435 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b25ad180-4b83-43c5-9339-15ff804c32a0 2024-08-29 15:19:34,449 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b25ad180-4b83-43c5-9339-15ff804c32a0 2024-08-29 15:19:34,463 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e5940bc-e6c3-4436-92cc-c7d35c6594af 2024-08-29 15:19:34,473 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e5940bc-e6c3-4436-92cc-c7d35c6594af 2024-08-29 15:19:34,482 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b2679c23-b68c-4c2f-8fe5-f72c029d788f 2024-08-29 15:19:34,490 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-29 15:19:34,490 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b25ad180-4b83-43c5-9339-15ff804c32a0 2024-08-29 15:19:34,499 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e5940bc-e6c3-4436-92cc-c7d35c6594af 2024-08-29 15:19:34,515 - INFO - Verified VN network id 10 for VN b25ad180-4b83-43c5-9339-15ff804c32a0 2024-08-29 15:19:34,515 - INFO - Verifications in API Server for VN ctest-vn-63213250 passed 2024-08-29 15:19:34,515 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b25ad180-4b83-43c5-9339-15ff804c32a0 2024-08-29 15:19:34,528 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e5940bc-e6c3-4436-92cc-c7d35c6594af 2024-08-29 15:19:34,537 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e5940bc-e6c3-4436-92cc-c7d35c6594af 2024-08-29 15:19:34,547 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b2679c23-b68c-4c2f-8fe5-f72c029d788f 2024-08-29 15:19:34,566 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-63213250', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68473838', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12851814835608044485', 'uuid-lslong': '10608534584361235104'}, 'enable': 'true', 'created': '2024-08-29T15:19:32', 'last-modified': '2024-08-29T15:19:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438687'} 2024-08-29 15:19:34,575 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-29 15:19:34,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63213250 passed 2024-08-29 15:19:34,575 - DEBUG - ====Verifying policy data for ctest-vn-63213250 in API_Server ====== 2024-08-29 15:19:34,576 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-08-29 15:19:34,582 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e076116d-b17e-439d-be41-49a52c501735 2024-08-29 15:19:34,600 - DEBUG - Requesting: http://10.0.0.33:8082/project/ec9b7fb1-ebed-478f-9896-29445c269b33 2024-08-29 15:19:34,676 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b25ad180-4b83-43c5-9339-15ff804c32a0 2024-08-29 15:19:34,686 - DEBUG - ==>Verifying data for policy with id: 2d2aba3a-edc1-4f02-9eac-6ced2fb8e892, fqn: ['default-domain', 'ctest-TestBasicPolicy-68473838', 'ctest-policy-allow-all-82549142'] 2024-08-29 15:19:34,686 - INFO - VN ctest-vn-63213250 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-29 15:19:34,687 - DEBUG - Verifying the vn in opserver 2024-08-29 15:19:34,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-63213250 virtual network link through opserver 10.0.0.33 2024-08-29 15:19:34,687 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-08-29 15:19:34,698 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-63213250', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-63213250?flat'} 2024-08-29 15:19:34,698 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-63213250 is found in opserver 2024-08-29 15:19:34,711 - DEBUG - Do not have enough data to verify VN in agent 2024-08-29 15:19:34,716 - DEBUG - VRF ids for VN ctest-vn-63213250: {} 2024-08-29 15:19:34,778 - DEBUG - Services list from nova: [, , ] 2024-08-29 15:19:35,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1810-1) 2024-08-29 15:19:37,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1810-1) 2024-08-29 15:19:37,124 - INFO - Waiting for VM ctest-TestBasicPolicy-68473838-11209444 to be up.. 2024-08-29 15:19:37,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 15:19:42,317 - DEBUG - VM is in ACTIVE state now 2024-08-29 15:19:42,317 - INFO - VM name : ctest-TestBasicPolicy-68473838-11209444 2024-08-29 15:19:42,426 - DEBUG - VM ctest-TestBasicPolicy-68473838-11209444 ID is b31d1c53-b20f-41aa-b6b1-19fe2fb18797 2024-08-29 15:19:42,455 - DEBUG - VM ctest-TestBasicPolicy-68473838-11209444 launched on Node cn-jenkins-deploy-platform-ansible-os-1810-1 2024-08-29 15:19:42,546 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b31d1c53-b20f-41aa-b6b1-19fe2fb18797 2024-08-29 15:19:42,555 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/04d4c9fc-34e5-478a-8ed1-3161473e2914 2024-08-29 15:19:45,793 - 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 1003ms') 2024-08-29 15:19:45,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68473838-11209444 failed! 2024-08-29 15:19:45,846 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68473838:ctest-vn-04615433 is 170.204.246.193 and allocation pool is NOT set 2024-08-29 15:19:47,905 - 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=8.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.886 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.886/4.590/8.295/3.704 ms') 2024-08-29 15:19:47,905 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68473838-11209444 passed 2024-08-29 15:19:48,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:19:48,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68473838-11209444, IP 170.204.246.195, Port 22 2024-08-29 15:19:48,236 - DEBUG - VM ctest-TestBasicPolicy-68473838-11209444 is ready for SSH connections 2024-08-29 15:19:48,236 - INFO - Waiting for VM ctest-TestBasicPolicy-68473838-98834423 to be up.. 2024-08-29 15:19:48,320 - DEBUG - VM is in ACTIVE state now 2024-08-29 15:19:48,320 - INFO - VM name : ctest-TestBasicPolicy-68473838-98834423 2024-08-29 15:19:48,399 - DEBUG - VM ctest-TestBasicPolicy-68473838-98834423 ID is cd6f7316-8c03-4aab-b2f5-9df3aa899ae6 2024-08-29 15:19:48,399 - DEBUG - VM ctest-TestBasicPolicy-68473838-98834423 launched on Node cn-jenkins-deploy-platform-ansible-os-1810-1 2024-08-29 15:19:48,495 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cd6f7316-8c03-4aab-b2f5-9df3aa899ae6 2024-08-29 15:19:48,504 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dac1e019-faf2-4a9a-b96c-23d4abc90eec 2024-08-29 15:19:49,751 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/1.699/2.928/1.228 ms') 2024-08-29 15:19:49,751 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68473838-98834423 passed 2024-08-29 15:19:49,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:19:49,902 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68473838-98834423, IP 35.229.247.3, Port 22 2024-08-29 15:19:50,068 - DEBUG - VM ctest-TestBasicPolicy-68473838-98834423 is ready for SSH connections 2024-08-29 15:19:50,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:19:50,068 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.229.247.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-08-29 15:19:50,068 - DEBUG - ping -s 56 -c 3 -W 1 35.229.247.3 2024-08-29 15:19:54,090 - DEBUG - PING 35.229.247.3 (35.229.247.3): 56 data bytes 64 bytes from 35.229.247.3: seq=0 ttl=63 time=3.184 ms 64 bytes from 35.229.247.3: seq=1 ttl=63 time=1.239 ms 64 bytes from 35.229.247.3: seq=2 ttl=63 time=1.296 ms --- 35.229.247.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.239/1.906/3.184 ms 2024-08-29 15:19:54,090 - INFO - Ping to IP 35.229.247.3 from VM ctest-TestBasicPolicy-68473838-11209444 passed 2024-08-29 15:19:54,274 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2d2aba3a-edc1-4f02-9eac-6ced2fb8e892", "href": "http://10.0.0.33:8082/network-policy/2d2aba3a-edc1-4f02-9eac-6ced2fb8e892"}} 2024-08-29 15:19:54,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:19:54,274 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.229.247.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-08-29 15:19:54,274 - DEBUG - ping -s 56 -c 3 -W 1 35.229.247.3 2024-08-29 15:19:57,472 - DEBUG - PING 35.229.247.3 (35.229.247.3): 56 data bytes 64 bytes from 35.229.247.3: seq=0 ttl=63 time=2.540 ms --- 35.229.247.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.540/2.540/2.540 ms 2024-08-29 15:19:57,472 - WARNING - Ping to IP 35.229.247.3 from VM ctest-TestBasicPolicy-68473838-11209444 failed 2024-08-29 15:19:57,472 - INFO - Deleting VM ctest-TestBasicPolicy-68473838-98834423 2024-08-29 15:19:57,544 - INFO - Deleting VM ctest-TestBasicPolicy-68473838-11209444 2024-08-29 15:19:57,931 - INFO - Deleted policy ctest-policy-allow-all-82549142 2024-08-29 15:19:57,932 - INFO - Deleting VN ctest-vn-63213250 2024-08-29 15:19:57,981 - DEBUG - VN b25ad180-4b83-43c5-9339-15ff804c32a0 still in use: Unable to complete operation on network b25ad180-4b83-43c5-9339-15ff804c32a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0696d058-983b-4057-87b1-60553ac71bdb'] 2024-08-29 15:19:57,981 - WARNING - Deleting VN ctest-vn-63213250 failed..Will retry 2024-08-29 15:20:00,101 - DEBUG - Response for deleting network () 2024-08-29 15:20:00,101 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e5940bc-e6c3-4436-92cc-c7d35c6594af 2024-08-29 15:20:00,108 - DEBUG - Response Code: 404 2024-08-29 15:20:00,108 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-08-29 15:20:00,114 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e076116d-b17e-439d-be41-49a52c501735 2024-08-29 15:20:00,172 - DEBUG - Requesting: http://10.0.0.33:8082/project/ec9b7fb1-ebed-478f-9896-29445c269b33 2024-08-29 15:20:00,240 - INFO - Validated that VN ctest-vn-63213250 is not found in API Server 2024-08-29 15:20:00,251 - DEBUG - VN ctest-vn-63213250 is not present in Agent 10.0.0.33 2024-08-29 15:20:00,251 - INFO - Validated that VN ctest-vn-63213250 is not in any agent 2024-08-29 15:20:00,266 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63213250 info 2024-08-29 15:20:00,267 - INFO - Deleting VN ctest-vn-04615433 2024-08-29 15:20:00,373 - DEBUG - Response for deleting network () 2024-08-29 15:20:00,373 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/584f00ec-0525-4057-b062-3dfedd8e6bfe 2024-08-29 15:20:00,381 - DEBUG - Response Code: 404 2024-08-29 15:20:00,382 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-08-29 15:20:00,387 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e076116d-b17e-439d-be41-49a52c501735 2024-08-29 15:20:00,439 - DEBUG - Requesting: http://10.0.0.33:8082/project/ec9b7fb1-ebed-478f-9896-29445c269b33 2024-08-29 15:20:00,511 - INFO - Validated that VN ctest-vn-04615433 is not found in API Server 2024-08-29 15:20:00,522 - DEBUG - VN ctest-vn-04615433 is not present in Agent 10.0.0.33 2024-08-29 15:20:00,522 - INFO - Validated that VN ctest-vn-04615433 is not in any agent 2024-08-29 15:20:00,537 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04615433 info 2024-08-29 15:20:00,792 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 15:20:00,792 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-08-29 15:20:00,792 - INFO - -------------------------------------------------------------------------------- 2024-08-29 15:20:01,480 - INFO - Deleted project: ctest-TestBasicPolicy-68473838, ID : ec9b7fb1-ebed-478f-9896-29445c269b33