2025-02-20 02:18:46,054 - INFO - Domain Default found not creating 2025-02-20 02:18:46,214 - INFO - Project ctest-TestBasicVMVNx-23689953 not found, creating it 2025-02-20 02:18:46,714 - INFO - Created Project:ctest-TestBasicVMVNx-23689953, ID : 0b5e9a87-c13f-428c-b26e-cac6df66f894 2025-02-20 02:18:48,330 - INFO - ================================================================================ 2025-02-20 02:18:48,330 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-20 02:18:48,330 - 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-02-20 02:18:48,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.0.0.47': '0'}} with 2025-02-20 02:18:48,584 - INFO - Initial checks done. Running the testcase now 2025-02-20 02:18:48,585 - INFO - 2025-02-20 02:18:49,194 - DEBUG - Response for create_network : {'network': {'id': '39137bb6-5e4b-427c-88e8-794463597bec', 'name': 'ctest-vn-64962725', 'tenant_id': '0b5e9a87c13f428cb26ecac6df66f894', 'project_id': '0b5e9a87c13f428cb26ecac6df66f894', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-23689953', 'ctest-vn-64962725'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:18:49,387 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab2606e3-fe7b-4df0-8673-70e15badd6f9', 'name': '', 'tenant_id': '0b5e9a87c13f428cb26ecac6df66f894', 'network_id': '39137bb6-5e4b-427c-88e8-794463597bec', 'ip_version': 4, 'cidr': '111.226.216.128/26', 'allocation_pools': [{'start': '111.226.216.130', 'end': '111.226.216.190'}], 'gateway_ip': '111.226.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.226.216.130', 'tags': [], 'project_id': '0b5e9a87c13f428cb26ecac6df66f894'}} 2025-02-20 02:18:49,405 - INFO - Created VN ctest-vn-64962725 2025-02-20 02:18:49,462 - DEBUG - VN ctest-vn-64962725 UUID is 39137bb6-5e4b-427c-88e8-794463597bec 2025-02-20 02:18:49,626 - DEBUG - Services list from nova: [, , ] 2025-02-20 02:18:50,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2749-1) 2025-02-20 02:18:51,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2749-1) 2025-02-20 02:18:51,995 - INFO - Waiting for VM ctest-TestBasicVMVNx-23689953-26179067 to be up.. 2025-02-20 02:18:52,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-20 02:18:57,175 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:18:57,175 - INFO - VM name : ctest-TestBasicVMVNx-23689953-26179067 2025-02-20 02:18:57,259 - DEBUG - VM ctest-TestBasicVMVNx-23689953-26179067 ID is f93d63bc-265d-458d-aecc-59b3e4d2cb76 2025-02-20 02:18:57,280 - DEBUG - VM ctest-TestBasicVMVNx-23689953-26179067 launched on Node cn-jenkins-deploy-platform-ansible-os-2749-1. 2025-02-20 02:18:57,369 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/f93d63bc-265d-458d-aecc-59b3e4d2cb76 2025-02-20 02:18:57,709 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/f93d63bc-265d-458d-aecc-59b3e4d2cb76 2025-02-20 02:18:57,748 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/263533e7-9dd9-4dc7-b0bb-be4489db59f8 2025-02-20 02:19:01,018 - 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 1009ms') 2025-02-20 02:19:01,018 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23689953-26179067 failed! 2025-02-20 02:19:01,078 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-23689953:ctest-vn-64962725 is 111.226.216.129 and allocation pool is NOT set 2025-02-20 02:19:03,143 - 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=5.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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 = 1.257/3.611/5.965/2.354 ms') 2025-02-20 02:19:03,144 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23689953-26179067 passed 2025-02-20 02:19:03,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:19:03,298 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23689953-26179067, IP 111.226.216.131, Port 22 2025-02-20 02:19:03,364 - 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-02-20 02:19:03,450 - DEBUG - VM ctest-TestBasicVMVNx-23689953-26179067 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-20 02:19:08,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:19:08,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23689953-26179067, IP 111.226.216.131, Port 22 2025-02-20 02:19:08,610 - DEBUG - VM ctest-TestBasicVMVNx-23689953-26179067 is ready for SSH connections 2025-02-20 02:19:08,610 - INFO - Waiting for VM ctest-TestBasicVMVNx-23689953-87027929 to be up.. 2025-02-20 02:19:08,705 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:19:08,705 - INFO - VM name : ctest-TestBasicVMVNx-23689953-87027929 2025-02-20 02:19:08,786 - DEBUG - VM ctest-TestBasicVMVNx-23689953-87027929 ID is 99b76fc5-c206-4afa-8073-0fa3b55793a9 2025-02-20 02:19:08,786 - DEBUG - VM ctest-TestBasicVMVNx-23689953-87027929 launched on Node cn-jenkins-deploy-platform-ansible-os-2749-1. 2025-02-20 02:19:08,868 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/99b76fc5-c206-4afa-8073-0fa3b55793a9 2025-02-20 02:19:08,880 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/371173d0-e8c5-42bb-ba8b-667fbf1b631a 2025-02-20 02:19:10,128 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.986/3.537/1.550 ms') 2025-02-20 02:19:10,128 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-23689953-87027929 passed 2025-02-20 02:19:10,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:19:10,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23689953-87027929, IP 111.226.216.132, Port 22 2025-02-20 02:19:10,442 - DEBUG - VM ctest-TestBasicVMVNx-23689953-87027929 is ready for SSH connections 2025-02-20 02:19:10,442 - DEBUG - FILE SIZE = 1303B 2025-02-20 02:19:10,442 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-23689953-26179067 to ctest-TestBasicVMVNx-23689953-87027929 using scp 2025-02-20 02:19:10,443 - 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.47, gateway password: c0ntrail123 2025-02-20 02:19:10,443 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-20 02:19:12,531 - DEBUG - 1+0 records in 1+0 records out 2025-02-20 02:19:13,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:19:13,594 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-02-20 02:19:13,594 - DEBUG - ls -l testfile 2025-02-20 02:19:15,243 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 19 19:19 testfile 2025-02-20 02:19:15,243 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-23689953-87027929 2025-02-20 02:19:15,243 - INFO - Deleting VM ctest-TestBasicVMVNx-23689953-87027929 2025-02-20 02:19:15,336 - INFO - Deleting VM ctest-TestBasicVMVNx-23689953-26179067 2025-02-20 02:19:15,450 - INFO - Deleting VN ctest-vn-64962725 2025-02-20 02:19:15,493 - DEBUG - VN 39137bb6-5e4b-427c-88e8-794463597bec still in use: Unable to complete operation on network 39137bb6-5e4b-427c-88e8-794463597bec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-568ab875-8dbf-44da-a180-620e82f565a0'] 2025-02-20 02:19:15,493 - WARNING - Deleting VN ctest-vn-64962725 failed..Will retry 2025-02-20 02:19:17,633 - DEBUG - Response for deleting network () 2025-02-20 02:19:17,900 - DEBUG - No XMPP flaps were noticed during the test 2025-02-20 02:19:17,900 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-02-20 02:19:17,900 - INFO - -------------------------------------------------------------------------------- 2025-02-20 02:19:18,699 - INFO - Deleted project: ctest-TestBasicVMVNx-23689953, ID : 0b5e9a87-c13f-428c-b26e-cac6df66f894