2024-08-27 01:09:28,907 - INFO - Domain Default found not creating 2024-08-27 01:09:29,258 - INFO - Project ctest-TestBasicVMVNx-59092782 not found, creating it 2024-08-27 01:09:30,178 - INFO - Created Project:ctest-TestBasicVMVNx-59092782, ID : 6285433c-d0c7-4c69-834f-947faf6c60a3 2024-08-27 01:09:32,613 - INFO - ================================================================================ 2024-08-27 01:09:32,614 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 01:09:32,614 - 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 2024-08-27 01:09:32,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.69': {'10.20.0.21': '0'}} with 2024-08-27 01:09:32,934 - INFO - Initial checks done. Running the testcase now 2024-08-27 01:09:32,934 - INFO - 2024-08-27 01:09:33,695 - DEBUG - Response for create_network : {'network': {'id': '0cc11645-90b9-4a91-8905-651a3933fa00', 'name': 'ctest-vn-96255808', 'tenant_id': '6285433cd0c74c69834f947faf6c60a3', 'project_id': '6285433cd0c74c69834f947faf6c60a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59092782', 'ctest-vn-96255808'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 01:09:33,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d3978e3-0af8-4642-925d-ee8024d4c479', 'name': '', 'tenant_id': '6285433cd0c74c69834f947faf6c60a3', 'network_id': '0cc11645-90b9-4a91-8905-651a3933fa00', 'ip_version': 4, 'cidr': '45.238.138.0/26', 'allocation_pools': [{'start': '45.238.138.2', 'end': '45.238.138.62'}], 'gateway_ip': '45.238.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.238.138.2', 'tags': [], 'project_id': '6285433cd0c74c69834f947faf6c60a3'}} 2024-08-27 01:09:33,952 - INFO - Created VN ctest-vn-96255808 2024-08-27 01:09:34,006 - DEBUG - VN ctest-vn-96255808 UUID is 0cc11645-90b9-4a91-8905-651a3933fa00 2024-08-27 01:09:34,334 - DEBUG - Services list from nova: [, , ] 2024-08-27 01:09:35,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1784-1) 2024-08-27 01:09:37,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1784-1) 2024-08-27 01:09:37,351 - INFO - Waiting for VM ctest-TestBasicVMVNx-59092782-23005878 to be up.. 2024-08-27 01:09:37,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 01:09:42,631 - DEBUG - VM is in ACTIVE state now 2024-08-27 01:09:42,631 - INFO - VM name : ctest-TestBasicVMVNx-59092782-23005878 2024-08-27 01:09:42,758 - DEBUG - VM ctest-TestBasicVMVNx-59092782-23005878 ID is 027d2c45-61c7-4b23-af7c-d0f85d35b3da 2024-08-27 01:09:42,781 - DEBUG - VM ctest-TestBasicVMVNx-59092782-23005878 launched on Node cn-jenkins-deploy-platform-ansible-os-1784-1 2024-08-27 01:09:42,954 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine/027d2c45-61c7-4b23-af7c-d0f85d35b3da 2024-08-27 01:09:43,301 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine/027d2c45-61c7-4b23-af7c-d0f85d35b3da 2024-08-27 01:09:43,359 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine-interface/2bbd2d68-c3e3-4b4e-b21b-214473020a33 2024-08-27 01:09:46,715 - 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 1021ms') 2024-08-27 01:09:46,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59092782-23005878 failed! 2024-08-27 01:09:46,778 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59092782:ctest-vn-96255808 is 45.238.138.1 and allocation pool is NOT set 2024-08-27 01:09:48,846 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.054/4.500/7.947/3.446 ms') 2024-08-27 01:09:48,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59092782-23005878 passed 2024-08-27 01:09:49,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 01:09:49,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59092782-23005878, IP 45.238.138.3, Port 22 2024-08-27 01:09:49,213 - DEBUG - VM ctest-TestBasicVMVNx-59092782-23005878 is ready for SSH connections 2024-08-27 01:09:49,213 - INFO - Waiting for VM ctest-TestBasicVMVNx-59092782-95106484 to be up.. 2024-08-27 01:09:49,442 - DEBUG - VM is in ACTIVE state now 2024-08-27 01:09:49,443 - INFO - VM name : ctest-TestBasicVMVNx-59092782-95106484 2024-08-27 01:09:49,617 - DEBUG - VM ctest-TestBasicVMVNx-59092782-95106484 ID is d381eda8-baf2-442e-b719-2615d7833432 2024-08-27 01:09:49,617 - DEBUG - VM ctest-TestBasicVMVNx-59092782-95106484 launched on Node cn-jenkins-deploy-platform-ansible-os-1784-1 2024-08-27 01:09:49,816 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine/d381eda8-baf2-442e-b719-2615d7833432 2024-08-27 01:09:49,843 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine-interface/25016186-0fd7-41ed-8b3a-19f5daf2e480 2024-08-27 01:09:51,151 - 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=0.620 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 = 0.620/1.809/2.998/1.189 ms') 2024-08-27 01:09:51,151 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59092782-95106484 passed 2024-08-27 01:09:51,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 01:09:51,335 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59092782-95106484, IP 45.238.138.4, Port 22 2024-08-27 01:09:51,529 - DEBUG - VM ctest-TestBasicVMVNx-59092782-95106484 is ready for SSH connections 2024-08-27 01:09:51,529 - DEBUG - FILE SIZE = 1303B 2024-08-27 01:09:51,530 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59092782-23005878 to ctest-TestBasicVMVNx-59092782-95106484 using scp 2024-08-27 01:09:51,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 01:09:51,548 - 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.69, gateway password: c0ntrail123 2024-08-27 01:09:51,548 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 01:09:53,395 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 01:09:54,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 01:09:54,477 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.69, gateway password: c0ntrail123 2024-08-27 01:09:54,477 - DEBUG - ls -l testfile 2024-08-27 01:09:56,517 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 19:09 testfile 2024-08-27 01:09:56,518 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59092782-95106484 2024-08-27 01:09:56,518 - INFO - Deleting VM ctest-TestBasicVMVNx-59092782-95106484 2024-08-27 01:09:56,681 - INFO - Deleting VM ctest-TestBasicVMVNx-59092782-23005878 2024-08-27 01:09:56,844 - INFO - Deleting VN ctest-vn-96255808 2024-08-27 01:09:56,946 - DEBUG - VN 0cc11645-90b9-4a91-8905-651a3933fa00 still in use: Unable to complete operation on network 0cc11645-90b9-4a91-8905-651a3933fa00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36e4174d-9c4e-461a-aec7-d2ad016319d1'] 2024-08-27 01:09:56,946 - WARNING - Deleting VN ctest-vn-96255808 failed..Will retry 2024-08-27 01:09:59,155 - DEBUG - Response for deleting network () 2024-08-27 01:09:59,464 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 01:09:59,464 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27] 2024-08-27 01:09:59,465 - INFO - -------------------------------------------------------------------------------- 2024-08-27 01:10:00,284 - INFO - Deleted project: ctest-TestBasicVMVNx-59092782, ID : 6285433c-d0c7-4c69-834f-947faf6c60a3