2025-03-19 16:43:13,410 - INFO - Domain Default found not creating 2025-03-19 16:43:13,559 - INFO - Project ctest-TestBasicVMVNx-91158879 not found, creating it 2025-03-19 16:43:14,004 - INFO - Created Project:ctest-TestBasicVMVNx-91158879, ID : 9514c9ad-5fe4-4ba4-9024-6e39771f2ab9 2025-03-19 16:43:15,409 - INFO - ================================================================================ 2025-03-19 16:43:15,409 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-19 16:43:15,409 - 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 2025-03-19 16:43:15,662 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.30': '0'}} with 2025-03-19 16:43:15,662 - INFO - Initial checks done. Running the testcase now 2025-03-19 16:43:15,662 - INFO - 2025-03-19 16:43:16,210 - DEBUG - Response for create_network : {'network': {'id': '44dc60bb-88bd-44a9-8446-887cb9745592', 'name': 'ctest-vn-64759144', 'tenant_id': '9514c9ad5fe44ba490246e39771f2ab9', 'project_id': '9514c9ad5fe44ba490246e39771f2ab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91158879', 'ctest-vn-64759144'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 16:43:16,363 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae8a8eba-2a86-41f4-a4a2-63231a34b8eb', 'name': '', 'tenant_id': '9514c9ad5fe44ba490246e39771f2ab9', 'network_id': '44dc60bb-88bd-44a9-8446-887cb9745592', 'ip_version': 4, 'cidr': '191.98.12.128/26', 'allocation_pools': [{'start': '191.98.12.130', 'end': '191.98.12.190'}], 'gateway_ip': '191.98.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.98.12.130', 'tags': [], 'project_id': '9514c9ad5fe44ba490246e39771f2ab9'}} 2025-03-19 16:43:16,381 - INFO - Created VN ctest-vn-64759144 2025-03-19 16:43:16,432 - DEBUG - VN ctest-vn-64759144 UUID is 44dc60bb-88bd-44a9-8446-887cb9745592 2025-03-19 16:43:16,640 - DEBUG - Services list from nova: [, , ] 2025-03-19 16:43:17,645 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2921-1) 2025-03-19 16:43:18,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2921-1) 2025-03-19 16:43:18,800 - INFO - Waiting for VM ctest-TestBasicVMVNx-91158879-57005999 to be up.. 2025-03-19 16:43:18,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-19 16:43:23,981 - DEBUG - VM is in ACTIVE state now 2025-03-19 16:43:23,981 - INFO - VM name : ctest-TestBasicVMVNx-91158879-57005999 2025-03-19 16:43:24,056 - DEBUG - VM ctest-TestBasicVMVNx-91158879-57005999 ID is 41a9f492-a2de-4ac5-8dbe-30ce85c5a89e 2025-03-19 16:43:24,074 - DEBUG - VM ctest-TestBasicVMVNx-91158879-57005999 launched on Node cn-jenkins-deploy-platform-ansible-os-2921-1 2025-03-19 16:43:24,154 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/41a9f492-a2de-4ac5-8dbe-30ce85c5a89e 2025-03-19 16:43:24,461 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/41a9f492-a2de-4ac5-8dbe-30ce85c5a89e 2025-03-19 16:43:24,493 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/ce273917-0e9a-4b83-bbe8-68c70090c86b 2025-03-19 16:43:27,751 - 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 1011ms') 2025-03-19 16:43:27,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91158879-57005999 failed! 2025-03-19 16:43:27,808 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-91158879:ctest-vn-64759144 is 191.98.12.129 and allocation pool is NOT set 2025-03-19 16:43:29,865 - 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=3.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.904 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.904/2.444/3.984/1.540 ms') 2025-03-19 16:43:29,865 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91158879-57005999 passed 2025-03-19 16:43:30,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 16:43:30,013 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91158879-57005999, IP 191.98.12.131, Port 22 2025-03-19 16:43:30,079 - 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': ''} 2025-03-19 16:43:30,168 - DEBUG - VM ctest-TestBasicVMVNx-91158879-57005999 is NOT ready for SSH connections, VM status: ACTIVE 2025-03-19 16:43:35,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 16:43:35,169 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91158879-57005999, IP 191.98.12.131, Port 22 2025-03-19 16:43:35,324 - DEBUG - VM ctest-TestBasicVMVNx-91158879-57005999 is ready for SSH connections 2025-03-19 16:43:35,324 - INFO - Waiting for VM ctest-TestBasicVMVNx-91158879-03518740 to be up.. 2025-03-19 16:43:35,399 - DEBUG - VM is in ACTIVE state now 2025-03-19 16:43:35,399 - INFO - VM name : ctest-TestBasicVMVNx-91158879-03518740 2025-03-19 16:43:35,468 - DEBUG - VM ctest-TestBasicVMVNx-91158879-03518740 ID is 77c92224-875d-40da-862a-8aa052de1dc3 2025-03-19 16:43:35,468 - DEBUG - VM ctest-TestBasicVMVNx-91158879-03518740 launched on Node cn-jenkins-deploy-platform-ansible-os-2921-1 2025-03-19 16:43:35,536 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/77c92224-875d-40da-862a-8aa052de1dc3 2025-03-19 16:43:35,545 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/e286ef81-9e78-46dd-94b7-9249cfe34e4f 2025-03-19 16:43:36,777 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.559/2.717/1.157 ms') 2025-03-19 16:43:36,778 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91158879-03518740 passed 2025-03-19 16:43:36,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 16:43:36,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91158879-03518740, IP 191.98.12.132, Port 22 2025-03-19 16:43:37,092 - DEBUG - VM ctest-TestBasicVMVNx-91158879-03518740 is ready for SSH connections 2025-03-19 16:43:37,092 - DEBUG - FILE SIZE = 1303B 2025-03-19 16:43:37,092 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91158879-57005999 to ctest-TestBasicVMVNx-91158879-03518740 using scp 2025-03-19 16:43:37,093 - 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.34, gateway password: c0ntrail123 2025-03-19 16:43:37,093 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-19 16:43:38,985 - DEBUG - 1+0 records in 1+0 records out 2025-03-19 16:43:39,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 16:43:40,096 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-03-19 16:43:40,096 - DEBUG - ls -l testfile 2025-03-19 16:43:41,660 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 19 10:43 testfile 2025-03-19 16:43:41,660 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91158879-03518740 2025-03-19 16:43:41,660 - INFO - Deleting VM ctest-TestBasicVMVNx-91158879-03518740 2025-03-19 16:43:41,734 - INFO - Deleting VM ctest-TestBasicVMVNx-91158879-57005999 2025-03-19 16:43:41,802 - INFO - Deleting VN ctest-vn-64759144 2025-03-19 16:43:41,838 - DEBUG - VN 44dc60bb-88bd-44a9-8446-887cb9745592 still in use: Unable to complete operation on network 44dc60bb-88bd-44a9-8446-887cb9745592. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-071d4d0a-91e0-4c1c-92cb-6342a0213519'] 2025-03-19 16:43:41,839 - WARNING - Deleting VN ctest-vn-64759144 failed..Will retry 2025-03-19 16:43:43,945 - DEBUG - Response for deleting network () 2025-03-19 16:43:44,198 - DEBUG - No XMPP flaps were noticed during the test 2025-03-19 16:43:44,198 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-03-19 16:43:44,199 - INFO - -------------------------------------------------------------------------------- 2025-03-19 16:43:45,193 - INFO - Deleted project: ctest-TestBasicVMVNx-91158879, ID : 9514c9ad-5fe4-4ba4-9024-6e39771f2ab9