2025-08-15 08:19:21,228 - INFO - Domain Default found not creating 2025-08-15 08:19:21,392 - INFO - Project ctest-TestBasicVMVNx-02344193 not found, creating it 2025-08-15 08:19:21,865 - INFO - Created Project:ctest-TestBasicVMVNx-02344193, ID : fdbb89bd-75ee-4164-9989-52b53541711a 2025-08-15 08:19:23,385 - INFO - ================================================================================ 2025-08-15 08:19:23,385 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-15 08:19:23,385 - 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-08-15 08:19:23,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-08-15 08:19:23,642 - INFO - Initial checks done. Running the testcase now 2025-08-15 08:19:23,642 - INFO - 2025-08-15 08:19:24,220 - DEBUG - Response for create_network : {'network': {'id': '43c6f77f-2cea-456f-b112-dfe1a279b19e', 'name': 'ctest-vn-49077033', 'tenant_id': 'fdbb89bd75ee4164998952b53541711a', 'project_id': 'fdbb89bd75ee4164998952b53541711a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-02344193', 'ctest-vn-49077033'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:19:24,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b67b4f5-e6ed-47b1-9e3d-02be7abd0f04', 'name': '', 'tenant_id': 'fdbb89bd75ee4164998952b53541711a', 'network_id': '43c6f77f-2cea-456f-b112-dfe1a279b19e', 'ip_version': 4, 'cidr': '143.175.213.0/26', 'allocation_pools': [{'start': '143.175.213.2', 'end': '143.175.213.62'}], 'gateway_ip': '143.175.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.175.213.2', 'tags': [], 'project_id': 'fdbb89bd75ee4164998952b53541711a'}} 2025-08-15 08:19:24,417 - INFO - Created VN ctest-vn-49077033 2025-08-15 08:19:24,472 - DEBUG - VN ctest-vn-49077033 UUID is 43c6f77f-2cea-456f-b112-dfe1a279b19e 2025-08-15 08:19:24,668 - DEBUG - Services list from nova: [, , ] 2025-08-15 08:19:25,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1) 2025-08-15 08:19:26,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1) 2025-08-15 08:19:26,974 - INFO - Waiting for VM ctest-TestBasicVMVNx-02344193-52991902 to be up.. 2025-08-15 08:19:27,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 08:19:32,134 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:19:32,135 - INFO - VM name : ctest-TestBasicVMVNx-02344193-52991902 2025-08-15 08:19:32,206 - DEBUG - VM ctest-TestBasicVMVNx-02344193-52991902 ID is e6edc309-c76d-4b0a-9511-56e3eb8e031d 2025-08-15 08:19:32,225 - DEBUG - VM ctest-TestBasicVMVNx-02344193-52991902 launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1 2025-08-15 08:19:32,299 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e6edc309-c76d-4b0a-9511-56e3eb8e031d 2025-08-15 08:19:32,632 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e6edc309-c76d-4b0a-9511-56e3eb8e031d 2025-08-15 08:19:32,664 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/61635161-18ed-41de-9cab-ff62ab12b3bb 2025-08-15 08:19:35,921 - 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 1019ms') 2025-08-15 08:19:35,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02344193-52991902 failed! 2025-08-15 08:19:35,980 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-02344193:ctest-vn-49077033 is 143.175.213.1 and allocation pool is NOT set 2025-08-15 08:19:38,044 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.85 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.852/3.192/3.532/0.340 ms') 2025-08-15 08:19:38,044 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02344193-52991902 passed 2025-08-15 08:19:38,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:19:38,196 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02344193-52991902, IP 143.175.213.3, Port 22 2025-08-15 08:19:38,251 - 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-08-15 08:19:38,331 - DEBUG - VM ctest-TestBasicVMVNx-02344193-52991902 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-15 08:19:43,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:19:43,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02344193-52991902, IP 143.175.213.3, Port 22 2025-08-15 08:19:43,492 - DEBUG - VM ctest-TestBasicVMVNx-02344193-52991902 is ready for SSH connections 2025-08-15 08:19:43,492 - INFO - Waiting for VM ctest-TestBasicVMVNx-02344193-67563557 to be up.. 2025-08-15 08:19:43,563 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:19:43,564 - INFO - VM name : ctest-TestBasicVMVNx-02344193-67563557 2025-08-15 08:19:43,643 - DEBUG - VM ctest-TestBasicVMVNx-02344193-67563557 ID is fc265f17-17c0-4ddf-8973-c2ede76b5cec 2025-08-15 08:19:43,643 - DEBUG - VM ctest-TestBasicVMVNx-02344193-67563557 launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1 2025-08-15 08:19:43,713 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fc265f17-17c0-4ddf-8973-c2ede76b5cec 2025-08-15 08:19:43,721 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1563fe1b-db03-431f-96b4-5f4d7c8fb693 2025-08-15 08:19:44,959 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.383/1.686/2.990/1.303 ms') 2025-08-15 08:19:44,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-02344193-67563557 passed 2025-08-15 08:19:45,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:19:45,112 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02344193-67563557, IP 143.175.213.4, Port 22 2025-08-15 08:19:45,267 - DEBUG - VM ctest-TestBasicVMVNx-02344193-67563557 is ready for SSH connections 2025-08-15 08:19:45,267 - DEBUG - FILE SIZE = 1303B 2025-08-15 08:19:45,267 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-02344193-52991902 to ctest-TestBasicVMVNx-02344193-67563557 using scp 2025-08-15 08:19:45,268 - 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-08-15 08:19:45,268 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-15 08:19:47,233 - DEBUG - 1+0 records in 1+0 records out 2025-08-15 08:19:47,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:19:48,268 - 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-08-15 08:19:48,268 - DEBUG - ls -l testfile 2025-08-15 08:19:49,847 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 15 02:19 testfile 2025-08-15 08:19:49,847 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-02344193-67563557 2025-08-15 08:19:49,847 - INFO - Deleting VM ctest-TestBasicVMVNx-02344193-67563557 2025-08-15 08:19:49,911 - INFO - Deleting VM ctest-TestBasicVMVNx-02344193-52991902 2025-08-15 08:19:49,979 - INFO - Deleting VN ctest-vn-49077033 2025-08-15 08:19:50,018 - DEBUG - VN 43c6f77f-2cea-456f-b112-dfe1a279b19e still in use: Unable to complete operation on network 43c6f77f-2cea-456f-b112-dfe1a279b19e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a4f308c-be4e-4963-a31d-9cb56ff583b7'] 2025-08-15 08:19:50,019 - WARNING - Deleting VN ctest-vn-49077033 failed..Will retry 2025-08-15 08:19:52,138 - DEBUG - Response for deleting network () 2025-08-15 08:19:52,398 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 08:19:52,398 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-08-15 08:19:52,398 - INFO - -------------------------------------------------------------------------------- 2025-08-15 08:19:53,117 - INFO - Deleted project: ctest-TestBasicVMVNx-02344193, ID : fdbb89bd-75ee-4164-9989-52b53541711a