2024-09-04 23:22:14,213 - INFO - Domain Default found not creating 2024-09-04 23:22:14,519 - INFO - Project ctest-TestBasicVMVNx-41786729 not found, creating it 2024-09-04 23:22:15,205 - INFO - Created Project:ctest-TestBasicVMVNx-41786729, ID : 86f50d47-42d7-41a0-b4e5-a84592f7dc1d 2024-09-04 23:22:17,376 - INFO - ================================================================================ 2024-09-04 23:22:17,377 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-04 23:22:17,377 - 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-09-04 23:22:17,715 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.5': '0'}} with 2024-09-04 23:22:17,715 - INFO - Initial checks done. Running the testcase now 2024-09-04 23:22:17,716 - INFO - 2024-09-04 23:22:18,691 - DEBUG - Response for create_network : {'network': {'id': 'f18e8947-77f2-44cb-ac9f-3979bbc288ff', 'name': 'ctest-vn-08386389', 'tenant_id': '86f50d4742d741a0b4e5a84592f7dc1d', 'project_id': '86f50d4742d741a0b4e5a84592f7dc1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-41786729', 'ctest-vn-08386389'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 23:22:18,909 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e017501-5b8b-4a42-bc69-bd998e5c1899', 'name': '', 'tenant_id': '86f50d4742d741a0b4e5a84592f7dc1d', 'network_id': 'f18e8947-77f2-44cb-ac9f-3979bbc288ff', 'ip_version': 4, 'cidr': '48.157.70.0/26', 'allocation_pools': [{'start': '48.157.70.2', 'end': '48.157.70.62'}], 'gateway_ip': '48.157.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.157.70.2', 'tags': [], 'project_id': '86f50d4742d741a0b4e5a84592f7dc1d'}} 2024-09-04 23:22:18,930 - INFO - Created VN ctest-vn-08386389 2024-09-04 23:22:18,983 - DEBUG - VN ctest-vn-08386389 UUID is f18e8947-77f2-44cb-ac9f-3979bbc288ff 2024-09-04 23:22:19,336 - DEBUG - Services list from nova: [, , ] 2024-09-04 23:22:21,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1849-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1849-1) 2024-09-04 23:22:23,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1849-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1849-1) 2024-09-04 23:22:23,100 - INFO - Waiting for VM ctest-TestBasicVMVNx-41786729-79983546 to be up.. 2024-09-04 23:22:23,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 23:22:28,439 - DEBUG - VM is in ACTIVE state now 2024-09-04 23:22:28,439 - INFO - VM name : ctest-TestBasicVMVNx-41786729-79983546 2024-09-04 23:22:28,616 - DEBUG - VM ctest-TestBasicVMVNx-41786729-79983546 ID is a34500b6-4ab2-46c7-a838-73cd6e3a972a 2024-09-04 23:22:28,666 - DEBUG - VM ctest-TestBasicVMVNx-41786729-79983546 launched on Node cn-jenkins-deploy-platform-ansible-os-1849-1 2024-09-04 23:22:28,893 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/a34500b6-4ab2-46c7-a838-73cd6e3a972a 2024-09-04 23:22:29,264 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/a34500b6-4ab2-46c7-a838-73cd6e3a972a 2024-09-04 23:22:29,382 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/ccf08103-3267-438c-a2b8-933246368ff2 2024-09-04 23:22:32,771 - 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 1029ms') 2024-09-04 23:22:32,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41786729-79983546 failed! 2024-09-04 23:22:32,844 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-41786729:ctest-vn-08386389 is 48.157.70.1 and allocation pool is NOT set 2024-09-04 23:22:34,920 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.32 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 = 2.316/4.633/6.951/2.317 ms') 2024-09-04 23:22:34,921 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41786729-79983546 passed 2024-09-04 23:22:35,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:22:35,095 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41786729-79983546, IP 48.157.70.3, Port 22 2024-09-04 23:22:35,260 - DEBUG - VM ctest-TestBasicVMVNx-41786729-79983546 is ready for SSH connections 2024-09-04 23:22:35,260 - INFO - Waiting for VM ctest-TestBasicVMVNx-41786729-87055392 to be up.. 2024-09-04 23:22:35,341 - DEBUG - VM is in ACTIVE state now 2024-09-04 23:22:35,341 - INFO - VM name : ctest-TestBasicVMVNx-41786729-87055392 2024-09-04 23:22:35,427 - DEBUG - VM ctest-TestBasicVMVNx-41786729-87055392 ID is ca7c4006-1221-4216-b41d-e5a5dfd6117b 2024-09-04 23:22:35,427 - DEBUG - VM ctest-TestBasicVMVNx-41786729-87055392 launched on Node cn-jenkins-deploy-platform-ansible-os-1849-1 2024-09-04 23:22:35,518 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/ca7c4006-1221-4216-b41d-e5a5dfd6117b 2024-09-04 23:22:35,532 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/d1fc898f-3856-4bab-a9b5-2295b6dfa1c4 2024-09-04 23:22:36,844 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.59 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 = 3.351/3.472/3.593/0.121 ms') 2024-09-04 23:22:36,845 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-41786729-87055392 passed 2024-09-04 23:22:37,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:22:37,036 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41786729-87055392, IP 48.157.70.4, Port 22 2024-09-04 23:22:37,119 - 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-09-04 23:22:37,319 - DEBUG - VM ctest-TestBasicVMVNx-41786729-87055392 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-04 23:22:42,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:22:42,321 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41786729-87055392, IP 48.157.70.4, Port 22 2024-09-04 23:22:42,532 - DEBUG - VM ctest-TestBasicVMVNx-41786729-87055392 is ready for SSH connections 2024-09-04 23:22:42,532 - DEBUG - FILE SIZE = 1303B 2024-09-04 23:22:42,532 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-41786729-79983546 to ctest-TestBasicVMVNx-41786729-87055392 using scp 2024-09-04 23:22:42,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:22:42,551 - 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-09-04 23:22:42,552 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-04 23:22:45,031 - DEBUG - 1+0 records in 1+0 records out 2024-09-04 23:22:45,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:22:46,179 - 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-09-04 23:22:46,179 - DEBUG - ls -l testfile 2024-09-04 23:22:48,167 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 17:22 testfile 2024-09-04 23:22:48,167 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-41786729-87055392 2024-09-04 23:22:48,167 - INFO - Deleting VM ctest-TestBasicVMVNx-41786729-87055392 2024-09-04 23:22:48,348 - INFO - Deleting VM ctest-TestBasicVMVNx-41786729-79983546 2024-09-04 23:22:48,517 - INFO - Deleting VN ctest-vn-08386389 2024-09-04 23:22:48,634 - DEBUG - VN f18e8947-77f2-44cb-ac9f-3979bbc288ff still in use: Unable to complete operation on network f18e8947-77f2-44cb-ac9f-3979bbc288ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6073dc06-c2b7-419f-8b34-3c24d28fafe1'] 2024-09-04 23:22:48,634 - WARNING - Deleting VN ctest-vn-08386389 failed..Will retry 2024-09-04 23:22:50,881 - DEBUG - Response for deleting network () 2024-09-04 23:22:51,202 - DEBUG - No XMPP flaps were noticed during the test 2024-09-04 23:22:51,202 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:34] 2024-09-04 23:22:51,202 - INFO - -------------------------------------------------------------------------------- 2024-09-04 23:22:52,322 - INFO - Deleted project: ctest-TestBasicVMVNx-41786729, ID : 86f50d47-42d7-41a0-b4e5-a84592f7dc1d