2025-11-05 16:17:17,728 - INFO - Domain Default found not creating
2025-11-05 16:17:17,853 - INFO - Project ctest-TestBasicVMVNx-24320305 not found, creating it
2025-11-05 16:17:18,269 - INFO - Created Project:ctest-TestBasicVMVNx-24320305, ID : bc8ee9a0-77f1-4a02-af41-21eb51e57eb2
2025-11-05 16:17:19,716 - INFO - ================================================================================
2025-11-05 16:17:19,717 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-05 16:17:19,717 - 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-05 16:17:19,974 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.192': '0'}} with
2025-11-05 16:17:19,974 - INFO - Initial checks done. Running the testcase now
2025-11-05 16:17:19,974 - INFO -
2025-11-05 16:17:20,511 - DEBUG - Response for create_network : {'network': {'id': 'efe6f453-1245-491f-ba21-4e4b0cbc5886', 'name': 'ctest-vn-11561969', 'tenant_id': 'bc8ee9a077f14a02af4121eb51e57eb2', 'project_id': 'bc8ee9a077f14a02af4121eb51e57eb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24320305', 'ctest-vn-11561969'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 16:17:20,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '52f6437a-3edf-46e5-8df3-6a4042cdf2c4', 'name': '', 'tenant_id': 'bc8ee9a077f14a02af4121eb51e57eb2', 'network_id': 'efe6f453-1245-491f-ba21-4e4b0cbc5886', 'ip_version': 4, 'cidr': '134.232.243.128/26', 'allocation_pools': [{'start': '134.232.243.130', 'end': '134.232.243.190'}], 'gateway_ip': '134.232.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.232.243.130', 'tags': [], 'project_id': 'bc8ee9a077f14a02af4121eb51e57eb2'}}
2025-11-05 16:17:20,690 - INFO - Created VN ctest-vn-11561969
2025-11-05 16:17:20,741 - DEBUG - VN ctest-vn-11561969 UUID is efe6f453-1245-491f-ba21-4e4b0cbc5886
2025-11-05 16:17:20,940 - DEBUG - Services list from nova: [, , ]
2025-11-05 16:17:21,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1)
2025-11-05 16:17:22,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1)
2025-11-05 16:17:22,992 - INFO - Waiting for VM ctest-TestBasicVMVNx-24320305-56905059 to be up..
2025-11-05 16:17:23,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 16:17:28,138 - DEBUG - VM is in ACTIVE state now
2025-11-05 16:17:28,138 - INFO - VM name : ctest-TestBasicVMVNx-24320305-56905059
2025-11-05 16:17:28,212 - DEBUG - VM ctest-TestBasicVMVNx-24320305-56905059 ID is 1e181620-34fd-48c1-ac88-a5c19a6509c5
2025-11-05 16:17:28,233 - DEBUG - VM ctest-TestBasicVMVNx-24320305-56905059 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1
2025-11-05 16:17:28,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1e181620-34fd-48c1-ac88-a5c19a6509c5
2025-11-05 16:17:28,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1e181620-34fd-48c1-ac88-a5c19a6509c5
2025-11-05 16:17:28,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/14ceea0b-c660-4d41-a709-98cb8c834549
2025-11-05 16:17:31,890 - 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 1031ms')
2025-11-05 16:17:31,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24320305-56905059 failed!
2025-11-05 16:17:31,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24320305:ctest-vn-11561969 is 134.232.243.129 and allocation pool is NOT set
2025-11-05 16:17:34,000 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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 = 0.403/1.744/3.085/1.341 ms')
2025-11-05 16:17:34,001 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24320305-56905059 passed
2025-11-05 16:17:34,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:17:34,150 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24320305-56905059, IP 134.232.243.131, Port 22
2025-11-05 16:17:34,309 - DEBUG - VM ctest-TestBasicVMVNx-24320305-56905059 is ready for SSH connections
2025-11-05 16:17:34,309 - INFO - Waiting for VM ctest-TestBasicVMVNx-24320305-74664223 to be up..
2025-11-05 16:17:34,387 - DEBUG - VM is in ACTIVE state now
2025-11-05 16:17:34,387 - INFO - VM name : ctest-TestBasicVMVNx-24320305-74664223
2025-11-05 16:17:34,460 - DEBUG - VM ctest-TestBasicVMVNx-24320305-74664223 ID is caf16f50-a525-4d68-898e-0b9fa9f24cd1
2025-11-05 16:17:34,460 - DEBUG - VM ctest-TestBasicVMVNx-24320305-74664223 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1
2025-11-05 16:17:34,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/caf16f50-a525-4d68-898e-0b9fa9f24cd1
2025-11-05 16:17:34,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4aedb45e-f31a-4962-8166-78da48e417d9
2025-11-05 16:17:35,761 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.975 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.975/2.705/4.436/1.730 ms')
2025-11-05 16:17:35,762 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24320305-74664223 passed
2025-11-05 16:17:35,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:17:35,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24320305-74664223, IP 134.232.243.132, Port 22
2025-11-05 16:17:35,965 - 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-11-05 16:17:36,031 - DEBUG - VM ctest-TestBasicVMVNx-24320305-74664223 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-05 16:17:41,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:17:41,032 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24320305-74664223, IP 134.232.243.132, Port 22
2025-11-05 16:17:41,193 - DEBUG - VM ctest-TestBasicVMVNx-24320305-74664223 is ready for SSH connections
2025-11-05 16:17:41,193 - DEBUG - FILE SIZE = 1303B
2025-11-05 16:17:41,193 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24320305-56905059 to ctest-TestBasicVMVNx-24320305-74664223 using scp
2025-11-05 16:17:41,195 - 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-05 16:17:41,195 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-05 16:17:43,124 - DEBUG - 1+0 records in
1+0 records out
2025-11-05 16:17:43,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:17:44,063 - 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-05 16:17:44,063 - DEBUG - ls -l testfile
2025-11-05 16:17:45,671 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 5 09:17 [0;0mtestfile[0m
2025-11-05 16:17:45,671 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24320305-74664223
2025-11-05 16:17:45,671 - INFO - Deleting VM ctest-TestBasicVMVNx-24320305-74664223
2025-11-05 16:17:45,733 - INFO - Deleting VM ctest-TestBasicVMVNx-24320305-56905059
2025-11-05 16:17:45,799 - INFO - Deleting VN ctest-vn-11561969
2025-11-05 16:17:45,834 - DEBUG - VN efe6f453-1245-491f-ba21-4e4b0cbc5886 still in use: Unable to complete operation on network efe6f453-1245-491f-ba21-4e4b0cbc5886. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8793b132-ce68-493a-8686-14b01409c020']
2025-11-05 16:17:45,834 - WARNING - Deleting VN ctest-vn-11561969 failed..Will retry
2025-11-05 16:17:47,919 - DEBUG - Response for deleting network ()
2025-11-05 16:17:48,177 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 16:17:48,177 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-05 16:17:48,177 - INFO - --------------------------------------------------------------------------------
2025-11-05 16:17:48,825 - INFO - Deleted project: ctest-TestBasicVMVNx-24320305, ID : bc8ee9a0-77f1-4a02-af41-21eb51e57eb2