2025-07-18 20:54:57,187 - INFO - Domain Default found not creating
2025-07-18 20:54:57,320 - INFO - Project ctest-TestBasicVMVNx-97834659 not found, creating it
2025-07-18 20:54:57,784 - INFO - Created Project:ctest-TestBasicVMVNx-97834659, ID : eb884119-1a26-4fd0-8551-ab526ba91c81
2025-07-18 20:54:59,206 - INFO - ================================================================================
2025-07-18 20:54:59,206 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-07-18 20:54:59,206 - 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-07-18 20:54:59,461 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2025-07-18 20:54:59,461 - INFO - Initial checks done. Running the testcase now
2025-07-18 20:54:59,461 - INFO -
2025-07-18 20:54:59,995 - DEBUG - Response for create_network : {'network': {'id': 'eb30214e-af42-4458-8d1a-e896086f129a', 'name': 'ctest-vn-08746503', 'tenant_id': 'eb8841191a264fd08551ab526ba91c81', 'project_id': 'eb8841191a264fd08551ab526ba91c81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-97834659', 'ctest-vn-08746503'], 'port_security_enabled': True, 'description': ''}}
2025-07-18 20:55:00,184 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a61babb-6318-472e-bf56-6090f2080da1', 'name': '', 'tenant_id': 'eb8841191a264fd08551ab526ba91c81', 'network_id': 'eb30214e-af42-4458-8d1a-e896086f129a', 'ip_version': 4, 'cidr': '52.13.160.128/26', 'allocation_pools': [{'start': '52.13.160.130', 'end': '52.13.160.190'}], 'gateway_ip': '52.13.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.13.160.130', 'tags': [], 'project_id': 'eb8841191a264fd08551ab526ba91c81'}}
2025-07-18 20:55:00,202 - INFO - Created VN ctest-vn-08746503
2025-07-18 20:55:00,260 - DEBUG - VN ctest-vn-08746503 UUID is eb30214e-af42-4458-8d1a-e896086f129a
2025-07-18 20:55:00,459 - DEBUG - Services list from nova: [, , ]
2025-07-18 20:55:01,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3664-1)
2025-07-18 20:55:02,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3664-1)
2025-07-18 20:55:02,566 - INFO - Waiting for VM ctest-TestBasicVMVNx-97834659-51094803 to be up..
2025-07-18 20:55:02,640 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-18 20:55:07,719 - DEBUG - VM is in ACTIVE state now
2025-07-18 20:55:07,719 - INFO - VM name : ctest-TestBasicVMVNx-97834659-51094803
2025-07-18 20:55:07,800 - DEBUG - VM ctest-TestBasicVMVNx-97834659-51094803 ID is 1d71d0b4-5d7c-43cf-ad19-11b067ecdb8e
2025-07-18 20:55:07,828 - DEBUG - VM ctest-TestBasicVMVNx-97834659-51094803 launched on Node cn-jenkins-deploy-platform-ansible-os-3664-1
2025-07-18 20:55:07,907 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/1d71d0b4-5d7c-43cf-ad19-11b067ecdb8e
2025-07-18 20:55:08,209 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/1d71d0b4-5d7c-43cf-ad19-11b067ecdb8e
2025-07-18 20:55:08,242 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/2e9953a8-9c63-4b4f-b93a-71c5fc1c859b
2025-07-18 20:55:11,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 1011ms')
2025-07-18 20:55:11,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97834659-51094803 failed!
2025-07-18 20:55:11,555 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-97834659:ctest-vn-08746503 is 52.13.160.129 and allocation pool is NOT set
2025-07-18 20:55:13,618 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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.458/2.753/4.049/1.295 ms')
2025-07-18 20:55:13,618 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97834659-51094803 passed
2025-07-18 20:55:13,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 20:55:13,775 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97834659-51094803, IP 52.13.160.131, Port 22
2025-07-18 20:55:13,926 - DEBUG - VM ctest-TestBasicVMVNx-97834659-51094803 is ready for SSH connections
2025-07-18 20:55:13,927 - INFO - Waiting for VM ctest-TestBasicVMVNx-97834659-02547216 to be up..
2025-07-18 20:55:13,999 - DEBUG - VM is in ACTIVE state now
2025-07-18 20:55:13,999 - INFO - VM name : ctest-TestBasicVMVNx-97834659-02547216
2025-07-18 20:55:14,072 - DEBUG - VM ctest-TestBasicVMVNx-97834659-02547216 ID is 5e0a102b-3a5d-4576-bc7e-3953e5a4172f
2025-07-18 20:55:14,072 - DEBUG - VM ctest-TestBasicVMVNx-97834659-02547216 launched on Node cn-jenkins-deploy-platform-ansible-os-3664-1
2025-07-18 20:55:14,143 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/5e0a102b-3a5d-4576-bc7e-3953e5a4172f
2025-07-18 20:55:14,152 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/8df98f29-e297-4b0e-8d88-b728a018726f
2025-07-18 20:55:15,392 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.959/3.444/1.485 ms')
2025-07-18 20:55:15,392 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97834659-02547216 passed
2025-07-18 20:55:15,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 20:55:15,543 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97834659-02547216, IP 52.13.160.132, Port 22
2025-07-18 20:55:15,695 - DEBUG - VM ctest-TestBasicVMVNx-97834659-02547216 is ready for SSH connections
2025-07-18 20:55:15,695 - DEBUG - FILE SIZE = 1303B
2025-07-18 20:55:15,695 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97834659-51094803 to ctest-TestBasicVMVNx-97834659-02547216 using scp
2025-07-18 20:55:15,696 - 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.129, gateway password: c0ntrail123
2025-07-18 20:55:15,696 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-07-18 20:55:17,621 - DEBUG - 1+0 records in
1+0 records out
2025-07-18 20:55:18,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 20:55:18,544 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2025-07-18 20:55:18,544 - DEBUG - ls -l testfile
2025-07-18 20:55:20,106 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 18 14:55 [0;0mtestfile[0m
2025-07-18 20:55:20,106 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97834659-02547216
2025-07-18 20:55:20,106 - INFO - Deleting VM ctest-TestBasicVMVNx-97834659-02547216
2025-07-18 20:55:20,183 - INFO - Deleting VM ctest-TestBasicVMVNx-97834659-51094803
2025-07-18 20:55:20,255 - INFO - Deleting VN ctest-vn-08746503
2025-07-18 20:55:20,295 - DEBUG - VN eb30214e-af42-4458-8d1a-e896086f129a still in use: Unable to complete operation on network eb30214e-af42-4458-8d1a-e896086f129a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-01e9f5ac-fa5f-4f84-a044-b3b8e0671d06']
2025-07-18 20:55:20,295 - WARNING - Deleting VN ctest-vn-08746503 failed..Will retry
2025-07-18 20:55:22,397 - DEBUG - Response for deleting network ()
2025-07-18 20:55:22,654 - DEBUG - No XMPP flaps were noticed during the test
2025-07-18 20:55:22,654 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-07-18 20:55:22,654 - INFO - --------------------------------------------------------------------------------
2025-07-18 20:55:23,342 - INFO - Deleted project: ctest-TestBasicVMVNx-97834659, ID : eb884119-1a26-4fd0-8551-ab526ba91c81