2025-11-24 18:38:49,579 - INFO - Domain Default found not creating 2025-11-24 18:38:50,021 - INFO - Project ctest-TestBasicVMVNx-90115043 not found, creating it 2025-11-24 18:38:50,689 - INFO - Created Project:ctest-TestBasicVMVNx-90115043, ID : fb6fb63e-62dc-406b-9b0b-fdb721503657 2025-11-24 18:38:52,914 - INFO - ================================================================================ 2025-11-24 18:38:52,914 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-24 18:38:52,914 - 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-11-24 18:38:53,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0'}} with 2025-11-24 18:38:53,231 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:38:53,231 - INFO - 2025-11-24 18:38:54,109 - DEBUG - Response for create_network : {'network': {'id': 'de207030-bd79-4d0c-b35c-f249ff3b46b1', 'name': 'ctest-vn-75688686', 'tenant_id': 'fb6fb63e62dc406b9b0bfdb721503657', 'project_id': 'fb6fb63e62dc406b9b0bfdb721503657', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90115043', 'ctest-vn-75688686'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:38:54,366 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdbadb09-23a5-4d8d-818a-0ada8f1b27ea', 'name': '', 'tenant_id': 'fb6fb63e62dc406b9b0bfdb721503657', 'network_id': 'de207030-bd79-4d0c-b35c-f249ff3b46b1', 'ip_version': 4, 'cidr': '88.94.11.0/26', 'allocation_pools': [{'start': '88.94.11.2', 'end': '88.94.11.62'}], 'gateway_ip': '88.94.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.94.11.2', 'tags': [], 'project_id': 'fb6fb63e62dc406b9b0bfdb721503657'}} 2025-11-24 18:38:54,398 - INFO - Created VN ctest-vn-75688686 2025-11-24 18:38:54,454 - DEBUG - VN ctest-vn-75688686 UUID is de207030-bd79-4d0c-b35c-f249ff3b46b1 2025-11-24 18:38:54,746 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:38:56,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:38:57,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:38:57,581 - INFO - Waiting for VM ctest-TestBasicVMVNx-90115043-67967924 to be up.. 2025-11-24 18:38:57,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:39:02,830 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:39:02,830 - INFO - VM name : ctest-TestBasicVMVNx-90115043-67967924 2025-11-24 18:39:02,935 - DEBUG - VM ctest-TestBasicVMVNx-90115043-67967924 ID is ff7af8d4-d26b-4a42-af91-382dd4ed6684 2025-11-24 18:39:02,973 - DEBUG - VM ctest-TestBasicVMVNx-90115043-67967924 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:39:03,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ff7af8d4-d26b-4a42-af91-382dd4ed6684 2025-11-24 18:39:03,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ff7af8d4-d26b-4a42-af91-382dd4ed6684 2025-11-24 18:39:03,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6eebc4ea-b03f-455e-930c-1f91b4e611be 2025-11-24 18:39:06,800 - 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 1027ms') 2025-11-24 18:39:06,800 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90115043-67967924 failed! 2025-11-24 18:39:06,866 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90115043:ctest-vn-75688686 is 88.94.11.1 and allocation pool is NOT set 2025-11-24 18:39:08,936 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.619 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 = 0.619/2.883/5.147/2.264 ms') 2025-11-24 18:39:08,937 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90115043-67967924 passed 2025-11-24 18:39:09,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:39:09,110 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90115043-67967924, IP 88.94.11.3, Port 22 2025-11-24 18:39:09,188 - 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-11-24 18:39:09,314 - DEBUG - VM ctest-TestBasicVMVNx-90115043-67967924 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 18:39:14,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:39:14,315 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90115043-67967924, IP 88.94.11.3, Port 22 2025-11-24 18:39:14,527 - DEBUG - VM ctest-TestBasicVMVNx-90115043-67967924 is ready for SSH connections 2025-11-24 18:39:14,527 - INFO - Waiting for VM ctest-TestBasicVMVNx-90115043-22829106 to be up.. 2025-11-24 18:39:14,687 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:39:14,687 - INFO - VM name : ctest-TestBasicVMVNx-90115043-22829106 2025-11-24 18:39:14,801 - DEBUG - VM ctest-TestBasicVMVNx-90115043-22829106 ID is 56900a4d-1394-474c-9c63-b221de4854f1 2025-11-24 18:39:14,801 - DEBUG - VM ctest-TestBasicVMVNx-90115043-22829106 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:39:14,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56900a4d-1394-474c-9c63-b221de4854f1 2025-11-24 18:39:14,922 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dcf2465d-ddff-49fb-9d34-1d4ccea43beb 2025-11-24 18:39:16,250 - 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=10.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.837 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.837/5.588/10.340/4.751 ms') 2025-11-24 18:39:16,250 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90115043-22829106 passed 2025-11-24 18:39:16,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:39:16,431 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90115043-22829106, IP 88.94.11.4, Port 22 2025-11-24 18:39:16,633 - DEBUG - VM ctest-TestBasicVMVNx-90115043-22829106 is ready for SSH connections 2025-11-24 18:39:16,634 - DEBUG - FILE SIZE = 1303B 2025-11-24 18:39:16,634 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90115043-67967924 to ctest-TestBasicVMVNx-90115043-22829106 using scp 2025-11-24 18:39:16,639 - 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-11-24 18:39:16,639 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-24 18:39:18,947 - DEBUG - 1+0 records in 1+0 records out 2025-11-24 18:39:19,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:39:19,876 - 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-11-24 18:39:19,876 - DEBUG - ls -l testfile 2025-11-24 18:39:21,926 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 24 11:39 testfile 2025-11-24 18:39:21,926 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90115043-22829106 2025-11-24 18:39:21,927 - INFO - Deleting VM ctest-TestBasicVMVNx-90115043-22829106 2025-11-24 18:39:22,066 - INFO - Deleting VM ctest-TestBasicVMVNx-90115043-67967924 2025-11-24 18:39:22,203 - INFO - Deleting VN ctest-vn-75688686 2025-11-24 18:39:22,272 - DEBUG - VN de207030-bd79-4d0c-b35c-f249ff3b46b1 still in use: Unable to complete operation on network de207030-bd79-4d0c-b35c-f249ff3b46b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5752dece-bbe4-4078-a07e-13476eefd149'] 2025-11-24 18:39:22,272 - WARNING - Deleting VN ctest-vn-75688686 failed..Will retry 2025-11-24 18:39:24,444 - DEBUG - Response for deleting network () 2025-11-24 18:39:24,735 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 18:39:24,735 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2025-11-24 18:39:24,735 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:39:25,596 - INFO - Deleted project: ctest-TestBasicVMVNx-90115043, ID : fb6fb63e-62dc-406b-9b0b-fdb721503657