2024-10-18 21:44:29,879 - INFO - Domain Default found not creating 2024-10-18 21:44:30,052 - INFO - Project ctest-TestBasicVMVNx-59648613 not found, creating it 2024-10-18 21:44:30,553 - INFO - Created Project:ctest-TestBasicVMVNx-59648613, ID : cfc924d4-036e-40a4-a089-11c69a7ccce5 2024-10-18 21:44:32,094 - INFO - ================================================================================ 2024-10-18 21:44:32,094 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-18 21:44:32,094 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2024-10-18 21:44:32,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.29': '0'}} with 2024-10-18 21:44:32,347 - INFO - Initial checks done. Running the testcase now 2024-10-18 21:44:32,348 - INFO - 2024-10-18 21:44:32,998 - DEBUG - Response for create_network : {'network': {'id': '59792e0d-9473-45bb-8ccc-f449b5cbd224', 'name': 'ctest-vn-94484829', 'tenant_id': 'cfc924d4036e40a4a08911c69a7ccce5', 'project_id': 'cfc924d4036e40a4a08911c69a7ccce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59648613', 'ctest-vn-94484829'], 'port_security_enabled': True, 'description': ''}} 2024-10-18 21:44:33,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f3c1b50-3077-4ea9-9490-919a366cd48d', 'name': '', 'tenant_id': 'cfc924d4036e40a4a08911c69a7ccce5', 'network_id': '59792e0d-9473-45bb-8ccc-f449b5cbd224', 'ip_version': 4, 'cidr': '14.32.181.0/26', 'allocation_pools': [{'start': '14.32.181.2', 'end': '14.32.181.62'}], 'gateway_ip': '14.32.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.32.181.2', 'tags': [], 'project_id': 'cfc924d4036e40a4a08911c69a7ccce5'}} 2024-10-18 21:44:33,181 - INFO - Created VN ctest-vn-94484829 2024-10-18 21:44:33,241 - DEBUG - VN ctest-vn-94484829 UUID is 59792e0d-9473-45bb-8ccc-f449b5cbd224 2024-10-18 21:44:33,414 - DEBUG - Services list from nova: [, , ] 2024-10-18 21:44:34,441 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2112-1) 2024-10-18 21:44:35,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2112-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2112-1) 2024-10-18 21:44:35,555 - INFO - Waiting for VM ctest-TestBasicVMVNx-59648613-04908291 to be up.. 2024-10-18 21:44:35,647 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-18 21:44:40,749 - DEBUG - VM is in ACTIVE state now 2024-10-18 21:44:40,749 - INFO - VM name : ctest-TestBasicVMVNx-59648613-04908291 2024-10-18 21:44:40,849 - DEBUG - VM ctest-TestBasicVMVNx-59648613-04908291 ID is 9d229d0b-562c-4921-9cbc-37aded5f68d0 2024-10-18 21:44:40,871 - DEBUG - VM ctest-TestBasicVMVNx-59648613-04908291 launched on Node cn-jenkins-deploy-platform-ansible-os-2112-1 2024-10-18 21:44:40,957 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/9d229d0b-562c-4921-9cbc-37aded5f68d0 2024-10-18 21:44:41,255 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/9d229d0b-562c-4921-9cbc-37aded5f68d0 2024-10-18 21:44:41,292 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/03186fae-06fb-40ae-a353-cd06d5ac7a03 2024-10-18 21:44:44,569 - 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 1017ms') 2024-10-18 21:44:44,569 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59648613-04908291 failed! 2024-10-18 21:44:44,629 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59648613:ctest-vn-94484829 is 14.32.181.1 and allocation pool is NOT set 2024-10-18 21:44:46,689 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/1.524/2.633/1.108 ms') 2024-10-18 21:44:46,689 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59648613-04908291 passed 2024-10-18 21:44:46,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:44:46,849 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59648613-04908291, IP 14.32.181.3, Port 22 2024-10-18 21:44:47,005 - DEBUG - VM ctest-TestBasicVMVNx-59648613-04908291 is ready for SSH connections 2024-10-18 21:44:47,005 - INFO - Waiting for VM ctest-TestBasicVMVNx-59648613-72829134 to be up.. 2024-10-18 21:44:47,101 - DEBUG - VM is in ACTIVE state now 2024-10-18 21:44:47,101 - INFO - VM name : ctest-TestBasicVMVNx-59648613-72829134 2024-10-18 21:44:47,188 - DEBUG - VM ctest-TestBasicVMVNx-59648613-72829134 ID is fd23d586-ec3d-40bb-9e5f-af099ca0067c 2024-10-18 21:44:47,188 - DEBUG - VM ctest-TestBasicVMVNx-59648613-72829134 launched on Node cn-jenkins-deploy-platform-ansible-os-2112-1 2024-10-18 21:44:47,267 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/fd23d586-ec3d-40bb-9e5f-af099ca0067c 2024-10-18 21:44:47,279 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/d06a6092-d3d9-4a50-8a91-0932092a307e 2024-10-18 21:44:48,532 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.564/2.189/3.815/1.625 ms') 2024-10-18 21:44:48,532 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59648613-72829134 passed 2024-10-18 21:44:48,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:44:48,689 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59648613-72829134, IP 14.32.181.4, Port 22 2024-10-18 21:44:48,745 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-18 21:44:48,833 - DEBUG - VM ctest-TestBasicVMVNx-59648613-72829134 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-18 21:44:53,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:44:53,834 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59648613-72829134, IP 14.32.181.4, Port 22 2024-10-18 21:44:53,989 - DEBUG - VM ctest-TestBasicVMVNx-59648613-72829134 is ready for SSH connections 2024-10-18 21:44:53,989 - DEBUG - FILE SIZE = 1303B 2024-10-18 21:44:53,989 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59648613-04908291 to ctest-TestBasicVMVNx-59648613-72829134 using scp 2024-10-18 21:44:53,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:44:53,996 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-10-18 21:44:53,996 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-18 21:44:55,910 - DEBUG - 1+0 records in 1+0 records out 2024-10-18 21:44:56,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-18 21:44:56,830 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-10-18 21:44:56,830 - DEBUG - ls -l testfile 2024-10-18 21:44:58,424 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 18 15:44 testfile 2024-10-18 21:44:58,424 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59648613-72829134 2024-10-18 21:44:58,424 - INFO - Deleting VM ctest-TestBasicVMVNx-59648613-72829134 2024-10-18 21:44:58,511 - INFO - Deleting VM ctest-TestBasicVMVNx-59648613-04908291 2024-10-18 21:44:58,579 - INFO - Deleting VN ctest-vn-94484829 2024-10-18 21:44:58,630 - DEBUG - VN 59792e0d-9473-45bb-8ccc-f449b5cbd224 still in use: Unable to complete operation on network 59792e0d-9473-45bb-8ccc-f449b5cbd224. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9bd30fe-fd6b-4abd-b212-3d520393b331'] 2024-10-18 21:44:58,631 - WARNING - Deleting VN ctest-vn-94484829 failed..Will retry 2024-10-18 21:45:00,742 - DEBUG - Response for deleting network () 2024-10-18 21:45:00,999 - DEBUG - No XMPP flaps were noticed during the test 2024-10-18 21:45:01,000 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2024-10-18 21:45:01,000 - INFO - -------------------------------------------------------------------------------- 2024-10-18 21:45:01,732 - INFO - Deleted project: ctest-TestBasicVMVNx-59648613, ID : cfc924d4-036e-40a4-a089-11c69a7ccce5