2025-04-09 08:15:14,837 - INFO - Domain Default found not creating
2025-04-09 08:15:15,004 - INFO - Project ctest-TestBasicVMVNx-55978417 not found, creating it
2025-04-09 08:15:15,473 - INFO - Created Project:ctest-TestBasicVMVNx-55978417, ID : 45e13c1d-ae38-4431-bde3-89ba497388b6
2025-04-09 08:15:16,890 - INFO - ================================================================================
2025-04-09 08:15:16,890 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-09 08:15:16,890 - 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-04-09 08:15:17,145 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.7': '0'}} with
2025-04-09 08:15:17,145 - INFO - Initial checks done. Running the testcase now
2025-04-09 08:15:17,145 - INFO -
2025-04-09 08:15:17,724 - DEBUG - Response for create_network : {'network': {'id': '24245315-1881-4fe4-a649-da430e270c3c', 'name': 'ctest-vn-54018086', 'tenant_id': '45e13c1dae384431bde389ba497388b6', 'project_id': '45e13c1dae384431bde389ba497388b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55978417', 'ctest-vn-54018086'], 'port_security_enabled': True, 'description': ''}}
2025-04-09 08:15:17,927 - DEBUG - Response for create_subnet : {'subnet': {'id': '18adc27d-5b65-4f9f-a9f8-7d8f4197eeec', 'name': '', 'tenant_id': '45e13c1dae384431bde389ba497388b6', 'network_id': '24245315-1881-4fe4-a649-da430e270c3c', 'ip_version': 4, 'cidr': '69.112.105.128/26', 'allocation_pools': [{'start': '69.112.105.130', 'end': '69.112.105.190'}], 'gateway_ip': '69.112.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.112.105.130', 'tags': [], 'project_id': '45e13c1dae384431bde389ba497388b6'}}
2025-04-09 08:15:17,948 - INFO - Created VN ctest-vn-54018086
2025-04-09 08:15:18,002 - DEBUG - VN ctest-vn-54018086 UUID is 24245315-1881-4fe4-a649-da430e270c3c
2025-04-09 08:15:18,199 - DEBUG - Services list from nova: [, , ]
2025-04-09 08:15:19,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3061-1)
2025-04-09 08:15:20,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3061-1)
2025-04-09 08:15:20,319 - INFO - Waiting for VM ctest-TestBasicVMVNx-55978417-36062391 to be up..
2025-04-09 08:15:20,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-09 08:15:25,485 - DEBUG - VM is in ACTIVE state now
2025-04-09 08:15:25,486 - INFO - VM name : ctest-TestBasicVMVNx-55978417-36062391
2025-04-09 08:15:25,564 - DEBUG - VM ctest-TestBasicVMVNx-55978417-36062391 ID is f891cd06-bf3a-416e-a97c-173be11cf075
2025-04-09 08:15:25,582 - DEBUG - VM ctest-TestBasicVMVNx-55978417-36062391 launched on Node cn-jenkins-deploy-platform-ansible-os-3061-1
2025-04-09 08:15:25,654 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f891cd06-bf3a-416e-a97c-173be11cf075
2025-04-09 08:15:25,949 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f891cd06-bf3a-416e-a97c-173be11cf075
2025-04-09 08:15:25,979 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/965d58fc-35d1-4e1d-a77d-2aefc9027159
2025-04-09 08:15:29,238 - 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 1020ms')
2025-04-09 08:15:29,238 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55978417-36062391 failed!
2025-04-09 08:15:29,298 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55978417:ctest-vn-54018086 is 69.112.105.129 and allocation pool is NOT set
2025-04-09 08:15:31,357 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.310 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 = 0.310/1.575/2.841/1.265 ms')
2025-04-09 08:15:31,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55978417-36062391 passed
2025-04-09 08:15:31,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 08:15:31,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55978417-36062391, IP 69.112.105.131, Port 22
2025-04-09 08:15:31,662 - DEBUG - VM ctest-TestBasicVMVNx-55978417-36062391 is ready for SSH connections
2025-04-09 08:15:31,662 - INFO - Waiting for VM ctest-TestBasicVMVNx-55978417-08521061 to be up..
2025-04-09 08:15:31,738 - DEBUG - VM is in ACTIVE state now
2025-04-09 08:15:31,739 - INFO - VM name : ctest-TestBasicVMVNx-55978417-08521061
2025-04-09 08:15:31,811 - DEBUG - VM ctest-TestBasicVMVNx-55978417-08521061 ID is 3dff1e13-5cdc-4922-997d-f89e5905a1a8
2025-04-09 08:15:31,811 - DEBUG - VM ctest-TestBasicVMVNx-55978417-08521061 launched on Node cn-jenkins-deploy-platform-ansible-os-3061-1
2025-04-09 08:15:31,882 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/3dff1e13-5cdc-4922-997d-f89e5905a1a8
2025-04-09 08:15:31,892 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/362fd189-32e0-4d17-95c6-aa7a1aedb126
2025-04-09 08:15:33,127 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.588/2.814/1.225 ms')
2025-04-09 08:15:33,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55978417-08521061 passed
2025-04-09 08:15:33,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 08:15:33,274 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55978417-08521061, IP 69.112.105.132, Port 22
2025-04-09 08:15:33,425 - DEBUG - VM ctest-TestBasicVMVNx-55978417-08521061 is ready for SSH connections
2025-04-09 08:15:33,425 - DEBUG - FILE SIZE = 1303B
2025-04-09 08:15:33,425 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55978417-36062391 to ctest-TestBasicVMVNx-55978417-08521061 using scp
2025-04-09 08:15:33,426 - 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.42, gateway password: c0ntrail123
2025-04-09 08:15:33,426 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-09 08:15:35,324 - DEBUG - 1+0 records in
1+0 records out
2025-04-09 08:15:35,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-09 08:15:36,223 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-04-09 08:15:36,223 - DEBUG - ls -l testfile
2025-04-09 08:15:37,797 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 9 02:15 [0;0mtestfile[0m
2025-04-09 08:15:37,797 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55978417-08521061
2025-04-09 08:15:37,797 - INFO - Deleting VM ctest-TestBasicVMVNx-55978417-08521061
2025-04-09 08:15:37,866 - INFO - Deleting VM ctest-TestBasicVMVNx-55978417-36062391
2025-04-09 08:15:37,927 - INFO - Deleting VN ctest-vn-54018086
2025-04-09 08:15:37,960 - DEBUG - VN 24245315-1881-4fe4-a649-da430e270c3c still in use: Unable to complete operation on network 24245315-1881-4fe4-a649-da430e270c3c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-46126710-0aca-4e03-b136-375225212db4']
2025-04-09 08:15:37,960 - WARNING - Deleting VN ctest-vn-54018086 failed..Will retry
2025-04-09 08:15:40,079 - DEBUG - Response for deleting network ()
2025-04-09 08:15:40,336 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 08:15:40,336 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-09 08:15:40,336 - INFO - --------------------------------------------------------------------------------
2025-04-09 08:15:41,009 - INFO - Deleted project: ctest-TestBasicVMVNx-55978417, ID : 45e13c1d-ae38-4431-bde3-89ba497388b6