2024-08-29 17:15:40,213 - INFO - Domain Default found not creating 2024-08-29 17:15:40,650 - INFO - Project ctest-TestBasicVMVNx-19887610 not found, creating it 2024-08-29 17:15:41,624 - INFO - Created Project:ctest-TestBasicVMVNx-19887610, ID : f5d175ab-196c-41cb-8292-8da3e1b3e81c 2024-08-29 17:15:44,089 - INFO - ================================================================================ 2024-08-29 17:15:44,089 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 17:15:44,089 - 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-29 17:15:44,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.76': {'10.20.0.6': '0'}} with 2024-08-29 17:15:44,407 - INFO - Initial checks done. Running the testcase now 2024-08-29 17:15:44,407 - INFO - 2024-08-29 17:15:45,236 - DEBUG - Response for create_network : {'network': {'id': '1575c910-2eda-4d45-87fe-eabd2a3a2646', 'name': 'ctest-vn-51368318', 'tenant_id': 'f5d175ab196c41cb82928da3e1b3e81c', 'project_id': 'f5d175ab196c41cb82928da3e1b3e81c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19887610', 'ctest-vn-51368318'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 17:15:45,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '39be61ce-c341-4e2e-b7f9-be4c89ca6a6e', 'name': '', 'tenant_id': 'f5d175ab196c41cb82928da3e1b3e81c', 'network_id': '1575c910-2eda-4d45-87fe-eabd2a3a2646', 'ip_version': 4, 'cidr': '181.211.172.128/26', 'allocation_pools': [{'start': '181.211.172.130', 'end': '181.211.172.190'}], 'gateway_ip': '181.211.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.211.172.130', 'tags': [], 'project_id': 'f5d175ab196c41cb82928da3e1b3e81c'}} 2024-08-29 17:15:45,483 - INFO - Created VN ctest-vn-51368318 2024-08-29 17:15:45,536 - DEBUG - VN ctest-vn-51368318 UUID is 1575c910-2eda-4d45-87fe-eabd2a3a2646 2024-08-29 17:15:45,752 - DEBUG - Services list from nova: [, , ] 2024-08-29 17:15:47,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1811-1) 2024-08-29 17:15:48,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1811-1) 2024-08-29 17:15:48,888 - INFO - Waiting for VM ctest-TestBasicVMVNx-19887610-22938957 to be up.. 2024-08-29 17:15:48,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 17:15:54,116 - DEBUG - VM is in ACTIVE state now 2024-08-29 17:15:54,117 - INFO - VM name : ctest-TestBasicVMVNx-19887610-22938957 2024-08-29 17:15:54,238 - DEBUG - VM ctest-TestBasicVMVNx-19887610-22938957 ID is 2a2f3f0f-2e55-4a31-be3f-054a3966d044 2024-08-29 17:15:54,282 - DEBUG - VM ctest-TestBasicVMVNx-19887610-22938957 launched on Node cn-jenkins-deploy-platform-ansible-os-1811-1 2024-08-29 17:15:54,393 - DEBUG - Requesting: http://10.0.0.76:8082/virtual-machine/2a2f3f0f-2e55-4a31-be3f-054a3966d044 2024-08-29 17:15:54,700 - DEBUG - Requesting: http://10.0.0.76:8082/virtual-machine/2a2f3f0f-2e55-4a31-be3f-054a3966d044 2024-08-29 17:15:54,753 - DEBUG - Requesting: http://10.0.0.76:8082/virtual-machine-interface/a9283982-991e-4712-a685-bc13e03e642a 2024-08-29 17:15:58,055 - 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 1014ms') 2024-08-29 17:15:58,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19887610-22938957 failed! 2024-08-29 17:15:58,133 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19887610:ctest-vn-51368318 is 181.211.172.129 and allocation pool is NOT set 2024-08-29 17:16:00,211 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.365 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.365/5.183/10.001/4.818 ms') 2024-08-29 17:16:00,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19887610-22938957 passed 2024-08-29 17:16:00,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:16:00,377 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19887610-22938957, IP 181.211.172.131, Port 22 2024-08-29 17:16:00,449 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-08-29 17:16:00,616 - DEBUG - VM ctest-TestBasicVMVNx-19887610-22938957 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-29 17:16:05,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:16:05,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19887610-22938957, IP 181.211.172.131, Port 22 2024-08-29 17:16:05,831 - DEBUG - VM ctest-TestBasicVMVNx-19887610-22938957 is ready for SSH connections 2024-08-29 17:16:05,832 - INFO - Waiting for VM ctest-TestBasicVMVNx-19887610-95747124 to be up.. 2024-08-29 17:16:06,059 - DEBUG - VM is in ACTIVE state now 2024-08-29 17:16:06,059 - INFO - VM name : ctest-TestBasicVMVNx-19887610-95747124 2024-08-29 17:16:06,295 - DEBUG - VM ctest-TestBasicVMVNx-19887610-95747124 ID is 2a5b732d-1b3a-467f-825d-4883acfacfc3 2024-08-29 17:16:06,296 - DEBUG - VM ctest-TestBasicVMVNx-19887610-95747124 launched on Node cn-jenkins-deploy-platform-ansible-os-1811-1 2024-08-29 17:16:06,512 - DEBUG - Requesting: http://10.0.0.76:8082/virtual-machine/2a5b732d-1b3a-467f-825d-4883acfacfc3 2024-08-29 17:16:06,526 - DEBUG - Requesting: http://10.0.0.76:8082/virtual-machine-interface/b786937a-7666-47d6-ae5f-a3cbe56ef337 2024-08-29 17:16:07,835 - 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=8.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.17 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.167/4.964/8.761/3.797 ms') 2024-08-29 17:16:07,836 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19887610-95747124 passed 2024-08-29 17:16:08,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:16:08,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19887610-95747124, IP 181.211.172.132, Port 22 2024-08-29 17:16:08,227 - DEBUG - VM ctest-TestBasicVMVNx-19887610-95747124 is ready for SSH connections 2024-08-29 17:16:08,228 - DEBUG - FILE SIZE = 1303B 2024-08-29 17:16:08,228 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19887610-22938957 to ctest-TestBasicVMVNx-19887610-95747124 using scp 2024-08-29 17:16:08,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:16:08,241 - 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.76, gateway password: c0ntrail123 2024-08-29 17:16:08,241 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 17:16:10,604 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 17:16:11,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:16:11,904 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.76, gateway password: c0ntrail123 2024-08-29 17:16:11,905 - DEBUG - ls -l testfile 2024-08-29 17:16:13,944 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 11:16 testfile 2024-08-29 17:16:13,944 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19887610-95747124 2024-08-29 17:16:13,945 - INFO - Deleting VM ctest-TestBasicVMVNx-19887610-95747124 2024-08-29 17:16:14,070 - INFO - Deleting VM ctest-TestBasicVMVNx-19887610-22938957 2024-08-29 17:16:14,224 - INFO - Deleting VN ctest-vn-51368318 2024-08-29 17:16:14,314 - DEBUG - VN 1575c910-2eda-4d45-87fe-eabd2a3a2646 still in use: Unable to complete operation on network 1575c910-2eda-4d45-87fe-eabd2a3a2646. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-156dccd4-3c12-426c-93be-b82706a98386'] 2024-08-29 17:16:14,315 - WARNING - Deleting VN ctest-vn-51368318 failed..Will retry 2024-08-29 17:16:16,552 - DEBUG - Response for deleting network () 2024-08-29 17:16:16,873 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 17:16:16,873 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2024-08-29 17:16:16,874 - INFO - -------------------------------------------------------------------------------- 2024-08-29 17:16:17,827 - INFO - Deleted project: ctest-TestBasicVMVNx-19887610, ID : f5d175ab-196c-41cb-8292-8da3e1b3e81c