2026-11-02 19:34:23,187 - INFO - Domain Default found not creating
2026-11-02 19:34:23,347 - INFO - Project ctest-TestBasicVMVNx-49429862 not found, creating it
2026-11-02 19:34:23,815 - INFO - Created Project:ctest-TestBasicVMVNx-49429862, ID : 121dc49e-b2e2-48a3-bc1d-1dde1978c10a
2026-11-02 19:34:25,584 - INFO - ================================================================================
2026-11-02 19:34:25,584 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-11-02 19:34:25,584 - 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
2026-11-02 19:34:25,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-11-02 19:34:25,846 - INFO - Initial checks done. Running the testcase now
2026-11-02 19:34:25,846 - INFO -
2026-11-02 19:34:26,484 - DEBUG - Response for create_network : {'network': {'id': '3f3b452a-059a-4172-a203-616f8284bb37', 'name': 'ctest-vn-39439659', 'tenant_id': '121dc49eb2e248a3bc1d1dde1978c10a', 'project_id': '121dc49eb2e248a3bc1d1dde1978c10a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-49429862', 'ctest-vn-39439659'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 19:34:26,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b53c0679-3222-4b00-9b7d-e983fd424633', 'name': '', 'tenant_id': '121dc49eb2e248a3bc1d1dde1978c10a', 'network_id': '3f3b452a-059a-4172-a203-616f8284bb37', 'ip_version': 4, 'cidr': '52.249.176.0/26', 'allocation_pools': [{'start': '52.249.176.2', 'end': '52.249.176.62'}], 'gateway_ip': '52.249.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.249.176.2', 'tags': [], 'project_id': '121dc49eb2e248a3bc1d1dde1978c10a'}}
2026-11-02 19:34:26,667 - INFO - Created VN ctest-vn-39439659
2026-11-02 19:34:26,719 - DEBUG - VN ctest-vn-39439659 UUID is 3f3b452a-059a-4172-a203-616f8284bb37
2026-11-02 19:34:26,933 - DEBUG - Services list from nova: [, , ]
2026-11-02 19:34:27,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6470-1)
2026-11-02 19:34:27,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6470-1)
2026-11-02 19:34:27,813 - INFO - Waiting for VM ctest-TestBasicVMVNx-49429862-24903205 to be up..
2026-11-02 19:34:27,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 19:34:32,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 19:34:38,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 19:34:43,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 19:34:48,169 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 19:34:53,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 19:34:58,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 19:35:03,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-02 19:35:08,504 - DEBUG - VM is in ACTIVE state now
2026-11-02 19:35:08,504 - INFO - VM name : ctest-TestBasicVMVNx-49429862-24903205
2026-11-02 19:35:08,596 - DEBUG - VM ctest-TestBasicVMVNx-49429862-24903205 ID is fa902ec3-fdd0-440a-841c-9796d26c7880
2026-11-02 19:35:08,624 - DEBUG - VM ctest-TestBasicVMVNx-49429862-24903205 launched on Node cn-jenkins-deploy-platform-ansible-os-6470-1
2026-11-02 19:35:08,709 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fa902ec3-fdd0-440a-841c-9796d26c7880
2026-11-02 19:35:09,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fa902ec3-fdd0-440a-841c-9796d26c7880
2026-11-02 19:35:09,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a80b59ad-e496-47bd-9884-094d00efb210
2026-11-02 19:35:12,412 - 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 1029ms')
2026-11-02 19:35:12,412 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49429862-24903205 failed!
2026-11-02 19:35:12,467 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-49429862:ctest-vn-39439659 is 52.249.176.1 and allocation pool is NOT set
2026-11-02 19:35:14,535 - 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=6.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 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 = 3.162/4.737/6.312/1.575 ms')
2026-11-02 19:35:14,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49429862-24903205 passed
2026-11-02 19:35:14,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 19:35:14,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49429862-24903205, IP 52.249.176.3, Port 22
2026-11-02 19:35:14,753 - 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': ''}
2026-11-02 19:35:14,832 - DEBUG - VM ctest-TestBasicVMVNx-49429862-24903205 is NOT ready for SSH connections, VM status: ACTIVE
2026-11-02 19:35:19,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 19:35:19,832 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49429862-24903205, IP 52.249.176.3, Port 22
2026-11-02 19:35:20,001 - DEBUG - VM ctest-TestBasicVMVNx-49429862-24903205 is ready for SSH connections
2026-11-02 19:35:20,001 - INFO - Waiting for VM ctest-TestBasicVMVNx-49429862-81916423 to be up..
2026-11-02 19:35:20,075 - DEBUG - VM is in ACTIVE state now
2026-11-02 19:35:20,075 - INFO - VM name : ctest-TestBasicVMVNx-49429862-81916423
2026-11-02 19:35:20,145 - DEBUG - VM ctest-TestBasicVMVNx-49429862-81916423 ID is 2debb639-fd1b-43f1-90a1-3e17103f03da
2026-11-02 19:35:20,145 - DEBUG - VM ctest-TestBasicVMVNx-49429862-81916423 launched on Node cn-jenkins-deploy-platform-ansible-os-6470-1
2026-11-02 19:35:20,270 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2debb639-fd1b-43f1-90a1-3e17103f03da
2026-11-02 19:35:20,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/579d7bb6-d862-4b46-b25b-81dc787e05bf
2026-11-02 19:35:21,518 - 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=10.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/5.473/10.535/5.062 ms')
2026-11-02 19:35:21,518 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-49429862-81916423 passed
2026-11-02 19:35:21,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 19:35:21,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49429862-81916423, IP 52.249.176.4, Port 22
2026-11-02 19:35:21,826 - DEBUG - VM ctest-TestBasicVMVNx-49429862-81916423 is ready for SSH connections
2026-11-02 19:35:21,826 - DEBUG - FILE SIZE = 1303B
2026-11-02 19:35:21,826 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-49429862-24903205 to ctest-TestBasicVMVNx-49429862-81916423 using scp
2026-11-02 19:35:21,830 - 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
2026-11-02 19:35:21,830 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-11-02 19:35:23,851 - DEBUG - 1+0 records in
1+0 records out
2026-11-02 19:35:24,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-02 19:35:24,549 - 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
2026-11-02 19:35:24,549 - DEBUG - ls -l testfile
2026-11-02 19:35:26,208 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 2 12:35 [0;0mtestfile[0m
2026-11-02 19:35:26,208 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-49429862-81916423
2026-11-02 19:35:26,209 - INFO - Deleting VM ctest-TestBasicVMVNx-49429862-81916423
2026-11-02 19:35:26,307 - INFO - Deleting VM ctest-TestBasicVMVNx-49429862-24903205
2026-11-02 19:35:26,389 - INFO - Deleting VN ctest-vn-39439659
2026-11-02 19:35:26,438 - DEBUG - VN 3f3b452a-059a-4172-a203-616f8284bb37 still in use: Unable to complete operation on network 3f3b452a-059a-4172-a203-616f8284bb37. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6f3816dd-9ebe-4141-970b-c7da9e1972a3']
2026-11-02 19:35:26,438 - WARNING - Deleting VN ctest-vn-39439659 failed..Will retry
2026-11-02 19:35:28,470 - DEBUG - VN 3f3b452a-059a-4172-a203-616f8284bb37 still in use: Unable to complete operation on network 3f3b452a-059a-4172-a203-616f8284bb37. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d7c9ba5b-1295-49bc-8544-fc26563fc3e5']
2026-11-02 19:35:28,471 - WARNING - Deleting VN ctest-vn-39439659 failed..Will retry
2026-11-02 19:35:30,581 - DEBUG - Response for deleting network ()
2026-11-02 19:35:30,841 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 19:35:30,841 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:05]
2026-11-02 19:35:30,841 - INFO - --------------------------------------------------------------------------------
2026-11-02 19:35:31,707 - INFO - Deleted project: ctest-TestBasicVMVNx-49429862, ID : 121dc49e-b2e2-48a3-bc1d-1dde1978c10a