2024-08-27 04:33:04,773 - INFO - Domain Default found not creating 2024-08-27 04:33:04,939 - INFO - Project ctest-TestBasicVMVNx-30935463 not found, creating it 2024-08-27 04:33:05,405 - INFO - Created Project:ctest-TestBasicVMVNx-30935463, ID : aa12cdfa-0741-4464-befc-1bb7f96d2001 2024-08-27 04:33:06,948 - INFO - ================================================================================ 2024-08-27 04:33:06,948 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 04:33:06,948 - 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-08-27 04:33:07,204 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.13': '0'}} with 2024-08-27 04:33:07,204 - INFO - Initial checks done. Running the testcase now 2024-08-27 04:33:07,204 - INFO - 2024-08-27 04:33:07,777 - DEBUG - Response for create_network : {'network': {'id': '66c462a9-ab38-49d8-bbfd-c199327b9a2c', 'name': 'ctest-vn-65264802', 'tenant_id': 'aa12cdfa07414464befc1bb7f96d2001', 'project_id': 'aa12cdfa07414464befc1bb7f96d2001', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30935463', 'ctest-vn-65264802'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 04:33:07,970 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a758e824-d470-4013-b9b0-8f1f751c4a2d', 'name': '', 'tenant_id': 'aa12cdfa07414464befc1bb7f96d2001', 'network_id': '66c462a9-ab38-49d8-bbfd-c199327b9a2c', 'ip_version': 4, 'cidr': '164.249.44.192/26', 'allocation_pools': [{'start': '164.249.44.194', 'end': '164.249.44.254'}], 'gateway_ip': '164.249.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.249.44.194', 'tags': [], 'project_id': 'aa12cdfa07414464befc1bb7f96d2001'}} 2024-08-27 04:33:07,990 - INFO - Created VN ctest-vn-65264802 2024-08-27 04:33:08,042 - DEBUG - VN ctest-vn-65264802 UUID is 66c462a9-ab38-49d8-bbfd-c199327b9a2c 2024-08-27 04:33:08,223 - DEBUG - Services list from nova: [, , ] 2024-08-27 04:33:09,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1789-1) 2024-08-27 04:33:10,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1789-1) 2024-08-27 04:33:10,418 - INFO - Waiting for VM ctest-TestBasicVMVNx-30935463-47720179 to be up.. 2024-08-27 04:33:10,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 04:33:15,589 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:33:15,589 - INFO - VM name : ctest-TestBasicVMVNx-30935463-47720179 2024-08-27 04:33:15,671 - DEBUG - VM ctest-TestBasicVMVNx-30935463-47720179 ID is 2ebe5273-732e-4446-bac9-432f435eede2 2024-08-27 04:33:15,691 - DEBUG - VM ctest-TestBasicVMVNx-30935463-47720179 launched on Node cn-jenkins-deploy-platform-ansible-os-1789-1 2024-08-27 04:33:15,771 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/2ebe5273-732e-4446-bac9-432f435eede2 2024-08-27 04:33:16,073 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/2ebe5273-732e-4446-bac9-432f435eede2 2024-08-27 04:33:16,106 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/595836d6-8a8d-4523-b2cd-fa38cd4d7a04 2024-08-27 04:33:19,375 - 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 1034ms') 2024-08-27 04:33:19,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30935463-47720179 failed! 2024-08-27 04:33:19,430 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30935463:ctest-vn-65264802 is 164.249.44.193 and allocation pool is NOT set 2024-08-27 04:33:21,494 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.514/2.648/1.133 ms') 2024-08-27 04:33:21,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30935463-47720179 passed 2024-08-27 04:33:21,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:33:21,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30935463-47720179, IP 164.249.44.195, Port 22 2024-08-27 04:33:21,815 - DEBUG - VM ctest-TestBasicVMVNx-30935463-47720179 is ready for SSH connections 2024-08-27 04:33:21,815 - INFO - Waiting for VM ctest-TestBasicVMVNx-30935463-12703802 to be up.. 2024-08-27 04:33:21,889 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:33:21,889 - INFO - VM name : ctest-TestBasicVMVNx-30935463-12703802 2024-08-27 04:33:21,962 - DEBUG - VM ctest-TestBasicVMVNx-30935463-12703802 ID is 606f0a54-85b6-4a10-915c-0a482e1b40e4 2024-08-27 04:33:21,962 - DEBUG - VM ctest-TestBasicVMVNx-30935463-12703802 launched on Node cn-jenkins-deploy-platform-ansible-os-1789-1 2024-08-27 04:33:22,035 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/606f0a54-85b6-4a10-915c-0a482e1b40e4 2024-08-27 04:33:22,043 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/58f9d64c-3ea7-44f5-b46a-3ac2fec4332d 2024-08-27 04:33:23,282 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.659/2.891/1.232 ms') 2024-08-27 04:33:23,282 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30935463-12703802 passed 2024-08-27 04:33:23,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:33:23,430 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30935463-12703802, IP 164.249.44.196, Port 22 2024-08-27 04:33:23,585 - DEBUG - VM ctest-TestBasicVMVNx-30935463-12703802 is ready for SSH connections 2024-08-27 04:33:23,586 - DEBUG - FILE SIZE = 1303B 2024-08-27 04:33:23,586 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30935463-47720179 to ctest-TestBasicVMVNx-30935463-12703802 using scp 2024-08-27 04:33:23,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:33:23,591 - 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.36, gateway password: c0ntrail123 2024-08-27 04:33:23,591 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 04:33:25,505 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 04:33:26,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:33:26,641 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-08-27 04:33:26,642 - DEBUG - ls -l testfile 2024-08-27 04:33:28,235 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 22:33 testfile 2024-08-27 04:33:28,235 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30935463-12703802 2024-08-27 04:33:28,235 - INFO - Deleting VM ctest-TestBasicVMVNx-30935463-12703802 2024-08-27 04:33:28,400 - INFO - Deleting VM ctest-TestBasicVMVNx-30935463-47720179 2024-08-27 04:33:28,470 - INFO - Deleting VN ctest-vn-65264802 2024-08-27 04:33:28,511 - DEBUG - VN 66c462a9-ab38-49d8-bbfd-c199327b9a2c still in use: Unable to complete operation on network 66c462a9-ab38-49d8-bbfd-c199327b9a2c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1dcd397a-78b9-416e-bf79-a3f1549319f5'] 2024-08-27 04:33:28,512 - WARNING - Deleting VN ctest-vn-65264802 failed..Will retry 2024-08-27 04:33:30,630 - DEBUG - Response for deleting network () 2024-08-27 04:33:30,889 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 04:33:30,889 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-27 04:33:30,889 - INFO - -------------------------------------------------------------------------------- 2024-08-27 04:33:31,565 - INFO - Deleted project: ctest-TestBasicVMVNx-30935463, ID : aa12cdfa-0741-4464-befc-1bb7f96d2001