2024-10-26 09:54:59,148 - INFO - Domain Default found not creating 2024-10-26 09:54:59,318 - INFO - Project ctest-TestBasicVMVNx-31644082 not found, creating it 2024-10-26 09:54:59,878 - INFO - Created Project:ctest-TestBasicVMVNx-31644082, ID : 56019906-a447-4cff-8f0a-8a9026289c04 2024-10-26 09:55:01,462 - INFO - ================================================================================ 2024-10-26 09:55:01,462 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-26 09:55:01,463 - 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-10-26 09:55:01,716 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.24': '0'}} with 2024-10-26 09:55:01,716 - INFO - Initial checks done. Running the testcase now 2024-10-26 09:55:01,716 - INFO - 2024-10-26 09:55:02,348 - DEBUG - Response for create_network : {'network': {'id': '1b83e770-1bd7-4e97-b408-35227c81da73', 'name': 'ctest-vn-04853281', 'tenant_id': '56019906a4474cff8f0a8a9026289c04', 'project_id': '56019906a4474cff8f0a8a9026289c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-31644082', 'ctest-vn-04853281'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 09:55:02,605 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0920274-f308-4778-b37b-0c75f6fbefe0', 'name': '', 'tenant_id': '56019906a4474cff8f0a8a9026289c04', 'network_id': '1b83e770-1bd7-4e97-b408-35227c81da73', 'ip_version': 4, 'cidr': '104.154.64.128/26', 'allocation_pools': [{'start': '104.154.64.130', 'end': '104.154.64.190'}], 'gateway_ip': '104.154.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.154.64.130', 'tags': [], 'project_id': '56019906a4474cff8f0a8a9026289c04'}} 2024-10-26 09:55:02,630 - INFO - Created VN ctest-vn-04853281 2024-10-26 09:55:02,694 - DEBUG - VN ctest-vn-04853281 UUID is 1b83e770-1bd7-4e97-b408-35227c81da73 2024-10-26 09:55:02,902 - DEBUG - Services list from nova: [, , ] 2024-10-26 09:55:04,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2149-1) 2024-10-26 09:55:05,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2149-1) 2024-10-26 09:55:05,440 - INFO - Waiting for VM ctest-TestBasicVMVNx-31644082-21896139 to be up.. 2024-10-26 09:55:05,556 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-26 09:55:10,656 - DEBUG - VM is in ACTIVE state now 2024-10-26 09:55:10,656 - INFO - VM name : ctest-TestBasicVMVNx-31644082-21896139 2024-10-26 09:55:10,754 - DEBUG - VM ctest-TestBasicVMVNx-31644082-21896139 ID is cc1d552e-3b56-4793-8121-801f661bafb9 2024-10-26 09:55:10,778 - DEBUG - VM ctest-TestBasicVMVNx-31644082-21896139 launched on Node cn-jenkins-deploy-platform-ansible-os-2149-1 2024-10-26 09:55:10,886 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/cc1d552e-3b56-4793-8121-801f661bafb9 2024-10-26 09:55:11,202 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/cc1d552e-3b56-4793-8121-801f661bafb9 2024-10-26 09:55:11,247 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/f17399f9-2475-4fa4-a326-bfc1787a3f29 2024-10-26 09:55:14,557 - 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 1013ms') 2024-10-26 09:55:14,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31644082-21896139 failed! 2024-10-26 09:55:14,626 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-31644082:ctest-vn-04853281 is 104.154.64.129 and allocation pool is NOT set 2024-10-26 09:55:16,690 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.611 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 = 0.611/3.218/5.825/2.607 ms') 2024-10-26 09:55:16,690 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31644082-21896139 passed 2024-10-26 09:55:16,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:55:16,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31644082-21896139, IP 104.154.64.131, Port 22 2024-10-26 09:55:17,018 - DEBUG - VM ctest-TestBasicVMVNx-31644082-21896139 is ready for SSH connections 2024-10-26 09:55:17,018 - INFO - Waiting for VM ctest-TestBasicVMVNx-31644082-86503325 to be up.. 2024-10-26 09:55:17,107 - DEBUG - VM is in ACTIVE state now 2024-10-26 09:55:17,107 - INFO - VM name : ctest-TestBasicVMVNx-31644082-86503325 2024-10-26 09:55:17,191 - DEBUG - VM ctest-TestBasicVMVNx-31644082-86503325 ID is 819d1bf2-0c56-4fd8-911b-468dbd79617a 2024-10-26 09:55:17,191 - DEBUG - VM ctest-TestBasicVMVNx-31644082-86503325 launched on Node cn-jenkins-deploy-platform-ansible-os-2149-1 2024-10-26 09:55:17,278 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/819d1bf2-0c56-4fd8-911b-468dbd79617a 2024-10-26 09:55:17,289 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/8d9fea22-a5d0-4d0a-af84-ff1e37a6d183 2024-10-26 09:55:18,550 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.713 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.713/1.701/2.690/0.988 ms') 2024-10-26 09:55:18,550 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-31644082-86503325 passed 2024-10-26 09:55:18,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:55:18,710 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31644082-86503325, IP 104.154.64.132, Port 22 2024-10-26 09:55:18,881 - DEBUG - VM ctest-TestBasicVMVNx-31644082-86503325 is ready for SSH connections 2024-10-26 09:55:18,881 - DEBUG - FILE SIZE = 1303B 2024-10-26 09:55:18,881 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-31644082-21896139 to ctest-TestBasicVMVNx-31644082-86503325 using scp 2024-10-26 09:55:18,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:55:18,888 - 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.34, gateway password: c0ntrail123 2024-10-26 09:55:18,888 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-26 09:55:20,849 - DEBUG - 1+0 records in 1+0 records out 2024-10-26 09:55:21,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:55:21,988 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-10-26 09:55:21,988 - DEBUG - ls -l testfile 2024-10-26 09:55:23,584 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 26 03:55 testfile 2024-10-26 09:55:23,584 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-31644082-86503325 2024-10-26 09:55:23,585 - INFO - Deleting VM ctest-TestBasicVMVNx-31644082-86503325 2024-10-26 09:55:23,651 - INFO - Deleting VM ctest-TestBasicVMVNx-31644082-21896139 2024-10-26 09:55:23,731 - INFO - Deleting VN ctest-vn-04853281 2024-10-26 09:55:23,769 - DEBUG - VN 1b83e770-1bd7-4e97-b408-35227c81da73 still in use: Unable to complete operation on network 1b83e770-1bd7-4e97-b408-35227c81da73. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4be93eb2-2841-4754-adda-7e53efbbe3d3'] 2024-10-26 09:55:23,770 - WARNING - Deleting VN ctest-vn-04853281 failed..Will retry 2024-10-26 09:55:25,935 - DEBUG - Response for deleting network () 2024-10-26 09:55:26,196 - DEBUG - No XMPP flaps were noticed during the test 2024-10-26 09:55:26,196 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-10-26 09:55:26,196 - INFO - -------------------------------------------------------------------------------- 2024-10-26 09:55:26,917 - INFO - Deleted project: ctest-TestBasicVMVNx-31644082, ID : 56019906-a447-4cff-8f0a-8a9026289c04