2024-11-11 11:41:13,136 - INFO - Domain Default found not creating 2024-11-11 11:41:13,326 - INFO - Project ctest-TestBasicVMVNx-31686307 not found, creating it 2024-11-11 11:41:13,839 - INFO - Created Project:ctest-TestBasicVMVNx-31686307, ID : da275e59-8951-46b6-b049-1d52c1d4ca66 2024-11-11 11:41:15,991 - INFO - ================================================================================ 2024-11-11 11:41:15,991 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-11 11:41:15,991 - 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-11 11:41:16,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.8': '0'}} with 2024-11-11 11:41:16,252 - INFO - Initial checks done. Running the testcase now 2024-11-11 11:41:16,252 - INFO - 2024-11-11 11:41:16,796 - DEBUG - Response for create_network : {'network': {'id': '3ea9f04e-320d-42a5-826c-e6d6fc13ac60', 'name': 'ctest-vn-92746113', 'tenant_id': 'da275e59895146b6b0491d52c1d4ca66', 'project_id': 'da275e59895146b6b0491d52c1d4ca66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-31686307', 'ctest-vn-92746113'], 'port_security_enabled': True, 'description': ''}} 2024-11-11 11:41:17,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cb39ac1-0683-4a5f-acd0-00e968e2673b', 'name': '', 'tenant_id': 'da275e59895146b6b0491d52c1d4ca66', 'network_id': '3ea9f04e-320d-42a5-826c-e6d6fc13ac60', 'ip_version': 4, 'cidr': '220.34.209.128/26', 'allocation_pools': [{'start': '220.34.209.130', 'end': '220.34.209.190'}], 'gateway_ip': '220.34.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.34.209.130', 'tags': [], 'project_id': 'da275e59895146b6b0491d52c1d4ca66'}} 2024-11-11 11:41:17,037 - INFO - Created VN ctest-vn-92746113 2024-11-11 11:41:17,096 - DEBUG - VN ctest-vn-92746113 UUID is 3ea9f04e-320d-42a5-826c-e6d6fc13ac60 2024-11-11 11:41:17,282 - DEBUG - Services list from nova: [, , ] 2024-11-11 11:41:18,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1) 2024-11-11 11:41:19,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1) 2024-11-11 11:41:19,608 - INFO - Waiting for VM ctest-TestBasicVMVNx-31686307-68516647 to be up.. 2024-11-11 11:41:19,690 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-11 11:41:24,802 - DEBUG - VM is in ACTIVE state now 2024-11-11 11:41:24,802 - INFO - VM name : ctest-TestBasicVMVNx-31686307-68516647 2024-11-11 11:41:24,898 - DEBUG - VM ctest-TestBasicVMVNx-31686307-68516647 ID is 6976b107-5cae-4889-8711-7453dabb26cf 2024-11-11 11:41:24,922 - DEBUG - VM ctest-TestBasicVMVNx-31686307-68516647 launched on Node cn-jenkins-deploy-platform-ansible-os-2276-1 2024-11-11 11:41:25,008 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/6976b107-5cae-4889-8711-7453dabb26cf 2024-11-11 11:41:25,308 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/6976b107-5cae-4889-8711-7453dabb26cf 2024-11-11 11:41:25,350 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/46f3fc43-4996-4078-ad17-a21fe67583f2 2024-11-11 11:41:28,625 - 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 1011ms') 2024-11-11 11:41:28,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31686307-68516647 failed! 2024-11-11 11:41:28,696 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-31686307:ctest-vn-92746113 is 220.34.209.129 and allocation pool is NOT set 2024-11-11 11:41:30,762 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.719 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.719/3.200/5.681/2.481 ms') 2024-11-11 11:41:30,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31686307-68516647 passed 2024-11-11 11:41:30,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 11:41:30,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31686307-68516647, IP 220.34.209.131, Port 22 2024-11-11 11:41:31,094 - DEBUG - VM ctest-TestBasicVMVNx-31686307-68516647 is ready for SSH connections 2024-11-11 11:41:31,094 - INFO - Waiting for VM ctest-TestBasicVMVNx-31686307-61521447 to be up.. 2024-11-11 11:41:31,188 - DEBUG - VM is in ACTIVE state now 2024-11-11 11:41:31,189 - INFO - VM name : ctest-TestBasicVMVNx-31686307-61521447 2024-11-11 11:41:31,270 - DEBUG - VM ctest-TestBasicVMVNx-31686307-61521447 ID is 2eb762d7-0a77-41c1-bd96-edec812fca1f 2024-11-11 11:41:31,270 - DEBUG - VM ctest-TestBasicVMVNx-31686307-61521447 launched on Node cn-jenkins-deploy-platform-ansible-os-2276-1 2024-11-11 11:41:31,353 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/2eb762d7-0a77-41c1-bd96-edec812fca1f 2024-11-11 11:41:31,362 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/f492afe2-f274-48fb-a05d-7dfe33200a46 2024-11-11 11:41:32,618 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.436/1.802/3.168/1.366 ms') 2024-11-11 11:41:32,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-31686307-61521447 passed 2024-11-11 11:41:32,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 11:41:32,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31686307-61521447, IP 220.34.209.132, Port 22 2024-11-11 11:41:32,943 - DEBUG - VM ctest-TestBasicVMVNx-31686307-61521447 is ready for SSH connections 2024-11-11 11:41:32,943 - DEBUG - FILE SIZE = 1303B 2024-11-11 11:41:32,943 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-31686307-68516647 to ctest-TestBasicVMVNx-31686307-61521447 using scp 2024-11-11 11:41:32,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 11:41:32,950 - 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.42, gateway password: c0ntrail123 2024-11-11 11:41:32,950 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-11 11:41:34,542 - DEBUG - 1+0 records in 1+0 records out 2024-11-11 11:41:35,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 11:41:35,626 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-11 11:41:35,626 - DEBUG - ls -l testfile 2024-11-11 11:41:37,209 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 11 04:41 testfile 2024-11-11 11:41:37,210 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-31686307-61521447 2024-11-11 11:41:37,210 - INFO - Deleting VM ctest-TestBasicVMVNx-31686307-61521447 2024-11-11 11:41:37,282 - INFO - Deleting VM ctest-TestBasicVMVNx-31686307-68516647 2024-11-11 11:41:37,347 - INFO - Deleting VN ctest-vn-92746113 2024-11-11 11:41:37,391 - DEBUG - VN 3ea9f04e-320d-42a5-826c-e6d6fc13ac60 still in use: Unable to complete operation on network 3ea9f04e-320d-42a5-826c-e6d6fc13ac60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c63a1b86-8d85-4e61-813a-468901f5bdf1'] 2024-11-11 11:41:37,391 - WARNING - Deleting VN ctest-vn-92746113 failed..Will retry 2024-11-11 11:41:39,532 - DEBUG - Response for deleting network () 2024-11-11 11:41:39,786 - DEBUG - No XMPP flaps were noticed during the test 2024-11-11 11:41:39,786 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-11 11:41:39,786 - INFO - -------------------------------------------------------------------------------- 2024-11-11 11:41:40,556 - INFO - Deleted project: ctest-TestBasicVMVNx-31686307, ID : da275e59-8951-46b6-b049-1d52c1d4ca66