2025-06-26 23:12:18,864 - INFO - Domain Default found not creating 2025-06-26 23:12:19,002 - INFO - Project ctest-TestBasicVMVNx-96426324 not found, creating it 2025-06-26 23:12:19,449 - INFO - Created Project:ctest-TestBasicVMVNx-96426324, ID : d83ddd1f-b8d7-4772-9253-f366c1159845 2025-06-26 23:12:20,867 - INFO - ================================================================================ 2025-06-26 23:12:20,867 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-26 23:12:20,867 - 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-06-26 23:12:21,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-26 23:12:21,128 - INFO - Initial checks done. Running the testcase now 2025-06-26 23:12:21,128 - INFO - 2025-06-26 23:12:21,661 - DEBUG - Response for create_network : {'network': {'id': 'da3fecc1-6991-4823-9e42-9851abc46889', 'name': 'ctest-vn-09014639', 'tenant_id': 'd83ddd1fb8d747729253f366c1159845', 'project_id': 'd83ddd1fb8d747729253f366c1159845', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96426324', 'ctest-vn-09014639'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:12:21,889 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d469252-b713-4894-b6c3-01605dc4332a', 'name': '', 'tenant_id': 'd83ddd1fb8d747729253f366c1159845', 'network_id': 'da3fecc1-6991-4823-9e42-9851abc46889', 'ip_version': 4, 'cidr': '56.163.156.128/26', 'allocation_pools': [{'start': '56.163.156.130', 'end': '56.163.156.190'}], 'gateway_ip': '56.163.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.163.156.130', 'tags': [], 'project_id': 'd83ddd1fb8d747729253f366c1159845'}} 2025-06-26 23:12:21,906 - INFO - Created VN ctest-vn-09014639 2025-06-26 23:12:21,958 - DEBUG - VN ctest-vn-09014639 UUID is da3fecc1-6991-4823-9e42-9851abc46889 2025-06-26 23:12:22,154 - DEBUG - Services list from nova: [, , ] 2025-06-26 23:12:23,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3564-1) 2025-06-26 23:12:24,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3564-1) 2025-06-26 23:12:24,203 - INFO - Waiting for VM ctest-TestBasicVMVNx-96426324-73459127 to be up.. 2025-06-26 23:12:24,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 23:12:29,370 - DEBUG - VM is in ACTIVE state now 2025-06-26 23:12:29,370 - INFO - VM name : ctest-TestBasicVMVNx-96426324-73459127 2025-06-26 23:12:29,444 - DEBUG - VM ctest-TestBasicVMVNx-96426324-73459127 ID is df04e63e-0959-4a2a-871d-e6e646e93367 2025-06-26 23:12:29,467 - DEBUG - VM ctest-TestBasicVMVNx-96426324-73459127 launched on Node cn-jenkins-deploy-platform-ansible-os-3564-1 2025-06-26 23:12:29,549 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df04e63e-0959-4a2a-871d-e6e646e93367 2025-06-26 23:12:29,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df04e63e-0959-4a2a-871d-e6e646e93367 2025-06-26 23:12:29,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/189b29ee-5049-4153-9d65-77e92b5c2e71 2025-06-26 23:12:33,162 - 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 1025ms') 2025-06-26 23:12:33,162 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96426324-73459127 failed! 2025-06-26 23:12:33,218 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96426324:ctest-vn-09014639 is 56.163.156.129 and allocation pool is NOT set 2025-06-26 23:12:35,277 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.91 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.914/2.799/3.685/0.885 ms') 2025-06-26 23:12:35,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96426324-73459127 passed 2025-06-26 23:12:35,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:12:35,426 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96426324-73459127, IP 56.163.156.131, Port 22 2025-06-26 23:12:35,582 - DEBUG - VM ctest-TestBasicVMVNx-96426324-73459127 is ready for SSH connections 2025-06-26 23:12:35,582 - INFO - Waiting for VM ctest-TestBasicVMVNx-96426324-91155287 to be up.. 2025-06-26 23:12:35,660 - DEBUG - VM is in ACTIVE state now 2025-06-26 23:12:35,660 - INFO - VM name : ctest-TestBasicVMVNx-96426324-91155287 2025-06-26 23:12:35,735 - DEBUG - VM ctest-TestBasicVMVNx-96426324-91155287 ID is 1c190c2f-65c4-478a-89e6-be2b33e78084 2025-06-26 23:12:35,735 - DEBUG - VM ctest-TestBasicVMVNx-96426324-91155287 launched on Node cn-jenkins-deploy-platform-ansible-os-3564-1 2025-06-26 23:12:35,807 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1c190c2f-65c4-478a-89e6-be2b33e78084 2025-06-26 23:12:35,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b806bbbd-13d9-4cea-83e6-6e3bb96c3732 2025-06-26 23:12:37,056 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.399/2.374/0.975 ms') 2025-06-26 23:12:37,056 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96426324-91155287 passed 2025-06-26 23:12:37,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:12:37,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96426324-91155287, IP 56.163.156.132, Port 22 2025-06-26 23:12:37,357 - DEBUG - VM ctest-TestBasicVMVNx-96426324-91155287 is ready for SSH connections 2025-06-26 23:12:37,357 - DEBUG - FILE SIZE = 1303B 2025-06-26 23:12:37,357 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96426324-73459127 to ctest-TestBasicVMVNx-96426324-91155287 using scp 2025-06-26 23:12:37,358 - 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.38, gateway password: c0ntrail123 2025-06-26 23:12:37,359 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-26 23:12:39,245 - DEBUG - 1+0 records in 1+0 records out 2025-06-26 23:12:39,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:12:40,142 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 23:12:40,143 - DEBUG - ls -l testfile 2025-06-26 23:12:41,707 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 26 17:12 testfile 2025-06-26 23:12:41,707 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96426324-91155287 2025-06-26 23:12:41,707 - INFO - Deleting VM ctest-TestBasicVMVNx-96426324-91155287 2025-06-26 23:12:41,780 - INFO - Deleting VM ctest-TestBasicVMVNx-96426324-73459127 2025-06-26 23:12:41,859 - INFO - Deleting VN ctest-vn-09014639 2025-06-26 23:12:41,897 - DEBUG - VN da3fecc1-6991-4823-9e42-9851abc46889 still in use: Unable to complete operation on network da3fecc1-6991-4823-9e42-9851abc46889. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5e4553e-0e83-4453-8a03-4b3f380c3966'] 2025-06-26 23:12:41,897 - WARNING - Deleting VN ctest-vn-09014639 failed..Will retry 2025-06-26 23:12:44,018 - DEBUG - Response for deleting network () 2025-06-26 23:12:44,271 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 23:12:44,271 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-26 23:12:44,271 - INFO - -------------------------------------------------------------------------------- 2025-06-26 23:12:44,943 - INFO - Deleted project: ctest-TestBasicVMVNx-96426324, ID : d83ddd1f-b8d7-4772-9253-f366c1159845