2025-10-22 18:20:55,669 - INFO - Reading existing Domain with UUID 76186d71-3699-4707-98f1-3afabb9db250
2025-10-22 18:20:55,691 - INFO - Using existing domain ['admin_domain'](76186d71-3699-4707-98f1-3afabb9db250)
2025-10-22 18:20:56,056 - INFO - Project ctest-TestBasicVMVNx-68091266 not found, creating it
2025-10-22 18:20:56,719 - INFO - Created Project:ctest-TestBasicVMVNx-68091266, ID : 1895a13b-e64a-4a3e-9d41-53fe409beeba
2025-10-22 18:20:59,120 - INFO - ================================================================================
2025-10-22 18:20:59,121 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-22 18:20:59,121 - 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-22 18:20:59,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.0.0.240': '0'}} with
2025-10-22 18:20:59,599 - INFO - Initial checks done. Running the testcase now
2025-10-22 18:20:59,600 - INFO -
2025-10-22 18:21:00,555 - DEBUG - Response for create_network : {'network': {'id': '8d5d0ace-ba1c-4d6e-a44b-8c2726131d8b', 'name': 'ctest-vn-33219118', 'tenant_id': '1895a13be64a4a3e9d4153fe409beeba', 'project_id': '1895a13be64a4a3e9d4153fe409beeba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-68091266', 'ctest-vn-33219118'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-22 18:21:00,827 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa42dacc-3661-40f2-bbf7-5fddb4a8f3d9', 'name': '', 'tenant_id': '1895a13be64a4a3e9d4153fe409beeba', 'network_id': '8d5d0ace-ba1c-4d6e-a44b-8c2726131d8b', 'ip_version': 4, 'cidr': '118.90.65.192/26', 'allocation_pools': [{'start': '118.90.65.194', 'end': '118.90.65.254'}], 'gateway_ip': '118.90.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T18:21:00.721290', 'updated_at': '2025-10-22T18:21:00.721290', 'dns_server_address': '118.90.65.194', 'tags': [], 'project_id': '1895a13be64a4a3e9d4153fe409beeba'}}
2025-10-22 18:21:00,893 - INFO - Created VN ctest-vn-33219118
2025-10-22 18:21:00,954 - DEBUG - VN ctest-vn-33219118 UUID is 8d5d0ace-ba1c-4d6e-a44b-8c2726131d8b
2025-10-22 18:21:01,281 - DEBUG - Services list from nova: [, , ]
2025-10-22 18:21:03,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-604-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-604-1)
2025-10-22 18:21:04,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-604-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-604-1)
2025-10-22 18:21:04,506 - INFO - Waiting for VM ctest-TestBasicVMVNx-68091266-29506625 to be up..
2025-10-22 18:21:04,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 18:21:09,870 - DEBUG - VM is in ACTIVE state now
2025-10-22 18:21:09,871 - INFO - VM name : ctest-TestBasicVMVNx-68091266-29506625
2025-10-22 18:21:10,037 - DEBUG - VM ctest-TestBasicVMVNx-68091266-29506625 ID is dc681211-d355-439b-9890-0541b12aaa97
2025-10-22 18:21:10,068 - DEBUG - VM ctest-TestBasicVMVNx-68091266-29506625 launched on Node cn-jenkins-deploy-platform-juju-os-604-1
2025-10-22 18:21:10,214 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/dc681211-d355-439b-9890-0541b12aaa97
2025-10-22 18:21:10,578 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/dc681211-d355-439b-9890-0541b12aaa97
2025-10-22 18:21:10,675 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/a079c7ac-2495-4e5a-9121-e409fb447671
2025-10-22 18:21:14,180 - 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-10-22 18:21:14,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68091266-29506625 failed!
2025-10-22 18:21:14,243 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-68091266:ctest-vn-33219118 is 118.90.65.193 and allocation pool is NOT set
2025-10-22 18:21:18,372 - 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=2 ttl=63 time=3.45 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 3.450/3.450/3.450/0.000 ms')
2025-10-22 18:21:18,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68091266-29506625 passed
2025-10-22 18:21:18,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 18:21:18,536 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68091266-29506625, IP 118.90.65.195, Port 22
2025-10-22 18:21:18,647 - 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-10-22 18:21:18,850 - DEBUG - VM ctest-TestBasicVMVNx-68091266-29506625 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-22 18:21:23,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 18:21:23,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68091266-29506625, IP 118.90.65.195, Port 22
2025-10-22 18:21:24,120 - DEBUG - VM ctest-TestBasicVMVNx-68091266-29506625 is ready for SSH connections
2025-10-22 18:21:24,121 - INFO - Waiting for VM ctest-TestBasicVMVNx-68091266-59489549 to be up..
2025-10-22 18:21:24,379 - DEBUG - VM is in ACTIVE state now
2025-10-22 18:21:24,379 - INFO - VM name : ctest-TestBasicVMVNx-68091266-59489549
2025-10-22 18:21:24,580 - DEBUG - VM ctest-TestBasicVMVNx-68091266-59489549 ID is 50adff7c-a3b6-4294-8373-8c9ea3df8ee1
2025-10-22 18:21:24,580 - DEBUG - VM ctest-TestBasicVMVNx-68091266-59489549 launched on Node cn-jenkins-deploy-platform-juju-os-604-1
2025-10-22 18:21:24,760 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/50adff7c-a3b6-4294-8373-8c9ea3df8ee1
2025-10-22 18:21:24,819 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/609e2975-0fdf-4845-82ff-72d55eb61393
2025-10-22 18:21:26,374 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.924 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.924/2.189/3.455/1.265 ms')
2025-10-22 18:21:26,374 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-68091266-59489549 passed
2025-10-22 18:21:26,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 18:21:26,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68091266-59489549, IP 118.90.65.196, Port 22
2025-10-22 18:21:26,846 - DEBUG - VM ctest-TestBasicVMVNx-68091266-59489549 is ready for SSH connections
2025-10-22 18:21:26,846 - DEBUG - FILE SIZE = 1303B
2025-10-22 18:21:26,846 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-68091266-29506625 to ctest-TestBasicVMVNx-68091266-59489549 using scp
2025-10-22 18:21:26,860 - 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.240, gateway password: c0ntrail123
2025-10-22 18:21:26,860 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-22 18:21:28,836 - DEBUG - 1+0 records in
1+0 records out
2025-10-22 18:21:30,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 18:21:30,635 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123
2025-10-22 18:21:30,635 - DEBUG - ls -l testfile
2025-10-22 18:21:32,473 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 22 12:21 [0;0mtestfile[0m
2025-10-22 18:21:32,473 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-68091266-59489549
2025-10-22 18:21:32,473 - INFO - Deleting VM ctest-TestBasicVMVNx-68091266-59489549
2025-10-22 18:21:32,709 - INFO - Deleting VM ctest-TestBasicVMVNx-68091266-29506625
2025-10-22 18:21:32,884 - INFO - Deleting VN ctest-vn-33219118
2025-10-22 18:21:33,115 - DEBUG - VN 8d5d0ace-ba1c-4d6e-a44b-8c2726131d8b still in use: Unable to complete operation on network 8d5d0ace-ba1c-4d6e-a44b-8c2726131d8b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2083c23e-b5ee-4cf6-a366-7149067c0dc7']
2025-10-22 18:21:33,115 - WARNING - Deleting VN ctest-vn-33219118 failed..Will retry
2025-10-22 18:21:35,482 - DEBUG - VN 8d5d0ace-ba1c-4d6e-a44b-8c2726131d8b still in use: Unable to complete operation on network 8d5d0ace-ba1c-4d6e-a44b-8c2726131d8b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ea6fa27d-f24a-4b47-be0d-2a89b9a13859']
2025-10-22 18:21:35,485 - WARNING - Deleting VN ctest-vn-33219118 failed..Will retry
2025-10-22 18:21:37,823 - DEBUG - Response for deleting network ()
2025-10-22 18:21:38,240 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 18:21:38,240 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:39]
2025-10-22 18:21:38,240 - INFO - --------------------------------------------------------------------------------
2025-10-22 18:21:39,499 - INFO - Deleted project: ctest-TestBasicVMVNx-68091266, ID : 1895a13b-e64a-4a3e-9d41-53fe409beeba