2024-08-24 01:57:29,622 - INFO - Domain Default found not creating 2024-08-24 01:57:29,774 - INFO - Project ctest-TestBasicVMVN-12291750 not found, creating it 2024-08-24 01:57:30,221 - INFO - Created Project:ctest-TestBasicVMVN-12291750, ID : 9875a0d7-7cf5-4752-8791-4a7055129a91 2024-08-24 01:57:41,039 - INFO - ================================================================================ 2024-08-24 01:57:41,039 - INFO - STARTING TEST : test_generic_link_local_service 2024-08-24 01:57:41,039 - INFO - TEST DESCRIPTION : Description: Test to validate generic linklocal service - running nova list from vm. 1.Create generic link local service to be able to wget to jenkins 2.Create a vm 3.Try wget to jenkins - passes if successful else fails Maintainer: sandipd@juniper.net 2024-08-24 01:57:41,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.20': '0'}} with 2024-08-24 01:57:41,297 - INFO - Initial checks done. Running the testcase now 2024-08-24 01:57:41,297 - INFO - 2024-08-24 01:57:41,843 - DEBUG - Response for create_network : {'network': {'id': '68dda52e-d019-4bc1-9249-6657f40b69f1', 'name': 'ctest-vn2_metadata-49949552', 'tenant_id': '9875a0d77cf5475287914a7055129a91', 'project_id': '9875a0d77cf5475287914a7055129a91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-12291750', 'ctest-vn2_metadata-49949552'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:57:42,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '298cf9d7-fa05-4d24-97c7-4037371261fc', 'name': '', 'tenant_id': '9875a0d77cf5475287914a7055129a91', 'network_id': '68dda52e-d019-4bc1-9249-6657f40b69f1', 'ip_version': 4, 'cidr': '11.1.1.0/24', 'allocation_pools': [{'start': '11.1.1.2', 'end': '11.1.1.254'}], 'gateway_ip': '11.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.1.1.2', 'tags': [], 'project_id': '9875a0d77cf5475287914a7055129a91'}} 2024-08-24 01:57:42,035 - INFO - Created VN ctest-vn2_metadata-49949552 2024-08-24 01:57:42,086 - DEBUG - VN ctest-vn2_metadata-49949552 UUID is 68dda52e-d019-4bc1-9249-6657f40b69f1 2024-08-24 01:57:42,263 - DEBUG - Services list from nova: [, , ] 2024-08-24 01:57:43,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:57:43,353 - DEBUG - Link local service introspect added 2024-08-24 01:57:43,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 01:57:48,463 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:57:48,603 - INFO - Waiting for VM ctest-TestBasicVMVN-12291750-54453600 to be up.. 2024-08-24 01:57:48,603 - INFO - VM name : ctest-TestBasicVMVN-12291750-54453600 2024-08-24 01:57:48,676 - DEBUG - VM ctest-TestBasicVMVN-12291750-54453600 ID is d952c24f-7bed-4de0-8260-38be43bec086 2024-08-24 01:57:48,676 - DEBUG - VM ctest-TestBasicVMVN-12291750-54453600 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:57:48,749 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d952c24f-7bed-4de0-8260-38be43bec086 2024-08-24 01:57:49,040 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d952c24f-7bed-4de0-8260-38be43bec086 2024-08-24 01:57:49,071 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8f10b955-5f42-48e4-ac1e-1572980bd618 2024-08-24 01:57:52,325 - 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 1020ms') 2024-08-24 01:57:52,325 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12291750-54453600 failed! 2024-08-24 01:57:52,377 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-12291750:ctest-vn2_metadata-49949552 is 11.1.1.1 and allocation pool is NOT set 2024-08-24 01:57:54,441 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 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 = 1.945/2.372/2.799/0.427 ms') 2024-08-24 01:57:54,441 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12291750-54453600 passed 2024-08-24 01:57:54,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:57:54,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12291750-54453600, IP 11.1.1.3, Port 22 2024-08-24 01:57:54,655 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-08-24 01:57:54,751 - DEBUG - VM ctest-TestBasicVMVN-12291750-54453600 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-24 01:57:59,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:57:59,752 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12291750-54453600, IP 11.1.1.3, Port 22 2024-08-24 01:57:59,921 - DEBUG - VM ctest-TestBasicVMVN-12291750-54453600 is ready for SSH connections 2024-08-24 01:57:59,921 - INFO - Retry 0 2024-08-24 01:57:59,921 - DEBUG - Running remote_cmd, Cmd : wget http://169.254.1.2:8083 --spider && echo "Successful", host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:57:59,921 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-08-24 01:58:01,806 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-08-24 01:58:01,806 - INFO - Generic metadata worked 2024-08-24 01:58:02,061 - DEBUG - Link local service introspect removed 2024-08-24 01:58:02,062 - INFO - Deleting VM ctest-TestBasicVMVN-12291750-54453600 2024-08-24 01:58:02,122 - INFO - Deleting VN ctest-vn2_metadata-49949552 2024-08-24 01:58:02,160 - DEBUG - VN 68dda52e-d019-4bc1-9249-6657f40b69f1 still in use: Unable to complete operation on network 68dda52e-d019-4bc1-9249-6657f40b69f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-065dab88-09bf-4712-815b-bbef92f3ed48'] 2024-08-24 01:58:02,160 - WARNING - Deleting VN ctest-vn2_metadata-49949552 failed..Will retry 2024-08-24 01:58:04,260 - DEBUG - Response for deleting network () 2024-08-24 01:58:04,519 - DEBUG - No XMPP flaps were noticed during the test 2024-08-24 01:58:04,519 - INFO - -------------------------------------------------------------------------------- 2024-08-24 01:58:04,522 - INFO - ================================================================================ 2024-08-24 01:58:04,522 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-08-24 01:58:04,522 - INFO - TEST DESCRIPTION : Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN subnets. Test steps: 1. Create 1 IPAM's. 2. Create 1 VN with 2 subnets and launch 2 VMs in them. 3. Ping between the VMs in the same VN should go thru fine. 4. Ping to the subnet broadcast and all-broadcast address. Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the all-broadcast address. Maintainer : ganeshahv@juniper.net 2024-08-24 01:58:04,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.20': '0'}} with 2024-08-24 01:58:04,808 - INFO - Initial checks done. Running the testcase now 2024-08-24 01:58:04,808 - INFO - 2024-08-24 01:58:05,284 - DEBUG - Response for create_network : {'network': {'id': '6be16b11-5690-43ac-b8da-c43b924b98c3', 'name': 'ctest-vn-12245041', 'tenant_id': '9875a0d77cf5475287914a7055129a91', 'project_id': '9875a0d77cf5475287914a7055129a91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-12291750', 'ctest-vn-12245041'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:58:05,475 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd47cf196-7779-4bd3-b35b-402b42c63b72', 'name': '', 'tenant_id': '9875a0d77cf5475287914a7055129a91', 'network_id': '6be16b11-5690-43ac-b8da-c43b924b98c3', 'ip_version': 4, 'cidr': '31.1.1.0/29', 'allocation_pools': [{'start': '31.1.1.2', 'end': '31.1.1.6'}], 'gateway_ip': '31.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.1.1.2', 'tags': [], 'project_id': '9875a0d77cf5475287914a7055129a91'}} 2024-08-24 01:58:05,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '48b2565a-c689-4da2-91ce-edefd7f64462', 'name': '', 'tenant_id': '9875a0d77cf5475287914a7055129a91', 'network_id': '6be16b11-5690-43ac-b8da-c43b924b98c3', 'ip_version': 4, 'cidr': '31.1.2.0/29', 'allocation_pools': [{'start': '31.1.2.2', 'end': '31.1.2.6'}], 'gateway_ip': '31.1.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.1.2.2', 'tags': [], 'project_id': '9875a0d77cf5475287914a7055129a91'}} 2024-08-24 01:58:05,635 - INFO - Created VN ctest-vn-12245041 2024-08-24 01:58:05,686 - DEBUG - VN ctest-vn-12245041 UUID is 6be16b11-5690-43ac-b8da-c43b924b98c3 2024-08-24 01:58:06,079 - DEBUG - Response for create_port : {'port': {'name': 'ddf29555-d6c4-4ab2-a743-5f1d9ef6bac2', 'id': 'ddf29555-d6c4-4ab2-a743-5f1d9ef6bac2', 'tenant_id': '9875a0d77cf5475287914a7055129a91', 'network_id': '6be16b11-5690-43ac-b8da-c43b924b98c3', 'mac_address': '02:dd:f2:95:55:d6', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '31.1.1.4', 'subnet_id': 'd47cf196-7779-4bd3-b35b-402b42c63b72'}], 'security_groups': ['cd814a44-d02d-43d8-a769-281008b6133c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9875a0d77cf5475287914a7055129a91'}} 2024-08-24 01:58:06,264 - DEBUG - Response for create_port : {'port': {'name': 'b88f944d-baa1-44c3-9fca-bd0d86c6a61c', 'id': 'b88f944d-baa1-44c3-9fca-bd0d86c6a61c', 'tenant_id': '9875a0d77cf5475287914a7055129a91', 'network_id': '6be16b11-5690-43ac-b8da-c43b924b98c3', 'mac_address': '02:b8:8f:94:4d:ba', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '31.1.2.4', 'subnet_id': '48b2565a-c689-4da2-91ce-edefd7f64462'}], 'security_groups': ['cd814a44-d02d-43d8-a769-281008b6133c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9875a0d77cf5475287914a7055129a91'}} 2024-08-24 01:58:06,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:58:07,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:58:08,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:58:08,207 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:58:08,213 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:58:08,226 - DEBUG - Requesting: http://10.0.0.41:8082/project/9875a0d7-7cf5-4752-8791-4a7055129a91 2024-08-24 01:58:08,307 - DEBUG - Requesting: http://10.0.0.41:8082/network-ipam/1c49b75d-c62a-45ff-8fea-94ec48fa2bbf 2024-08-24 01:58:08,318 - INFO - Verifications in API Server for IPAM: ctest-ipam-41653732 passed 2024-08-24 01:58:08,326 - DEBUG - Control-node 10.0.0.41 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-12291750:ctest-ipam-41653732', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-12291750', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2038361919746360831', 'uuid-lslong': '10370264834531535807'}, 'enable': 'true', 'created': '2024-08-24T01:58:04', 'last-modified': '2024-08-24T01:58:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.290581'} 2024-08-24 01:58:08,326 - INFO - Verifications in Control node for IPAM: ctest-ipam-41653732 passed 2024-08-24 01:58:08,326 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:58:08,335 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:58:08,351 - DEBUG - Requesting: http://10.0.0.41:8082/project/9875a0d7-7cf5-4752-8791-4a7055129a91 2024-08-24 01:58:08,506 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6be16b11-5690-43ac-b8da-c43b924b98c3 2024-08-24 01:58:08,519 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6be16b11-5690-43ac-b8da-c43b924b98c3 2024-08-24 01:58:08,534 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2b955fd5-eab7-4641-8e70-7068952fe0e2 2024-08-24 01:58:08,549 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2b955fd5-eab7-4641-8e70-7068952fe0e2 2024-08-24 01:58:08,565 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/756023aa-ba5b-4760-9cef-ee3572fb94d6 2024-08-24 01:58:08,574 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-24 01:58:08,574 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6be16b11-5690-43ac-b8da-c43b924b98c3 2024-08-24 01:58:08,584 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2b955fd5-eab7-4641-8e70-7068952fe0e2 2024-08-24 01:58:08,598 - INFO - Verified VN network id 8 for VN 6be16b11-5690-43ac-b8da-c43b924b98c3 2024-08-24 01:58:08,598 - INFO - Verifications in API Server for VN ctest-vn-12245041 passed 2024-08-24 01:58:08,598 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6be16b11-5690-43ac-b8da-c43b924b98c3 2024-08-24 01:58:08,608 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2b955fd5-eab7-4641-8e70-7068952fe0e2 2024-08-24 01:58:08,616 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2b955fd5-eab7-4641-8e70-7068952fe0e2 2024-08-24 01:58:08,627 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/756023aa-ba5b-4760-9cef-ee3572fb94d6 2024-08-24 01:58:08,643 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-12291750:ctest-vn-12245041', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-12291750', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7773612154029097900', 'uuid-lslong': '13320174608038205635'}, 'enable': 'true', 'created': '2024-08-24T01:58:05', 'last-modified': '2024-08-24T01:58:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.060553'} 2024-08-24 01:58:08,652 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-24 01:58:08,652 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12245041 passed 2024-08-24 01:58:08,652 - DEBUG - ====Verifying policy data for ctest-vn-12245041 in API_Server ====== 2024-08-24 01:58:08,652 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:58:08,660 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:58:08,684 - DEBUG - Requesting: http://10.0.0.41:8082/project/9875a0d7-7cf5-4752-8791-4a7055129a91 2024-08-24 01:58:08,778 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6be16b11-5690-43ac-b8da-c43b924b98c3 2024-08-24 01:58:08,788 - DEBUG - =>VN ctest-vn-12245041 has no policy to be verified 2024-08-24 01:58:08,788 - DEBUG - Verifying the vn in opserver 2024-08-24 01:58:08,788 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-12291750:ctest-vn-12245041 virtual network link through opserver 10.0.0.41 2024-08-24 01:58:08,788 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-24 01:58:09,134 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-24 01:58:09,234 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-12291750:ctest-vn-12245041', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-12291750:ctest-vn-12245041?flat'} 2024-08-24 01:58:09,234 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-12291750:ctest-vn-12245041 is found in opserver 2024-08-24 01:58:09,246 - DEBUG - VRF ids for VN ctest-vn-12245041: {'10.0.0.41': '2'} 2024-08-24 01:58:09,246 - INFO - Waiting for VM ctest-TestBasicVMVN-12291750-74830053 to be up.. 2024-08-24 01:58:09,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 01:58:14,444 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:58:14,444 - INFO - VM name : ctest-TestBasicVMVN-12291750-74830053 2024-08-24 01:58:14,514 - DEBUG - VM ctest-TestBasicVMVN-12291750-74830053 ID is 2e3cad6e-556d-4e91-b022-efb8183e19e8 2024-08-24 01:58:14,514 - DEBUG - VM ctest-TestBasicVMVN-12291750-74830053 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:58:14,586 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2e3cad6e-556d-4e91-b022-efb8183e19e8 2024-08-24 01:58:14,594 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ddf29555-d6c4-4ab2-a743-5f1d9ef6bac2 2024-08-24 01:58:19,133 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/3.585/6.728/3.143 ms') 2024-08-24 01:58:19,133 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12291750-74830053 passed 2024-08-24 01:58:19,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:19,282 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12291750-74830053, IP 31.1.1.4, Port 22 2024-08-24 01:58:19,337 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-08-24 01:58:19,418 - DEBUG - VM ctest-TestBasicVMVN-12291750-74830053 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-24 01:58:24,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:24,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12291750-74830053, IP 31.1.1.4, Port 22 2024-08-24 01:58:24,577 - DEBUG - VM ctest-TestBasicVMVN-12291750-74830053 is ready for SSH connections 2024-08-24 01:58:24,577 - INFO - Waiting for VM ctest-TestBasicVMVN-12291750-72902610 to be up.. 2024-08-24 01:58:24,651 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:58:24,651 - INFO - VM name : ctest-TestBasicVMVN-12291750-72902610 2024-08-24 01:58:24,729 - DEBUG - VM ctest-TestBasicVMVN-12291750-72902610 ID is f0b58818-7945-47d3-85d3-db85102c5b0c 2024-08-24 01:58:24,729 - DEBUG - VM ctest-TestBasicVMVN-12291750-72902610 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:58:24,807 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f0b58818-7945-47d3-85d3-db85102c5b0c 2024-08-24 01:58:24,815 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b88f944d-baa1-44c3-9fca-bd0d86c6a61c 2024-08-24 01:58:26,063 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.351 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.351/1.552/2.753/1.201 ms') 2024-08-24 01:58:26,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-12291750-72902610 passed 2024-08-24 01:58:26,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:26,214 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12291750-72902610, IP 31.1.2.4, Port 22 2024-08-24 01:58:26,373 - DEBUG - VM ctest-TestBasicVMVN-12291750-72902610 is ready for SSH connections 2024-08-24 01:58:26,373 - INFO - Waiting for VM ctest-TestBasicVMVN-12291750-21678278 to be up.. 2024-08-24 01:58:26,453 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:58:26,453 - INFO - VM name : ctest-TestBasicVMVN-12291750-21678278 2024-08-24 01:58:26,534 - DEBUG - VM ctest-TestBasicVMVN-12291750-21678278 ID is 771673d6-73b7-43ab-8f11-69caed9b5a52 2024-08-24 01:58:26,534 - DEBUG - VM ctest-TestBasicVMVN-12291750-21678278 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:58:26,619 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/771673d6-73b7-43ab-8f11-69caed9b5a52 2024-08-24 01:58:26,627 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/63c89492-9db8-4b83-ac6a-ee5863523738 2024-08-24 01:58:27,864 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=2.67 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.367 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.367/1.517/2.667/1.150 ms') 2024-08-24 01:58:27,864 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-12291750-21678278 passed 2024-08-24 01:58:28,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:28,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12291750-21678278, IP 31.1.1.3, Port 22 2024-08-24 01:58:28,173 - DEBUG - VM ctest-TestBasicVMVN-12291750-21678278 is ready for SSH connections 2024-08-24 01:58:28,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:28,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.2.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:58:28,173 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-08-24 01:58:31,834 - DEBUG - PING 31.1.2.4 (31.1.2.4): 56 data bytes 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.445 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.904 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.725 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/2.024/4.445 ms 2024-08-24 01:58:31,834 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-12291750-74830053 passed 2024-08-24 01:58:31,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:31,834 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:58:31,834 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-08-24 01:58:35,459 - DEBUG - PING 31.1.1.4 (31.1.1.4): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=63 time=2.679 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.776 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=0.710 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.710/1.388/2.679 ms 2024-08-24 01:58:35,459 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-12291750-72902610 passed 2024-08-24 01:58:35,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:35,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:35,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:58:35,459 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:58:35,460 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-24 01:58:35,633 - DEBUG - None 2024-08-24 01:58:35,633 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:58:35,633 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-24 01:58:35,814 - DEBUG - None 2024-08-24 01:58:35,814 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:58:35,814 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-24 01:58:36,415 - DEBUG - None 2024-08-24 01:58:36,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.7, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:58:36,416 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-08-24 01:58:38,609 - DEBUG - PING 31.1.1.7 (31.1.1.7): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=2.031 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.867 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.445 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.585 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.355 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.355/1.856/4.867 ms 2024-08-24 01:58:38,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 224.0.0.1, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:58:38,610 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-08-24 01:58:40,852 - DEBUG - PING 224.0.0.1 (224.0.0.1): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=0.923 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.798 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.835 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.411 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.847 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.613 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.341 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.341/1.824/3.835 ms 2024-08-24 01:58:40,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 255.255.255.255, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:58:40,852 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-08-24 01:58:43,075 - DEBUG - PING 255.255.255.255 (255.255.255.255): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=0.637 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.364 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.363 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.438 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.638 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.461 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.368 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.368/1.609/3.363 ms 2024-08-24 01:58:43,075 - INFO - Deleting VM ctest-TestBasicVMVN-12291750-21678278 2024-08-24 01:58:43,139 - INFO - Detaching port b88f944d-baa1-44c3-9fca-bd0d86c6a61c from VM ctest-TestBasicVMVN-12291750-72902610 2024-08-24 01:58:43,187 - INFO - Deleting VM ctest-TestBasicVMVN-12291750-72902610 2024-08-24 01:58:43,277 - INFO - Detaching port ddf29555-d6c4-4ab2-a743-5f1d9ef6bac2 from VM ctest-TestBasicVMVN-12291750-74830053 2024-08-24 01:58:43,314 - INFO - Deleting VM ctest-TestBasicVMVN-12291750-74830053 2024-08-24 01:58:43,384 - INFO - Deleting VN ctest-vn-12245041 2024-08-24 01:58:43,545 - DEBUG - Response for delete_port : () 2024-08-24 01:58:43,706 - DEBUG - Response for delete_port : () 2024-08-24 01:58:43,743 - DEBUG - VN 6be16b11-5690-43ac-b8da-c43b924b98c3 still in use: Unable to complete operation on network 6be16b11-5690-43ac-b8da-c43b924b98c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b44bf65f-fd25-44e9-a978-e24ab4b6ba68'] 2024-08-24 01:58:43,743 - WARNING - Deleting VN ctest-vn-12245041 failed..Will retry 2024-08-24 01:58:45,863 - DEBUG - Response for deleting network () 2024-08-24 01:58:45,863 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2b955fd5-eab7-4641-8e70-7068952fe0e2 2024-08-24 01:58:45,870 - DEBUG - Response Code: 404 2024-08-24 01:58:45,870 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-24 01:58:45,877 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d76b7d3c-8829-4817-bf72-ef716405f768 2024-08-24 01:58:45,935 - DEBUG - Requesting: http://10.0.0.41:8082/project/9875a0d7-7cf5-4752-8791-4a7055129a91 2024-08-24 01:58:46,003 - INFO - Validated that VN ctest-vn-12245041 is not found in API Server 2024-08-24 01:58:46,018 - DEBUG - VN ctest-vn-12245041 is not present in Agent 10.0.0.41 2024-08-24 01:58:46,018 - INFO - Validated that VN ctest-vn-12245041 is not in any agent 2024-08-24 01:58:46,024 - DEBUG - VRF 2 is not seen in agent 10.0.0.41 2024-08-24 01:58:46,031 - DEBUG - Vrouter 10.0.0.41 does not have vrf 2 for VN ctest-vn-12245041 2024-08-24 01:58:46,031 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-12291750:ctest-vn-12245041 2024-08-24 01:58:46,042 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12245041 info 2024-08-24 01:58:46,121 - INFO - IPAM: ctest-ipam-41653732 is not found in API Server 2024-08-24 01:58:46,136 - INFO - IPAM:ctest-ipam-41653732 is not found in control node 2024-08-24 01:58:46,391 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 01:58:46,391 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:42]
2024-08-24 01:58:46,391 - INFO - -------------------------------------------------------------------------------- 2024-08-24 01:58:47,067 - INFO - Deleted project: ctest-TestBasicVMVN-12291750, ID : 9875a0d7-7cf5-4752-8791-4a7055129a91