2025-02-10 02:29:21,443 - INFO - Domain Default found not creating
2025-02-10 02:29:21,576 - INFO - Project ctest-TestBasicVMVNx-05521020 not found, creating it
2025-02-10 02:29:22,013 - INFO - Created Project:ctest-TestBasicVMVNx-05521020, ID : 0d2486a3-1b4b-4c5b-b371-b8179ba264ea
2025-02-10 02:29:23,539 - INFO - ================================================================================
2025-02-10 02:29:23,540 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-10 02:29:23,540 - 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-02-10 02:29:23,798 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2025-02-10 02:29:23,798 - INFO - Initial checks done. Running the testcase now
2025-02-10 02:29:23,798 - INFO -
2025-02-10 02:29:24,392 - DEBUG - Response for create_network : {'network': {'id': '39665cb7-2254-4037-89a5-57b32b483ca4', 'name': 'ctest-vn-53179025', 'tenant_id': '0d2486a31b4b4c5bb371b8179ba264ea', 'project_id': '0d2486a31b4b4c5bb371b8179ba264ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05521020', 'ctest-vn-53179025'], 'port_security_enabled': True, 'description': ''}}
2025-02-10 02:29:24,552 - DEBUG - Response for create_subnet : {'subnet': {'id': '5806a865-1425-44ff-bc23-100e8c4cdbfa', 'name': '', 'tenant_id': '0d2486a31b4b4c5bb371b8179ba264ea', 'network_id': '39665cb7-2254-4037-89a5-57b32b483ca4', 'ip_version': 4, 'cidr': '138.50.114.128/26', 'allocation_pools': [{'start': '138.50.114.130', 'end': '138.50.114.190'}], 'gateway_ip': '138.50.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.50.114.130', 'tags': [], 'project_id': '0d2486a31b4b4c5bb371b8179ba264ea'}}
2025-02-10 02:29:24,570 - INFO - Created VN ctest-vn-53179025
2025-02-10 02:29:24,627 - DEBUG - VN ctest-vn-53179025 UUID is 39665cb7-2254-4037-89a5-57b32b483ca4
2025-02-10 02:29:24,834 - DEBUG - Services list from nova: [, , ]
2025-02-10 02:29:25,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2708-1)
2025-02-10 02:29:27,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2708-1)
2025-02-10 02:29:27,137 - INFO - Waiting for VM ctest-TestBasicVMVNx-05521020-52184678 to be up..
2025-02-10 02:29:27,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-10 02:29:32,297 - DEBUG - VM is in ACTIVE state now
2025-02-10 02:29:32,297 - INFO - VM name : ctest-TestBasicVMVNx-05521020-52184678
2025-02-10 02:29:32,374 - DEBUG - VM ctest-TestBasicVMVNx-05521020-52184678 ID is 261156a7-497a-4e5f-9dee-f91bbba9887c
2025-02-10 02:29:32,394 - DEBUG - VM ctest-TestBasicVMVNx-05521020-52184678 launched on Node cn-jenkins-deploy-platform-ansible-os-2708-1
2025-02-10 02:29:32,469 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/261156a7-497a-4e5f-9dee-f91bbba9887c
2025-02-10 02:29:32,800 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/261156a7-497a-4e5f-9dee-f91bbba9887c
2025-02-10 02:29:32,832 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/bd651f90-63ac-4a8e-9eda-422b223d2110
2025-02-10 02:29:36,090 - 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 1011ms')
2025-02-10 02:29:36,090 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05521020-52184678 failed!
2025-02-10 02:29:36,148 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05521020:ctest-vn-53179025 is 138.50.114.129 and allocation pool is NOT set
2025-02-10 02:29:38,214 - 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=4.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.286/2.899/4.512/1.613 ms')
2025-02-10 02:29:38,214 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05521020-52184678 passed
2025-02-10 02:29:38,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 02:29:38,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05521020-52184678, IP 138.50.114.131, Port 22
2025-02-10 02:29:38,531 - DEBUG - VM ctest-TestBasicVMVNx-05521020-52184678 is ready for SSH connections
2025-02-10 02:29:38,531 - INFO - Waiting for VM ctest-TestBasicVMVNx-05521020-38278985 to be up..
2025-02-10 02:29:38,608 - DEBUG - VM is in ACTIVE state now
2025-02-10 02:29:38,608 - INFO - VM name : ctest-TestBasicVMVNx-05521020-38278985
2025-02-10 02:29:38,686 - DEBUG - VM ctest-TestBasicVMVNx-05521020-38278985 ID is d8531479-e42a-4b49-bf7c-1144f6767833
2025-02-10 02:29:38,687 - DEBUG - VM ctest-TestBasicVMVNx-05521020-38278985 launched on Node cn-jenkins-deploy-platform-ansible-os-2708-1
2025-02-10 02:29:38,760 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d8531479-e42a-4b49-bf7c-1144f6767833
2025-02-10 02:29:38,769 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/651c10b7-0d70-40d5-a6d8-257376aa3f63
2025-02-10 02:29:40,007 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.745/3.054/1.309 ms')
2025-02-10 02:29:40,007 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05521020-38278985 passed
2025-02-10 02:29:40,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 02:29:40,155 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05521020-38278985, IP 138.50.114.132, Port 22
2025-02-10 02:29:40,326 - DEBUG - VM ctest-TestBasicVMVNx-05521020-38278985 is ready for SSH connections
2025-02-10 02:29:40,326 - DEBUG - FILE SIZE = 1303B
2025-02-10 02:29:40,326 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05521020-52184678 to ctest-TestBasicVMVNx-05521020-38278985 using scp
2025-02-10 02:29:40,327 - 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.41, gateway password: c0ntrail123
2025-02-10 02:29:40,327 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-10 02:29:42,275 - DEBUG - 1+0 records in
1+0 records out
2025-02-10 02:29:42,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-10 02:29:43,315 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-02-10 02:29:43,315 - DEBUG - ls -l testfile
2025-02-10 02:29:44,929 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 9 19:29 [0;0mtestfile[0m
2025-02-10 02:29:44,930 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05521020-38278985
2025-02-10 02:29:44,930 - INFO - Deleting VM ctest-TestBasicVMVNx-05521020-38278985
2025-02-10 02:29:44,999 - INFO - Deleting VM ctest-TestBasicVMVNx-05521020-52184678
2025-02-10 02:29:45,068 - INFO - Deleting VN ctest-vn-53179025
2025-02-10 02:29:45,108 - DEBUG - VN 39665cb7-2254-4037-89a5-57b32b483ca4 still in use: Unable to complete operation on network 39665cb7-2254-4037-89a5-57b32b483ca4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1b36808a-c99d-4658-b9b5-82ce56c35c33']
2025-02-10 02:29:45,108 - WARNING - Deleting VN ctest-vn-53179025 failed..Will retry
2025-02-10 02:29:47,236 - DEBUG - Response for deleting network ()
2025-02-10 02:29:47,490 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 02:29:47,490 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-10 02:29:47,490 - INFO - --------------------------------------------------------------------------------
2025-02-10 02:29:48,216 - INFO - Deleted project: ctest-TestBasicVMVNx-05521020, ID : 0d2486a3-1b4b-4c5b-b371-b8179ba264ea