2026-01-07 04:38:53,717 - INFO - Domain Default found not creating
2026-01-07 04:38:53,877 - INFO - Project ctest-TestBasicVMVNx-88667574 not found, creating it
2026-01-07 04:38:54,326 - INFO - Created Project:ctest-TestBasicVMVNx-88667574, ID : 80a2d78c-ef2b-416c-9ccc-295c98cae262
2026-01-07 04:38:55,921 - INFO - ================================================================================
2026-01-07 04:38:55,921 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-01-07 04:38:55,921 - 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-01-07 04:38:56,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-01-07 04:38:56,175 - INFO - Initial checks done. Running the testcase now
2026-01-07 04:38:56,175 - INFO -
2026-01-07 04:38:56,718 - DEBUG - Response for create_network : {'network': {'id': '2cb6664e-db72-4eaf-9319-2aaf923c0df1', 'name': 'ctest-vn-90738674', 'tenant_id': '80a2d78cef2b416c9ccc295c98cae262', 'project_id': '80a2d78cef2b416c9ccc295c98cae262', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88667574', 'ctest-vn-90738674'], 'port_security_enabled': True, 'description': ''}}
2026-01-07 04:38:56,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '0102ef60-2f46-4e64-a6a8-1d0db2dfb44c', 'name': '', 'tenant_id': '80a2d78cef2b416c9ccc295c98cae262', 'network_id': '2cb6664e-db72-4eaf-9319-2aaf923c0df1', 'ip_version': 4, 'cidr': '179.168.154.64/26', 'allocation_pools': [{'start': '179.168.154.66', 'end': '179.168.154.126'}], 'gateway_ip': '179.168.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.168.154.66', 'tags': [], 'project_id': '80a2d78cef2b416c9ccc295c98cae262'}}
2026-01-07 04:38:56,940 - INFO - Created VN ctest-vn-90738674
2026-01-07 04:38:56,994 - DEBUG - VN ctest-vn-90738674 UUID is 2cb6664e-db72-4eaf-9319-2aaf923c0df1
2026-01-07 04:38:57,200 - DEBUG - Services list from nova: [, , ]
2026-01-07 04:38:58,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4971-1)
2026-01-07 04:38:59,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4971-1)
2026-01-07 04:38:59,350 - INFO - Waiting for VM ctest-TestBasicVMVNx-88667574-86921676 to be up..
2026-01-07 04:38:59,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-07 04:39:04,503 - DEBUG - VM is in ACTIVE state now
2026-01-07 04:39:04,503 - INFO - VM name : ctest-TestBasicVMVNx-88667574-86921676
2026-01-07 04:39:04,581 - DEBUG - VM ctest-TestBasicVMVNx-88667574-86921676 ID is cd98a670-7e17-4a11-8b20-4df3a54a554c
2026-01-07 04:39:04,600 - DEBUG - VM ctest-TestBasicVMVNx-88667574-86921676 launched on Node cn-jenkins-deploy-platform-ansible-os-4971-1
2026-01-07 04:39:04,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cd98a670-7e17-4a11-8b20-4df3a54a554c
2026-01-07 04:39:04,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cd98a670-7e17-4a11-8b20-4df3a54a554c
2026-01-07 04:39:05,002 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bc2d6221-bd29-44fa-8259-6644aff2293c
2026-01-07 04:39:08,252 - 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 1010ms')
2026-01-07 04:39:08,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88667574-86921676 failed!
2026-01-07 04:39:08,306 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88667574:ctest-vn-90738674 is 179.168.154.65 and allocation pool is NOT set
2026-01-07 04:39:10,365 - 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=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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.898/3.641/5.385/1.743 ms')
2026-01-07 04:39:10,365 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88667574-86921676 passed
2026-01-07 04:39:10,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 04:39:10,514 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88667574-86921676, IP 179.168.154.67, Port 22
2026-01-07 04:39:10,573 - 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-01-07 04:39:10,659 - DEBUG - VM ctest-TestBasicVMVNx-88667574-86921676 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-07 04:39:15,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 04:39:15,660 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88667574-86921676, IP 179.168.154.67, Port 22
2026-01-07 04:39:15,821 - DEBUG - VM ctest-TestBasicVMVNx-88667574-86921676 is ready for SSH connections
2026-01-07 04:39:15,821 - INFO - Waiting for VM ctest-TestBasicVMVNx-88667574-29232189 to be up..
2026-01-07 04:39:15,899 - DEBUG - VM is in ACTIVE state now
2026-01-07 04:39:15,899 - INFO - VM name : ctest-TestBasicVMVNx-88667574-29232189
2026-01-07 04:39:15,969 - DEBUG - VM ctest-TestBasicVMVNx-88667574-29232189 ID is 5e256f5a-9c87-4f1c-be0a-365a92edb589
2026-01-07 04:39:15,969 - DEBUG - VM ctest-TestBasicVMVNx-88667574-29232189 launched on Node cn-jenkins-deploy-platform-ansible-os-4971-1
2026-01-07 04:39:16,036 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5e256f5a-9c87-4f1c-be0a-365a92edb589
2026-01-07 04:39:16,043 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/695da2c8-8f8e-40ad-87d5-d4d1ee839d92
2026-01-07 04:39:17,271 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.606/2.805/1.198 ms')
2026-01-07 04:39:17,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88667574-29232189 passed
2026-01-07 04:39:17,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 04:39:17,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88667574-29232189, IP 179.168.154.68, Port 22
2026-01-07 04:39:17,580 - DEBUG - VM ctest-TestBasicVMVNx-88667574-29232189 is ready for SSH connections
2026-01-07 04:39:17,581 - DEBUG - FILE SIZE = 1303B
2026-01-07 04:39:17,581 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88667574-86921676 to ctest-TestBasicVMVNx-88667574-29232189 using scp
2026-01-07 04:39:17,582 - 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.50, gateway password: c0ntrail123
2026-01-07 04:39:17,582 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-01-07 04:39:19,486 - DEBUG - 1+0 records in
1+0 records out
2026-01-07 04:39:19,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 04:39:20,106 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-01-07 04:39:20,107 - DEBUG - ls -l testfile
2026-01-07 04:39:21,703 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 6 21:39 [0;0mtestfile[0m
2026-01-07 04:39:21,703 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88667574-29232189
2026-01-07 04:39:21,704 - INFO - Deleting VM ctest-TestBasicVMVNx-88667574-29232189
2026-01-07 04:39:21,766 - INFO - Deleting VM ctest-TestBasicVMVNx-88667574-86921676
2026-01-07 04:39:21,829 - INFO - Deleting VN ctest-vn-90738674
2026-01-07 04:39:21,872 - DEBUG - VN 2cb6664e-db72-4eaf-9319-2aaf923c0df1 still in use: Unable to complete operation on network 2cb6664e-db72-4eaf-9319-2aaf923c0df1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-71ad30b0-0f8b-4a13-983f-f1d77e06c78a']
2026-01-07 04:39:21,872 - WARNING - Deleting VN ctest-vn-90738674 failed..Will retry
2026-01-07 04:39:23,985 - DEBUG - Response for deleting network ()
2026-01-07 04:39:24,239 - DEBUG - No XMPP flaps were noticed during the test
2026-01-07 04:39:24,240 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2026-01-07 04:39:24,240 - INFO - --------------------------------------------------------------------------------
2026-01-07 04:39:24,907 - INFO - Deleted project: ctest-TestBasicVMVNx-88667574, ID : 80a2d78c-ef2b-416c-9ccc-295c98cae262