2024-10-26 20:56:29,978 - INFO - Domain Default found not creating 2024-10-26 20:56:30,186 - INFO - Project ctest-TestBasicVMVNx-89353887 not found, creating it 2024-10-26 20:56:30,728 - INFO - Created Project:ctest-TestBasicVMVNx-89353887, ID : 0af4edd7-8970-4f66-8c20-7cf545bbd123 2024-10-26 20:56:32,459 - INFO - ================================================================================ 2024-10-26 20:56:32,459 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-26 20:56:32,460 - 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 20:56:32,728 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.19': '0'}} with 2024-10-26 20:56:32,728 - INFO - Initial checks done. Running the testcase now 2024-10-26 20:56:32,728 - INFO - 2024-10-26 20:56:33,408 - DEBUG - Response for create_network : {'network': {'id': '73319f44-eec5-44c9-854d-d5dba3e4d0d2', 'name': 'ctest-vn-38291289', 'tenant_id': '0af4edd789704f668c207cf545bbd123', 'project_id': '0af4edd789704f668c207cf545bbd123', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89353887', 'ctest-vn-38291289'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 20:56:33,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '69f6d6dd-0352-451c-8c07-9b1358bd536b', 'name': '', 'tenant_id': '0af4edd789704f668c207cf545bbd123', 'network_id': '73319f44-eec5-44c9-854d-d5dba3e4d0d2', 'ip_version': 4, 'cidr': '186.63.220.128/26', 'allocation_pools': [{'start': '186.63.220.130', 'end': '186.63.220.190'}], 'gateway_ip': '186.63.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.63.220.130', 'tags': [], 'project_id': '0af4edd789704f668c207cf545bbd123'}} 2024-10-26 20:56:33,677 - INFO - Created VN ctest-vn-38291289 2024-10-26 20:56:33,742 - DEBUG - VN ctest-vn-38291289 UUID is 73319f44-eec5-44c9-854d-d5dba3e4d0d2 2024-10-26 20:56:33,947 - DEBUG - Services list from nova: [, , ] 2024-10-26 20:56:35,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2153-1) 2024-10-26 20:56:36,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2153-1) 2024-10-26 20:56:36,514 - INFO - Waiting for VM ctest-TestBasicVMVNx-89353887-64335651 to be up.. 2024-10-26 20:56:36,623 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-26 20:56:41,763 - DEBUG - VM is in ACTIVE state now 2024-10-26 20:56:41,763 - INFO - VM name : ctest-TestBasicVMVNx-89353887-64335651 2024-10-26 20:56:41,858 - DEBUG - VM ctest-TestBasicVMVNx-89353887-64335651 ID is 174a0e2b-492e-4a30-9744-a9455ac92b2b 2024-10-26 20:56:41,881 - DEBUG - VM ctest-TestBasicVMVNx-89353887-64335651 launched on Node cn-jenkins-deploy-platform-ansible-os-2153-1 2024-10-26 20:56:41,974 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/174a0e2b-492e-4a30-9744-a9455ac92b2b 2024-10-26 20:56:42,323 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/174a0e2b-492e-4a30-9744-a9455ac92b2b 2024-10-26 20:56:42,376 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7fbf05eb-ef5f-491b-b0d3-c2c10ef1e7bc 2024-10-26 20:56:45,697 - 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 1032ms') 2024-10-26 20:56:45,697 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89353887-64335651 failed! 2024-10-26 20:56:45,762 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-89353887:ctest-vn-38291289 is 186.63.220.129 and allocation pool is NOT set 2024-10-26 20:56:47,827 - 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=4.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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 = 1.693/3.094/4.495/1.401 ms') 2024-10-26 20:56:47,827 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89353887-64335651 passed 2024-10-26 20:56:47,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 20:56:47,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89353887-64335651, IP 186.63.220.131, Port 22 2024-10-26 20:56:48,142 - DEBUG - VM ctest-TestBasicVMVNx-89353887-64335651 is ready for SSH connections 2024-10-26 20:56:48,142 - INFO - Waiting for VM ctest-TestBasicVMVNx-89353887-75845837 to be up.. 2024-10-26 20:56:48,239 - DEBUG - VM is in ACTIVE state now 2024-10-26 20:56:48,239 - INFO - VM name : ctest-TestBasicVMVNx-89353887-75845837 2024-10-26 20:56:48,341 - DEBUG - VM ctest-TestBasicVMVNx-89353887-75845837 ID is 56fd8123-27ab-43a3-8612-537b0a08c927 2024-10-26 20:56:48,341 - DEBUG - VM ctest-TestBasicVMVNx-89353887-75845837 launched on Node cn-jenkins-deploy-platform-ansible-os-2153-1 2024-10-26 20:56:48,444 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/56fd8123-27ab-43a3-8612-537b0a08c927 2024-10-26 20:56:48,457 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e23c72ca-db20-46bd-8a9b-78320130852c 2024-10-26 20:56:49,731 - 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=4.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.635 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.635/2.510/4.386/1.875 ms') 2024-10-26 20:56:49,731 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89353887-75845837 passed 2024-10-26 20:56:49,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 20:56:49,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89353887-75845837, IP 186.63.220.132, Port 22 2024-10-26 20:56:50,050 - DEBUG - VM ctest-TestBasicVMVNx-89353887-75845837 is ready for SSH connections 2024-10-26 20:56:50,050 - DEBUG - FILE SIZE = 1303B 2024-10-26 20:56:50,050 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89353887-64335651 to ctest-TestBasicVMVNx-89353887-75845837 using scp 2024-10-26 20:56:50,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 20:56:50,056 - 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.27, gateway password: c0ntrail123 2024-10-26 20:56:50,056 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-26 20:56:51,749 - DEBUG - 1+0 records in 1+0 records out 2024-10-26 20:56:52,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 20:56:52,812 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-10-26 20:56:52,812 - DEBUG - ls -l testfile 2024-10-26 20:56:54,453 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 26 14:56 testfile 2024-10-26 20:56:54,453 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89353887-75845837 2024-10-26 20:56:54,453 - INFO - Deleting VM ctest-TestBasicVMVNx-89353887-75845837 2024-10-26 20:56:54,537 - INFO - Deleting VM ctest-TestBasicVMVNx-89353887-64335651 2024-10-26 20:56:54,623 - INFO - Deleting VN ctest-vn-38291289 2024-10-26 20:56:54,665 - DEBUG - VN 73319f44-eec5-44c9-854d-d5dba3e4d0d2 still in use: Unable to complete operation on network 73319f44-eec5-44c9-854d-d5dba3e4d0d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-53d57192-0d72-46a5-a0c5-15ceefcd78a8'] 2024-10-26 20:56:54,666 - WARNING - Deleting VN ctest-vn-38291289 failed..Will retry 2024-10-26 20:56:56,792 - DEBUG - Response for deleting network () 2024-10-26 20:56:57,054 - DEBUG - No XMPP flaps were noticed during the test
2024-10-26 20:56:57,055 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-26 20:56:57,055 - INFO - -------------------------------------------------------------------------------- 2024-10-26 20:56:57,843 - INFO - Deleted project: ctest-TestBasicVMVNx-89353887, ID : 0af4edd7-8970-4f66-8c20-7cf545bbd123