2025-04-28 02:08:11,717 - INFO - Domain Default found not creating 2025-04-28 02:08:11,852 - INFO - Project ctest-TestBasicVMVNx-23014735 not found, creating it 2025-04-28 02:08:12,292 - INFO - Created Project:ctest-TestBasicVMVNx-23014735, ID : 9914a07f-e463-48e6-8817-d27c61c50625 2025-04-28 02:08:13,639 - INFO - ================================================================================ 2025-04-28 02:08:13,639 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-28 02:08:13,639 - 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-04-28 02:08:13,893 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-04-28 02:08:13,893 - INFO - Initial checks done. Running the testcase now 2025-04-28 02:08:13,893 - INFO - 2025-04-28 02:08:14,418 - DEBUG - Response for create_network : {'network': {'id': 'cc2d9b40-782f-4c2c-9958-38844b0ae69c', 'name': 'ctest-vn-22174812', 'tenant_id': '9914a07fe46348e68817d27c61c50625', 'project_id': '9914a07fe46348e68817d27c61c50625', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-23014735', 'ctest-vn-22174812'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:08:14,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '4343b65a-0ac3-43a7-b6f0-95e074240b74', 'name': '', 'tenant_id': '9914a07fe46348e68817d27c61c50625', 'network_id': 'cc2d9b40-782f-4c2c-9958-38844b0ae69c', 'ip_version': 4, 'cidr': '210.195.9.64/26', 'allocation_pools': [{'start': '210.195.9.66', 'end': '210.195.9.126'}], 'gateway_ip': '210.195.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.195.9.66', 'tags': [], 'project_id': '9914a07fe46348e68817d27c61c50625'}} 2025-04-28 02:08:14,620 - INFO - Created VN ctest-vn-22174812 2025-04-28 02:08:14,675 - DEBUG - VN ctest-vn-22174812 UUID is cc2d9b40-782f-4c2c-9958-38844b0ae69c 2025-04-28 02:08:14,875 - DEBUG - Services list from nova: [<Service: 1>, <Service: 1>, <Service: 2>] 2025-04-28 02:08:15,848 - INFO - VM ([<Server: ctest-TestBasicVMVNx-23014735-65644342>]) created on node: (cn-jenkins-deploy-platform-ansible-os-3233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3233-1) 2025-04-28 02:08:16,906 - INFO - VM ([<Server: ctest-TestBasicVMVNx-23014735-97453043>]) created on node: (cn-jenkins-deploy-platform-ansible-os-3233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3233-1) 2025-04-28 02:08:16,906 - INFO - Waiting for VM ctest-TestBasicVMVNx-23014735-65644342 to be up.. 2025-04-28 02:08:16,976 - DEBUG - VM <Server: ctest-TestBasicVMVNx-23014735-65644342> is still in BUILD state, Expected: ACTIVE 2025-04-28 02:08:22,050 - DEBUG - VM <Server: ctest-TestBasicVMVNx-23014735-65644342> is in ACTIVE state now 2025-04-28 02:08:22,050 - INFO - VM name : ctest-TestBasicVMVNx-23014735-65644342 2025-04-28 02:08:22,118 - DEBUG - VM ctest-TestBasicVMVNx-23014735-65644342 ID is fda5cc91-4223-4687-a6ba-68f324728328 2025-04-28 02:08:22,135 - DEBUG - VM ctest-TestBasicVMVNx-23014735-65644342 launched on Node cn-jenkins-deploy-platform-ansible-os-3233-1 2025-04-28 02:08:22,203 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fda5cc91-4223-4687-a6ba-68f324728328 2025-04-28 02:08:22,497 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fda5cc91-4223-4687-a6ba-68f324728328 2025-04-28 02:08:22,528 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b0b42849-38d7-46cf-b88a-0347aafb507c 2025-04-28 02:08:25,781 - 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') 2025-04-28 02:08:25,781 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23014735-65644342 failed! 2025-04-28 02:08:25,835 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-23014735:ctest-vn-22174812 is 210.195.9.65 and allocation pool is NOT set 2025-04-28 02:08:27,899 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.556 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.556/2.142/3.729/1.586 ms') 2025-04-28 02:08:27,899 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23014735-65644342 passed 2025-04-28 02:08:28,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:08:28,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23014735-65644342, IP 210.195.9.67, Port 22 2025-04-28 02:08:28,219 - DEBUG - VM ctest-TestBasicVMVNx-23014735-65644342 is ready for SSH connections 2025-04-28 02:08:28,219 - INFO - Waiting for VM ctest-TestBasicVMVNx-23014735-97453043 to be up.. 2025-04-28 02:08:28,302 - DEBUG - VM <Server: ctest-TestBasicVMVNx-23014735-97453043> is in ACTIVE state now 2025-04-28 02:08:28,302 - INFO - VM name : ctest-TestBasicVMVNx-23014735-97453043 2025-04-28 02:08:28,378 - DEBUG - VM ctest-TestBasicVMVNx-23014735-97453043 ID is 683c3bb2-adc0-4bea-af9c-cb13e27e9b2c 2025-04-28 02:08:28,378 - DEBUG - VM ctest-TestBasicVMVNx-23014735-97453043 launched on Node cn-jenkins-deploy-platform-ansible-os-3233-1 2025-04-28 02:08:28,450 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/683c3bb2-adc0-4bea-af9c-cb13e27e9b2c 2025-04-28 02:08:28,459 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/352c92d4-290e-4899-bd26-01d1eeb6c6ec 2025-04-28 02:08:29,697 - 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=4.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.45 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 = 1.450/3.106/4.763/1.656 ms') 2025-04-28 02:08:29,697 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-23014735-97453043 passed 2025-04-28 02:08:29,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:08:29,848 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23014735-97453043, IP 210.195.9.68, Port 22 2025-04-28 02:08:29,907 - 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': ''} 2025-04-28 02:08:30,075 - DEBUG - VM ctest-TestBasicVMVNx-23014735-97453043 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-28 02:08:35,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:08:35,076 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23014735-97453043, IP 210.195.9.68, Port 22 2025-04-28 02:08:35,226 - DEBUG - VM ctest-TestBasicVMVNx-23014735-97453043 is ready for SSH connections 2025-04-28 02:08:35,227 - DEBUG - FILE SIZE = 1303B 2025-04-28 02:08:35,227 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-23014735-65644342 to ctest-TestBasicVMVNx-23014735-97453043 using scp 2025-04-28 02:08:35,227 - 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.19, gateway password: c0ntrail123 2025-04-28 02:08:35,227 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-28 02:08:37,087 - DEBUG - 1+0 records in 1+0 records out 2025-04-28 02:08:37,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:08:37,999 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-28 02:08:38,000 - DEBUG - ls -l testfile 2025-04-28 02:08:39,585 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 27 20:08 [0;0mtestfile[0m 2025-04-28 02:08:39,585 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-23014735-97453043 2025-04-28 02:08:39,586 - INFO - Deleting VM ctest-TestBasicVMVNx-23014735-97453043 2025-04-28 02:08:39,648 - INFO - Deleting VM ctest-TestBasicVMVNx-23014735-65644342 2025-04-28 02:08:39,712 - INFO - Deleting VN ctest-vn-22174812 2025-04-28 02:08:39,748 - DEBUG - VN cc2d9b40-782f-4c2c-9958-38844b0ae69c still in use: Unable to complete operation on network cc2d9b40-782f-4c2c-9958-38844b0ae69c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-73a811a3-474a-4835-a43d-6493e1950310'] 2025-04-28 02:08:39,748 - WARNING - Deleting VN ctest-vn-22174812 failed..Will retry 2025-04-28 02:08:41,866 - DEBUG - Response for deleting network () 2025-04-28 02:08:42,130 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 02:08:42,130 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-04-28 02:08:42,130 - INFO - -------------------------------------------------------------------------------- 2025-04-28 02:08:42,797 - INFO - Deleted project: ctest-TestBasicVMVNx-23014735, ID : 9914a07f-e463-48e6-8817-d27c61c50625