2025-11-12 09:11:18,743 - INFO - Domain Default found not creating 2025-11-12 09:11:18,910 - INFO - Project ctest-TestBasicVMVNx-47274286 not found, creating it 2025-11-12 09:11:19,335 - INFO - Created Project:ctest-TestBasicVMVNx-47274286, ID : eac80fd4-a01d-480d-b759-66f493549ea5 2025-11-12 09:11:20,902 - INFO - ================================================================================ 2025-11-12 09:11:20,902 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-12 09:11:20,902 - 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-12 09:11:21,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-11-12 09:11:21,159 - INFO - Initial checks done. Running the testcase now 2025-11-12 09:11:21,159 - INFO - 2025-11-12 09:11:21,709 - DEBUG - Response for create_network : {'network': {'id': '88bfc068-ffe9-4fc0-a08e-df77a33bfbfd', 'name': 'ctest-vn-31759171', 'tenant_id': 'eac80fd4a01d480db75966f493549ea5', 'project_id': 'eac80fd4a01d480db75966f493549ea5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-47274286', 'ctest-vn-31759171'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:21,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cb66cf8-bef7-498c-b66b-e0e80736a4f7', 'name': '', 'tenant_id': 'eac80fd4a01d480db75966f493549ea5', 'network_id': '88bfc068-ffe9-4fc0-a08e-df77a33bfbfd', 'ip_version': 4, 'cidr': '37.131.186.64/26', 'allocation_pools': [{'start': '37.131.186.66', 'end': '37.131.186.126'}], 'gateway_ip': '37.131.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.131.186.66', 'tags': [], 'project_id': 'eac80fd4a01d480db75966f493549ea5'}} 2025-11-12 09:11:21,911 - INFO - Created VN ctest-vn-31759171 2025-11-12 09:11:21,963 - DEBUG - VN ctest-vn-31759171 UUID is 88bfc068-ffe9-4fc0-a08e-df77a33bfbfd 2025-11-12 09:11:22,137 - DEBUG - Services list from nova: [, , ] 2025-11-12 09:11:23,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4702-1) 2025-11-12 09:11:24,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4702-1) 2025-11-12 09:11:24,303 - INFO - Waiting for VM ctest-TestBasicVMVNx-47274286-87392424 to be up.. 2025-11-12 09:11:24,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 09:11:29,466 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:11:29,467 - INFO - VM name : ctest-TestBasicVMVNx-47274286-87392424 2025-11-12 09:11:29,544 - DEBUG - VM ctest-TestBasicVMVNx-47274286-87392424 ID is cd509c76-f696-4751-9363-6a2fd277ef9d 2025-11-12 09:11:29,563 - DEBUG - VM ctest-TestBasicVMVNx-47274286-87392424 launched on Node cn-jenkins-deploy-platform-ansible-os-4702-1 2025-11-12 09:11:29,634 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/cd509c76-f696-4751-9363-6a2fd277ef9d 2025-11-12 09:11:29,931 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/cd509c76-f696-4751-9363-6a2fd277ef9d 2025-11-12 09:11:29,963 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/47511d80-e04a-4061-b3b7-fa8c0f2d2e25 2025-11-12 09:11:33,219 - 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 1006ms') 2025-11-12 09:11:33,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47274286-87392424 failed! 2025-11-12 09:11:33,275 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-47274286:ctest-vn-31759171 is 37.131.186.65 and allocation pool is NOT set 2025-11-12 09:11:35,348 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 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 = 2.571/2.851/3.131/0.280 ms') 2025-11-12 09:11:35,348 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47274286-87392424 passed 2025-11-12 09:11:35,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:35,495 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47274286-87392424, IP 37.131.186.67, Port 22 2025-11-12 09:11:35,550 - 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-12 09:11:35,618 - DEBUG - VM ctest-TestBasicVMVNx-47274286-87392424 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 09:11:40,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:40,618 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47274286-87392424, IP 37.131.186.67, Port 22 2025-11-12 09:11:40,778 - DEBUG - VM ctest-TestBasicVMVNx-47274286-87392424 is ready for SSH connections 2025-11-12 09:11:40,778 - INFO - Waiting for VM ctest-TestBasicVMVNx-47274286-40400267 to be up.. 2025-11-12 09:11:40,851 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:11:40,851 - INFO - VM name : ctest-TestBasicVMVNx-47274286-40400267 2025-11-12 09:11:40,919 - DEBUG - VM ctest-TestBasicVMVNx-47274286-40400267 ID is 0d06315a-752d-43cd-926b-54a771262e7c 2025-11-12 09:11:40,919 - DEBUG - VM ctest-TestBasicVMVNx-47274286-40400267 launched on Node cn-jenkins-deploy-platform-ansible-os-4702-1 2025-11-12 09:11:40,988 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0d06315a-752d-43cd-926b-54a771262e7c 2025-11-12 09:11:40,996 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c02a3f19-84b9-4193-84cd-d4228da6e248 2025-11-12 09:11:42,232 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/1.707/2.915/1.208 ms') 2025-11-12 09:11:42,232 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-47274286-40400267 passed 2025-11-12 09:11:42,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:42,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47274286-40400267, IP 37.131.186.68, Port 22 2025-11-12 09:11:42,538 - DEBUG - VM ctest-TestBasicVMVNx-47274286-40400267 is ready for SSH connections 2025-11-12 09:11:42,539 - DEBUG - FILE SIZE = 1303B 2025-11-12 09:11:42,539 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-47274286-87392424 to ctest-TestBasicVMVNx-47274286-40400267 using scp 2025-11-12 09:11:42,540 - 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.141, gateway password: c0ntrail123 2025-11-12 09:11:42,540 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-12 09:11:44,478 - DEBUG - 1+0 records in 1+0 records out 2025-11-12 09:11:44,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:45,117 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-12 09:11:45,117 - DEBUG - ls -l testfile 2025-11-12 09:11:46,719 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 12 02:11 testfile 2025-11-12 09:11:46,719 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-47274286-40400267 2025-11-12 09:11:46,719 - INFO - Deleting VM ctest-TestBasicVMVNx-47274286-40400267 2025-11-12 09:11:46,796 - INFO - Deleting VM ctest-TestBasicVMVNx-47274286-87392424 2025-11-12 09:11:46,868 - INFO - Deleting VN ctest-vn-31759171 2025-11-12 09:11:46,905 - DEBUG - VN 88bfc068-ffe9-4fc0-a08e-df77a33bfbfd still in use: Unable to complete operation on network 88bfc068-ffe9-4fc0-a08e-df77a33bfbfd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43688a78-d117-4fea-b575-092052a12d31'] 2025-11-12 09:11:46,905 - WARNING - Deleting VN ctest-vn-31759171 failed..Will retry 2025-11-12 09:11:49,011 - DEBUG - Response for deleting network () 2025-11-12 09:11:49,267 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:11:49,267 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-12 09:11:49,267 - INFO - -------------------------------------------------------------------------------- 2025-11-12 09:11:49,929 - INFO - Deleted project: ctest-TestBasicVMVNx-47274286, ID : eac80fd4-a01d-480d-b759-66f493549ea5