2025-01-20 02:20:14,585 - INFO - Domain Default found not creating 2025-01-20 02:20:14,777 - INFO - Project ctest-TestBasicPolicy-02604041 not found, creating it 2025-01-20 02:20:15,284 - INFO - Created Project:ctest-TestBasicPolicy-02604041, ID : f92e5fd2-10b5-46c9-8355-9f412dc60f55 2025-01-20 02:20:16,969 - INFO - ================================================================================ 2025-01-20 02:20:16,969 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-20 02:20:16,969 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-01-20 02:20:17,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.5': '0'}} with 2025-01-20 02:20:17,233 - INFO - Initial checks done. Running the testcase now 2025-01-20 02:20:17,233 - INFO - 2025-01-20 02:20:17,875 - DEBUG - Response for create_network : {'network': {'id': '21229849-a96e-473c-8993-ed79732663ff', 'name': 'ctest-vn-37266972', 'tenant_id': 'f92e5fd210b546c983559f412dc60f55', 'project_id': 'f92e5fd210b546c983559f412dc60f55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02604041', 'ctest-vn-37266972'], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:20:18,098 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daae1f7d-32f3-4e45-87cb-3e05b207a863', 'name': '', 'tenant_id': 'f92e5fd210b546c983559f412dc60f55', 'network_id': '21229849-a96e-473c-8993-ed79732663ff', 'ip_version': 4, 'cidr': '114.160.143.128/26', 'allocation_pools': [{'start': '114.160.143.130', 'end': '114.160.143.190'}], 'gateway_ip': '114.160.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.160.143.130', 'tags': [], 'project_id': 'f92e5fd210b546c983559f412dc60f55'}} 2025-01-20 02:20:18,123 - INFO - Created VN ctest-vn-37266972 2025-01-20 02:20:18,181 - DEBUG - VN ctest-vn-37266972 UUID is 21229849-a96e-473c-8993-ed79732663ff 2025-01-20 02:20:18,515 - DEBUG - Response for create_network : {'network': {'id': '2853fc47-7741-402e-b72c-40b407600be4', 'name': 'ctest-vn-83880330', 'tenant_id': 'f92e5fd210b546c983559f412dc60f55', 'project_id': 'f92e5fd210b546c983559f412dc60f55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02604041', 'ctest-vn-83880330'], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:20:18,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '708e1b82-f759-48de-9a3c-c2f02b1cc12b', 'name': '', 'tenant_id': 'f92e5fd210b546c983559f412dc60f55', 'network_id': '2853fc47-7741-402e-b72c-40b407600be4', 'ip_version': 4, 'cidr': '48.94.226.128/26', 'allocation_pools': [{'start': '48.94.226.130', 'end': '48.94.226.190'}], 'gateway_ip': '48.94.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.94.226.130', 'tags': [], 'project_id': 'f92e5fd210b546c983559f412dc60f55'}} 2025-01-20 02:20:18,754 - INFO - Created VN ctest-vn-83880330 2025-01-20 02:20:18,808 - DEBUG - VN ctest-vn-83880330 UUID is 2853fc47-7741-402e-b72c-40b407600be4 2025-01-20 02:20:18,940 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-37266972, 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-02604041:ctest-vn-83880330, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-01-20 02:20:19,259 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21229849-a96e-473c-8993-ed79732663ff', 'name': 'ctest-vn-37266972', 'tenant_id': 'f92e5fd210b546c983559f412dc60f55', 'project_id': 'f92e5fd210b546c983559f412dc60f55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['daae1f7d-32f3-4e45-87cb-3e05b207a863'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02604041', 'ctest-vn-37266972'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02604041', 'ctest-policy-allow-all-97302606']], 'subnet_ipam': [{'subnet_cidr': '114.160.143.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:20:19,640 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2853fc47-7741-402e-b72c-40b407600be4', 'name': 'ctest-vn-83880330', 'tenant_id': 'f92e5fd210b546c983559f412dc60f55', 'project_id': 'f92e5fd210b546c983559f412dc60f55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['708e1b82-f759-48de-9a3c-c2f02b1cc12b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02604041', 'ctest-vn-83880330'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02604041', 'ctest-policy-allow-all-97302606']], 'subnet_ipam': [{'subnet_cidr': '48.94.226.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:20:19,840 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-20 02:20:20,215 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-20 02:20:20,253 - DEBUG - Requesting: http://10.0.0.40:8082/domain/21c3f377-201f-4207-b4ef-b03c1c786541 2025-01-20 02:20:20,278 - DEBUG - Requesting: http://10.0.0.40:8082/project/f92e5fd2-10b5-46c9-8355-9f412dc60f55 2025-01-20 02:20:20,357 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/21229849-a96e-473c-8993-ed79732663ff 2025-01-20 02:20:20,367 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/21229849-a96e-473c-8993-ed79732663ff 2025-01-20 02:20:20,375 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/b47210a1-5acd-4f10-9c49-9a908d7fe6ab 2025-01-20 02:20:20,384 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/b47210a1-5acd-4f10-9c49-9a908d7fe6ab 2025-01-20 02:20:20,394 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/48f7a149-6e78-467e-87c5-37b0c303cd39 2025-01-20 02:20:20,403 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-20 02:20:20,403 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/21229849-a96e-473c-8993-ed79732663ff 2025-01-20 02:20:20,415 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/b47210a1-5acd-4f10-9c49-9a908d7fe6ab 2025-01-20 02:20:20,430 - INFO - Verified VN network id 9 for VN 21229849-a96e-473c-8993-ed79732663ff 2025-01-20 02:20:20,430 - INFO - Verifications in API Server for VN ctest-vn-37266972 passed 2025-01-20 02:20:20,430 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/21229849-a96e-473c-8993-ed79732663ff 2025-01-20 02:20:20,439 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/b47210a1-5acd-4f10-9c49-9a908d7fe6ab 2025-01-20 02:20:20,448 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/b47210a1-5acd-4f10-9c49-9a908d7fe6ab 2025-01-20 02:20:20,456 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/48f7a149-6e78-467e-87c5-37b0c303cd39 2025-01-20 02:20:20,471 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-37266972', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02604041', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2387638194602395452', 'uuid-lslong': '9913528310651315199'}, 'enable': 'true', 'created': '2025-01-20T02:20:17', 'last-modified': '2025-01-20T02:20:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.241372'} 2025-01-20 02:20:20,480 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-20 02:20:20,481 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37266972 passed 2025-01-20 02:20:20,481 - DEBUG - ====Verifying policy data for ctest-vn-37266972 in API_Server ====== 2025-01-20 02:20:20,481 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-20 02:20:20,489 - DEBUG - Requesting: http://10.0.0.40:8082/domain/21c3f377-201f-4207-b4ef-b03c1c786541 2025-01-20 02:20:20,504 - DEBUG - Requesting: http://10.0.0.40:8082/project/f92e5fd2-10b5-46c9-8355-9f412dc60f55 2025-01-20 02:20:20,574 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/21229849-a96e-473c-8993-ed79732663ff 2025-01-20 02:20:20,584 - DEBUG - ==>Verifying data for policy with id: ccc1802f-d2aa-42b7-8086-be2c00579f20, fqn: ['default-domain', 'ctest-TestBasicPolicy-02604041', 'ctest-policy-allow-all-97302606'] 2025-01-20 02:20:20,584 - INFO - VN ctest-vn-37266972 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-20 02:20:20,584 - DEBUG - Verifying the vn in opserver 2025-01-20 02:20:20,584 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-37266972 virtual network link through opserver 10.0.0.40 2025-01-20 02:20:20,584 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-20 02:20:20,922 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-20 02:20:20,988 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-37266972', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-37266972?flat'} 2025-01-20 02:20:20,988 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-37266972 is found in opserver 2025-01-20 02:20:21,002 - DEBUG - Do not have enough data to verify VN in agent 2025-01-20 02:20:21,009 - DEBUG - VRF ids for VN ctest-vn-37266972: {} 2025-01-20 02:20:21,009 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-20 02:20:21,017 - DEBUG - Requesting: http://10.0.0.40:8082/domain/21c3f377-201f-4207-b4ef-b03c1c786541 2025-01-20 02:20:21,030 - DEBUG - Requesting: http://10.0.0.40:8082/project/f92e5fd2-10b5-46c9-8355-9f412dc60f55 2025-01-20 02:20:21,105 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2853fc47-7741-402e-b72c-40b407600be4 2025-01-20 02:20:21,120 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2853fc47-7741-402e-b72c-40b407600be4 2025-01-20 02:20:21,131 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/15505747-016e-47e3-ab4c-262de0305f56 2025-01-20 02:20:21,139 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/15505747-016e-47e3-ab4c-262de0305f56 2025-01-20 02:20:21,149 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/d6ac13a0-2f2f-4fb6-8c9f-415a4996b5bd 2025-01-20 02:20:21,159 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-20 02:20:21,159 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2853fc47-7741-402e-b72c-40b407600be4 2025-01-20 02:20:21,169 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/15505747-016e-47e3-ab4c-262de0305f56 2025-01-20 02:20:21,185 - INFO - Verified VN network id 10 for VN 2853fc47-7741-402e-b72c-40b407600be4 2025-01-20 02:20:21,185 - INFO - Verifications in API Server for VN ctest-vn-83880330 passed 2025-01-20 02:20:21,186 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2853fc47-7741-402e-b72c-40b407600be4 2025-01-20 02:20:21,197 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/15505747-016e-47e3-ab4c-262de0305f56 2025-01-20 02:20:21,206 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/15505747-016e-47e3-ab4c-262de0305f56 2025-01-20 02:20:21,218 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/d6ac13a0-2f2f-4fb6-8c9f-415a4996b5bd 2025-01-20 02:20:21,235 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-83880330', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02604041', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2905943568457744430', 'uuid-lslong': '13198995749878107108'}, 'enable': 'true', 'created': '2025-01-20T02:20:18', 'last-modified': '2025-01-20T02:20:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.650380'} 2025-01-20 02:20:21,243 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-20 02:20:21,244 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83880330 passed 2025-01-20 02:20:21,244 - DEBUG - ====Verifying policy data for ctest-vn-83880330 in API_Server ====== 2025-01-20 02:20:21,244 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-20 02:20:21,251 - DEBUG - Requesting: http://10.0.0.40:8082/domain/21c3f377-201f-4207-b4ef-b03c1c786541 2025-01-20 02:20:21,265 - DEBUG - Requesting: http://10.0.0.40:8082/project/f92e5fd2-10b5-46c9-8355-9f412dc60f55 2025-01-20 02:20:21,339 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2853fc47-7741-402e-b72c-40b407600be4 2025-01-20 02:20:21,349 - DEBUG - ==>Verifying data for policy with id: ccc1802f-d2aa-42b7-8086-be2c00579f20, fqn: ['default-domain', 'ctest-TestBasicPolicy-02604041', 'ctest-policy-allow-all-97302606'] 2025-01-20 02:20:21,349 - INFO - VN ctest-vn-83880330 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-20 02:20:21,349 - DEBUG - Verifying the vn in opserver 2025-01-20 02:20:21,349 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-83880330 virtual network link through opserver 10.0.0.40 2025-01-20 02:20:21,349 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-20 02:20:21,362 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-83880330', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-83880330?flat'} 2025-01-20 02:20:21,362 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-83880330 is found in opserver 2025-01-20 02:20:21,376 - DEBUG - Do not have enough data to verify VN in agent 2025-01-20 02:20:21,382 - DEBUG - VRF ids for VN ctest-vn-83880330: {} 2025-01-20 02:20:21,451 - DEBUG - Services list from nova: [, , ] 2025-01-20 02:20:22,609 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2651-1) 2025-01-20 02:20:24,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2651-1) 2025-01-20 02:20:24,032 - INFO - Waiting for VM ctest-TestBasicPolicy-02604041-99045175 to be up.. 2025-01-20 02:20:24,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-20 02:20:29,220 - DEBUG - VM is in ACTIVE state now 2025-01-20 02:20:29,220 - INFO - VM name : ctest-TestBasicPolicy-02604041-99045175 2025-01-20 02:20:29,319 - DEBUG - VM ctest-TestBasicPolicy-02604041-99045175 ID is 7d90878c-46da-44fa-b5ea-dc3e972fafb2 2025-01-20 02:20:29,344 - DEBUG - VM ctest-TestBasicPolicy-02604041-99045175 launched on Node cn-jenkins-deploy-platform-ansible-os-2651-1 2025-01-20 02:20:29,441 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/7d90878c-46da-44fa-b5ea-dc3e972fafb2 2025-01-20 02:20:29,452 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/3edbad57-fb24-4a15-883c-e6831ebec904 2025-01-20 02:20:32,723 - 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 1019ms') 2025-01-20 02:20:32,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02604041-99045175 failed! 2025-01-20 02:20:32,780 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02604041:ctest-vn-37266972 is 114.160.143.129 and allocation pool is NOT set 2025-01-20 02:20:36,842 - 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=2 ttl=63 time=8.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 8.271/8.271/8.271/0.000 ms') 2025-01-20 02:20:36,842 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02604041-99045175 passed 2025-01-20 02:20:36,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:20:36,992 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02604041-99045175, IP 114.160.143.131, Port 22 2025-01-20 02:20:37,148 - DEBUG - VM ctest-TestBasicPolicy-02604041-99045175 is ready for SSH connections 2025-01-20 02:20:37,148 - INFO - Waiting for VM ctest-TestBasicPolicy-02604041-63870119 to be up.. 2025-01-20 02:20:37,245 - DEBUG - VM is in ACTIVE state now 2025-01-20 02:20:37,245 - INFO - VM name : ctest-TestBasicPolicy-02604041-63870119 2025-01-20 02:20:37,326 - DEBUG - VM ctest-TestBasicPolicy-02604041-63870119 ID is e5efb9f4-25d8-47be-af91-730d878e56af 2025-01-20 02:20:37,326 - DEBUG - VM ctest-TestBasicPolicy-02604041-63870119 launched on Node cn-jenkins-deploy-platform-ansible-os-2651-1 2025-01-20 02:20:37,406 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/e5efb9f4-25d8-47be-af91-730d878e56af 2025-01-20 02:20:37,415 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/51cc38d0-0add-4c27-adc8-b0eb3e650ce3 2025-01-20 02:20:38,652 - 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=3.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.942/3.417/1.475 ms') 2025-01-20 02:20:38,652 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02604041-63870119 passed 2025-01-20 02:20:38,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:20:38,808 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02604041-63870119, IP 48.94.226.131, Port 22 2025-01-20 02:20:38,974 - DEBUG - VM ctest-TestBasicPolicy-02604041-63870119 is ready for SSH connections 2025-01-20 02:20:38,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:20:38,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.94.226.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-20 02:20:38,974 - DEBUG - ping -s 56 -c 3 -W 1 48.94.226.131 2025-01-20 02:20:43,062 - DEBUG - PING 48.94.226.131 (48.94.226.131): 56 data bytes 64 bytes from 48.94.226.131: seq=0 ttl=63 time=3.900 ms 64 bytes from 48.94.226.131: seq=1 ttl=63 time=0.861 ms 64 bytes from 48.94.226.131: seq=2 ttl=63 time=0.880 ms --- 48.94.226.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.880/3.900 ms 2025-01-20 02:20:43,062 - INFO - Ping to IP 48.94.226.131 from VM ctest-TestBasicPolicy-02604041-99045175 passed 2025-01-20 02:20:43,236 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ccc1802f-d2aa-42b7-8086-be2c00579f20", "href": "http://10.0.0.40:8082/network-policy/ccc1802f-d2aa-42b7-8086-be2c00579f20"}} 2025-01-20 02:20:43,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:20:43,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.94.226.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-20 02:20:43,236 - DEBUG - ping -s 56 -c 3 -W 1 48.94.226.131 2025-01-20 02:20:46,462 - DEBUG - PING 48.94.226.131 (48.94.226.131): 56 data bytes 64 bytes from 48.94.226.131: seq=0 ttl=63 time=1.563 ms --- 48.94.226.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.563/1.563/1.563 ms 2025-01-20 02:20:46,462 - WARNING - Ping to IP 48.94.226.131 from VM ctest-TestBasicPolicy-02604041-99045175 failed 2025-01-20 02:20:46,462 - INFO - Deleting VM ctest-TestBasicPolicy-02604041-63870119 2025-01-20 02:20:46,542 - INFO - Deleting VM ctest-TestBasicPolicy-02604041-99045175 2025-01-20 02:20:46,982 - INFO - Deleted policy ctest-policy-allow-all-97302606 2025-01-20 02:20:46,982 - INFO - Deleting VN ctest-vn-83880330 2025-01-20 02:20:47,031 - DEBUG - VN 2853fc47-7741-402e-b72c-40b407600be4 still in use: Unable to complete operation on network 2853fc47-7741-402e-b72c-40b407600be4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3f2eceee-cebf-40ec-a0a6-7d6adf6aa356'] 2025-01-20 02:20:47,031 - WARNING - Deleting VN ctest-vn-83880330 failed..Will retry 2025-01-20 02:20:49,164 - DEBUG - Response for deleting network () 2025-01-20 02:20:49,164 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/15505747-016e-47e3-ab4c-262de0305f56 2025-01-20 02:20:49,177 - DEBUG - Response Code: 404 2025-01-20 02:20:49,177 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-20 02:20:49,185 - DEBUG - Requesting: http://10.0.0.40:8082/domain/21c3f377-201f-4207-b4ef-b03c1c786541 2025-01-20 02:20:49,242 - DEBUG - Requesting: http://10.0.0.40:8082/project/f92e5fd2-10b5-46c9-8355-9f412dc60f55 2025-01-20 02:20:49,318 - INFO - Validated that VN ctest-vn-83880330 is not found in API Server 2025-01-20 02:20:49,331 - DEBUG - VN ctest-vn-83880330 is not present in Agent 10.0.0.40 2025-01-20 02:20:49,331 - INFO - Validated that VN ctest-vn-83880330 is not in any agent 2025-01-20 02:20:49,351 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83880330 info 2025-01-20 02:20:49,351 - INFO - Deleting VN ctest-vn-37266972 2025-01-20 02:20:49,466 - DEBUG - Response for deleting network () 2025-01-20 02:20:49,466 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/b47210a1-5acd-4f10-9c49-9a908d7fe6ab 2025-01-20 02:20:49,472 - DEBUG - Response Code: 404 2025-01-20 02:20:49,473 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-20 02:20:49,484 - DEBUG - Requesting: http://10.0.0.40:8082/domain/21c3f377-201f-4207-b4ef-b03c1c786541 2025-01-20 02:20:49,538 - DEBUG - Requesting: http://10.0.0.40:8082/project/f92e5fd2-10b5-46c9-8355-9f412dc60f55 2025-01-20 02:20:49,615 - INFO - Validated that VN ctest-vn-37266972 is not found in API Server 2025-01-20 02:20:49,628 - DEBUG - VN ctest-vn-37266972 is not present in Agent 10.0.0.40 2025-01-20 02:20:49,628 - INFO - Validated that VN ctest-vn-37266972 is not in any agent 2025-01-20 02:20:49,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37266972 info 2025-01-20 02:20:49,915 - DEBUG - No XMPP flaps were noticed during the test 2025-01-20 02:20:49,915 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-01-20 02:20:49,915 - INFO - -------------------------------------------------------------------------------- 2025-01-20 02:20:50,637 - INFO - Deleted project: ctest-TestBasicPolicy-02604041, ID : f92e5fd2-10b5-46c9-8355-9f412dc60f55