2024-10-18 21:44:48,709 - INFO - Domain Default found not creating 2024-10-18 21:44:48,887 - INFO - Project ctest-TestBasicPolicy-48513884 not found, creating it 2024-10-18 21:44:49,382 - INFO - Created Project:ctest-TestBasicPolicy-48513884, ID : a995a1bf-fd66-4678-ab15-1b31deaae420 2024-10-18 21:44:51,215 - INFO - ================================================================================ 2024-10-18 21:44:51,215 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-10-18 21:44:51,215 - 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-10-18 21:44:51,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.18': '0'}} with 2024-10-18 21:44:51,469 - INFO - Initial checks done. Running the testcase now 2024-10-18 21:44:51,469 - INFO - 2024-10-18 21:44:52,112 - DEBUG - Response for create_network : {'network': {'id': 'f7b24fc5-971b-487b-9bfa-29b69195afd5', 'name': 'ctest-vn-83857381', 'tenant_id': 'a995a1bffd664678ab151b31deaae420', 'project_id': 'a995a1bffd664678ab151b31deaae420', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48513884', 'ctest-vn-83857381'], 'port_security_enabled': True, 'description': ''}} 2024-10-18 21:44:52,275 - DEBUG - Response for create_subnet : {'subnet': {'id': '43125dfb-cc02-4752-8c54-2a7b3ce2a6e2', 'name': '', 'tenant_id': 'a995a1bffd664678ab151b31deaae420', 'network_id': 'f7b24fc5-971b-487b-9bfa-29b69195afd5', 'ip_version': 4, 'cidr': '111.9.31.64/26', 'allocation_pools': [{'start': '111.9.31.66', 'end': '111.9.31.126'}], 'gateway_ip': '111.9.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.9.31.66', 'tags': [], 'project_id': 'a995a1bffd664678ab151b31deaae420'}} 2024-10-18 21:44:52,298 - INFO - Created VN ctest-vn-83857381 2024-10-18 21:44:52,359 - DEBUG - VN ctest-vn-83857381 UUID is f7b24fc5-971b-487b-9bfa-29b69195afd5 2024-10-18 21:44:52,702 - DEBUG - Response for create_network : {'network': {'id': '0a226ceb-8232-4b54-a3af-c2fb579a3d06', 'name': 'ctest-vn-46061418', 'tenant_id': 'a995a1bffd664678ab151b31deaae420', 'project_id': 'a995a1bffd664678ab151b31deaae420', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48513884', 'ctest-vn-46061418'], 'port_security_enabled': True, 'description': ''}} 2024-10-18 21:44:53,148 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4d8ab1b-3cbf-40ce-9c69-6140339aaa5c', 'name': '', 'tenant_id': 'a995a1bffd664678ab151b31deaae420', 'network_id': '0a226ceb-8232-4b54-a3af-c2fb579a3d06', 'ip_version': 4, 'cidr': '13.6.125.0/26', 'allocation_pools': [{'start': '13.6.125.2', 'end': '13.6.125.62'}], 'gateway_ip': '13.6.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.6.125.2', 'tags': [], 'project_id': 'a995a1bffd664678ab151b31deaae420'}} 2024-10-18 21:44:53,172 - INFO - Created VN ctest-vn-46061418 2024-10-18 21:44:53,230 - DEBUG - VN ctest-vn-46061418 UUID is 0a226ceb-8232-4b54-a3af-c2fb579a3d06 2024-10-18 21:44:53,365 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-83857381, 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-48513884:ctest-vn-46061418, 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-10-18 21:44:53,697 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f7b24fc5-971b-487b-9bfa-29b69195afd5', 'name': 'ctest-vn-83857381', 'tenant_id': 'a995a1bffd664678ab151b31deaae420', 'project_id': 'a995a1bffd664678ab151b31deaae420', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43125dfb-cc02-4752-8c54-2a7b3ce2a6e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48513884', 'ctest-vn-83857381'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48513884', 'ctest-policy-allow-all-95042318']], 'subnet_ipam': [{'subnet_cidr': '111.9.31.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-18 21:44:53,999 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a226ceb-8232-4b54-a3af-c2fb579a3d06', 'name': 'ctest-vn-46061418', 'tenant_id': 'a995a1bffd664678ab151b31deaae420', 'project_id': 'a995a1bffd664678ab151b31deaae420', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4d8ab1b-3cbf-40ce-9c69-6140339aaa5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48513884', 'ctest-vn-46061418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48513884', 'ctest-policy-allow-all-95042318']], 'subnet_ipam': [{'subnet_cidr': '13.6.125.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-18 21:44:54,175 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-18 21:44:54,517 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-18 21:44:54,557 - DEBUG - Requesting: http://10.0.0.32:8082/domain/6ea3b24a-afc8-4889-9241-9742b61e5bd0 2024-10-18 21:44:54,574 - DEBUG - Requesting: http://10.0.0.32:8082/project/a995a1bf-fd66-4678-ab15-1b31deaae420 2024-10-18 21:44:54,658 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f7b24fc5-971b-487b-9bfa-29b69195afd5 2024-10-18 21:44:54,676 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f7b24fc5-971b-487b-9bfa-29b69195afd5 2024-10-18 21:44:54,694 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c25fe04c-0286-46a4-ada4-83f7adf3ab99 2024-10-18 21:44:54,704 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c25fe04c-0286-46a4-ada4-83f7adf3ab99 2024-10-18 21:44:54,713 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/8845e37a-f322-4793-a6c9-6966aa7af41f 2024-10-18 21:44:54,722 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-18 21:44:54,722 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f7b24fc5-971b-487b-9bfa-29b69195afd5 2024-10-18 21:44:54,736 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c25fe04c-0286-46a4-ada4-83f7adf3ab99 2024-10-18 21:44:54,758 - INFO - Verified VN network id 9 for VN f7b24fc5-971b-487b-9bfa-29b69195afd5 2024-10-18 21:44:54,758 - INFO - Verifications in API Server for VN ctest-vn-83857381 passed 2024-10-18 21:44:54,758 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f7b24fc5-971b-487b-9bfa-29b69195afd5 2024-10-18 21:44:54,774 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c25fe04c-0286-46a4-ada4-83f7adf3ab99 2024-10-18 21:44:54,784 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c25fe04c-0286-46a4-ada4-83f7adf3ab99 2024-10-18 21:44:54,793 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/8845e37a-f322-4793-a6c9-6966aa7af41f 2024-10-18 21:44:54,809 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-83857381', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48513884', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17848415983284996219', 'uuid-lslong': '11239341684159786965'}, 'enable': 'true', 'created': '2024-10-18T21:44:52', 'last-modified': '2024-10-18T21:44:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.143402'} 2024-10-18 21:44:54,816 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-18 21:44:54,816 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83857381 passed 2024-10-18 21:44:54,817 - DEBUG - ====Verifying policy data for ctest-vn-83857381 in API_Server ====== 2024-10-18 21:44:54,817 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-18 21:44:54,823 - DEBUG - Requesting: http://10.0.0.32:8082/domain/6ea3b24a-afc8-4889-9241-9742b61e5bd0 2024-10-18 21:44:54,837 - DEBUG - Requesting: http://10.0.0.32:8082/project/a995a1bf-fd66-4678-ab15-1b31deaae420 2024-10-18 21:44:54,924 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f7b24fc5-971b-487b-9bfa-29b69195afd5 2024-10-18 21:44:54,940 - DEBUG - ==>Verifying data for policy with id: ebf2bb96-5168-44a1-aca0-2ff3cf2aedc9, fqn: ['default-domain', 'ctest-TestBasicPolicy-48513884', 'ctest-policy-allow-all-95042318'] 2024-10-18 21:44:54,940 - INFO - VN ctest-vn-83857381 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-18 21:44:54,940 - DEBUG - Verifying the vn in opserver 2024-10-18 21:44:54,940 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-83857381 virtual network link through opserver 10.0.0.32 2024-10-18 21:44:54,940 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-18 21:44:55,280 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-18 21:44:55,679 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-83857381', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-83857381?flat'} 2024-10-18 21:44:55,679 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-83857381 is found in opserver 2024-10-18 21:44:55,693 - DEBUG - Do not have enough data to verify VN in agent 2024-10-18 21:44:55,700 - DEBUG - VRF ids for VN ctest-vn-83857381: {} 2024-10-18 21:44:55,700 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-18 21:44:55,706 - DEBUG - Requesting: http://10.0.0.32:8082/domain/6ea3b24a-afc8-4889-9241-9742b61e5bd0 2024-10-18 21:44:55,722 - DEBUG - Requesting: http://10.0.0.32:8082/project/a995a1bf-fd66-4678-ab15-1b31deaae420 2024-10-18 21:44:55,816 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0a226ceb-8232-4b54-a3af-c2fb579a3d06 2024-10-18 21:44:55,835 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0a226ceb-8232-4b54-a3af-c2fb579a3d06 2024-10-18 21:44:55,851 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d824d704-f756-49a5-8e2e-0dbcc51692a1 2024-10-18 21:44:55,861 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d824d704-f756-49a5-8e2e-0dbcc51692a1 2024-10-18 21:44:55,872 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/6f40b831-6a78-41c1-b6f4-be4a4b3037ad 2024-10-18 21:44:55,882 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-18 21:44:55,882 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0a226ceb-8232-4b54-a3af-c2fb579a3d06 2024-10-18 21:44:55,899 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d824d704-f756-49a5-8e2e-0dbcc51692a1 2024-10-18 21:44:55,921 - INFO - Verified VN network id 10 for VN 0a226ceb-8232-4b54-a3af-c2fb579a3d06 2024-10-18 21:44:55,921 - INFO - Verifications in API Server for VN ctest-vn-46061418 passed 2024-10-18 21:44:55,922 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0a226ceb-8232-4b54-a3af-c2fb579a3d06 2024-10-18 21:44:55,938 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d824d704-f756-49a5-8e2e-0dbcc51692a1 2024-10-18 21:44:55,948 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d824d704-f756-49a5-8e2e-0dbcc51692a1 2024-10-18 21:44:55,957 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/6f40b831-6a78-41c1-b6f4-be4a4b3037ad 2024-10-18 21:44:55,971 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-46061418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48513884', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '730265848344890196', 'uuid-lslong': '11794860333868924166'}, 'enable': 'true', 'created': '2024-10-18T21:44:52', 'last-modified': '2024-10-18T21:44:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.045167'} 2024-10-18 21:44:55,979 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-18 21:44:55,979 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46061418 passed 2024-10-18 21:44:55,979 - DEBUG - ====Verifying policy data for ctest-vn-46061418 in API_Server ====== 2024-10-18 21:44:55,979 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-18 21:44:55,986 - DEBUG - Requesting: http://10.0.0.32:8082/domain/6ea3b24a-afc8-4889-9241-9742b61e5bd0 2024-10-18 21:44:56,001 - DEBUG - Requesting: http://10.0.0.32:8082/project/a995a1bf-fd66-4678-ab15-1b31deaae420 2024-10-18 21:44:56,094 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/0a226ceb-8232-4b54-a3af-c2fb579a3d06 2024-10-18 21:44:56,112 - DEBUG - ==>Verifying data for policy with id: ebf2bb96-5168-44a1-aca0-2ff3cf2aedc9, fqn: ['default-domain', 'ctest-TestBasicPolicy-48513884', 'ctest-policy-allow-all-95042318'] 2024-10-18 21:44:56,112 - INFO - VN ctest-vn-46061418 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-18 21:44:56,112 - DEBUG - Verifying the vn in opserver 2024-10-18 21:44:56,112 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-46061418 virtual network link through opserver 10.0.0.32 2024-10-18 21:44:56,112 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-10-18 21:44:56,127 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-46061418', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-46061418?flat'} 2024-10-18 21:44:56,127 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-46061418 is found in opserver 2024-10-18 21:44:56,141 - DEBUG - Do not have enough data to verify VN in agent 2024-10-18 21:44:56,147 - DEBUG - VRF ids for VN ctest-vn-46061418: {} 2024-10-18 21:44:56,217 - DEBUG - Services list from nova: [, , ] 2024-10-18 21:44:57,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2111-1) 2024-10-18 21:44:58,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2111-1) 2024-10-18 21:44:58,935 - INFO - Waiting for VM ctest-TestBasicPolicy-48513884-42203203 to be up.. 2024-10-18 21:44:59,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-18 21:45:04,144 - DEBUG - VM is in ACTIVE state now 2024-10-18 21:45:04,144 - INFO - VM name : ctest-TestBasicPolicy-48513884-42203203 2024-10-18 21:45:04,272 - DEBUG - VM ctest-TestBasicPolicy-48513884-42203203 ID is 6c7e11d1-126d-48d8-b637-d1e220eae18e 2024-10-18 21:45:04,299 - DEBUG - VM ctest-TestBasicPolicy-48513884-42203203 launched on Node cn-jenkins-deploy-platform-ansible-os-2111-1 2024-10-18 21:45:04,399 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/6c7e11d1-126d-48d8-b637-d1e220eae18e 2024-10-18 21:45:04,414 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/bd56ae66-f2c8-4971-ad01-dfe67aee7212 2024-10-18 21:45:07,685 - 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 1009ms') 2024-10-18 21:45:07,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48513884-42203203 failed! 2024-10-18 21:45:07,751 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48513884:ctest-vn-83857381 is 111.9.31.65 and allocation pool is NOT set 2024-10-18 21:45:09,812 - 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=5.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.419/2.891/5.364/2.472 ms') 2024-10-18 21:45:09,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48513884-42203203 passed 2024-10-18 21:45:09,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:45:09,983 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48513884-42203203, IP 111.9.31.67, Port 22 2024-10-18 21:45:10,160 - DEBUG - VM ctest-TestBasicPolicy-48513884-42203203 is ready for SSH connections 2024-10-18 21:45:10,161 - INFO - Waiting for VM ctest-TestBasicPolicy-48513884-02519703 to be up.. 2024-10-18 21:45:10,270 - DEBUG - VM is in ACTIVE state now 2024-10-18 21:45:10,270 - INFO - VM name : ctest-TestBasicPolicy-48513884-02519703 2024-10-18 21:45:10,361 - DEBUG - VM ctest-TestBasicPolicy-48513884-02519703 ID is da85bf44-893d-40fa-82f3-e1c1716e493a 2024-10-18 21:45:10,361 - DEBUG - VM ctest-TestBasicPolicy-48513884-02519703 launched on Node cn-jenkins-deploy-platform-ansible-os-2111-1 2024-10-18 21:45:10,456 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/da85bf44-893d-40fa-82f3-e1c1716e493a 2024-10-18 21:45:10,469 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/5c33f7ee-c9d0-4f12-b9d0-4b6141a2c5d2 2024-10-18 21:45:11,723 - 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=5.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.44 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 = 1.440/3.380/5.320/1.940 ms') 2024-10-18 21:45:11,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48513884-02519703 passed 2024-10-18 21:45:11,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:45:11,883 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48513884-02519703, IP 13.6.125.3, Port 22 2024-10-18 21:45:12,038 - DEBUG - VM ctest-TestBasicPolicy-48513884-02519703 is ready for SSH connections 2024-10-18 21:45:12,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:45:12,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.6.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-18 21:45:12,039 - DEBUG - ping -s 56 -c 3 -W 1 13.6.125.3 2024-10-18 21:45:16,462 - DEBUG - PING 13.6.125.3 (13.6.125.3): 56 data bytes 64 bytes from 13.6.125.3: seq=0 ttl=63 time=3.766 ms 64 bytes from 13.6.125.3: seq=1 ttl=63 time=0.946 ms 64 bytes from 13.6.125.3: seq=2 ttl=63 time=1.043 ms --- 13.6.125.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.946/1.918/3.766 ms 2024-10-18 21:45:16,462 - INFO - Ping to IP 13.6.125.3 from VM ctest-TestBasicPolicy-48513884-42203203 passed 2024-10-18 21:45:16,666 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ebf2bb96-5168-44a1-aca0-2ff3cf2aedc9", "href": "http://10.0.0.32:8082/network-policy/ebf2bb96-5168-44a1-aca0-2ff3cf2aedc9"}} 2024-10-18 21:45:16,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:45:16,667 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.6.125.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-18 21:45:16,667 - DEBUG - ping -s 56 -c 3 -W 1 13.6.125.3 2024-10-18 21:45:19,898 - DEBUG - PING 13.6.125.3 (13.6.125.3): 56 data bytes 64 bytes from 13.6.125.3: seq=0 ttl=63 time=1.632 ms --- 13.6.125.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.632/1.632/1.632 ms 2024-10-18 21:45:19,898 - WARNING - Ping to IP 13.6.125.3 from VM ctest-TestBasicPolicy-48513884-42203203 failed 2024-10-18 21:45:19,899 - INFO - Deleting VM ctest-TestBasicPolicy-48513884-02519703 2024-10-18 21:45:19,970 - INFO - Deleting VM ctest-TestBasicPolicy-48513884-42203203 2024-10-18 21:45:20,471 - INFO - Deleted policy ctest-policy-allow-all-95042318 2024-10-18 21:45:20,471 - INFO - Deleting VN ctest-vn-46061418 2024-10-18 21:45:20,520 - DEBUG - VN 0a226ceb-8232-4b54-a3af-c2fb579a3d06 still in use: Unable to complete operation on network 0a226ceb-8232-4b54-a3af-c2fb579a3d06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-461c9df8-c1dd-4324-b240-953e0a9c0de9'] 2024-10-18 21:45:20,520 - WARNING - Deleting VN ctest-vn-46061418 failed..Will retry 2024-10-18 21:45:22,650 - DEBUG - Response for deleting network () 2024-10-18 21:45:22,650 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d824d704-f756-49a5-8e2e-0dbcc51692a1 2024-10-18 21:45:22,661 - DEBUG - Response Code: 404 2024-10-18 21:45:22,661 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-18 21:45:22,668 - DEBUG - Requesting: http://10.0.0.32:8082/domain/6ea3b24a-afc8-4889-9241-9742b61e5bd0 2024-10-18 21:45:22,725 - DEBUG - Requesting: http://10.0.0.32:8082/project/a995a1bf-fd66-4678-ab15-1b31deaae420 2024-10-18 21:45:22,814 - INFO - Validated that VN ctest-vn-46061418 is not found in API Server 2024-10-18 21:45:22,826 - DEBUG - VN ctest-vn-46061418 is not present in Agent 10.0.0.32 2024-10-18 21:45:22,826 - INFO - Validated that VN ctest-vn-46061418 is not in any agent 2024-10-18 21:45:22,844 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46061418 info 2024-10-18 21:45:22,844 - INFO - Deleting VN ctest-vn-83857381 2024-10-18 21:45:22,960 - DEBUG - Response for deleting network () 2024-10-18 21:45:22,960 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/c25fe04c-0286-46a4-ada4-83f7adf3ab99 2024-10-18 21:45:22,973 - DEBUG - Response Code: 404 2024-10-18 21:45:22,973 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-10-18 21:45:22,981 - DEBUG - Requesting: http://10.0.0.32:8082/domain/6ea3b24a-afc8-4889-9241-9742b61e5bd0 2024-10-18 21:45:23,039 - DEBUG - Requesting: http://10.0.0.32:8082/project/a995a1bf-fd66-4678-ab15-1b31deaae420 2024-10-18 21:45:23,130 - INFO - Validated that VN ctest-vn-83857381 is not found in API Server 2024-10-18 21:45:23,144 - DEBUG - VN ctest-vn-83857381 is not present in Agent 10.0.0.32 2024-10-18 21:45:23,144 - INFO - Validated that VN ctest-vn-83857381 is not in any agent 2024-10-18 21:45:23,162 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83857381 info 2024-10-18 21:45:23,416 - DEBUG - No XMPP flaps were noticed during the test 2024-10-18 21:45:23,417 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-10-18 21:45:23,417 - INFO - -------------------------------------------------------------------------------- 2024-10-18 21:45:24,168 - INFO - Deleted project: ctest-TestBasicPolicy-48513884, ID : a995a1bf-fd66-4678-ab15-1b31deaae420