2025-10-05 21:12:49,225 - INFO - Domain Default found not creating
2025-10-05 21:12:49,344 - INFO - Project ctest-TestBasicVMVNx-74751475 not found, creating it
2025-10-05 21:12:49,773 - INFO - Created Project:ctest-TestBasicVMVNx-74751475, ID : c1270743-b9ed-4764-85fc-46deecabcd12
2025-10-05 21:12:51,203 - INFO - ================================================================================
2025-10-05 21:12:51,203 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-05 21:12:51,203 - 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-10-05 21:12:51,456 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-05 21:12:51,456 - INFO - Initial checks done. Running the testcase now
2025-10-05 21:12:51,456 - INFO -
2025-10-05 21:12:51,965 - DEBUG - Response for create_network : {'network': {'id': '8d7ac95f-fb36-444a-b032-05f09f7f0ec9', 'name': 'ctest-vn-51531256', 'tenant_id': 'c1270743b9ed476485fc46deecabcd12', 'project_id': 'c1270743b9ed476485fc46deecabcd12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74751475', 'ctest-vn-51531256'], 'port_security_enabled': True, 'description': ''}}
2025-10-05 21:12:52,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '15f046eb-73a5-48be-ab5b-76b860455310', 'name': '', 'tenant_id': 'c1270743b9ed476485fc46deecabcd12', 'network_id': '8d7ac95f-fb36-444a-b032-05f09f7f0ec9', 'ip_version': 4, 'cidr': '215.249.17.192/26', 'allocation_pools': [{'start': '215.249.17.194', 'end': '215.249.17.254'}], 'gateway_ip': '215.249.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.249.17.194', 'tags': [], 'project_id': 'c1270743b9ed476485fc46deecabcd12'}}
2025-10-05 21:12:52,123 - INFO - Created VN ctest-vn-51531256
2025-10-05 21:12:52,174 - DEBUG - VN ctest-vn-51531256 UUID is 8d7ac95f-fb36-444a-b032-05f09f7f0ec9
2025-10-05 21:12:52,364 - DEBUG - Services list from nova: [, , ]
2025-10-05 21:12:53,314 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4215-1)
2025-10-05 21:12:54,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4215-1)
2025-10-05 21:12:54,349 - INFO - Waiting for VM ctest-TestBasicVMVNx-74751475-07505228 to be up..
2025-10-05 21:12:54,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-05 21:12:59,488 - DEBUG - VM is in ACTIVE state now
2025-10-05 21:12:59,488 - INFO - VM name : ctest-TestBasicVMVNx-74751475-07505228
2025-10-05 21:12:59,557 - DEBUG - VM ctest-TestBasicVMVNx-74751475-07505228 ID is c35ce21b-5e94-438a-ada4-f4ad8b13a232
2025-10-05 21:12:59,574 - DEBUG - VM ctest-TestBasicVMVNx-74751475-07505228 launched on Node cn-jenkins-deploy-platform-ansible-os-4215-1
2025-10-05 21:12:59,637 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c35ce21b-5e94-438a-ada4-f4ad8b13a232
2025-10-05 21:12:59,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c35ce21b-5e94-438a-ada4-f4ad8b13a232
2025-10-05 21:12:59,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/82bec53e-960d-41cb-8d9e-553d569ab10b
2025-10-05 21:13:03,192 - 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 1007ms')
2025-10-05 21:13:03,193 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74751475-07505228 failed!
2025-10-05 21:13:03,246 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74751475:ctest-vn-51531256 is 215.249.17.193 and allocation pool is NOT set
2025-10-05 21:13:05,309 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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 = 1.446/2.664/3.883/1.218 ms')
2025-10-05 21:13:05,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74751475-07505228 passed
2025-10-05 21:13:05,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:13:05,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74751475-07505228, IP 215.249.17.195, Port 22
2025-10-05 21:13:05,610 - DEBUG - VM ctest-TestBasicVMVNx-74751475-07505228 is ready for SSH connections
2025-10-05 21:13:05,610 - INFO - Waiting for VM ctest-TestBasicVMVNx-74751475-47573585 to be up..
2025-10-05 21:13:05,676 - DEBUG - VM is in ACTIVE state now
2025-10-05 21:13:05,676 - INFO - VM name : ctest-TestBasicVMVNx-74751475-47573585
2025-10-05 21:13:05,742 - DEBUG - VM ctest-TestBasicVMVNx-74751475-47573585 ID is 4316f58b-04de-41f1-b481-6834aa2c24a8
2025-10-05 21:13:05,742 - DEBUG - VM ctest-TestBasicVMVNx-74751475-47573585 launched on Node cn-jenkins-deploy-platform-ansible-os-4215-1
2025-10-05 21:13:05,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4316f58b-04de-41f1-b481-6834aa2c24a8
2025-10-05 21:13:05,811 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0636f2e0-f1a8-4f45-b2b2-e7bea72e2314
2025-10-05 21:13:07,038 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 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 = 2.066/3.220/4.375/1.154 ms')
2025-10-05 21:13:07,038 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74751475-47573585 passed
2025-10-05 21:13:07,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:13:07,186 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74751475-47573585, IP 215.249.17.196, Port 22
2025-10-05 21:13:07,241 - 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-10-05 21:13:07,312 - DEBUG - VM ctest-TestBasicVMVNx-74751475-47573585 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-05 21:13:12,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:13:12,313 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74751475-47573585, IP 215.249.17.196, Port 22
2025-10-05 21:13:12,470 - DEBUG - VM ctest-TestBasicVMVNx-74751475-47573585 is ready for SSH connections
2025-10-05 21:13:12,470 - DEBUG - FILE SIZE = 1303B
2025-10-05 21:13:12,470 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74751475-07505228 to ctest-TestBasicVMVNx-74751475-47573585 using scp
2025-10-05 21:13:12,472 - 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-10-05 21:13:12,472 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-05 21:13:14,352 - DEBUG - 1+0 records in
1+0 records out
2025-10-05 21:13:14,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-05 21:13:15,283 - 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-10-05 21:13:15,283 - DEBUG - ls -l testfile
2025-10-05 21:13:16,877 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 5 15:13 [0;0mtestfile[0m
2025-10-05 21:13:16,877 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74751475-47573585
2025-10-05 21:13:16,877 - INFO - Deleting VM ctest-TestBasicVMVNx-74751475-47573585
2025-10-05 21:13:16,944 - INFO - Deleting VM ctest-TestBasicVMVNx-74751475-07505228
2025-10-05 21:13:17,009 - INFO - Deleting VN ctest-vn-51531256
2025-10-05 21:13:17,041 - DEBUG - VN 8d7ac95f-fb36-444a-b032-05f09f7f0ec9 still in use: Unable to complete operation on network 8d7ac95f-fb36-444a-b032-05f09f7f0ec9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3a407a41-def0-4c4f-8fc5-ab7027a519ea']
2025-10-05 21:13:17,041 - WARNING - Deleting VN ctest-vn-51531256 failed..Will retry
2025-10-05 21:13:19,131 - DEBUG - Response for deleting network ()
2025-10-05 21:13:19,383 - DEBUG - No XMPP flaps were noticed during the test
2025-10-05 21:13:19,383 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2025-10-05 21:13:19,383 - INFO - --------------------------------------------------------------------------------
2025-10-05 21:13:20,003 - INFO - Deleted project: ctest-TestBasicVMVNx-74751475, ID : c1270743-b9ed-4764-85fc-46deecabcd12