2024-09-05 02:31:42,111 - INFO - Domain Default found not creating 2024-09-05 02:31:42,260 - INFO - Project ctest-TestBasicPolicy-35688227 not found, creating it 2024-09-05 02:31:42,736 - INFO - Created Project:ctest-TestBasicPolicy-35688227, ID : fb0f804b-c678-4999-9f48-3aa004186494 2024-09-05 02:31:44,154 - INFO - ================================================================================ 2024-09-05 02:31:44,154 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-05 02:31:44,154 - 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-09-05 02:31:44,404 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.10': '0'}} with 2024-09-05 02:31:44,405 - INFO - Initial checks done. Running the testcase now 2024-09-05 02:31:44,405 - INFO - 2024-09-05 02:31:44,938 - DEBUG - Response for create_network : {'network': {'id': '7eb576a5-7b19-4446-a9b4-9f5afb54281b', 'name': 'ctest-vn-91618632', 'tenant_id': 'fb0f804bc67849999f483aa004186494', 'project_id': 'fb0f804bc67849999f483aa004186494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35688227', 'ctest-vn-91618632'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:31:45,116 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0a83343-3847-495f-809f-6b346b9ba6ad', 'name': '', 'tenant_id': 'fb0f804bc67849999f483aa004186494', 'network_id': '7eb576a5-7b19-4446-a9b4-9f5afb54281b', 'ip_version': 4, 'cidr': '172.225.15.64/26', 'allocation_pools': [{'start': '172.225.15.66', 'end': '172.225.15.126'}], 'gateway_ip': '172.225.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.225.15.66', 'tags': [], 'project_id': 'fb0f804bc67849999f483aa004186494'}} 2024-09-05 02:31:45,134 - INFO - Created VN ctest-vn-91618632 2024-09-05 02:31:45,186 - DEBUG - VN ctest-vn-91618632 UUID is 7eb576a5-7b19-4446-a9b4-9f5afb54281b 2024-09-05 02:31:45,458 - DEBUG - Response for create_network : {'network': {'id': '26098bdf-16e9-4d8b-b3fb-8b856de92f6e', 'name': 'ctest-vn-27326896', 'tenant_id': 'fb0f804bc67849999f483aa004186494', 'project_id': 'fb0f804bc67849999f483aa004186494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35688227', 'ctest-vn-27326896'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:31:45,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bff441d6-1ff2-42c3-b289-17017a494a9e', 'name': '', 'tenant_id': 'fb0f804bc67849999f483aa004186494', 'network_id': '26098bdf-16e9-4d8b-b3fb-8b856de92f6e', 'ip_version': 4, 'cidr': '154.45.197.64/26', 'allocation_pools': [{'start': '154.45.197.66', 'end': '154.45.197.126'}], 'gateway_ip': '154.45.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.45.197.66', 'tags': [], 'project_id': 'fb0f804bc67849999f483aa004186494'}} 2024-09-05 02:31:45,661 - INFO - Created VN ctest-vn-27326896 2024-09-05 02:31:45,710 - DEBUG - VN ctest-vn-27326896 UUID is 26098bdf-16e9-4d8b-b3fb-8b856de92f6e 2024-09-05 02:31:45,858 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-91618632, 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-35688227:ctest-vn-27326896, 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-09-05 02:31:46,148 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7eb576a5-7b19-4446-a9b4-9f5afb54281b', 'name': 'ctest-vn-91618632', 'tenant_id': 'fb0f804bc67849999f483aa004186494', 'project_id': 'fb0f804bc67849999f483aa004186494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0a83343-3847-495f-809f-6b346b9ba6ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35688227', 'ctest-vn-91618632'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35688227', 'ctest-policy-allow-all-09614898']], 'subnet_ipam': [{'subnet_cidr': '172.225.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:31:46,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26098bdf-16e9-4d8b-b3fb-8b856de92f6e', 'name': 'ctest-vn-27326896', 'tenant_id': 'fb0f804bc67849999f483aa004186494', 'project_id': 'fb0f804bc67849999f483aa004186494', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bff441d6-1ff2-42c3-b289-17017a494a9e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35688227', 'ctest-vn-27326896'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35688227', 'ctest-policy-allow-all-09614898']], 'subnet_ipam': [{'subnet_cidr': '154.45.197.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:31:46,562 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-09-05 02:31:46,854 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-09-05 02:31:46,885 - DEBUG - Requesting: http://10.0.0.36:8082/domain/2cf23a14-4453-4d2b-ad96-29f4a9e998af 2024-09-05 02:31:46,901 - DEBUG - Requesting: http://10.0.0.36:8082/project/fb0f804b-c678-4999-9f48-3aa004186494 2024-09-05 02:31:46,970 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7eb576a5-7b19-4446-a9b4-9f5afb54281b 2024-09-05 02:31:46,979 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7eb576a5-7b19-4446-a9b4-9f5afb54281b 2024-09-05 02:31:46,986 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6a1a2c4-fe14-499f-9f2d-8a9a9e115a23 2024-09-05 02:31:46,992 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6a1a2c4-fe14-499f-9f2d-8a9a9e115a23 2024-09-05 02:31:46,999 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/a1ca0984-400a-41c9-a208-2fb79a67304d 2024-09-05 02:31:47,005 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-05 02:31:47,005 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7eb576a5-7b19-4446-a9b4-9f5afb54281b 2024-09-05 02:31:47,012 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6a1a2c4-fe14-499f-9f2d-8a9a9e115a23 2024-09-05 02:31:47,024 - INFO - Verified VN network id 8 for VN 7eb576a5-7b19-4446-a9b4-9f5afb54281b 2024-09-05 02:31:47,024 - INFO - Verifications in API Server for VN ctest-vn-91618632 passed 2024-09-05 02:31:47,024 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7eb576a5-7b19-4446-a9b4-9f5afb54281b 2024-09-05 02:31:47,035 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6a1a2c4-fe14-499f-9f2d-8a9a9e115a23 2024-09-05 02:31:47,043 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6a1a2c4-fe14-499f-9f2d-8a9a9e115a23 2024-09-05 02:31:47,051 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/a1ca0984-400a-41c9-a208-2fb79a67304d 2024-09-05 02:31:47,063 - DEBUG - Control-node 10.0.0.36 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-91618632', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35688227', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9130334272670483526', 'uuid-lslong': '12228574101330208795'}, 'enable': 'true', 'created': '2024-09-05T02:31:44', 'last-modified': '2024-09-05T02:31:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940104'} 2024-09-05 02:31:47,070 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-05 02:31:47,070 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91618632 passed 2024-09-05 02:31:47,070 - DEBUG - ====Verifying policy data for ctest-vn-91618632 in API_Server ====== 2024-09-05 02:31:47,070 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-09-05 02:31:47,076 - DEBUG - Requesting: http://10.0.0.36:8082/domain/2cf23a14-4453-4d2b-ad96-29f4a9e998af 2024-09-05 02:31:47,090 - DEBUG - Requesting: http://10.0.0.36:8082/project/fb0f804b-c678-4999-9f48-3aa004186494 2024-09-05 02:31:47,159 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/7eb576a5-7b19-4446-a9b4-9f5afb54281b 2024-09-05 02:31:47,169 - DEBUG - ==>Verifying data for policy with id: 15884ce5-4435-407f-a254-cc49cf2691fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-35688227', 'ctest-policy-allow-all-09614898'] 2024-09-05 02:31:47,169 - INFO - VN ctest-vn-91618632 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-05 02:31:47,169 - DEBUG - Verifying the vn in opserver 2024-09-05 02:31:47,169 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-91618632 virtual network link through opserver 10.0.0.36 2024-09-05 02:31:47,169 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2024-09-05 02:31:47,462 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2024-09-05 02:31:47,519 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-91618632', 'href': 'http://10.0.0.36:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-91618632?flat'} 2024-09-05 02:31:47,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-91618632 is found in opserver 2024-09-05 02:31:47,531 - DEBUG - Do not have enough data to verify VN in agent 2024-09-05 02:31:47,536 - DEBUG - VRF ids for VN ctest-vn-91618632: {} 2024-09-05 02:31:47,536 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-09-05 02:31:47,542 - DEBUG - Requesting: http://10.0.0.36:8082/domain/2cf23a14-4453-4d2b-ad96-29f4a9e998af 2024-09-05 02:31:47,552 - DEBUG - Requesting: http://10.0.0.36:8082/project/fb0f804b-c678-4999-9f48-3aa004186494 2024-09-05 02:31:47,626 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26098bdf-16e9-4d8b-b3fb-8b856de92f6e 2024-09-05 02:31:47,637 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26098bdf-16e9-4d8b-b3fb-8b856de92f6e 2024-09-05 02:31:47,645 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/70a36ef2-b46c-4ff3-bc46-45b159619d0e 2024-09-05 02:31:47,652 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/70a36ef2-b46c-4ff3-bc46-45b159619d0e 2024-09-05 02:31:47,658 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/986e7e6d-2aa3-428c-bcbf-73e7abfebf7b 2024-09-05 02:31:47,663 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-05 02:31:47,663 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26098bdf-16e9-4d8b-b3fb-8b856de92f6e 2024-09-05 02:31:47,671 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/70a36ef2-b46c-4ff3-bc46-45b159619d0e 2024-09-05 02:31:47,684 - INFO - Verified VN network id 9 for VN 26098bdf-16e9-4d8b-b3fb-8b856de92f6e 2024-09-05 02:31:47,684 - INFO - Verifications in API Server for VN ctest-vn-27326896 passed 2024-09-05 02:31:47,684 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26098bdf-16e9-4d8b-b3fb-8b856de92f6e 2024-09-05 02:31:47,691 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/70a36ef2-b46c-4ff3-bc46-45b159619d0e 2024-09-05 02:31:47,698 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/70a36ef2-b46c-4ff3-bc46-45b159619d0e 2024-09-05 02:31:47,705 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/986e7e6d-2aa3-428c-bcbf-73e7abfebf7b 2024-09-05 02:31:47,717 - DEBUG - Control-node 10.0.0.36 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-27326896', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35688227', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2740875638510013835', 'uuid-lslong': '12969112957134385006'}, 'enable': 'true', 'created': '2024-09-05T02:31:45', 'last-modified': '2024-09-05T02:31:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350694'} 2024-09-05 02:31:47,724 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-05 02:31:47,724 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27326896 passed 2024-09-05 02:31:47,724 - DEBUG - ====Verifying policy data for ctest-vn-27326896 in API_Server ====== 2024-09-05 02:31:47,724 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-09-05 02:31:47,731 - DEBUG - Requesting: http://10.0.0.36:8082/domain/2cf23a14-4453-4d2b-ad96-29f4a9e998af 2024-09-05 02:31:47,743 - DEBUG - Requesting: http://10.0.0.36:8082/project/fb0f804b-c678-4999-9f48-3aa004186494 2024-09-05 02:31:47,818 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/26098bdf-16e9-4d8b-b3fb-8b856de92f6e 2024-09-05 02:31:47,828 - DEBUG - ==>Verifying data for policy with id: 15884ce5-4435-407f-a254-cc49cf2691fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-35688227', 'ctest-policy-allow-all-09614898'] 2024-09-05 02:31:47,828 - INFO - VN ctest-vn-27326896 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-05 02:31:47,828 - DEBUG - Verifying the vn in opserver 2024-09-05 02:31:47,828 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-27326896 virtual network link through opserver 10.0.0.36 2024-09-05 02:31:47,828 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2024-09-05 02:31:47,839 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-27326896', 'href': 'http://10.0.0.36:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-27326896?flat'} 2024-09-05 02:31:47,839 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-27326896 is found in opserver 2024-09-05 02:31:47,850 - DEBUG - Do not have enough data to verify VN in agent 2024-09-05 02:31:47,855 - DEBUG - VRF ids for VN ctest-vn-27326896: {} 2024-09-05 02:31:47,906 - DEBUG - Services list from nova: [, , ] 2024-09-05 02:31:48,928 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1853-1) 2024-09-05 02:31:50,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1853-1) 2024-09-05 02:31:50,107 - INFO - Waiting for VM ctest-TestBasicPolicy-35688227-10116081 to be up.. 2024-09-05 02:31:50,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-05 02:31:55,263 - DEBUG - VM is in ACTIVE state now 2024-09-05 02:31:55,263 - INFO - VM name : ctest-TestBasicPolicy-35688227-10116081 2024-09-05 02:31:55,333 - DEBUG - VM ctest-TestBasicPolicy-35688227-10116081 ID is a431dbec-ff7d-42f2-b473-5f5c94fc57bd 2024-09-05 02:31:55,349 - DEBUG - VM ctest-TestBasicPolicy-35688227-10116081 launched on Node cn-jenkins-deploy-platform-ansible-os-1853-1 2024-09-05 02:31:55,421 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/a431dbec-ff7d-42f2-b473-5f5c94fc57bd 2024-09-05 02:31:55,429 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/1958d6fd-bd50-47d7-b9bd-c86405745537 2024-09-05 02:31:58,691 - 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 1023ms') 2024-09-05 02:31:58,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35688227-10116081 failed! 2024-09-05 02:31:58,746 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35688227:ctest-vn-91618632 is 172.225.15.65 and allocation pool is NOT set 2024-09-05 02:32:00,807 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 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.445/1.716/2.987/1.271 ms') 2024-09-05 02:32:00,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35688227-10116081 passed 2024-09-05 02:32:00,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:32:00,958 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35688227-10116081, IP 172.225.15.67, Port 22 2024-09-05 02:32:01,113 - DEBUG - VM ctest-TestBasicPolicy-35688227-10116081 is ready for SSH connections 2024-09-05 02:32:01,113 - INFO - Waiting for VM ctest-TestBasicPolicy-35688227-60066726 to be up.. 2024-09-05 02:32:01,191 - DEBUG - VM is in ACTIVE state now 2024-09-05 02:32:01,191 - INFO - VM name : ctest-TestBasicPolicy-35688227-60066726 2024-09-05 02:32:01,278 - DEBUG - VM ctest-TestBasicPolicy-35688227-60066726 ID is e408b5d4-1563-4592-a365-9d1042cfbaf4 2024-09-05 02:32:01,278 - DEBUG - VM ctest-TestBasicPolicy-35688227-60066726 launched on Node cn-jenkins-deploy-platform-ansible-os-1853-1 2024-09-05 02:32:01,349 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/e408b5d4-1563-4592-a365-9d1042cfbaf4 2024-09-05 02:32:01,358 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/01a1587c-031b-4e1f-a2b7-09c35b4feec7 2024-09-05 02:32:02,593 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.563/2.739/1.175 ms') 2024-09-05 02:32:02,594 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35688227-60066726 passed 2024-09-05 02:32:02,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:32:02,742 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35688227-60066726, IP 154.45.197.67, Port 22 2024-09-05 02:32:02,893 - DEBUG - VM ctest-TestBasicPolicy-35688227-60066726 is ready for SSH connections 2024-09-05 02:32:02,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:32:02,894 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.45.197.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-05 02:32:02,894 - DEBUG - ping -s 56 -c 3 -W 1 154.45.197.67 2024-09-05 02:32:06,573 - DEBUG - PING 154.45.197.67 (154.45.197.67): 56 data bytes 64 bytes from 154.45.197.67: seq=0 ttl=63 time=3.107 ms 64 bytes from 154.45.197.67: seq=1 ttl=63 time=0.819 ms 64 bytes from 154.45.197.67: seq=2 ttl=63 time=0.685 ms --- 154.45.197.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.685/1.537/3.107 ms 2024-09-05 02:32:06,573 - INFO - Ping to IP 154.45.197.67 from VM ctest-TestBasicPolicy-35688227-10116081 passed 2024-09-05 02:32:06,745 - DEBUG - Policy Update Response {"network-policy": {"uuid": "15884ce5-4435-407f-a254-cc49cf2691fb", "href": "http://10.0.0.36:8082/network-policy/15884ce5-4435-407f-a254-cc49cf2691fb"}} 2024-09-05 02:32:06,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:32:06,746 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.45.197.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-05 02:32:06,746 - DEBUG - ping -s 56 -c 3 -W 1 154.45.197.67 2024-09-05 02:32:09,958 - DEBUG - PING 154.45.197.67 (154.45.197.67): 56 data bytes --- 154.45.197.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-05 02:32:09,958 - WARNING - Ping to IP 154.45.197.67 from VM ctest-TestBasicPolicy-35688227-10116081 failed 2024-09-05 02:32:09,959 - INFO - Deleting VM ctest-TestBasicPolicy-35688227-60066726 2024-09-05 02:32:10,026 - INFO - Deleting VM ctest-TestBasicPolicy-35688227-10116081 2024-09-05 02:32:10,397 - INFO - Deleted policy ctest-policy-allow-all-09614898 2024-09-05 02:32:10,397 - INFO - Deleting VN ctest-vn-27326896 2024-09-05 02:32:10,436 - DEBUG - VN 26098bdf-16e9-4d8b-b3fb-8b856de92f6e still in use: Unable to complete operation on network 26098bdf-16e9-4d8b-b3fb-8b856de92f6e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ea5cdbd-8b35-49cf-b92f-fb1e06df4de8'] 2024-09-05 02:32:10,436 - WARNING - Deleting VN ctest-vn-27326896 failed..Will retry 2024-09-05 02:32:12,533 - DEBUG - Response for deleting network () 2024-09-05 02:32:12,533 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/70a36ef2-b46c-4ff3-bc46-45b159619d0e 2024-09-05 02:32:12,539 - DEBUG - Response Code: 404 2024-09-05 02:32:12,539 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-09-05 02:32:12,546 - DEBUG - Requesting: http://10.0.0.36:8082/domain/2cf23a14-4453-4d2b-ad96-29f4a9e998af 2024-09-05 02:32:12,600 - DEBUG - Requesting: http://10.0.0.36:8082/project/fb0f804b-c678-4999-9f48-3aa004186494 2024-09-05 02:32:12,666 - INFO - Validated that VN ctest-vn-27326896 is not found in API Server 2024-09-05 02:32:12,677 - DEBUG - VN ctest-vn-27326896 is not present in Agent 10.0.0.36 2024-09-05 02:32:12,677 - INFO - Validated that VN ctest-vn-27326896 is not in any agent 2024-09-05 02:32:12,692 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27326896 info 2024-09-05 02:32:12,692 - INFO - Deleting VN ctest-vn-91618632 2024-09-05 02:32:12,784 - DEBUG - Response for deleting network () 2024-09-05 02:32:12,784 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/d6a1a2c4-fe14-499f-9f2d-8a9a9e115a23 2024-09-05 02:32:12,789 - DEBUG - Response Code: 404 2024-09-05 02:32:12,789 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-09-05 02:32:12,796 - DEBUG - Requesting: http://10.0.0.36:8082/domain/2cf23a14-4453-4d2b-ad96-29f4a9e998af 2024-09-05 02:32:12,850 - DEBUG - Requesting: http://10.0.0.36:8082/project/fb0f804b-c678-4999-9f48-3aa004186494 2024-09-05 02:32:12,920 - INFO - Validated that VN ctest-vn-91618632 is not found in API Server 2024-09-05 02:32:12,931 - DEBUG - VN ctest-vn-91618632 is not present in Agent 10.0.0.36 2024-09-05 02:32:12,931 - INFO - Validated that VN ctest-vn-91618632 is not in any agent 2024-09-05 02:32:12,946 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91618632 info 2024-09-05 02:32:13,198 - DEBUG - No XMPP flaps were noticed during the test
2024-09-05 02:32:13,198 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2024-09-05 02:32:13,199 - INFO - -------------------------------------------------------------------------------- 2024-09-05 02:32:13,855 - INFO - Deleted project: ctest-TestBasicPolicy-35688227, ID : fb0f804b-c678-4999-9f48-3aa004186494