2024-08-21 18:29:57,558 - INFO - Domain Default found not creating 2024-08-21 18:29:57,734 - INFO - Project ctest-TestBasicPolicy-48433718 not found, creating it 2024-08-21 18:29:58,215 - INFO - Created Project:ctest-TestBasicPolicy-48433718, ID : 17a0a38d-a08d-419b-8875-0da0a30be63c 2024-08-21 18:29:59,737 - INFO - ================================================================================ 2024-08-21 18:29:59,737 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-21 18:29:59,737 - 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-21 18:29:59,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.12': '0'}} with 2024-08-21 18:29:59,998 - INFO - Initial checks done. Running the testcase now 2024-08-21 18:29:59,998 - INFO - 2024-08-21 18:30:00,599 - DEBUG - Response for create_network : {'network': {'id': '561e9f28-b52e-461f-9be0-5813886bdba9', 'name': 'ctest-vn-33188693', 'tenant_id': '17a0a38da08d419b88750da0a30be63c', 'project_id': '17a0a38da08d419b88750da0a30be63c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48433718', 'ctest-vn-33188693'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 18:30:00,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '94029a25-d7a2-4e16-98b4-c4466faef51b', 'name': '', 'tenant_id': '17a0a38da08d419b88750da0a30be63c', 'network_id': '561e9f28-b52e-461f-9be0-5813886bdba9', 'ip_version': 4, 'cidr': '131.254.56.192/26', 'allocation_pools': [{'start': '131.254.56.194', 'end': '131.254.56.254'}], 'gateway_ip': '131.254.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.254.56.194', 'tags': [], 'project_id': '17a0a38da08d419b88750da0a30be63c'}} 2024-08-21 18:30:00,822 - INFO - Created VN ctest-vn-33188693 2024-08-21 18:30:00,872 - DEBUG - VN ctest-vn-33188693 UUID is 561e9f28-b52e-461f-9be0-5813886bdba9 2024-08-21 18:30:01,165 - DEBUG - Response for create_network : {'network': {'id': 'fe3e0250-2026-4138-8000-05b380180b38', 'name': 'ctest-vn-98387163', 'tenant_id': '17a0a38da08d419b88750da0a30be63c', 'project_id': '17a0a38da08d419b88750da0a30be63c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48433718', 'ctest-vn-98387163'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 18:30:01,388 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a69271a0-bcfa-4b3d-88db-eaceebb7f14f', 'name': '', 'tenant_id': '17a0a38da08d419b88750da0a30be63c', 'network_id': 'fe3e0250-2026-4138-8000-05b380180b38', 'ip_version': 4, 'cidr': '200.189.206.0/26', 'allocation_pools': [{'start': '200.189.206.2', 'end': '200.189.206.62'}], 'gateway_ip': '200.189.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.189.206.2', 'tags': [], 'project_id': '17a0a38da08d419b88750da0a30be63c'}} 2024-08-21 18:30:01,407 - INFO - Created VN ctest-vn-98387163 2024-08-21 18:30:01,460 - DEBUG - VN ctest-vn-98387163 UUID is fe3e0250-2026-4138-8000-05b380180b38 2024-08-21 18:30:01,579 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-33188693, 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-48433718:ctest-vn-98387163, 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-21 18:30:01,884 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '561e9f28-b52e-461f-9be0-5813886bdba9', 'name': 'ctest-vn-33188693', 'tenant_id': '17a0a38da08d419b88750da0a30be63c', 'project_id': '17a0a38da08d419b88750da0a30be63c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94029a25-d7a2-4e16-98b4-c4466faef51b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48433718', 'ctest-vn-33188693'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48433718', 'ctest-policy-allow-all-68473901']], 'subnet_ipam': [{'subnet_cidr': '131.254.56.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-21 18:30:02,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe3e0250-2026-4138-8000-05b380180b38', 'name': 'ctest-vn-98387163', 'tenant_id': '17a0a38da08d419b88750da0a30be63c', 'project_id': '17a0a38da08d419b88750da0a30be63c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a69271a0-bcfa-4b3d-88db-eaceebb7f14f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48433718', 'ctest-vn-98387163'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48433718', 'ctest-policy-allow-all-68473901']], 'subnet_ipam': [{'subnet_cidr': '200.189.206.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-21 18:30:02,272 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-21 18:30:02,574 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-21 18:30:02,615 - DEBUG - Requesting: http://10.0.0.56:8082/domain/75116ba4-f521-4ac2-a835-573fa264b764 2024-08-21 18:30:02,630 - DEBUG - Requesting: http://10.0.0.56:8082/project/17a0a38d-a08d-419b-8875-0da0a30be63c 2024-08-21 18:30:02,701 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/561e9f28-b52e-461f-9be0-5813886bdba9 2024-08-21 18:30:02,711 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/561e9f28-b52e-461f-9be0-5813886bdba9 2024-08-21 18:30:02,718 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/02e3944d-10be-4a7b-aa5f-4899faa0bfbc 2024-08-21 18:30:02,726 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/02e3944d-10be-4a7b-aa5f-4899faa0bfbc 2024-08-21 18:30:02,732 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/433407eb-d8d2-4d82-9d33-9db00935ca0a 2024-08-21 18:30:02,739 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-21 18:30:02,739 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/561e9f28-b52e-461f-9be0-5813886bdba9 2024-08-21 18:30:02,748 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/02e3944d-10be-4a7b-aa5f-4899faa0bfbc 2024-08-21 18:30:02,763 - INFO - Verified VN network id 8 for VN 561e9f28-b52e-461f-9be0-5813886bdba9 2024-08-21 18:30:02,763 - INFO - Verifications in API Server for VN ctest-vn-33188693 passed 2024-08-21 18:30:02,763 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/561e9f28-b52e-461f-9be0-5813886bdba9 2024-08-21 18:30:02,772 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/02e3944d-10be-4a7b-aa5f-4899faa0bfbc 2024-08-21 18:30:02,779 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/02e3944d-10be-4a7b-aa5f-4899faa0bfbc 2024-08-21 18:30:02,786 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/433407eb-d8d2-4d82-9d33-9db00935ca0a 2024-08-21 18:30:02,800 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-33188693', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48433718', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6205572333750339103', 'uuid-lslong': '11232074311578409897'}, 'enable': 'true', 'created': '2024-08-21T18:30:00', 'last-modified': '2024-08-21T18:30:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948032'} 2024-08-21 18:30:02,807 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-21 18:30:02,807 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33188693 passed 2024-08-21 18:30:02,808 - DEBUG - ====Verifying policy data for ctest-vn-33188693 in API_Server ====== 2024-08-21 18:30:02,808 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-21 18:30:02,815 - DEBUG - Requesting: http://10.0.0.56:8082/domain/75116ba4-f521-4ac2-a835-573fa264b764 2024-08-21 18:30:02,830 - DEBUG - Requesting: http://10.0.0.56:8082/project/17a0a38d-a08d-419b-8875-0da0a30be63c 2024-08-21 18:30:02,902 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/561e9f28-b52e-461f-9be0-5813886bdba9 2024-08-21 18:30:02,910 - DEBUG - ==>Verifying data for policy with id: 6e7b189f-5fb7-46ff-a1b1-d7a95d8c0458, fqn: ['default-domain', 'ctest-TestBasicPolicy-48433718', 'ctest-policy-allow-all-68473901'] 2024-08-21 18:30:02,910 - INFO - VN ctest-vn-33188693 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-21 18:30:02,910 - DEBUG - Verifying the vn in opserver 2024-08-21 18:30:02,910 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-33188693 virtual network link through opserver 10.0.0.56 2024-08-21 18:30:02,910 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2024-08-21 18:30:03,208 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2024-08-21 18:30:03,278 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-33188693', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-33188693?flat'} 2024-08-21 18:30:03,278 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-33188693 is found in opserver 2024-08-21 18:30:03,289 - DEBUG - Do not have enough data to verify VN in agent 2024-08-21 18:30:03,294 - DEBUG - VRF ids for VN ctest-vn-33188693: {} 2024-08-21 18:30:03,294 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-21 18:30:03,300 - DEBUG - Requesting: http://10.0.0.56:8082/domain/75116ba4-f521-4ac2-a835-573fa264b764 2024-08-21 18:30:03,313 - DEBUG - Requesting: http://10.0.0.56:8082/project/17a0a38d-a08d-419b-8875-0da0a30be63c 2024-08-21 18:30:03,385 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fe3e0250-2026-4138-8000-05b380180b38 2024-08-21 18:30:03,397 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fe3e0250-2026-4138-8000-05b380180b38 2024-08-21 18:30:03,405 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d91f29ff-a62c-453d-9b28-2ed1a392bb8e 2024-08-21 18:30:03,412 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d91f29ff-a62c-453d-9b28-2ed1a392bb8e 2024-08-21 18:30:03,419 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/d2420b53-962a-4b25-baf8-aacf1a578bd9 2024-08-21 18:30:03,426 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-21 18:30:03,427 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fe3e0250-2026-4138-8000-05b380180b38 2024-08-21 18:30:03,435 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d91f29ff-a62c-453d-9b28-2ed1a392bb8e 2024-08-21 18:30:03,447 - INFO - Verified VN network id 9 for VN fe3e0250-2026-4138-8000-05b380180b38 2024-08-21 18:30:03,448 - INFO - Verifications in API Server for VN ctest-vn-98387163 passed 2024-08-21 18:30:03,448 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fe3e0250-2026-4138-8000-05b380180b38 2024-08-21 18:30:03,456 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d91f29ff-a62c-453d-9b28-2ed1a392bb8e 2024-08-21 18:30:03,463 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d91f29ff-a62c-453d-9b28-2ed1a392bb8e 2024-08-21 18:30:03,472 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/d2420b53-962a-4b25-baf8-aacf1a578bd9 2024-08-21 18:30:03,486 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-98387163', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48433718', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18320082877349773624', 'uuid-lslong': '9223378305361120056'}, 'enable': 'true', 'created': '2024-08-21T18:30:01', 'last-modified': '2024-08-21T18:30:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.393275'} 2024-08-21 18:30:03,494 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-21 18:30:03,494 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98387163 passed 2024-08-21 18:30:03,494 - DEBUG - ====Verifying policy data for ctest-vn-98387163 in API_Server ====== 2024-08-21 18:30:03,495 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-21 18:30:03,501 - DEBUG - Requesting: http://10.0.0.56:8082/domain/75116ba4-f521-4ac2-a835-573fa264b764 2024-08-21 18:30:03,513 - DEBUG - Requesting: http://10.0.0.56:8082/project/17a0a38d-a08d-419b-8875-0da0a30be63c 2024-08-21 18:30:03,585 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fe3e0250-2026-4138-8000-05b380180b38 2024-08-21 18:30:03,594 - DEBUG - ==>Verifying data for policy with id: 6e7b189f-5fb7-46ff-a1b1-d7a95d8c0458, fqn: ['default-domain', 'ctest-TestBasicPolicy-48433718', 'ctest-policy-allow-all-68473901'] 2024-08-21 18:30:03,594 - INFO - VN ctest-vn-98387163 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-21 18:30:03,594 - DEBUG - Verifying the vn in opserver 2024-08-21 18:30:03,594 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-98387163 virtual network link through opserver 10.0.0.56 2024-08-21 18:30:03,594 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2024-08-21 18:30:03,605 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-98387163', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-98387163?flat'} 2024-08-21 18:30:03,605 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-98387163 is found in opserver 2024-08-21 18:30:03,618 - DEBUG - Do not have enough data to verify VN in agent 2024-08-21 18:30:03,625 - DEBUG - VRF ids for VN ctest-vn-98387163: {} 2024-08-21 18:30:03,684 - DEBUG - Services list from nova: [, , ] 2024-08-21 18:30:04,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1696-1) 2024-08-21 18:30:06,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1696-1) 2024-08-21 18:30:06,061 - INFO - Waiting for VM ctest-TestBasicPolicy-48433718-84144234 to be up.. 2024-08-21 18:30:06,155 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 18:30:11,251 - DEBUG - VM is in ACTIVE state now 2024-08-21 18:30:11,252 - INFO - VM name : ctest-TestBasicPolicy-48433718-84144234 2024-08-21 18:30:11,395 - DEBUG - VM ctest-TestBasicPolicy-48433718-84144234 ID is d10e3816-b867-4b95-9cbc-ecc103850b1a 2024-08-21 18:30:11,421 - DEBUG - VM ctest-TestBasicPolicy-48433718-84144234 launched on Node cn-jenkins-deploy-platform-ansible-os-1696-1 2024-08-21 18:30:11,519 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/d10e3816-b867-4b95-9cbc-ecc103850b1a 2024-08-21 18:30:11,529 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/9aaf7d54-0938-4998-8ee7-25ea8125039a 2024-08-21 18:30:14,774 - 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 1006ms') 2024-08-21 18:30:14,774 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48433718-84144234 failed! 2024-08-21 18:30:14,828 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48433718:ctest-vn-33188693 is 131.254.56.193 and allocation pool is NOT set 2024-08-21 18:30:16,889 - 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=6.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.36 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 = 3.364/4.919/6.474/1.555 ms') 2024-08-21 18:30:16,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48433718-84144234 passed 2024-08-21 18:30:17,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 18:30:17,048 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48433718-84144234, IP 131.254.56.195, Port 22 2024-08-21 18:30:17,203 - DEBUG - VM ctest-TestBasicPolicy-48433718-84144234 is ready for SSH connections 2024-08-21 18:30:17,203 - INFO - Waiting for VM ctest-TestBasicPolicy-48433718-23217017 to be up.. 2024-08-21 18:30:17,295 - DEBUG - VM is in ACTIVE state now 2024-08-21 18:30:17,295 - INFO - VM name : ctest-TestBasicPolicy-48433718-23217017 2024-08-21 18:30:17,380 - DEBUG - VM ctest-TestBasicPolicy-48433718-23217017 ID is 42bb8bfc-f6b7-4ae2-9029-43e57382a3e3 2024-08-21 18:30:17,380 - DEBUG - VM ctest-TestBasicPolicy-48433718-23217017 launched on Node cn-jenkins-deploy-platform-ansible-os-1696-1 2024-08-21 18:30:17,481 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/42bb8bfc-f6b7-4ae2-9029-43e57382a3e3 2024-08-21 18:30:17,491 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/3ca8c08f-d858-492b-bd69-f54ed625b07e 2024-08-21 18:30:18,740 - 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=4.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.879 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.879/2.582/4.285/1.703 ms') 2024-08-21 18:30:18,740 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48433718-23217017 passed 2024-08-21 18:30:18,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 18:30:18,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48433718-23217017, IP 200.189.206.3, Port 22 2024-08-21 18:30:19,056 - DEBUG - VM ctest-TestBasicPolicy-48433718-23217017 is ready for SSH connections 2024-08-21 18:30:19,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 18:30:19,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.189.206.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2024-08-21 18:30:19,056 - DEBUG - ping -s 56 -c 3 -W 1 200.189.206.3 2024-08-21 18:30:23,093 - DEBUG - PING 200.189.206.3 (200.189.206.3): 56 data bytes 64 bytes from 200.189.206.3: seq=0 ttl=63 time=3.713 ms 64 bytes from 200.189.206.3: seq=1 ttl=63 time=0.981 ms 64 bytes from 200.189.206.3: seq=2 ttl=63 time=0.810 ms --- 200.189.206.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.834/3.713 ms 2024-08-21 18:30:23,093 - INFO - Ping to IP 200.189.206.3 from VM ctest-TestBasicPolicy-48433718-84144234 passed 2024-08-21 18:30:23,275 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6e7b189f-5fb7-46ff-a1b1-d7a95d8c0458", "href": "http://10.0.0.56:8082/network-policy/6e7b189f-5fb7-46ff-a1b1-d7a95d8c0458"}} 2024-08-21 18:30:23,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 18:30:23,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.189.206.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2024-08-21 18:30:23,276 - DEBUG - ping -s 56 -c 3 -W 1 200.189.206.3 2024-08-21 18:30:26,481 - DEBUG - PING 200.189.206.3 (200.189.206.3): 56 data bytes 64 bytes from 200.189.206.3: seq=0 ttl=63 time=1.485 ms --- 200.189.206.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.485/1.485/1.485 ms 2024-08-21 18:30:26,481 - WARNING - Ping to IP 200.189.206.3 from VM ctest-TestBasicPolicy-48433718-84144234 failed 2024-08-21 18:30:26,482 - INFO - Deleting VM ctest-TestBasicPolicy-48433718-23217017 2024-08-21 18:30:26,567 - INFO - Deleting VM ctest-TestBasicPolicy-48433718-84144234 2024-08-21 18:30:27,003 - INFO - Deleted policy ctest-policy-allow-all-68473901 2024-08-21 18:30:27,003 - INFO - Deleting VN ctest-vn-98387163 2024-08-21 18:30:27,042 - DEBUG - VN fe3e0250-2026-4138-8000-05b380180b38 still in use: Unable to complete operation on network fe3e0250-2026-4138-8000-05b380180b38. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4355934a-5b76-4069-b3fc-5baa5685e49a'] 2024-08-21 18:30:27,042 - WARNING - Deleting VN ctest-vn-98387163 failed..Will retry 2024-08-21 18:30:29,166 - DEBUG - Response for deleting network () 2024-08-21 18:30:29,166 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d91f29ff-a62c-453d-9b28-2ed1a392bb8e 2024-08-21 18:30:29,172 - DEBUG - Response Code: 404 2024-08-21 18:30:29,172 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-21 18:30:29,179 - DEBUG - Requesting: http://10.0.0.56:8082/domain/75116ba4-f521-4ac2-a835-573fa264b764 2024-08-21 18:30:29,237 - DEBUG - Requesting: http://10.0.0.56:8082/project/17a0a38d-a08d-419b-8875-0da0a30be63c 2024-08-21 18:30:29,308 - INFO - Validated that VN ctest-vn-98387163 is not found in API Server 2024-08-21 18:30:29,320 - DEBUG - VN ctest-vn-98387163 is not present in Agent 10.0.0.56 2024-08-21 18:30:29,320 - INFO - Validated that VN ctest-vn-98387163 is not in any agent 2024-08-21 18:30:29,340 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98387163 info 2024-08-21 18:30:29,340 - INFO - Deleting VN ctest-vn-33188693 2024-08-21 18:30:29,456 - DEBUG - Response for deleting network () 2024-08-21 18:30:29,456 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/02e3944d-10be-4a7b-aa5f-4899faa0bfbc 2024-08-21 18:30:29,462 - DEBUG - Response Code: 404 2024-08-21 18:30:29,462 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2024-08-21 18:30:29,469 - DEBUG - Requesting: http://10.0.0.56:8082/domain/75116ba4-f521-4ac2-a835-573fa264b764 2024-08-21 18:30:29,525 - DEBUG - Requesting: http://10.0.0.56:8082/project/17a0a38d-a08d-419b-8875-0da0a30be63c 2024-08-21 18:30:29,601 - INFO - Validated that VN ctest-vn-33188693 is not found in API Server 2024-08-21 18:30:29,612 - DEBUG - VN ctest-vn-33188693 is not present in Agent 10.0.0.56 2024-08-21 18:30:29,613 - INFO - Validated that VN ctest-vn-33188693 is not in any agent 2024-08-21 18:30:29,631 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33188693 info 2024-08-21 18:30:29,886 - DEBUG - No XMPP flaps were noticed during the test
2024-08-21 18:30:29,886 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2024-08-21 18:30:29,886 - INFO - -------------------------------------------------------------------------------- 2024-08-21 18:30:30,595 - INFO - Deleted project: ctest-TestBasicPolicy-48433718, ID : 17a0a38d-a08d-419b-8875-0da0a30be63c