2025-07-17 17:16:12,451 - INFO - Domain Default found not creating
2025-07-17 17:16:12,810 - INFO - Project ctest-TestBasicVMVNx-14830688 not found, creating it
2025-07-17 17:16:13,450 - INFO - Created Project:ctest-TestBasicVMVNx-14830688, ID : b31aa521-98b8-46b9-83e5-7acdb8ba1ae2
2025-07-17 17:16:15,461 - INFO - ================================================================================
2025-07-17 17:16:15,461 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-07-17 17:16:15,462 - 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-07-17 17:16:15,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2025-07-17 17:16:15,789 - INFO - Initial checks done. Running the testcase now
2025-07-17 17:16:15,789 - INFO -
2025-07-17 17:16:16,570 - DEBUG - Response for create_network : {'network': {'id': '597542d7-eaac-4a3c-ace6-4405723e3dec', 'name': 'ctest-vn-03463874', 'tenant_id': 'b31aa52198b846b983e57acdb8ba1ae2', 'project_id': 'b31aa52198b846b983e57acdb8ba1ae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14830688', 'ctest-vn-03463874'], 'port_security_enabled': True, 'description': ''}}
2025-07-17 17:16:16,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '462b45ea-4cf7-4a85-ada3-ff6e2b0bec2c', 'name': '', 'tenant_id': 'b31aa52198b846b983e57acdb8ba1ae2', 'network_id': '597542d7-eaac-4a3c-ace6-4405723e3dec', 'ip_version': 4, 'cidr': '222.124.237.0/26', 'allocation_pools': [{'start': '222.124.237.2', 'end': '222.124.237.62'}], 'gateway_ip': '222.124.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.124.237.2', 'tags': [], 'project_id': 'b31aa52198b846b983e57acdb8ba1ae2'}}
2025-07-17 17:16:16,925 - INFO - Created VN ctest-vn-03463874
2025-07-17 17:16:16,978 - DEBUG - VN ctest-vn-03463874 UUID is 597542d7-eaac-4a3c-ace6-4405723e3dec
2025-07-17 17:16:17,191 - DEBUG - Services list from nova: [, , ]
2025-07-17 17:16:18,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3660-1)
2025-07-17 17:16:20,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3660-1)
2025-07-17 17:16:20,185 - INFO - Waiting for VM ctest-TestBasicVMVNx-14830688-99731380 to be up..
2025-07-17 17:16:20,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-17 17:16:25,462 - DEBUG - VM is in ACTIVE state now
2025-07-17 17:16:25,462 - INFO - VM name : ctest-TestBasicVMVNx-14830688-99731380
2025-07-17 17:16:25,571 - DEBUG - VM ctest-TestBasicVMVNx-14830688-99731380 ID is a1771d8a-4341-49f5-ae23-378594a6233f
2025-07-17 17:16:25,599 - DEBUG - VM ctest-TestBasicVMVNx-14830688-99731380 launched on Node cn-jenkins-deploy-platform-ansible-os-3660-1
2025-07-17 17:16:25,715 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a1771d8a-4341-49f5-ae23-378594a6233f
2025-07-17 17:16:26,022 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a1771d8a-4341-49f5-ae23-378594a6233f
2025-07-17 17:16:26,090 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8206e463-6728-4170-84f4-39f171f1d334
2025-07-17 17:16:29,390 - 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 1008ms')
2025-07-17 17:16:29,390 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14830688-99731380 failed!
2025-07-17 17:16:29,458 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14830688:ctest-vn-03463874 is 222.124.237.1 and allocation pool is NOT set
2025-07-17 17:16:31,537 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.63 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.627/6.604/10.581/3.977 ms')
2025-07-17 17:16:31,537 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14830688-99731380 passed
2025-07-17 17:16:31,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 17:16:31,718 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14830688-99731380, IP 222.124.237.3, Port 22
2025-07-17 17:16:31,785 - 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-07-17 17:16:31,888 - DEBUG - VM ctest-TestBasicVMVNx-14830688-99731380 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-17 17:16:36,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 17:16:36,890 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14830688-99731380, IP 222.124.237.3, Port 22
2025-07-17 17:16:37,064 - DEBUG - VM ctest-TestBasicVMVNx-14830688-99731380 is ready for SSH connections
2025-07-17 17:16:37,064 - INFO - Waiting for VM ctest-TestBasicVMVNx-14830688-00946957 to be up..
2025-07-17 17:16:37,175 - DEBUG - VM is in ACTIVE state now
2025-07-17 17:16:37,176 - INFO - VM name : ctest-TestBasicVMVNx-14830688-00946957
2025-07-17 17:16:37,282 - DEBUG - VM ctest-TestBasicVMVNx-14830688-00946957 ID is 7f34a59b-4dee-46a2-916d-3d358a0dbb95
2025-07-17 17:16:37,282 - DEBUG - VM ctest-TestBasicVMVNx-14830688-00946957 launched on Node cn-jenkins-deploy-platform-ansible-os-3660-1
2025-07-17 17:16:37,405 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7f34a59b-4dee-46a2-916d-3d358a0dbb95
2025-07-17 17:16:37,425 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e7cd9459-b724-4f1e-876a-9dcb9c130e3b
2025-07-17 17:16:38,722 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.674 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.674/2.482/4.291/1.808 ms')
2025-07-17 17:16:38,722 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14830688-00946957 passed
2025-07-17 17:16:38,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 17:16:38,894 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14830688-00946957, IP 222.124.237.4, Port 22
2025-07-17 17:16:39,064 - DEBUG - VM ctest-TestBasicVMVNx-14830688-00946957 is ready for SSH connections
2025-07-17 17:16:39,064 - DEBUG - FILE SIZE = 1303B
2025-07-17 17:16:39,064 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14830688-99731380 to ctest-TestBasicVMVNx-14830688-00946957 using scp
2025-07-17 17:16:39,066 - 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.27, gateway password: c0ntrail123
2025-07-17 17:16:39,066 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-07-17 17:16:41,412 - DEBUG - 1+0 records in
1+0 records out
2025-07-17 17:16:42,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-17 17:16:42,569 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-07-17 17:16:42,570 - DEBUG - ls -l testfile
2025-07-17 17:16:44,507 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 17 11:16 [0;0mtestfile[0m
2025-07-17 17:16:44,507 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14830688-00946957
2025-07-17 17:16:44,508 - INFO - Deleting VM ctest-TestBasicVMVNx-14830688-00946957
2025-07-17 17:16:44,667 - INFO - Deleting VM ctest-TestBasicVMVNx-14830688-99731380
2025-07-17 17:16:44,825 - INFO - Deleting VN ctest-vn-03463874
2025-07-17 17:16:44,913 - DEBUG - VN 597542d7-eaac-4a3c-ace6-4405723e3dec still in use: Unable to complete operation on network 597542d7-eaac-4a3c-ace6-4405723e3dec. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9efbce3a-05e3-48e6-a883-c44fee00a708']
2025-07-17 17:16:44,914 - WARNING - Deleting VN ctest-vn-03463874 failed..Will retry
2025-07-17 17:16:47,152 - DEBUG - Response for deleting network ()
2025-07-17 17:16:47,457 - DEBUG - No XMPP flaps were noticed during the test
2025-07-17 17:16:47,457 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-07-17 17:16:47,457 - INFO - --------------------------------------------------------------------------------
2025-07-17 17:16:48,426 - INFO - Deleted project: ctest-TestBasicVMVNx-14830688, ID : b31aa521-98b8-46b9-83e5-7acdb8ba1ae2