2026-07-29 10:53:00,103 - INFO - Domain Default found not creating
2026-07-29 10:53:00,323 - INFO - Project ctest-TestBasicVMVNx-95009736 not found, creating it
2026-07-29 10:53:00,918 - INFO - Created Project:ctest-TestBasicVMVNx-95009736, ID : be02081b-fa31-4c79-8468-e9db9866a47b
2026-07-29 10:53:02,887 - INFO - ================================================================================
2026-07-29 10:53:02,887 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-07-29 10:53:02,887 - 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-07-29 10:53:03,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-07-29 10:53:03,170 - INFO - Initial checks done. Running the testcase now
2026-07-29 10:53:03,170 - INFO -
2026-07-29 10:53:03,842 - DEBUG - Response for create_network : {'network': {'id': 'b65f8d17-9ef3-4247-8865-cd2a3e46e5c2', 'name': 'ctest-vn-16575454', 'tenant_id': 'be02081bfa314c798468e9db9866a47b', 'project_id': 'be02081bfa314c798468e9db9866a47b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95009736', 'ctest-vn-16575454'], 'port_security_enabled': True, 'description': ''}}
2026-07-29 10:53:04,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '8572d613-3363-4128-b681-b2dc5ec2357d', 'name': '', 'tenant_id': 'be02081bfa314c798468e9db9866a47b', 'network_id': 'b65f8d17-9ef3-4247-8865-cd2a3e46e5c2', 'ip_version': 4, 'cidr': '30.171.110.192/26', 'allocation_pools': [{'start': '30.171.110.194', 'end': '30.171.110.254'}], 'gateway_ip': '30.171.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.171.110.194', 'tags': [], 'project_id': 'be02081bfa314c798468e9db9866a47b'}}
2026-07-29 10:53:04,122 - INFO - Created VN ctest-vn-16575454
2026-07-29 10:53:04,174 - DEBUG - VN ctest-vn-16575454 UUID is b65f8d17-9ef3-4247-8865-cd2a3e46e5c2
2026-07-29 10:53:04,370 - DEBUG - Services list from nova: [, , ]
2026-07-29 10:53:04,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6118-1)
2026-07-29 10:53:05,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6118-1)
2026-07-29 10:53:05,326 - INFO - Waiting for VM ctest-TestBasicVMVNx-95009736-69854665 to be up..
2026-07-29 10:53:05,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 10:53:10,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 10:53:15,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 10:53:20,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 10:53:25,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 10:53:30,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 10:53:36,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 10:53:41,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-29 10:53:46,250 - DEBUG - VM is in ACTIVE state now
2026-07-29 10:53:46,250 - INFO - VM name : ctest-TestBasicVMVNx-95009736-69854665
2026-07-29 10:53:46,370 - DEBUG - VM ctest-TestBasicVMVNx-95009736-69854665 ID is cea0ac0a-1a58-4e19-92cd-ad89f50839d0
2026-07-29 10:53:46,402 - DEBUG - VM ctest-TestBasicVMVNx-95009736-69854665 launched on Node cn-jenkins-deploy-platform-ansible-os-6118-1
2026-07-29 10:53:46,512 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/cea0ac0a-1a58-4e19-92cd-ad89f50839d0
2026-07-29 10:53:46,892 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/cea0ac0a-1a58-4e19-92cd-ad89f50839d0
2026-07-29 10:53:46,941 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/5c0d135f-a2a2-4e1b-bd69-c79487fcfd45
2026-07-29 10:53:50,212 - 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 1003ms')
2026-07-29 10:53:50,212 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95009736-69854665 failed!
2026-07-29 10:53:50,274 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95009736:ctest-vn-16575454 is 30.171.110.193 and allocation pool is NOT set
2026-07-29 10:53:54,365 - 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-07-29 10:53:54,366 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95009736-69854665 failed!
2026-07-29 10:53:54,426 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95009736:ctest-vn-16575454 is 30.171.110.193 and allocation pool is NOT set
2026-07-29 10:53:56,492 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.732 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.732/2.666/4.601/1.934 ms')
2026-07-29 10:53:56,492 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95009736-69854665 passed
2026-07-29 10:53:56,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 10:53:56,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95009736-69854665, IP 30.171.110.195, Port 22
2026-07-29 10:53:56,839 - DEBUG - VM ctest-TestBasicVMVNx-95009736-69854665 is ready for SSH connections
2026-07-29 10:53:56,839 - INFO - Waiting for VM ctest-TestBasicVMVNx-95009736-32772112 to be up..
2026-07-29 10:53:56,971 - DEBUG - VM is in ACTIVE state now
2026-07-29 10:53:56,971 - INFO - VM name : ctest-TestBasicVMVNx-95009736-32772112
2026-07-29 10:53:57,096 - DEBUG - VM ctest-TestBasicVMVNx-95009736-32772112 ID is 7dd65310-d16c-4009-9095-d95aeaf3d0ea
2026-07-29 10:53:57,096 - DEBUG - VM ctest-TestBasicVMVNx-95009736-32772112 launched on Node cn-jenkins-deploy-platform-ansible-os-6118-1
2026-07-29 10:53:57,214 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/7dd65310-d16c-4009-9095-d95aeaf3d0ea
2026-07-29 10:53:57,229 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/a31e5740-d99e-4171-904a-e2c375f8860c
2026-07-29 10:53:58,497 - 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=5.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.873 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.873/3.340/5.807/2.467 ms')
2026-07-29 10:53:58,498 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95009736-32772112 passed
2026-07-29 10:53:58,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 10:53:58,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95009736-32772112, IP 30.171.110.196, Port 22
2026-07-29 10:53:58,736 - 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': ''}
2026-07-29 10:53:58,857 - DEBUG - VM ctest-TestBasicVMVNx-95009736-32772112 is NOT ready for SSH connections, VM status: ACTIVE
2026-07-29 10:54:03,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 10:54:03,858 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95009736-32772112, IP 30.171.110.196, Port 22
2026-07-29 10:54:04,041 - DEBUG - VM ctest-TestBasicVMVNx-95009736-32772112 is ready for SSH connections
2026-07-29 10:54:04,041 - DEBUG - FILE SIZE = 1303B
2026-07-29 10:54:04,041 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95009736-69854665 to ctest-TestBasicVMVNx-95009736-32772112 using scp
2026-07-29 10:54:04,044 - 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.185, gateway password: c0ntrail123
2026-07-29 10:54:04,044 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-07-29 10:54:06,274 - DEBUG - 1+0 records in
1+0 records out
2026-07-29 10:54:06,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-29 10:54:06,900 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-07-29 10:54:06,901 - DEBUG - ls -l testfile
2026-07-29 10:54:08,529 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 29 04:54 [0;0mtestfile[0m
2026-07-29 10:54:08,529 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95009736-32772112
2026-07-29 10:54:08,529 - INFO - Deleting VM ctest-TestBasicVMVNx-95009736-32772112
2026-07-29 10:54:08,623 - INFO - Deleting VM ctest-TestBasicVMVNx-95009736-69854665
2026-07-29 10:54:08,711 - INFO - Deleting VN ctest-vn-16575454
2026-07-29 10:54:08,753 - DEBUG - VN b65f8d17-9ef3-4247-8865-cd2a3e46e5c2 still in use: Unable to complete operation on network b65f8d17-9ef3-4247-8865-cd2a3e46e5c2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f226e286-a5a6-49f3-ad22-1ca478ea055f']
2026-07-29 10:54:08,753 - WARNING - Deleting VN ctest-vn-16575454 failed..Will retry
2026-07-29 10:54:10,838 - DEBUG - VN b65f8d17-9ef3-4247-8865-cd2a3e46e5c2 still in use: Unable to complete operation on network b65f8d17-9ef3-4247-8865-cd2a3e46e5c2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c25d8444-add2-481d-a357-a42b6f8c015a']
2026-07-29 10:54:10,839 - WARNING - Deleting VN ctest-vn-16575454 failed..Will retry
2026-07-29 10:54:12,987 - DEBUG - Response for deleting network ()
2026-07-29 10:54:13,266 - DEBUG - No XMPP flaps were noticed during the test
2026-07-29 10:54:13,266 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:11]
2026-07-29 10:54:13,266 - INFO - --------------------------------------------------------------------------------
2026-07-29 10:54:14,202 - INFO - Deleted project: ctest-TestBasicVMVNx-95009736, ID : be02081b-fa31-4c79-8468-e9db9866a47b