2025-11-07 10:01:31,200 - INFO - Domain Default found not creating 2025-11-07 10:01:31,343 - INFO - Project ctest-TestBasicVMVNx-60099089 not found, creating it 2025-11-07 10:01:31,790 - INFO - Created Project:ctest-TestBasicVMVNx-60099089, ID : bc96084e-d006-4fcf-9c01-aa0f43d4b69f 2025-11-07 10:01:33,300 - INFO - ================================================================================ 2025-11-07 10:01:33,300 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-07 10:01:33,300 - 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-07 10:01:33,558 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-11-07 10:01:33,558 - INFO - Initial checks done. Running the testcase now 2025-11-07 10:01:33,558 - INFO - 2025-11-07 10:01:34,102 - DEBUG - Response for create_network : {'network': {'id': '2ee8acd8-8fb8-48b3-a686-57c29dd3fd53', 'name': 'ctest-vn-58863672', 'tenant_id': 'bc96084ed0064fcf9c01aa0f43d4b69f', 'project_id': 'bc96084ed0064fcf9c01aa0f43d4b69f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60099089', 'ctest-vn-58863672'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 10:01:34,292 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3250b86-a7c8-43ae-8c2f-e67111bb2e71', 'name': '', 'tenant_id': 'bc96084ed0064fcf9c01aa0f43d4b69f', 'network_id': '2ee8acd8-8fb8-48b3-a686-57c29dd3fd53', 'ip_version': 4, 'cidr': '209.158.39.64/26', 'allocation_pools': [{'start': '209.158.39.66', 'end': '209.158.39.126'}], 'gateway_ip': '209.158.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.158.39.66', 'tags': [], 'project_id': 'bc96084ed0064fcf9c01aa0f43d4b69f'}} 2025-11-07 10:01:34,309 - INFO - Created VN ctest-vn-58863672 2025-11-07 10:01:34,360 - DEBUG - VN ctest-vn-58863672 UUID is 2ee8acd8-8fb8-48b3-a686-57c29dd3fd53 2025-11-07 10:01:34,575 - DEBUG - Services list from nova: [, , ] 2025-11-07 10:01:35,741 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1) 2025-11-07 10:01:37,065 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1) 2025-11-07 10:01:37,065 - INFO - Waiting for VM ctest-TestBasicVMVNx-60099089-95651779 to be up.. 2025-11-07 10:01:37,147 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 10:01:42,221 - DEBUG - VM is in ACTIVE state now 2025-11-07 10:01:42,221 - INFO - VM name : ctest-TestBasicVMVNx-60099089-95651779 2025-11-07 10:01:42,298 - DEBUG - VM ctest-TestBasicVMVNx-60099089-95651779 ID is e862ec80-dadd-435d-ace7-9b8593ba9799 2025-11-07 10:01:42,319 - DEBUG - VM ctest-TestBasicVMVNx-60099089-95651779 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1 2025-11-07 10:01:42,392 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e862ec80-dadd-435d-ace7-9b8593ba9799 2025-11-07 10:01:42,689 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e862ec80-dadd-435d-ace7-9b8593ba9799 2025-11-07 10:01:42,718 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/355f534e-cef9-4a04-97c2-59025a424ee5 2025-11-07 10:01:45,980 - 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-11-07 10:01:45,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60099089-95651779 failed! 2025-11-07 10:01:46,037 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60099089:ctest-vn-58863672 is 209.158.39.65 and allocation pool is NOT set 2025-11-07 10:01:48,103 - 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=7.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.541 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.541/3.830/7.120/3.289 ms') 2025-11-07 10:01:48,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60099089-95651779 passed 2025-11-07 10:01:48,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 10:01:48,253 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60099089-95651779, IP 209.158.39.67, Port 22 2025-11-07 10:01:48,426 - DEBUG - VM ctest-TestBasicVMVNx-60099089-95651779 is ready for SSH connections 2025-11-07 10:01:48,427 - INFO - Waiting for VM ctest-TestBasicVMVNx-60099089-48906465 to be up.. 2025-11-07 10:01:48,502 - DEBUG - VM is in ACTIVE state now 2025-11-07 10:01:48,502 - INFO - VM name : ctest-TestBasicVMVNx-60099089-48906465 2025-11-07 10:01:48,572 - DEBUG - VM ctest-TestBasicVMVNx-60099089-48906465 ID is 87842440-a725-4cd2-9b90-4b17db4b5d4c 2025-11-07 10:01:48,572 - DEBUG - VM ctest-TestBasicVMVNx-60099089-48906465 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1 2025-11-07 10:01:48,649 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/87842440-a725-4cd2-9b90-4b17db4b5d4c 2025-11-07 10:01:48,659 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/747ed292-4f29-44b8-9db4-53d336f8e4c9 2025-11-07 10:01:49,902 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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 = 1.143/2.069/2.995/0.926 ms') 2025-11-07 10:01:49,902 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60099089-48906465 passed 2025-11-07 10:01:50,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 10:01:50,049 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60099089-48906465, IP 209.158.39.68, Port 22 2025-11-07 10:01:50,104 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-07 10:01:50,174 - DEBUG - VM ctest-TestBasicVMVNx-60099089-48906465 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-07 10:01:55,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 10:01:55,174 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60099089-48906465, IP 209.158.39.68, Port 22 2025-11-07 10:01:55,331 - DEBUG - VM ctest-TestBasicVMVNx-60099089-48906465 is ready for SSH connections 2025-11-07 10:01:55,331 - DEBUG - FILE SIZE = 1303B 2025-11-07 10:01:55,332 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60099089-95651779 to ctest-TestBasicVMVNx-60099089-48906465 using scp 2025-11-07 10:01:55,333 - 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.249, gateway password: c0ntrail123 2025-11-07 10:01:55,333 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-07 10:01:56,258 - DEBUG - 1+0 records in 1+0 records out 2025-11-07 10:01:56,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 10:01:57,229 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-07 10:01:57,230 - DEBUG - ls -l testfile 2025-11-07 10:01:58,823 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 03:01 testfile 2025-11-07 10:01:58,823 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60099089-48906465 2025-11-07 10:01:58,824 - INFO - Deleting VM ctest-TestBasicVMVNx-60099089-48906465 2025-11-07 10:01:58,893 - INFO - Deleting VM ctest-TestBasicVMVNx-60099089-95651779 2025-11-07 10:01:58,963 - INFO - Deleting VN ctest-vn-58863672 2025-11-07 10:01:58,994 - DEBUG - VN 2ee8acd8-8fb8-48b3-a686-57c29dd3fd53 still in use: Unable to complete operation on network 2ee8acd8-8fb8-48b3-a686-57c29dd3fd53. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-37baec89-e0b0-4388-92c6-a030a6921410'] 2025-11-07 10:01:58,994 - WARNING - Deleting VN ctest-vn-58863672 failed..Will retry 2025-11-07 10:02:01,097 - DEBUG - Response for deleting network () 2025-11-07 10:02:01,365 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 10:02:01,365 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2025-11-07 10:02:01,365 - INFO - -------------------------------------------------------------------------------- 2025-11-07 10:02:02,029 - INFO - Deleted project: ctest-TestBasicVMVNx-60099089, ID : bc96084e-d006-4fcf-9c01-aa0f43d4b69f