2025-02-10 02:29:23,703 - INFO - Domain Default found not creating 2025-02-10 02:29:23,857 - INFO - Project ctest-TestBasicVMVNx-38746759 not found, creating it 2025-02-10 02:29:24,320 - INFO - Created Project:ctest-TestBasicVMVNx-38746759, ID : 514c9666-fbb1-409d-b84a-27ced4aee9a2 2025-02-10 02:29:25,942 - INFO - ================================================================================ 2025-02-10 02:29:25,942 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-10 02:29:25,942 - 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:26,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.0.0.36': '0'}} with 2025-02-10 02:29:26,200 - INFO - Initial checks done. Running the testcase now 2025-02-10 02:29:26,200 - INFO - 2025-02-10 02:29:26,835 - DEBUG - Response for create_network : {'network': {'id': '57a78fed-50bd-46d8-96b7-1bcd34f82dbb', 'name': 'ctest-vn-63474264', 'tenant_id': '514c9666fbb1409db84a27ced4aee9a2', 'project_id': '514c9666fbb1409db84a27ced4aee9a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-38746759', 'ctest-vn-63474264'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 02:29:27,035 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee8bbdfe-2a6e-4f3b-a0ce-04cc4d361d50', 'name': '', 'tenant_id': '514c9666fbb1409db84a27ced4aee9a2', 'network_id': '57a78fed-50bd-46d8-96b7-1bcd34f82dbb', 'ip_version': 4, 'cidr': '100.135.211.192/26', 'allocation_pools': [{'start': '100.135.211.194', 'end': '100.135.211.254'}], 'gateway_ip': '100.135.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.135.211.194', 'tags': [], 'project_id': '514c9666fbb1409db84a27ced4aee9a2'}} 2025-02-10 02:29:27,054 - INFO - Created VN ctest-vn-63474264 2025-02-10 02:29:27,107 - DEBUG - VN ctest-vn-63474264 UUID is 57a78fed-50bd-46d8-96b7-1bcd34f82dbb 2025-02-10 02:29:27,288 - DEBUG - Services list from nova: [, , ] 2025-02-10 02:29:28,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2709-1) 2025-02-10 02:29:29,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2709-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2709-1) 2025-02-10 02:29:29,778 - INFO - Waiting for VM ctest-TestBasicVMVNx-38746759-85730347 to be up.. 2025-02-10 02:29:29,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 02:29:34,970 - DEBUG - VM is in ACTIVE state now 2025-02-10 02:29:34,971 - INFO - VM name : ctest-TestBasicVMVNx-38746759-85730347 2025-02-10 02:29:35,078 - DEBUG - VM ctest-TestBasicVMVNx-38746759-85730347 ID is 6aacfa62-44fd-44dc-a9a2-97e74d024d03 2025-02-10 02:29:35,101 - DEBUG - VM ctest-TestBasicVMVNx-38746759-85730347 launched on Node cn-jenkins-deploy-platform-ansible-os-2709-1. 2025-02-10 02:29:35,203 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/6aacfa62-44fd-44dc-a9a2-97e74d024d03 2025-02-10 02:29:35,549 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/6aacfa62-44fd-44dc-a9a2-97e74d024d03 2025-02-10 02:29:35,590 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/ddad69bc-5af6-4b89-9769-7d5aa81b6db0 2025-02-10 02:29:38,841 - 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 1006ms') 2025-02-10 02:29:38,841 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38746759-85730347 failed! 2025-02-10 02:29:38,899 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-38746759:ctest-vn-63474264 is 100.135.211.193 and allocation pool is NOT set 2025-02-10 02:29:40,967 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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.618/2.994/3.370/0.376 ms') 2025-02-10 02:29:40,967 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38746759-85730347 passed 2025-02-10 02:29:41,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:29:41,124 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38746759-85730347, IP 100.135.211.195, Port 22 2025-02-10 02:29:41,279 - DEBUG - VM ctest-TestBasicVMVNx-38746759-85730347 is ready for SSH connections 2025-02-10 02:29:41,279 - INFO - Waiting for VM ctest-TestBasicVMVNx-38746759-59929441 to be up.. 2025-02-10 02:29:41,363 - DEBUG - VM is in ACTIVE state now 2025-02-10 02:29:41,363 - INFO - VM name : ctest-TestBasicVMVNx-38746759-59929441 2025-02-10 02:29:41,450 - DEBUG - VM ctest-TestBasicVMVNx-38746759-59929441 ID is 05735923-356b-4959-8cf8-f50dd5274c94 2025-02-10 02:29:41,450 - DEBUG - VM ctest-TestBasicVMVNx-38746759-59929441 launched on Node cn-jenkins-deploy-platform-ansible-os-2709-1. 2025-02-10 02:29:41,532 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/05735923-356b-4959-8cf8-f50dd5274c94 2025-02-10 02:29:41,542 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/e12361fa-b276-4ece-8629-557f57c3bd5d 2025-02-10 02:29:42,784 - 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=4.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.64 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 = 1.635/3.186/4.737/1.551 ms') 2025-02-10 02:29:42,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-38746759-59929441 passed 2025-02-10 02:29:42,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:29:42,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38746759-59929441, IP 100.135.211.196, Port 22 2025-02-10 02:29:43,108 - DEBUG - VM ctest-TestBasicVMVNx-38746759-59929441 is ready for SSH connections 2025-02-10 02:29:43,108 - DEBUG - FILE SIZE = 1303B 2025-02-10 02:29:43,108 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-38746759-85730347 to ctest-TestBasicVMVNx-38746759-59929441 using scp 2025-02-10 02:29:43,109 - 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.36, gateway password: c0ntrail123 2025-02-10 02:29:43,109 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-10 02:29:45,083 - DEBUG - 1+0 records in 1+0 records out 2025-02-10 02:29:45,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 02:29:46,135 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-02-10 02:29:46,135 - DEBUG - ls -l testfile 2025-02-10 02:29:47,753 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 9 19:29 testfile 2025-02-10 02:29:47,753 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-38746759-59929441 2025-02-10 02:29:47,753 - INFO - Deleting VM ctest-TestBasicVMVNx-38746759-59929441 2025-02-10 02:29:47,826 - INFO - Deleting VM ctest-TestBasicVMVNx-38746759-85730347 2025-02-10 02:29:47,899 - INFO - Deleting VN ctest-vn-63474264 2025-02-10 02:29:47,948 - DEBUG - VN 57a78fed-50bd-46d8-96b7-1bcd34f82dbb still in use: Unable to complete operation on network 57a78fed-50bd-46d8-96b7-1bcd34f82dbb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1d7d75f-05a8-418d-8409-fa2ca4464335'] 2025-02-10 02:29:47,948 - WARNING - Deleting VN ctest-vn-63474264 failed..Will retry 2025-02-10 02:29:50,094 - DEBUG - Response for deleting network () 2025-02-10 02:29:50,351 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 02:29:50,351 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-02-10 02:29:50,352 - INFO - -------------------------------------------------------------------------------- 2025-02-10 02:29:51,111 - INFO - Deleted project: ctest-TestBasicVMVNx-38746759, ID : 514c9666-fbb1-409d-b84a-27ced4aee9a2