2025-09-11 08:15:54,749 - INFO - Domain Default found not creating
2025-09-11 08:15:54,931 - INFO - Project ctest-TestBasicVMVNx-92778389 not found, creating it
2025-09-11 08:15:55,444 - INFO - Created Project:ctest-TestBasicVMVNx-92778389, ID : d87405ad-f190-4162-9e9a-fce4c50dbbcc
2025-09-11 08:15:57,163 - INFO - ================================================================================
2025-09-11 08:15:57,163 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-11 08:15:57,164 - 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-09-11 08:15:57,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2025-09-11 08:15:57,423 - INFO - Initial checks done. Running the testcase now
2025-09-11 08:15:57,423 - INFO -
2025-09-11 08:15:58,032 - DEBUG - Response for create_network : {'network': {'id': 'a54ce1c7-2a76-442b-80ce-432e154dbd78', 'name': 'ctest-vn-77167440', 'tenant_id': 'd87405adf19041629e9afce4c50dbbcc', 'project_id': 'd87405adf19041629e9afce4c50dbbcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-92778389', 'ctest-vn-77167440'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 08:15:58,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '059facf6-6f70-482b-9889-c232e507a7dc', 'name': '', 'tenant_id': 'd87405adf19041629e9afce4c50dbbcc', 'network_id': 'a54ce1c7-2a76-442b-80ce-432e154dbd78', 'ip_version': 4, 'cidr': '45.36.29.0/26', 'allocation_pools': [{'start': '45.36.29.2', 'end': '45.36.29.62'}], 'gateway_ip': '45.36.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.36.29.2', 'tags': [], 'project_id': 'd87405adf19041629e9afce4c50dbbcc'}}
2025-09-11 08:15:58,248 - INFO - Created VN ctest-vn-77167440
2025-09-11 08:15:58,302 - DEBUG - VN ctest-vn-77167440 UUID is a54ce1c7-2a76-442b-80ce-432e154dbd78
2025-09-11 08:15:58,474 - DEBUG - Services list from nova: [, , ]
2025-09-11 08:15:59,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4082-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4082-1)
2025-09-11 08:16:00,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4082-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4082-1)
2025-09-11 08:16:00,945 - INFO - Waiting for VM ctest-TestBasicVMVNx-92778389-34542167 to be up..
2025-09-11 08:16:01,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 08:16:06,118 - DEBUG - VM is in ACTIVE state now
2025-09-11 08:16:06,119 - INFO - VM name : ctest-TestBasicVMVNx-92778389-34542167
2025-09-11 08:16:06,206 - DEBUG - VM ctest-TestBasicVMVNx-92778389-34542167 ID is a138fc82-e109-4a91-8c85-aa4ff863956b
2025-09-11 08:16:06,228 - DEBUG - VM ctest-TestBasicVMVNx-92778389-34542167 launched on Node cn-jenkins-deploy-platform-ansible-os-4082-1
2025-09-11 08:16:06,318 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a138fc82-e109-4a91-8c85-aa4ff863956b
2025-09-11 08:16:06,665 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a138fc82-e109-4a91-8c85-aa4ff863956b
2025-09-11 08:16:06,701 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2b719179-486a-4ce0-8a06-24d7557adc49
2025-09-11 08:16:09,961 - 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')
2025-09-11 08:16:09,961 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92778389-34542167 failed!
2025-09-11 08:16:10,014 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-92778389:ctest-vn-77167440 is 45.36.29.1 and allocation pool is NOT set
2025-09-11 08:16:12,083 - 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=7.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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.339/4.244/7.149/2.905 ms')
2025-09-11 08:16:12,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92778389-34542167 passed
2025-09-11 08:16:12,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:16:12,246 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92778389-34542167, IP 45.36.29.3, Port 22
2025-09-11 08:16:12,315 - 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': ''}
2025-09-11 08:16:12,395 - DEBUG - VM ctest-TestBasicVMVNx-92778389-34542167 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-11 08:16:17,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:16:17,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92778389-34542167, IP 45.36.29.3, Port 22
2025-09-11 08:16:17,564 - DEBUG - VM ctest-TestBasicVMVNx-92778389-34542167 is ready for SSH connections
2025-09-11 08:16:17,564 - INFO - Waiting for VM ctest-TestBasicVMVNx-92778389-23917049 to be up..
2025-09-11 08:16:17,651 - DEBUG - VM is in ACTIVE state now
2025-09-11 08:16:17,651 - INFO - VM name : ctest-TestBasicVMVNx-92778389-23917049
2025-09-11 08:16:17,734 - DEBUG - VM ctest-TestBasicVMVNx-92778389-23917049 ID is 982009cd-983d-40f8-b475-976d1210409b
2025-09-11 08:16:17,735 - DEBUG - VM ctest-TestBasicVMVNx-92778389-23917049 launched on Node cn-jenkins-deploy-platform-ansible-os-4082-1
2025-09-11 08:16:17,817 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/982009cd-983d-40f8-b475-976d1210409b
2025-09-11 08:16:17,828 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/31efc018-ba10-4a1c-998e-1746d87811c1
2025-09-11 08:16:19,081 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.803/3.150/1.347 ms')
2025-09-11 08:16:19,081 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92778389-23917049 passed
2025-09-11 08:16:19,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:16:19,234 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92778389-23917049, IP 45.36.29.4, Port 22
2025-09-11 08:16:19,397 - DEBUG - VM ctest-TestBasicVMVNx-92778389-23917049 is ready for SSH connections
2025-09-11 08:16:19,397 - DEBUG - FILE SIZE = 1303B
2025-09-11 08:16:19,397 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92778389-34542167 to ctest-TestBasicVMVNx-92778389-23917049 using scp
2025-09-11 08:16:19,399 - 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.19, gateway password: c0ntrail123
2025-09-11 08:16:19,399 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-11 08:16:21,449 - DEBUG - 1+0 records in
1+0 records out
2025-09-11 08:16:22,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 08:16:22,697 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-09-11 08:16:22,698 - DEBUG - ls -l testfile
2025-09-11 08:16:24,352 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 02:16 [0;0mtestfile[0m
2025-09-11 08:16:24,352 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92778389-23917049
2025-09-11 08:16:24,352 - INFO - Deleting VM ctest-TestBasicVMVNx-92778389-23917049
2025-09-11 08:16:24,434 - INFO - Deleting VM ctest-TestBasicVMVNx-92778389-34542167
2025-09-11 08:16:24,532 - INFO - Deleting VN ctest-vn-77167440
2025-09-11 08:16:24,576 - DEBUG - VN a54ce1c7-2a76-442b-80ce-432e154dbd78 still in use: Unable to complete operation on network a54ce1c7-2a76-442b-80ce-432e154dbd78. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9ce6b047-3a28-45bd-bd3e-a867e8858cc9']
2025-09-11 08:16:24,578 - WARNING - Deleting VN ctest-vn-77167440 failed..Will retry
2025-09-11 08:16:26,695 - DEBUG - Response for deleting network ()
2025-09-11 08:16:26,960 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:16:26,960 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-09-11 08:16:26,960 - INFO - --------------------------------------------------------------------------------
2025-09-11 08:16:27,717 - INFO - Deleted project: ctest-TestBasicVMVNx-92778389, ID : d87405ad-f190-4162-9e9a-fce4c50dbbcc