2024-11-10 13:21:21,887 - INFO - Domain Default found not creating 2024-11-10 13:21:22,172 - INFO - Project ctest-TestBasicVMVNx-96870788 not found, creating it 2024-11-10 13:21:22,800 - INFO - Created Project:ctest-TestBasicVMVNx-96870788, ID : d91d714a-62f4-42b4-aac1-44ed39f370d1 2024-11-10 13:21:24,527 - INFO - ================================================================================ 2024-11-10 13:21:24,528 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 13:21:24,528 - 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-10 13:21:24,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.8': '0'}} with 2024-11-10 13:21:24,809 - INFO - Initial checks done. Running the testcase now 2024-11-10 13:21:24,810 - INFO - 2024-11-10 13:21:25,487 - DEBUG - Response for create_network : {'network': {'id': '47b58d19-92f2-49b2-b1cb-52e00c49b5bf', 'name': 'ctest-vn-88058650', 'tenant_id': 'd91d714a62f442b4aac144ed39f370d1', 'project_id': 'd91d714a62f442b4aac144ed39f370d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96870788', 'ctest-vn-88058650'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 13:21:25,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '82a2f02f-6a0c-4beb-95ca-7a683cc27d8a', 'name': '', 'tenant_id': 'd91d714a62f442b4aac144ed39f370d1', 'network_id': '47b58d19-92f2-49b2-b1cb-52e00c49b5bf', 'ip_version': 4, 'cidr': '73.166.2.64/26', 'allocation_pools': [{'start': '73.166.2.66', 'end': '73.166.2.126'}], 'gateway_ip': '73.166.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.166.2.66', 'tags': [], 'project_id': 'd91d714a62f442b4aac144ed39f370d1'}} 2024-11-10 13:21:25,728 - INFO - Created VN ctest-vn-88058650 2024-11-10 13:21:25,788 - DEBUG - VN ctest-vn-88058650 UUID is 47b58d19-92f2-49b2-b1cb-52e00c49b5bf 2024-11-10 13:21:25,988 - DEBUG - Services list from nova: [, , ] 2024-11-10 13:21:27,139 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2249-1) 2024-11-10 13:21:28,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2249-1) 2024-11-10 13:21:28,492 - INFO - Waiting for VM ctest-TestBasicVMVNx-96870788-04986335 to be up.. 2024-11-10 13:21:28,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 13:21:33,727 - DEBUG - VM is in ACTIVE state now 2024-11-10 13:21:33,727 - INFO - VM name : ctest-TestBasicVMVNx-96870788-04986335 2024-11-10 13:21:33,820 - DEBUG - VM ctest-TestBasicVMVNx-96870788-04986335 ID is bc1febe2-89db-4697-8339-526298957b7f 2024-11-10 13:21:33,850 - DEBUG - VM ctest-TestBasicVMVNx-96870788-04986335 launched on Node cn-jenkins-deploy-platform-ansible-os-2249-1 2024-11-10 13:21:34,071 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bc1febe2-89db-4697-8339-526298957b7f 2024-11-10 13:21:34,382 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bc1febe2-89db-4697-8339-526298957b7f 2024-11-10 13:21:34,431 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/54d3050c-07b9-4ecb-b00c-0da154f38b2d 2024-11-10 13:21:37,715 - 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-11-10 13:21:37,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96870788-04986335 failed! 2024-11-10 13:21:37,776 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96870788:ctest-vn-88058650 is 73.166.2.65 and allocation pool is NOT set 2024-11-10 13:21:39,840 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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.016/2.779/4.543/1.763 ms') 2024-11-10 13:21:39,840 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96870788-04986335 passed 2024-11-10 13:21:40,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:21:40,012 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96870788-04986335, IP 73.166.2.67, Port 22 2024-11-10 13:21:40,186 - DEBUG - VM ctest-TestBasicVMVNx-96870788-04986335 is ready for SSH connections 2024-11-10 13:21:40,186 - INFO - Waiting for VM ctest-TestBasicVMVNx-96870788-46673322 to be up.. 2024-11-10 13:21:40,294 - DEBUG - VM is in ACTIVE state now 2024-11-10 13:21:40,294 - INFO - VM name : ctest-TestBasicVMVNx-96870788-46673322 2024-11-10 13:21:40,400 - DEBUG - VM ctest-TestBasicVMVNx-96870788-46673322 ID is 6035f7b9-75c2-477a-823e-b4f99798674f 2024-11-10 13:21:40,400 - DEBUG - VM ctest-TestBasicVMVNx-96870788-46673322 launched on Node cn-jenkins-deploy-platform-ansible-os-2249-1 2024-11-10 13:21:40,507 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6035f7b9-75c2-477a-823e-b4f99798674f 2024-11-10 13:21:40,520 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1e54623c-d785-4ac6-b746-dad25d6d6ece 2024-11-10 13:21:41,790 - 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=5.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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 = 1.160/3.204/5.248/2.044 ms') 2024-11-10 13:21:41,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96870788-46673322 passed 2024-11-10 13:21:41,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:21:41,952 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96870788-46673322, IP 73.166.2.68, Port 22 2024-11-10 13:21:42,018 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-11-10 13:21:42,119 - DEBUG - VM ctest-TestBasicVMVNx-96870788-46673322 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-10 13:21:47,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:21:47,120 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96870788-46673322, IP 73.166.2.68, Port 22 2024-11-10 13:21:47,291 - DEBUG - VM ctest-TestBasicVMVNx-96870788-46673322 is ready for SSH connections 2024-11-10 13:21:47,291 - DEBUG - FILE SIZE = 1303B 2024-11-10 13:21:47,291 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96870788-04986335 to ctest-TestBasicVMVNx-96870788-46673322 using scp 2024-11-10 13:21:47,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:21:47,299 - 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.33, gateway password: c0ntrail123 2024-11-10 13:21:47,299 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 13:21:49,291 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 13:21:50,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 13:21:50,454 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-11-10 13:21:50,454 - DEBUG - ls -l testfile 2024-11-10 13:21:52,090 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 06:21 testfile 2024-11-10 13:21:52,090 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96870788-46673322 2024-11-10 13:21:52,090 - INFO - Deleting VM ctest-TestBasicVMVNx-96870788-46673322 2024-11-10 13:21:52,185 - INFO - Deleting VM ctest-TestBasicVMVNx-96870788-04986335 2024-11-10 13:21:52,280 - INFO - Deleting VN ctest-vn-88058650 2024-11-10 13:21:52,328 - DEBUG - VN 47b58d19-92f2-49b2-b1cb-52e00c49b5bf still in use: Unable to complete operation on network 47b58d19-92f2-49b2-b1cb-52e00c49b5bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5cfabf73-1cfd-4d7e-99b0-aaca1920c39e'] 2024-11-10 13:21:52,328 - WARNING - Deleting VN ctest-vn-88058650 failed..Will retry 2024-11-10 13:21:54,462 - DEBUG - Response for deleting network () 2024-11-10 13:21:54,723 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 13:21:54,723 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-11-10 13:21:54,723 - INFO - -------------------------------------------------------------------------------- 2024-11-10 13:21:55,525 - INFO - Deleted project: ctest-TestBasicVMVNx-96870788, ID : d91d714a-62f4-42b4-aac1-44ed39f370d1