2026-08-17 09:52:47,151 - INFO - Domain Default found not creating
2026-08-17 09:52:47,347 - INFO - Project ctest-TestBasicVMVNx-63669959 not found, creating it
2026-08-17 09:52:47,874 - INFO - Created Project:ctest-TestBasicVMVNx-63669959, ID : de6c7c4f-e153-4d89-a27b-be3f07fe63a4
2026-08-17 09:52:49,643 - INFO - ================================================================================
2026-08-17 09:52:49,643 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-08-17 09:52:49,643 - 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-08-17 09:52:49,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.254': '0'}} with
2026-08-17 09:52:49,915 - INFO - Initial checks done. Running the testcase now
2026-08-17 09:52:49,915 - INFO -
2026-08-17 09:52:50,573 - DEBUG - Response for create_network : {'network': {'id': 'c9e40360-09cc-4194-8749-55bac18b43ca', 'name': 'ctest-vn-87619078', 'tenant_id': 'de6c7c4fe1534d89a27bbe3f07fe63a4', 'project_id': 'de6c7c4fe1534d89a27bbe3f07fe63a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63669959', 'ctest-vn-87619078'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 09:52:50,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '80595603-1da2-49dd-bbb6-50af6592b6e1', 'name': '', 'tenant_id': 'de6c7c4fe1534d89a27bbe3f07fe63a4', 'network_id': 'c9e40360-09cc-4194-8749-55bac18b43ca', 'ip_version': 4, 'cidr': '27.172.91.64/26', 'allocation_pools': [{'start': '27.172.91.66', 'end': '27.172.91.126'}], 'gateway_ip': '27.172.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.172.91.66', 'tags': [], 'project_id': 'de6c7c4fe1534d89a27bbe3f07fe63a4'}}
2026-08-17 09:52:50,790 - INFO - Created VN ctest-vn-87619078
2026-08-17 09:52:50,844 - DEBUG - VN ctest-vn-87619078 UUID is c9e40360-09cc-4194-8749-55bac18b43ca
2026-08-17 09:52:51,058 - DEBUG - Services list from nova: [, , ]
2026-08-17 09:52:51,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6171-1)
2026-08-17 09:52:51,859 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6171-1)
2026-08-17 09:52:51,859 - INFO - Waiting for VM ctest-TestBasicVMVNx-63669959-80394905 to be up..
2026-08-17 09:52:51,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 09:52:56,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 09:53:02,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 09:53:07,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 09:53:12,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 09:53:17,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 09:53:22,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 09:53:27,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-17 09:53:32,620 - DEBUG - VM is in ACTIVE state now
2026-08-17 09:53:32,620 - INFO - VM name : ctest-TestBasicVMVNx-63669959-80394905
2026-08-17 09:53:32,708 - DEBUG - VM ctest-TestBasicVMVNx-63669959-80394905 ID is b1b4c9ce-cdd0-4a0b-8fca-07e80d331bbc
2026-08-17 09:53:32,730 - DEBUG - VM ctest-TestBasicVMVNx-63669959-80394905 launched on Node cn-jenkins-deploy-platform-ansible-os-6171-1
2026-08-17 09:53:32,817 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/b1b4c9ce-cdd0-4a0b-8fca-07e80d331bbc
2026-08-17 09:53:33,194 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/b1b4c9ce-cdd0-4a0b-8fca-07e80d331bbc
2026-08-17 09:53:33,234 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/8f75f053-7904-4e07-84c9-665623c2f4b6
2026-08-17 09:53:36,500 - 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 1013ms')
2026-08-17 09:53:36,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63669959-80394905 failed!
2026-08-17 09:53:36,556 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63669959:ctest-vn-87619078 is 27.172.91.65 and allocation pool is NOT set
2026-08-17 09:53:38,627 - 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=9.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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.985/5.620/9.256/3.635 ms')
2026-08-17 09:53:38,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63669959-80394905 passed
2026-08-17 09:53:38,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 09:53:38,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63669959-80394905, IP 27.172.91.67, Port 22
2026-08-17 09:53:38,846 - 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-08-17 09:53:38,939 - DEBUG - VM ctest-TestBasicVMVNx-63669959-80394905 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-17 09:53:43,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 09:53:43,940 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63669959-80394905, IP 27.172.91.67, Port 22
2026-08-17 09:53:44,109 - DEBUG - VM ctest-TestBasicVMVNx-63669959-80394905 is ready for SSH connections
2026-08-17 09:53:44,110 - INFO - Waiting for VM ctest-TestBasicVMVNx-63669959-54406232 to be up..
2026-08-17 09:53:44,196 - DEBUG - VM is in ACTIVE state now
2026-08-17 09:53:44,196 - INFO - VM name : ctest-TestBasicVMVNx-63669959-54406232
2026-08-17 09:53:44,285 - DEBUG - VM ctest-TestBasicVMVNx-63669959-54406232 ID is 9ef0644c-d68d-4a11-a6bb-2d8b2dfca643
2026-08-17 09:53:44,285 - DEBUG - VM ctest-TestBasicVMVNx-63669959-54406232 launched on Node cn-jenkins-deploy-platform-ansible-os-6171-1
2026-08-17 09:53:44,376 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/9ef0644c-d68d-4a11-a6bb-2d8b2dfca643
2026-08-17 09:53:44,387 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/bbbc2e1a-91f6-42e8-9117-27aa6e4f6623
2026-08-17 09:53:45,631 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.572 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.572/2.141/3.711/1.569 ms')
2026-08-17 09:53:45,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63669959-54406232 passed
2026-08-17 09:53:45,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 09:53:45,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63669959-54406232, IP 27.172.91.68, Port 22
2026-08-17 09:53:45,955 - DEBUG - VM ctest-TestBasicVMVNx-63669959-54406232 is ready for SSH connections
2026-08-17 09:53:45,955 - DEBUG - FILE SIZE = 1303B
2026-08-17 09:53:45,955 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63669959-80394905 to ctest-TestBasicVMVNx-63669959-54406232 using scp
2026-08-17 09:53:45,957 - 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.161, gateway password: c0ntrail123
2026-08-17 09:53:45,957 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-08-17 09:53:48,169 - DEBUG - 1+0 records in
1+0 records out
2026-08-17 09:53:48,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-17 09:53:48,840 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123
2026-08-17 09:53:48,840 - DEBUG - ls -l testfile
2026-08-17 09:53:50,437 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 17 03:53 [0;0mtestfile[0m
2026-08-17 09:53:50,438 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63669959-54406232
2026-08-17 09:53:50,438 - INFO - Deleting VM ctest-TestBasicVMVNx-63669959-54406232
2026-08-17 09:53:50,523 - INFO - Deleting VM ctest-TestBasicVMVNx-63669959-80394905
2026-08-17 09:53:50,604 - INFO - Deleting VN ctest-vn-87619078
2026-08-17 09:53:50,651 - DEBUG - VN c9e40360-09cc-4194-8749-55bac18b43ca still in use: Unable to complete operation on network c9e40360-09cc-4194-8749-55bac18b43ca. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5d7ee621-69f4-46ae-9949-3803534ea7db']
2026-08-17 09:53:50,652 - WARNING - Deleting VN ctest-vn-87619078 failed..Will retry
2026-08-17 09:53:52,706 - DEBUG - VN c9e40360-09cc-4194-8749-55bac18b43ca still in use: Unable to complete operation on network c9e40360-09cc-4194-8749-55bac18b43ca. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d6ab8256-f3e0-43ad-ac10-0c4e93f872ce']
2026-08-17 09:53:52,706 - WARNING - Deleting VN ctest-vn-87619078 failed..Will retry
2026-08-17 09:53:54,851 - DEBUG - Response for deleting network ()
2026-08-17 09:53:55,127 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 09:53:55,127 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:06]
2026-08-17 09:53:55,127 - INFO - --------------------------------------------------------------------------------
2026-08-17 09:53:55,938 - INFO - Deleted project: ctest-TestBasicVMVNx-63669959, ID : de6c7c4f-e153-4d89-a27b-be3f07fe63a4