2025-01-09 11:44:32,430 - INFO - Domain Default found not creating 2025-01-09 11:44:32,612 - INFO - Project ctest-TestBasicPolicy-67384402 not found, creating it 2025-01-09 11:44:33,096 - INFO - Created Project:ctest-TestBasicPolicy-67384402, ID : 7956c9bf-bd91-4e81-9af9-efc600022e4f 2025-01-09 11:44:34,702 - INFO - ================================================================================ 2025-01-09 11:44:34,703 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-09 11:44:34,703 - 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-09 11:44:34,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.6': '0'}} with 2025-01-09 11:44:34,963 - INFO - Initial checks done. Running the testcase now 2025-01-09 11:44:34,963 - INFO - 2025-01-09 11:44:35,565 - DEBUG - Response for create_network : {'network': {'id': '6f1bc32e-791d-4e3a-adf1-52ddd63035dc', 'name': 'ctest-vn-14659113', 'tenant_id': '7956c9bfbd914e819af9efc600022e4f', 'project_id': '7956c9bfbd914e819af9efc600022e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67384402', 'ctest-vn-14659113'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:44:35,725 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec5a23fc-6d32-4e85-8cfe-959964420a7e', 'name': '', 'tenant_id': '7956c9bfbd914e819af9efc600022e4f', 'network_id': '6f1bc32e-791d-4e3a-adf1-52ddd63035dc', 'ip_version': 4, 'cidr': '55.154.219.192/26', 'allocation_pools': [{'start': '55.154.219.194', 'end': '55.154.219.254'}], 'gateway_ip': '55.154.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.154.219.194', 'tags': [], 'project_id': '7956c9bfbd914e819af9efc600022e4f'}} 2025-01-09 11:44:35,745 - INFO - Created VN ctest-vn-14659113 2025-01-09 11:44:35,800 - DEBUG - VN ctest-vn-14659113 UUID is 6f1bc32e-791d-4e3a-adf1-52ddd63035dc 2025-01-09 11:44:36,104 - DEBUG - Response for create_network : {'network': {'id': 'ab674f5d-f302-4c98-8317-bbb0f532fc7a', 'name': 'ctest-vn-67742673', 'tenant_id': '7956c9bfbd914e819af9efc600022e4f', 'project_id': '7956c9bfbd914e819af9efc600022e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67384402', 'ctest-vn-67742673'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:44:36,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6b1772e-91bd-4aee-8a9e-0557d49031dd', 'name': '', 'tenant_id': '7956c9bfbd914e819af9efc600022e4f', 'network_id': 'ab674f5d-f302-4c98-8317-bbb0f532fc7a', 'ip_version': 4, 'cidr': '90.191.211.0/26', 'allocation_pools': [{'start': '90.191.211.2', 'end': '90.191.211.62'}], 'gateway_ip': '90.191.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.191.211.2', 'tags': [], 'project_id': '7956c9bfbd914e819af9efc600022e4f'}} 2025-01-09 11:44:36,332 - INFO - Created VN ctest-vn-67742673 2025-01-09 11:44:36,388 - DEBUG - VN ctest-vn-67742673 UUID is ab674f5d-f302-4c98-8317-bbb0f532fc7a 2025-01-09 11:44:36,506 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-14659113, 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-67384402:ctest-vn-67742673, 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-09 11:44:36,821 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f1bc32e-791d-4e3a-adf1-52ddd63035dc', 'name': 'ctest-vn-14659113', 'tenant_id': '7956c9bfbd914e819af9efc600022e4f', 'project_id': '7956c9bfbd914e819af9efc600022e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec5a23fc-6d32-4e85-8cfe-959964420a7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67384402', 'ctest-vn-14659113'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67384402', 'ctest-policy-allow-all-04047262']], 'subnet_ipam': [{'subnet_cidr': '55.154.219.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:44:37,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab674f5d-f302-4c98-8317-bbb0f532fc7a', 'name': 'ctest-vn-67742673', 'tenant_id': '7956c9bfbd914e819af9efc600022e4f', 'project_id': '7956c9bfbd914e819af9efc600022e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a6b1772e-91bd-4aee-8a9e-0557d49031dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67384402', 'ctest-vn-67742673'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67384402', 'ctest-policy-allow-all-04047262']], 'subnet_ipam': [{'subnet_cidr': '90.191.211.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:44:37,244 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-01-09 11:44:37,543 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-01-09 11:44:37,574 - DEBUG - Requesting: http://10.0.0.45:8082/domain/1860da5e-b648-43ec-b814-9adc4a43eb5b 2025-01-09 11:44:37,592 - DEBUG - Requesting: http://10.0.0.45:8082/project/7956c9bf-bd91-4e81-9af9-efc600022e4f 2025-01-09 11:44:37,677 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6f1bc32e-791d-4e3a-adf1-52ddd63035dc 2025-01-09 11:44:37,689 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6f1bc32e-791d-4e3a-adf1-52ddd63035dc 2025-01-09 11:44:37,700 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/643e992f-1007-4273-906c-beaffe51c10f 2025-01-09 11:44:37,709 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/643e992f-1007-4273-906c-beaffe51c10f 2025-01-09 11:44:37,719 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/a4101f15-1b8a-4c3b-8f1a-25e2dfe1b103 2025-01-09 11:44:37,727 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 11:44:37,727 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6f1bc32e-791d-4e3a-adf1-52ddd63035dc 2025-01-09 11:44:37,738 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/643e992f-1007-4273-906c-beaffe51c10f 2025-01-09 11:44:37,756 - INFO - Verified VN network id 8 for VN 6f1bc32e-791d-4e3a-adf1-52ddd63035dc 2025-01-09 11:44:37,756 - INFO - Verifications in API Server for VN ctest-vn-14659113 passed 2025-01-09 11:44:37,756 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6f1bc32e-791d-4e3a-adf1-52ddd63035dc 2025-01-09 11:44:37,771 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/643e992f-1007-4273-906c-beaffe51c10f 2025-01-09 11:44:37,779 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/643e992f-1007-4273-906c-beaffe51c10f 2025-01-09 11:44:37,788 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/a4101f15-1b8a-4c3b-8f1a-25e2dfe1b103 2025-01-09 11:44:37,802 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-14659113', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67384402', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8006207366949064250', 'uuid-lslong': '12533890350683534812'}, 'enable': 'true', 'created': '2025-01-09T11:44:35', 'last-modified': '2025-01-09T11:44:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000596'} 2025-01-09 11:44:37,809 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 11:44:37,809 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14659113 passed 2025-01-09 11:44:37,809 - DEBUG - ====Verifying policy data for ctest-vn-14659113 in API_Server ====== 2025-01-09 11:44:37,809 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-01-09 11:44:37,816 - DEBUG - Requesting: http://10.0.0.45:8082/domain/1860da5e-b648-43ec-b814-9adc4a43eb5b 2025-01-09 11:44:37,829 - DEBUG - Requesting: http://10.0.0.45:8082/project/7956c9bf-bd91-4e81-9af9-efc600022e4f 2025-01-09 11:44:37,910 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6f1bc32e-791d-4e3a-adf1-52ddd63035dc 2025-01-09 11:44:37,920 - DEBUG - ==>Verifying data for policy with id: bda8eb9c-53fc-4f88-9b64-360158622be2, fqn: ['default-domain', 'ctest-TestBasicPolicy-67384402', 'ctest-policy-allow-all-04047262'] 2025-01-09 11:44:37,920 - INFO - VN ctest-vn-14659113 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 11:44:37,920 - DEBUG - Verifying the vn in opserver 2025-01-09 11:44:37,920 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-14659113 virtual network link through opserver 10.0.0.45 2025-01-09 11:44:37,920 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-01-09 11:44:38,219 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-01-09 11:44:38,285 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-14659113', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-14659113?flat'} 2025-01-09 11:44:38,286 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-14659113 is found in opserver 2025-01-09 11:44:38,298 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 11:44:38,304 - DEBUG - VRF ids for VN ctest-vn-14659113: {} 2025-01-09 11:44:38,304 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-01-09 11:44:38,310 - DEBUG - Requesting: http://10.0.0.45:8082/domain/1860da5e-b648-43ec-b814-9adc4a43eb5b 2025-01-09 11:44:38,326 - DEBUG - Requesting: http://10.0.0.45:8082/project/7956c9bf-bd91-4e81-9af9-efc600022e4f 2025-01-09 11:44:38,405 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/ab674f5d-f302-4c98-8317-bbb0f532fc7a 2025-01-09 11:44:38,420 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/ab674f5d-f302-4c98-8317-bbb0f532fc7a 2025-01-09 11:44:38,432 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/300c676b-4adb-46bf-b848-7cd25d93210d 2025-01-09 11:44:38,440 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/300c676b-4adb-46bf-b848-7cd25d93210d 2025-01-09 11:44:38,448 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/e0c17abf-d632-4d6c-bb74-c550b57cd118 2025-01-09 11:44:38,456 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 11:44:38,456 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/ab674f5d-f302-4c98-8317-bbb0f532fc7a 2025-01-09 11:44:38,466 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/300c676b-4adb-46bf-b848-7cd25d93210d 2025-01-09 11:44:38,482 - INFO - Verified VN network id 9 for VN ab674f5d-f302-4c98-8317-bbb0f532fc7a 2025-01-09 11:44:38,483 - INFO - Verifications in API Server for VN ctest-vn-67742673 passed 2025-01-09 11:44:38,483 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/ab674f5d-f302-4c98-8317-bbb0f532fc7a 2025-01-09 11:44:38,495 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/300c676b-4adb-46bf-b848-7cd25d93210d 2025-01-09 11:44:38,503 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/300c676b-4adb-46bf-b848-7cd25d93210d 2025-01-09 11:44:38,511 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/e0c17abf-d632-4d6c-bb74-c550b57cd118 2025-01-09 11:44:38,526 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-67742673', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67384402', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12350927768014441624', 'uuid-lslong': '9446225112135302266'}, 'enable': 'true', 'created': '2025-01-09T11:44:36', 'last-modified': '2025-01-09T11:44:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481890'} 2025-01-09 11:44:38,533 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 11:44:38,533 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67742673 passed 2025-01-09 11:44:38,534 - DEBUG - ====Verifying policy data for ctest-vn-67742673 in API_Server ====== 2025-01-09 11:44:38,534 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-01-09 11:44:38,540 - DEBUG - Requesting: http://10.0.0.45:8082/domain/1860da5e-b648-43ec-b814-9adc4a43eb5b 2025-01-09 11:44:38,554 - DEBUG - Requesting: http://10.0.0.45:8082/project/7956c9bf-bd91-4e81-9af9-efc600022e4f 2025-01-09 11:44:38,628 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/ab674f5d-f302-4c98-8317-bbb0f532fc7a 2025-01-09 11:44:38,638 - DEBUG - ==>Verifying data for policy with id: bda8eb9c-53fc-4f88-9b64-360158622be2, fqn: ['default-domain', 'ctest-TestBasicPolicy-67384402', 'ctest-policy-allow-all-04047262'] 2025-01-09 11:44:38,638 - INFO - VN ctest-vn-67742673 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 11:44:38,638 - DEBUG - Verifying the vn in opserver 2025-01-09 11:44:38,638 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-67742673 virtual network link through opserver 10.0.0.45 2025-01-09 11:44:38,638 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-01-09 11:44:38,651 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-67742673', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-67742673?flat'} 2025-01-09 11:44:38,651 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-67742673 is found in opserver 2025-01-09 11:44:38,663 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 11:44:38,669 - DEBUG - VRF ids for VN ctest-vn-67742673: {} 2025-01-09 11:44:38,735 - DEBUG - Services list from nova: [, , ] 2025-01-09 11:44:39,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2584-1) 2025-01-09 11:44:41,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2584-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2584-1) 2025-01-09 11:44:41,085 - INFO - Waiting for VM ctest-TestBasicPolicy-67384402-46224355 to be up.. 2025-01-09 11:44:41,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 11:44:46,259 - DEBUG - VM is in ACTIVE state now 2025-01-09 11:44:46,259 - INFO - VM name : ctest-TestBasicPolicy-67384402-46224355 2025-01-09 11:44:46,361 - DEBUG - VM ctest-TestBasicPolicy-67384402-46224355 ID is d361911a-3fcf-4910-82a1-9cb7de41acb4 2025-01-09 11:44:46,385 - DEBUG - VM ctest-TestBasicPolicy-67384402-46224355 launched on Node cn-jenkins-deploy-platform-ansible-os-2584-1 2025-01-09 11:44:46,495 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/d361911a-3fcf-4910-82a1-9cb7de41acb4 2025-01-09 11:44:46,506 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/dc57edf8-e72a-4dc5-9450-3910a2eeccd2 2025-01-09 11:44:49,770 - 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 1013ms') 2025-01-09 11:44:49,770 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67384402-46224355 failed! 2025-01-09 11:44:49,828 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67384402:ctest-vn-14659113 is 55.154.219.193 and allocation pool is NOT set 2025-01-09 11:44:51,900 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.551 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.551/4.669/8.787/4.118 ms') 2025-01-09 11:44:51,900 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67384402-46224355 passed 2025-01-09 11:44:52,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:44:52,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67384402-46224355, IP 55.154.219.195, Port 22 2025-01-09 11:44:52,226 - DEBUG - VM ctest-TestBasicPolicy-67384402-46224355 is ready for SSH connections 2025-01-09 11:44:52,226 - INFO - Waiting for VM ctest-TestBasicPolicy-67384402-54632753 to be up.. 2025-01-09 11:44:52,324 - DEBUG - VM is in ACTIVE state now 2025-01-09 11:44:52,324 - INFO - VM name : ctest-TestBasicPolicy-67384402-54632753 2025-01-09 11:44:52,418 - DEBUG - VM ctest-TestBasicPolicy-67384402-54632753 ID is 9cd58936-a159-463b-b50f-5d3fd7198a46 2025-01-09 11:44:52,419 - DEBUG - VM ctest-TestBasicPolicy-67384402-54632753 launched on Node cn-jenkins-deploy-platform-ansible-os-2584-1 2025-01-09 11:44:52,504 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/9cd58936-a159-463b-b50f-5d3fd7198a46 2025-01-09 11:44:52,515 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/ac67cb8b-d01d-4e76-b74f-17c4604e8079 2025-01-09 11:44:53,769 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.951/3.438/1.486 ms') 2025-01-09 11:44:53,769 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67384402-54632753 passed 2025-01-09 11:44:53,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:44:53,924 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67384402-54632753, IP 90.191.211.3, Port 22 2025-01-09 11:44:54,084 - DEBUG - VM ctest-TestBasicPolicy-67384402-54632753 is ready for SSH connections 2025-01-09 11:44:54,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:44:54,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.191.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-01-09 11:44:54,085 - DEBUG - ping -s 56 -c 3 -W 1 90.191.211.3 2025-01-09 11:44:58,160 - DEBUG - PING 90.191.211.3 (90.191.211.3): 56 data bytes 64 bytes from 90.191.211.3: seq=0 ttl=63 time=4.120 ms 64 bytes from 90.191.211.3: seq=1 ttl=63 time=0.953 ms 64 bytes from 90.191.211.3: seq=2 ttl=63 time=0.965 ms --- 90.191.211.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/2.012/4.120 ms 2025-01-09 11:44:58,162 - INFO - Ping to IP 90.191.211.3 from VM ctest-TestBasicPolicy-67384402-46224355 passed 2025-01-09 11:44:58,360 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bda8eb9c-53fc-4f88-9b64-360158622be2", "href": "http://10.0.0.45:8082/network-policy/bda8eb9c-53fc-4f88-9b64-360158622be2"}} 2025-01-09 11:44:58,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:44:58,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.191.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-01-09 11:44:58,361 - DEBUG - ping -s 56 -c 3 -W 1 90.191.211.3 2025-01-09 11:45:01,566 - DEBUG - PING 90.191.211.3 (90.191.211.3): 56 data bytes 64 bytes from 90.191.211.3: seq=0 ttl=63 time=2.417 ms --- 90.191.211.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.417/2.417/2.417 ms 2025-01-09 11:45:01,566 - WARNING - Ping to IP 90.191.211.3 from VM ctest-TestBasicPolicy-67384402-46224355 failed 2025-01-09 11:45:01,567 - INFO - Deleting VM ctest-TestBasicPolicy-67384402-54632753 2025-01-09 11:45:01,646 - INFO - Deleting VM ctest-TestBasicPolicy-67384402-46224355 2025-01-09 11:45:02,090 - INFO - Deleted policy ctest-policy-allow-all-04047262 2025-01-09 11:45:02,094 - INFO - Deleting VN ctest-vn-67742673 2025-01-09 11:45:02,144 - DEBUG - VN ab674f5d-f302-4c98-8317-bbb0f532fc7a still in use: Unable to complete operation on network ab674f5d-f302-4c98-8317-bbb0f532fc7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e9ea2516-2e49-4195-9865-10773ab1a347'] 2025-01-09 11:45:02,144 - WARNING - Deleting VN ctest-vn-67742673 failed..Will retry 2025-01-09 11:45:04,272 - DEBUG - Response for deleting network () 2025-01-09 11:45:04,272 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/300c676b-4adb-46bf-b848-7cd25d93210d 2025-01-09 11:45:04,280 - DEBUG - Response Code: 404 2025-01-09 11:45:04,280 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-01-09 11:45:04,288 - DEBUG - Requesting: http://10.0.0.45:8082/domain/1860da5e-b648-43ec-b814-9adc4a43eb5b 2025-01-09 11:45:04,343 - DEBUG - Requesting: http://10.0.0.45:8082/project/7956c9bf-bd91-4e81-9af9-efc600022e4f 2025-01-09 11:45:04,417 - INFO - Validated that VN ctest-vn-67742673 is not found in API Server 2025-01-09 11:45:04,428 - DEBUG - VN ctest-vn-67742673 is not present in Agent 10.0.0.45 2025-01-09 11:45:04,428 - INFO - Validated that VN ctest-vn-67742673 is not in any agent 2025-01-09 11:45:04,445 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67742673 info 2025-01-09 11:45:04,445 - INFO - Deleting VN ctest-vn-14659113 2025-01-09 11:45:04,552 - DEBUG - Response for deleting network () 2025-01-09 11:45:04,552 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/643e992f-1007-4273-906c-beaffe51c10f 2025-01-09 11:45:04,562 - DEBUG - Response Code: 404 2025-01-09 11:45:04,562 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-01-09 11:45:04,569 - DEBUG - Requesting: http://10.0.0.45:8082/domain/1860da5e-b648-43ec-b814-9adc4a43eb5b 2025-01-09 11:45:04,625 - DEBUG - Requesting: http://10.0.0.45:8082/project/7956c9bf-bd91-4e81-9af9-efc600022e4f 2025-01-09 11:45:04,704 - INFO - Validated that VN ctest-vn-14659113 is not found in API Server 2025-01-09 11:45:04,717 - DEBUG - VN ctest-vn-14659113 is not present in Agent 10.0.0.45 2025-01-09 11:45:04,717 - INFO - Validated that VN ctest-vn-14659113 is not in any agent 2025-01-09 11:45:04,737 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14659113 info 2025-01-09 11:45:04,993 - DEBUG - No XMPP flaps were noticed during the test 2025-01-09 11:45:04,993 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-09 11:45:04,993 - INFO - -------------------------------------------------------------------------------- 2025-01-09 11:45:05,716 - INFO - Deleted project: ctest-TestBasicPolicy-67384402, ID : 7956c9bf-bd91-4e81-9af9-efc600022e4f