2025-10-21 17:54:35,992 - INFO - Domain Default found not creating 2025-10-21 17:54:36,320 - INFO - Project ctest-TestBasicVMVNx-87454600 not found, creating it 2025-10-21 17:54:37,091 - INFO - Created Project:ctest-TestBasicVMVNx-87454600, ID : e4e08f10-6450-4a4e-a3d2-604fd92da8e9 2025-10-21 17:54:39,570 - INFO - ================================================================================ 2025-10-21 17:54:39,571 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-21 17:54:39,571 - 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-10-21 17:54:39,905 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-21 17:54:39,905 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:54:39,906 - INFO - 2025-10-21 17:54:40,668 - DEBUG - Response for create_network : {'network': {'id': 'e2490ab3-91fd-4295-bf1a-692d1471c62c', 'name': 'ctest-vn-78016841', 'tenant_id': 'e4e08f1064504a4ea3d2604fd92da8e9', 'project_id': 'e4e08f1064504a4ea3d2604fd92da8e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87454600', 'ctest-vn-78016841'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:54:40,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e22e891-48cc-42cd-ac0b-220bd6de4e17', 'name': '', 'tenant_id': 'e4e08f1064504a4ea3d2604fd92da8e9', 'network_id': 'e2490ab3-91fd-4295-bf1a-692d1471c62c', 'ip_version': 4, 'cidr': '100.250.116.192/26', 'allocation_pools': [{'start': '100.250.116.194', 'end': '100.250.116.254'}], 'gateway_ip': '100.250.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.250.116.194', 'tags': [], 'project_id': 'e4e08f1064504a4ea3d2604fd92da8e9'}} 2025-10-21 17:54:40,904 - INFO - Created VN ctest-vn-78016841 2025-10-21 17:54:40,958 - DEBUG - VN ctest-vn-78016841 UUID is e2490ab3-91fd-4295-bf1a-692d1471c62c 2025-10-21 17:54:41,213 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:54:42,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4401-1) 2025-10-21 17:54:44,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4401-1) 2025-10-21 17:54:44,214 - INFO - Waiting for VM ctest-TestBasicVMVNx-87454600-39718928 to be up.. 2025-10-21 17:54:44,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:54:49,472 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:54:49,472 - INFO - VM name : ctest-TestBasicVMVNx-87454600-39718928 2025-10-21 17:54:49,566 - DEBUG - VM ctest-TestBasicVMVNx-87454600-39718928 ID is 49718e7e-7c46-47dc-bef0-085a6f462956 2025-10-21 17:54:49,595 - DEBUG - VM ctest-TestBasicVMVNx-87454600-39718928 launched on Node cn-jenkins-deploy-platform-ansible-os-4401-1 2025-10-21 17:54:49,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/49718e7e-7c46-47dc-bef0-085a6f462956 2025-10-21 17:54:50,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/49718e7e-7c46-47dc-bef0-085a6f462956 2025-10-21 17:54:50,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0ccf08e0-71dd-4797-a255-f424240865c5 2025-10-21 17:54:53,473 - 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 1014ms') 2025-10-21 17:54:53,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87454600-39718928 failed! 2025-10-21 17:54:53,538 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87454600:ctest-vn-78016841 is 100.250.116.193 and allocation pool is NOT set 2025-10-21 17:54:55,625 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.395/2.161/3.927/1.766 ms') 2025-10-21 17:54:55,625 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87454600-39718928 passed 2025-10-21 17:54:55,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:54:55,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87454600-39718928, IP 100.250.116.195, Port 22 2025-10-21 17:54:55,981 - DEBUG - VM ctest-TestBasicVMVNx-87454600-39718928 is ready for SSH connections 2025-10-21 17:54:55,981 - INFO - Waiting for VM ctest-TestBasicVMVNx-87454600-94486966 to be up.. 2025-10-21 17:54:56,076 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:54:56,077 - INFO - VM name : ctest-TestBasicVMVNx-87454600-94486966 2025-10-21 17:54:56,166 - DEBUG - VM ctest-TestBasicVMVNx-87454600-94486966 ID is 3c5a8e37-b8aa-4f8d-99dd-698c26f56059 2025-10-21 17:54:56,167 - DEBUG - VM ctest-TestBasicVMVNx-87454600-94486966 launched on Node cn-jenkins-deploy-platform-ansible-os-4401-1 2025-10-21 17:54:56,269 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3c5a8e37-b8aa-4f8d-99dd-698c26f56059 2025-10-21 17:54:56,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/08a28941-0565-48c2-ab82-0f651ebdabf3 2025-10-21 17:54:57,586 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.43 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 = 3.426/3.525/3.624/0.099 ms') 2025-10-21 17:54:57,587 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87454600-94486966 passed 2025-10-21 17:54:57,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:54:57,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87454600-94486966, IP 100.250.116.196, Port 22 2025-10-21 17:54:57,848 - 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-10-21 17:54:58,034 - DEBUG - VM ctest-TestBasicVMVNx-87454600-94486966 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 17:55:03,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:55:03,036 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87454600-94486966, IP 100.250.116.196, Port 22 2025-10-21 17:55:03,248 - DEBUG - VM ctest-TestBasicVMVNx-87454600-94486966 is ready for SSH connections 2025-10-21 17:55:03,248 - DEBUG - FILE SIZE = 1303B 2025-10-21 17:55:03,248 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87454600-39718928 to ctest-TestBasicVMVNx-87454600-94486966 using scp 2025-10-21 17:55:03,253 - 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.38, gateway password: c0ntrail123 2025-10-21 17:55:03,254 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-21 17:55:05,636 - DEBUG - 1+0 records in 1+0 records out 2025-10-21 17:55:06,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:55:06,784 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 17:55:06,785 - DEBUG - ls -l testfile 2025-10-21 17:55:08,845 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 21 11:55 testfile 2025-10-21 17:55:08,845 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87454600-94486966 2025-10-21 17:55:08,845 - INFO - Deleting VM ctest-TestBasicVMVNx-87454600-94486966 2025-10-21 17:55:09,007 - INFO - Deleting VM ctest-TestBasicVMVNx-87454600-39718928 2025-10-21 17:55:09,110 - INFO - Deleting VN ctest-vn-78016841 2025-10-21 17:55:09,195 - DEBUG - VN e2490ab3-91fd-4295-bf1a-692d1471c62c still in use: Unable to complete operation on network e2490ab3-91fd-4295-bf1a-692d1471c62c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70465919-ed49-4f83-83db-28a3015bd2be'] 2025-10-21 17:55:09,196 - WARNING - Deleting VN ctest-vn-78016841 failed..Will retry 2025-10-21 17:55:11,371 - DEBUG - Response for deleting network () 2025-10-21 17:55:11,692 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:55:11,692 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-10-21 17:55:11,693 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:55:12,570 - INFO - Deleted project: ctest-TestBasicVMVNx-87454600, ID : e4e08f10-6450-4a4e-a3d2-604fd92da8e9