2025-11-18 17:13:44,181 - INFO - Domain Default found not creating 2025-11-18 17:13:44,353 - INFO - Project ctest-TestBasicVMVNx-25792874 not found, creating it 2025-11-18 17:13:44,820 - INFO - Created Project:ctest-TestBasicVMVNx-25792874, ID : 81f3217b-304d-4835-86b5-c9cb1bd96a1a 2025-11-18 17:13:46,378 - INFO - ================================================================================ 2025-11-18 17:13:46,379 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-18 17:13:46,379 - 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-11-18 17:13:46,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-18 17:13:46,632 - INFO - Initial checks done. Running the testcase now 2025-11-18 17:13:46,632 - INFO - 2025-11-18 17:13:47,178 - DEBUG - Response for create_network : {'network': {'id': '28f00b05-11a1-43b1-a325-edc389bb914f', 'name': 'ctest-vn-44013766', 'tenant_id': '81f3217b304d483586b5c9cb1bd96a1a', 'project_id': '81f3217b304d483586b5c9cb1bd96a1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-25792874', 'ctest-vn-44013766'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:13:47,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '66df0822-6b4c-44a2-b4e5-0b662b3acacb', 'name': '', 'tenant_id': '81f3217b304d483586b5c9cb1bd96a1a', 'network_id': '28f00b05-11a1-43b1-a325-edc389bb914f', 'ip_version': 4, 'cidr': '64.95.127.64/26', 'allocation_pools': [{'start': '64.95.127.66', 'end': '64.95.127.126'}], 'gateway_ip': '64.95.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.95.127.66', 'tags': [], 'project_id': '81f3217b304d483586b5c9cb1bd96a1a'}} 2025-11-18 17:13:47,389 - INFO - Created VN ctest-vn-44013766 2025-11-18 17:13:47,443 - DEBUG - VN ctest-vn-44013766 UUID is 28f00b05-11a1-43b1-a325-edc389bb914f 2025-11-18 17:13:47,605 - DEBUG - Services list from nova: [, , ] 2025-11-18 17:13:48,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:13:49,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:13:49,796 - INFO - Waiting for VM ctest-TestBasicVMVNx-25792874-35161072 to be up.. 2025-11-18 17:13:49,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 17:13:54,954 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:13:54,954 - INFO - VM name : ctest-TestBasicVMVNx-25792874-35161072 2025-11-18 17:13:55,060 - DEBUG - VM ctest-TestBasicVMVNx-25792874-35161072 ID is 40952a74-495c-40b9-a702-00d7d26a42cd 2025-11-18 17:13:55,078 - DEBUG - VM ctest-TestBasicVMVNx-25792874-35161072 launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:13:55,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40952a74-495c-40b9-a702-00d7d26a42cd 2025-11-18 17:13:55,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40952a74-495c-40b9-a702-00d7d26a42cd 2025-11-18 17:13:55,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/af02bd1e-b539-4222-808b-d76d24687136 2025-11-18 17:13:58,746 - 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 1018ms') 2025-11-18 17:13:58,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25792874-35161072 failed! 2025-11-18 17:13:58,811 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25792874:ctest-vn-44013766 is 64.95.127.65 and allocation pool is NOT set 2025-11-18 17:14:00,870 - 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=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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.278/2.722/4.166/1.444 ms') 2025-11-18 17:14:00,870 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25792874-35161072 passed 2025-11-18 17:14:01,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:14:01,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25792874-35161072, IP 64.95.127.67, Port 22 2025-11-18 17:14:01,085 - 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-11-18 17:14:01,157 - DEBUG - VM ctest-TestBasicVMVNx-25792874-35161072 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-18 17:14:06,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:14:06,157 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25792874-35161072, IP 64.95.127.67, Port 22 2025-11-18 17:14:06,315 - DEBUG - VM ctest-TestBasicVMVNx-25792874-35161072 is ready for SSH connections 2025-11-18 17:14:06,315 - INFO - Waiting for VM ctest-TestBasicVMVNx-25792874-00022244 to be up.. 2025-11-18 17:14:06,392 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:14:06,393 - INFO - VM name : ctest-TestBasicVMVNx-25792874-00022244 2025-11-18 17:14:06,464 - DEBUG - VM ctest-TestBasicVMVNx-25792874-00022244 ID is 16ff0f1c-ee1a-4f4a-a046-85303503fe29 2025-11-18 17:14:06,465 - DEBUG - VM ctest-TestBasicVMVNx-25792874-00022244 launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:14:06,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/16ff0f1c-ee1a-4f4a-a046-85303503fe29 2025-11-18 17:14:06,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/63e691f9-ec50-4a9b-aaa7-98712ba02967 2025-11-18 17:14:07,776 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.679/2.876/1.196 ms') 2025-11-18 17:14:07,776 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-25792874-00022244 passed 2025-11-18 17:14:07,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:14:07,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25792874-00022244, IP 64.95.127.68, Port 22 2025-11-18 17:14:08,087 - DEBUG - VM ctest-TestBasicVMVNx-25792874-00022244 is ready for SSH connections 2025-11-18 17:14:08,087 - DEBUG - FILE SIZE = 1303B 2025-11-18 17:14:08,087 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-25792874-35161072 to ctest-TestBasicVMVNx-25792874-00022244 using scp 2025-11-18 17:14:08,088 - 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-11-18 17:14:08,088 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-18 17:14:10,033 - DEBUG - 1+0 records in 1+0 records out 2025-11-18 17:14:10,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:14:10,643 - 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-11-18 17:14:10,643 - DEBUG - ls -l testfile 2025-11-18 17:14:12,215 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 18 10:14 testfile 2025-11-18 17:14:12,215 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-25792874-00022244 2025-11-18 17:14:12,216 - INFO - Deleting VM ctest-TestBasicVMVNx-25792874-00022244 2025-11-18 17:14:12,284 - INFO - Deleting VM ctest-TestBasicVMVNx-25792874-35161072 2025-11-18 17:14:12,366 - INFO - Deleting VN ctest-vn-44013766 2025-11-18 17:14:12,408 - DEBUG - VN 28f00b05-11a1-43b1-a325-edc389bb914f still in use: Unable to complete operation on network 28f00b05-11a1-43b1-a325-edc389bb914f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f0652f7c-60a9-48d7-8a65-f2c43462ec0b'] 2025-11-18 17:14:12,408 - WARNING - Deleting VN ctest-vn-44013766 failed..Will retry 2025-11-18 17:14:14,543 - DEBUG - Response for deleting network () 2025-11-18 17:14:14,800 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 17:14:14,800 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28] 2025-11-18 17:14:14,800 - INFO - -------------------------------------------------------------------------------- 2025-11-18 17:14:15,487 - INFO - Deleted project: ctest-TestBasicVMVNx-25792874, ID : 81f3217b-304d-4835-86b5-c9cb1bd96a1a