2024-10-24 11:44:54,915 - INFO - Domain Default found not creating 2024-10-24 11:44:55,108 - INFO - Project ctest-TestBasicVMVNx-32409316 not found, creating it 2024-10-24 11:44:55,601 - INFO - Created Project:ctest-TestBasicVMVNx-32409316, ID : 3cf41591-0cf1-42ed-8a92-2941f1ed7144 2024-10-24 11:44:57,262 - INFO - ================================================================================ 2024-10-24 11:44:57,262 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-24 11:44:57,262 - 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-24 11:44:57,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.6': '0'}} with 2024-10-24 11:44:57,519 - INFO - Initial checks done. Running the testcase now 2024-10-24 11:44:57,519 - INFO - 2024-10-24 11:44:58,132 - DEBUG - Response for create_network : {'network': {'id': '0aab659e-8ad1-478b-b6fd-c0408864a889', 'name': 'ctest-vn-44134090', 'tenant_id': '3cf415910cf142ed8a922941f1ed7144', 'project_id': '3cf415910cf142ed8a922941f1ed7144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-32409316', 'ctest-vn-44134090'], 'port_security_enabled': True, 'description': ''}} 2024-10-24 11:44:58,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '90739c8f-6fbd-49b2-8186-1bd118f36a7f', 'name': '', 'tenant_id': '3cf415910cf142ed8a922941f1ed7144', 'network_id': '0aab659e-8ad1-478b-b6fd-c0408864a889', 'ip_version': 4, 'cidr': '114.96.121.0/26', 'allocation_pools': [{'start': '114.96.121.2', 'end': '114.96.121.62'}], 'gateway_ip': '114.96.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.96.121.2', 'tags': [], 'project_id': '3cf415910cf142ed8a922941f1ed7144'}} 2024-10-24 11:44:58,338 - INFO - Created VN ctest-vn-44134090 2024-10-24 11:44:58,397 - DEBUG - VN ctest-vn-44134090 UUID is 0aab659e-8ad1-478b-b6fd-c0408864a889 2024-10-24 11:44:58,618 - DEBUG - Services list from nova: [, , ] 2024-10-24 11:44:59,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2138-1) 2024-10-24 11:45:00,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2138-1) 2024-10-24 11:45:00,953 - INFO - Waiting for VM ctest-TestBasicVMVNx-32409316-86055909 to be up.. 2024-10-24 11:45:01,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-24 11:45:06,161 - DEBUG - VM is in ACTIVE state now 2024-10-24 11:45:06,161 - INFO - VM name : ctest-TestBasicVMVNx-32409316-86055909 2024-10-24 11:45:06,257 - DEBUG - VM ctest-TestBasicVMVNx-32409316-86055909 ID is e02d8658-8f25-4b13-9e4c-476b742ab6f2 2024-10-24 11:45:06,279 - DEBUG - VM ctest-TestBasicVMVNx-32409316-86055909 launched on Node cn-jenkins-deploy-platform-ansible-os-2138-1 2024-10-24 11:45:06,373 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/e02d8658-8f25-4b13-9e4c-476b742ab6f2 2024-10-24 11:45:06,674 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/e02d8658-8f25-4b13-9e4c-476b742ab6f2 2024-10-24 11:45:06,717 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/e8890b4c-05de-4ddf-9546-541eca4f091b 2024-10-24 11:45:09,979 - 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 1000ms') 2024-10-24 11:45:09,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32409316-86055909 failed! 2024-10-24 11:45:10,043 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-32409316:ctest-vn-44134090 is 114.96.121.1 and allocation pool is NOT set 2024-10-24 11:45:12,121 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.17 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 = 5.664/5.915/6.166/0.251 ms') 2024-10-24 11:45:12,122 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32409316-86055909 passed 2024-10-24 11:45:12,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 11:45:12,292 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32409316-86055909, IP 114.96.121.3, Port 22 2024-10-24 11:45:12,349 - 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-10-24 11:45:12,456 - DEBUG - VM ctest-TestBasicVMVNx-32409316-86055909 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-24 11:45:17,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 11:45:17,457 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32409316-86055909, IP 114.96.121.3, Port 22 2024-10-24 11:45:17,612 - DEBUG - VM ctest-TestBasicVMVNx-32409316-86055909 is ready for SSH connections 2024-10-24 11:45:17,612 - INFO - Waiting for VM ctest-TestBasicVMVNx-32409316-24442721 to be up.. 2024-10-24 11:45:17,710 - DEBUG - VM is in ACTIVE state now 2024-10-24 11:45:17,710 - INFO - VM name : ctest-TestBasicVMVNx-32409316-24442721 2024-10-24 11:45:17,799 - DEBUG - VM ctest-TestBasicVMVNx-32409316-24442721 ID is 3790033b-c895-499f-a2a6-96e7dac6f313 2024-10-24 11:45:17,799 - DEBUG - VM ctest-TestBasicVMVNx-32409316-24442721 launched on Node cn-jenkins-deploy-platform-ansible-os-2138-1 2024-10-24 11:45:17,888 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/3790033b-c895-499f-a2a6-96e7dac6f313 2024-10-24 11:45:17,899 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/05183edf-6481-4cad-a8ff-7de5f26be895 2024-10-24 11:45:19,159 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.477/2.286/4.096/1.809 ms') 2024-10-24 11:45:19,159 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-32409316-24442721 passed 2024-10-24 11:45:19,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 11:45:19,320 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32409316-24442721, IP 114.96.121.4, Port 22 2024-10-24 11:45:19,480 - DEBUG - VM ctest-TestBasicVMVNx-32409316-24442721 is ready for SSH connections 2024-10-24 11:45:19,480 - DEBUG - FILE SIZE = 1303B 2024-10-24 11:45:19,480 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-32409316-86055909 to ctest-TestBasicVMVNx-32409316-24442721 using scp 2024-10-24 11:45:19,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 11:45:19,489 - 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.31, gateway password: c0ntrail123 2024-10-24 11:45:19,489 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-24 11:45:21,518 - DEBUG - 1+0 records in 1+0 records out 2024-10-24 11:45:22,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 11:45:22,721 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-10-24 11:45:22,721 - DEBUG - ls -l testfile 2024-10-24 11:45:24,364 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 24 05:45 testfile 2024-10-24 11:45:24,364 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-32409316-24442721 2024-10-24 11:45:24,364 - INFO - Deleting VM ctest-TestBasicVMVNx-32409316-24442721 2024-10-24 11:45:24,444 - INFO - Deleting VM ctest-TestBasicVMVNx-32409316-86055909 2024-10-24 11:45:24,531 - INFO - Deleting VN ctest-vn-44134090 2024-10-24 11:45:24,575 - DEBUG - VN 0aab659e-8ad1-478b-b6fd-c0408864a889 still in use: Unable to complete operation on network 0aab659e-8ad1-478b-b6fd-c0408864a889. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5fe5490-071a-4342-b6fe-e4120e478772'] 2024-10-24 11:45:24,575 - WARNING - Deleting VN ctest-vn-44134090 failed..Will retry 2024-10-24 11:45:26,800 - DEBUG - Response for deleting network () 2024-10-24 11:45:27,059 - DEBUG - No XMPP flaps were noticed during the test
2024-10-24 11:45:27,059 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-10-24 11:45:27,059 - INFO - -------------------------------------------------------------------------------- 2024-10-24 11:45:27,844 - INFO - Deleted project: ctest-TestBasicVMVNx-32409316, ID : 3cf41591-0cf1-42ed-8a92-2941f1ed7144