2024-11-10 20:53:15,768 - INFO - Domain Default found not creating 2024-11-10 20:53:15,940 - INFO - Project ctest-TestBasicVMVNx-54921213 not found, creating it 2024-11-10 20:53:16,462 - INFO - Created Project:ctest-TestBasicVMVNx-54921213, ID : fd637e52-32e3-48ff-93f9-379f772740e9 2024-11-10 20:53:18,175 - INFO - ================================================================================ 2024-11-10 20:53:18,175 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 20:53:18,175 - 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-11-10 20:53:18,434 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.10': '0'}} with 2024-11-10 20:53:18,434 - INFO - Initial checks done. Running the testcase now 2024-11-10 20:53:18,435 - INFO - 2024-11-10 20:53:19,037 - DEBUG - Response for create_network : {'network': {'id': 'e0806ccb-1804-4f15-aea3-1b89eacd4376', 'name': 'ctest-vn-03532157', 'tenant_id': 'fd637e5232e348ff93f9379f772740e9', 'project_id': 'fd637e5232e348ff93f9379f772740e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54921213', 'ctest-vn-03532157'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 20:53:19,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '204a90eb-b0e6-4643-bfd7-d0419254fc2a', 'name': '', 'tenant_id': 'fd637e5232e348ff93f9379f772740e9', 'network_id': 'e0806ccb-1804-4f15-aea3-1b89eacd4376', 'ip_version': 4, 'cidr': '125.52.189.192/26', 'allocation_pools': [{'start': '125.52.189.194', 'end': '125.52.189.254'}], 'gateway_ip': '125.52.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.52.189.194', 'tags': [], 'project_id': 'fd637e5232e348ff93f9379f772740e9'}} 2024-11-10 20:53:19,247 - INFO - Created VN ctest-vn-03532157 2024-11-10 20:53:19,308 - DEBUG - VN ctest-vn-03532157 UUID is e0806ccb-1804-4f15-aea3-1b89eacd4376 2024-11-10 20:53:19,486 - DEBUG - Services list from nova: [, , ] 2024-11-10 20:53:20,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2263-1) 2024-11-10 20:53:21,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2263-1) 2024-11-10 20:53:21,902 - INFO - Waiting for VM ctest-TestBasicVMVNx-54921213-63290720 to be up.. 2024-11-10 20:53:22,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 20:53:27,120 - DEBUG - VM is in ACTIVE state now 2024-11-10 20:53:27,120 - INFO - VM name : ctest-TestBasicVMVNx-54921213-63290720 2024-11-10 20:53:27,218 - DEBUG - VM ctest-TestBasicVMVNx-54921213-63290720 ID is ff1ab423-6823-4afa-bcaf-438afd1d7758 2024-11-10 20:53:27,238 - DEBUG - VM ctest-TestBasicVMVNx-54921213-63290720 launched on Node cn-jenkins-deploy-platform-ansible-os-2263-1 2024-11-10 20:53:27,330 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/ff1ab423-6823-4afa-bcaf-438afd1d7758 2024-11-10 20:53:27,658 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/ff1ab423-6823-4afa-bcaf-438afd1d7758 2024-11-10 20:53:27,718 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/dd670459-ee2f-4825-b463-09c2429720bf 2024-11-10 20:53:31,117 - 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 1030ms') 2024-11-10 20:53:31,118 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54921213-63290720 failed! 2024-11-10 20:53:31,180 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54921213:ctest-vn-03532157 is 125.52.189.193 and allocation pool is NOT set 2024-11-10 20:53:33,249 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 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 = 0.461/1.719/2.977/1.258 ms') 2024-11-10 20:53:33,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54921213-63290720 passed 2024-11-10 20:53:33,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:53:33,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54921213-63290720, IP 125.52.189.195, Port 22 2024-11-10 20:53:33,574 - DEBUG - VM ctest-TestBasicVMVNx-54921213-63290720 is ready for SSH connections 2024-11-10 20:53:33,574 - INFO - Waiting for VM ctest-TestBasicVMVNx-54921213-41790161 to be up.. 2024-11-10 20:53:33,672 - DEBUG - VM is in ACTIVE state now 2024-11-10 20:53:33,672 - INFO - VM name : ctest-TestBasicVMVNx-54921213-41790161 2024-11-10 20:53:33,777 - DEBUG - VM ctest-TestBasicVMVNx-54921213-41790161 ID is 9e55ae25-19b7-4fa3-9d79-6e1df277df47 2024-11-10 20:53:33,777 - DEBUG - VM ctest-TestBasicVMVNx-54921213-41790161 launched on Node cn-jenkins-deploy-platform-ansible-os-2263-1 2024-11-10 20:53:33,891 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/9e55ae25-19b7-4fa3-9d79-6e1df277df47 2024-11-10 20:53:33,906 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/1b3e6344-8e86-40c0-a7e2-c1fe1a8d6894 2024-11-10 20:53:35,194 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 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.540/2.071/3.602/1.531 ms') 2024-11-10 20:53:35,194 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54921213-41790161 passed 2024-11-10 20:53:35,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:53:35,352 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54921213-41790161, IP 125.52.189.196, Port 22 2024-11-10 20:53:35,512 - DEBUG - VM ctest-TestBasicVMVNx-54921213-41790161 is ready for SSH connections 2024-11-10 20:53:35,512 - DEBUG - FILE SIZE = 1303B 2024-11-10 20:53:35,512 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54921213-63290720 to ctest-TestBasicVMVNx-54921213-41790161 using scp 2024-11-10 20:53:35,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:53:35,518 - 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.29, gateway password: c0ntrail123 2024-11-10 20:53:35,518 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 20:53:37,423 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 20:53:38,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:53:38,541 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:53:38,542 - DEBUG - ls -l testfile 2024-11-10 20:53:40,195 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 13:53 testfile 2024-11-10 20:53:40,195 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54921213-41790161 2024-11-10 20:53:40,195 - INFO - Deleting VM ctest-TestBasicVMVNx-54921213-41790161 2024-11-10 20:53:40,274 - INFO - Deleting VM ctest-TestBasicVMVNx-54921213-63290720 2024-11-10 20:53:40,341 - INFO - Deleting VN ctest-vn-03532157 2024-11-10 20:53:40,383 - DEBUG - VN e0806ccb-1804-4f15-aea3-1b89eacd4376 still in use: Unable to complete operation on network e0806ccb-1804-4f15-aea3-1b89eacd4376. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a928c999-4236-4329-ae65-69caeb199a44'] 2024-11-10 20:53:40,383 - WARNING - Deleting VN ctest-vn-03532157 failed..Will retry 2024-11-10 20:53:42,491 - DEBUG - Response for deleting network () 2024-11-10 20:53:42,752 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 20:53:42,752 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-10 20:53:42,752 - INFO - -------------------------------------------------------------------------------- 2024-11-10 20:53:43,517 - INFO - Deleted project: ctest-TestBasicVMVNx-54921213, ID : fd637e52-32e3-48ff-93f9-379f772740e9