2024-11-08 15:39:07,479 - INFO - Domain Default found not creating 2024-11-08 15:39:07,661 - INFO - Project ctest-TestBasicVMVNx-43626676 not found, creating it 2024-11-08 15:39:08,158 - INFO - Created Project:ctest-TestBasicVMVNx-43626676, ID : 3ae8b891-28d8-4c97-8a61-4fe2d227a33b 2024-11-08 15:39:09,804 - INFO - ================================================================================ 2024-11-08 15:39:09,804 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 15:39:09,804 - 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-08 15:39:10,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.6': '0'}} with 2024-11-08 15:39:10,064 - INFO - Initial checks done. Running the testcase now 2024-11-08 15:39:10,064 - INFO - 2024-11-08 15:39:10,672 - DEBUG - Response for create_network : {'network': {'id': 'b86fd1cd-6916-48c9-9397-2d6f4499aa37', 'name': 'ctest-vn-75277273', 'tenant_id': '3ae8b89128d84c978a614fe2d227a33b', 'project_id': '3ae8b89128d84c978a614fe2d227a33b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43626676', 'ctest-vn-75277273'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 15:39:10,889 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c597ab19-d7e1-4585-81d0-aa0d44865efe', 'name': '', 'tenant_id': '3ae8b89128d84c978a614fe2d227a33b', 'network_id': 'b86fd1cd-6916-48c9-9397-2d6f4499aa37', 'ip_version': 4, 'cidr': '68.217.217.192/26', 'allocation_pools': [{'start': '68.217.217.194', 'end': '68.217.217.254'}], 'gateway_ip': '68.217.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.217.217.194', 'tags': [], 'project_id': '3ae8b89128d84c978a614fe2d227a33b'}} 2024-11-08 15:39:10,909 - INFO - Created VN ctest-vn-75277273 2024-11-08 15:39:10,966 - DEBUG - VN ctest-vn-75277273 UUID is b86fd1cd-6916-48c9-9397-2d6f4499aa37 2024-11-08 15:39:11,154 - DEBUG - Services list from nova: [, , ] 2024-11-08 15:39:12,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2233-1) 2024-11-08 15:39:13,563 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2233-1) 2024-11-08 15:39:13,563 - INFO - Waiting for VM ctest-TestBasicVMVNx-43626676-87764281 to be up.. 2024-11-08 15:39:13,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 15:39:18,776 - DEBUG - VM is in ACTIVE state now 2024-11-08 15:39:18,776 - INFO - VM name : ctest-TestBasicVMVNx-43626676-87764281 2024-11-08 15:39:18,886 - DEBUG - VM ctest-TestBasicVMVNx-43626676-87764281 ID is 05a96f96-146d-4da9-9c00-fd7b796acb84 2024-11-08 15:39:18,912 - DEBUG - VM ctest-TestBasicVMVNx-43626676-87764281 launched on Node cn-jenkins-deploy-platform-ansible-os-2233-1 2024-11-08 15:39:19,030 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/05a96f96-146d-4da9-9c00-fd7b796acb84 2024-11-08 15:39:19,349 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/05a96f96-146d-4da9-9c00-fd7b796acb84 2024-11-08 15:39:19,395 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/3a5b195e-5ea9-40d8-9595-04ed9cd51d4f 2024-11-08 15:39:22,706 - 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 1019ms') 2024-11-08 15:39:22,707 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43626676-87764281 failed! 2024-11-08 15:39:22,766 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43626676:ctest-vn-75277273 is 68.217.217.193 and allocation pool is NOT set 2024-11-08 15:39:24,834 - 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=5.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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.131/3.066/5.002/1.935 ms') 2024-11-08 15:39:24,834 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43626676-87764281 passed 2024-11-08 15:39:24,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 15:39:24,998 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43626676-87764281, IP 68.217.217.195, Port 22 2024-11-08 15:39:25,164 - DEBUG - VM ctest-TestBasicVMVNx-43626676-87764281 is ready for SSH connections 2024-11-08 15:39:25,164 - INFO - Waiting for VM ctest-TestBasicVMVNx-43626676-93477874 to be up.. 2024-11-08 15:39:25,260 - DEBUG - VM is in ACTIVE state now 2024-11-08 15:39:25,260 - INFO - VM name : ctest-TestBasicVMVNx-43626676-93477874 2024-11-08 15:39:25,355 - DEBUG - VM ctest-TestBasicVMVNx-43626676-93477874 ID is 93a71ca5-3b81-4b93-a065-4acb5347c84b 2024-11-08 15:39:25,355 - DEBUG - VM ctest-TestBasicVMVNx-43626676-93477874 launched on Node cn-jenkins-deploy-platform-ansible-os-2233-1 2024-11-08 15:39:25,446 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/93a71ca5-3b81-4b93-a065-4acb5347c84b 2024-11-08 15:39:25,469 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/547694b9-55a4-4327-afce-efb18bffd50a 2024-11-08 15:39:26,737 - 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=5.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.27 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.268/3.441/5.615/2.173 ms') 2024-11-08 15:39:26,737 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43626676-93477874 passed 2024-11-08 15:39:26,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 15:39:26,902 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43626676-93477874, IP 68.217.217.196, Port 22 2024-11-08 15:39:27,058 - DEBUG - VM ctest-TestBasicVMVNx-43626676-93477874 is ready for SSH connections 2024-11-08 15:39:27,058 - DEBUG - FILE SIZE = 1303B 2024-11-08 15:39:27,058 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43626676-87764281 to ctest-TestBasicVMVNx-43626676-93477874 using scp 2024-11-08 15:39:27,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 15:39:27,067 - 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.12, gateway password: c0ntrail123 2024-11-08 15:39:27,068 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 15:39:29,009 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 15:39:29,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 15:39:30,122 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-11-08 15:39:30,123 - DEBUG - ls -l testfile 2024-11-08 15:39:31,728 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 08:39 testfile 2024-11-08 15:39:31,728 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43626676-93477874 2024-11-08 15:39:31,729 - INFO - Deleting VM ctest-TestBasicVMVNx-43626676-93477874 2024-11-08 15:39:31,811 - INFO - Deleting VM ctest-TestBasicVMVNx-43626676-87764281 2024-11-08 15:39:31,898 - INFO - Deleting VN ctest-vn-75277273 2024-11-08 15:39:31,952 - DEBUG - VN b86fd1cd-6916-48c9-9397-2d6f4499aa37 still in use: Unable to complete operation on network b86fd1cd-6916-48c9-9397-2d6f4499aa37. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-21ae31c8-9b0c-458d-acfa-1e8abb87049b'] 2024-11-08 15:39:31,953 - WARNING - Deleting VN ctest-vn-75277273 failed..Will retry 2024-11-08 15:39:34,077 - DEBUG - Response for deleting network () 2024-11-08 15:39:34,332 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 15:39:34,332 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-08 15:39:34,333 - INFO - -------------------------------------------------------------------------------- 2024-11-08 15:39:35,050 - INFO - Deleted project: ctest-TestBasicVMVNx-43626676, ID : 3ae8b891-28d8-4c97-8a61-4fe2d227a33b