2024-09-11 14:38:16,308 - INFO - Domain Default found not creating 2024-09-11 14:38:16,478 - INFO - Project ctest-TestBasicVMVNx-06552343 not found, creating it 2024-09-11 14:38:16,944 - INFO - Created Project:ctest-TestBasicVMVNx-06552343, ID : 6d6ba9b2-db85-4318-b215-eb6595f5c909 2024-09-11 14:38:18,432 - INFO - ================================================================================ 2024-09-11 14:38:18,433 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 14:38:18,433 - 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-09-11 14:38:18,689 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.6': '0'}} with 2024-09-11 14:38:18,689 - INFO - Initial checks done. Running the testcase now 2024-09-11 14:38:18,689 - INFO - 2024-09-11 14:38:19,260 - DEBUG - Response for create_network : {'network': {'id': '8dbdd4d4-6903-4142-9cac-5e4b2ccab355', 'name': 'ctest-vn-45967596', 'tenant_id': '6d6ba9b2db854318b215eb6595f5c909', 'project_id': '6d6ba9b2db854318b215eb6595f5c909', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06552343', 'ctest-vn-45967596'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 14:38:19,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ea18d7b-7b50-4818-a4c4-a9d2cc01c502', 'name': '', 'tenant_id': '6d6ba9b2db854318b215eb6595f5c909', 'network_id': '8dbdd4d4-6903-4142-9cac-5e4b2ccab355', 'ip_version': 4, 'cidr': '46.142.72.0/26', 'allocation_pools': [{'start': '46.142.72.2', 'end': '46.142.72.62'}], 'gateway_ip': '46.142.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.142.72.2', 'tags': [], 'project_id': '6d6ba9b2db854318b215eb6595f5c909'}} 2024-09-11 14:38:19,497 - INFO - Created VN ctest-vn-45967596 2024-09-11 14:38:19,551 - DEBUG - VN ctest-vn-45967596 UUID is 8dbdd4d4-6903-4142-9cac-5e4b2ccab355 2024-09-11 14:38:19,728 - DEBUG - Services list from nova: [, , ] 2024-09-11 14:38:20,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1894-1) 2024-09-11 14:38:21,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1894-1) 2024-09-11 14:38:21,934 - INFO - Waiting for VM ctest-TestBasicVMVNx-06552343-34702204 to be up.. 2024-09-11 14:38:22,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 14:38:27,118 - DEBUG - VM is in ACTIVE state now 2024-09-11 14:38:27,118 - INFO - VM name : ctest-TestBasicVMVNx-06552343-34702204 2024-09-11 14:38:27,198 - DEBUG - VM ctest-TestBasicVMVNx-06552343-34702204 ID is dce4e2f2-b414-48ab-8f34-e3c1322f31c0 2024-09-11 14:38:27,221 - DEBUG - VM ctest-TestBasicVMVNx-06552343-34702204 launched on Node cn-jenkins-deploy-platform-ansible-os-1894-1 2024-09-11 14:38:27,316 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/dce4e2f2-b414-48ab-8f34-e3c1322f31c0 2024-09-11 14:38:27,612 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/dce4e2f2-b414-48ab-8f34-e3c1322f31c0 2024-09-11 14:38:27,648 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d13151fb-ad2a-4e0e-8955-782f9a65d12b 2024-09-11 14:38:30,910 - 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 1019ms') 2024-09-11 14:38:30,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06552343-34702204 failed! 2024-09-11 14:38:30,963 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06552343:ctest-vn-45967596 is 46.142.72.1 and allocation pool is NOT set 2024-09-11 14:38:33,024 - 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=3.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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 = 0.395/2.139/3.884/1.744 ms') 2024-09-11 14:38:33,024 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06552343-34702204 passed 2024-09-11 14:38:33,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 14:38:33,175 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06552343-34702204, IP 46.142.72.3, Port 22 2024-09-11 14:38:33,330 - DEBUG - VM ctest-TestBasicVMVNx-06552343-34702204 is ready for SSH connections 2024-09-11 14:38:33,330 - INFO - Waiting for VM ctest-TestBasicVMVNx-06552343-86092058 to be up.. 2024-09-11 14:38:33,408 - DEBUG - VM is in ACTIVE state now 2024-09-11 14:38:33,408 - INFO - VM name : ctest-TestBasicVMVNx-06552343-86092058 2024-09-11 14:38:33,486 - DEBUG - VM ctest-TestBasicVMVNx-06552343-86092058 ID is 796f9953-44a1-4e2b-bc8e-1c8f988ba107 2024-09-11 14:38:33,486 - DEBUG - VM ctest-TestBasicVMVNx-06552343-86092058 launched on Node cn-jenkins-deploy-platform-ansible-os-1894-1 2024-09-11 14:38:33,566 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/796f9953-44a1-4e2b-bc8e-1c8f988ba107 2024-09-11 14:38:33,575 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/7581ff9f-925a-4da9-91ea-f1b40825bd50 2024-09-11 14:38:34,828 - 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=3.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.73 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.726/2.811/3.897/1.085 ms') 2024-09-11 14:38:34,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06552343-86092058 passed 2024-09-11 14:38:34,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 14:38:34,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06552343-86092058, IP 46.142.72.4, Port 22 2024-09-11 14:38:35,138 - DEBUG - VM ctest-TestBasicVMVNx-06552343-86092058 is ready for SSH connections 2024-09-11 14:38:35,138 - DEBUG - FILE SIZE = 1303B 2024-09-11 14:38:35,138 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06552343-34702204 to ctest-TestBasicVMVNx-06552343-86092058 using scp 2024-09-11 14:38:35,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 14:38:35,144 - 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.48, gateway password: c0ntrail123 2024-09-11 14:38:35,145 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 14:38:37,045 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 14:38:37,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 14:38:37,954 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-09-11 14:38:37,954 - DEBUG - ls -l testfile 2024-09-11 14:38:39,542 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 08:38 testfile 2024-09-11 14:38:39,542 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-06552343-86092058 2024-09-11 14:38:39,542 - INFO - Deleting VM ctest-TestBasicVMVNx-06552343-86092058 2024-09-11 14:38:39,623 - INFO - Deleting VM ctest-TestBasicVMVNx-06552343-34702204 2024-09-11 14:38:39,699 - INFO - Deleting VN ctest-vn-45967596 2024-09-11 14:38:39,760 - DEBUG - VN 8dbdd4d4-6903-4142-9cac-5e4b2ccab355 still in use: Unable to complete operation on network 8dbdd4d4-6903-4142-9cac-5e4b2ccab355. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff8cd030-2e11-4224-aeb8-f17ba68cd93e'] 2024-09-11 14:38:39,761 - WARNING - Deleting VN ctest-vn-45967596 failed..Will retry 2024-09-11 14:38:41,877 - DEBUG - Response for deleting network () 2024-09-11 14:38:42,134 - DEBUG - No XMPP flaps were noticed during the test 2024-09-11 14:38:42,134 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-11 14:38:42,134 - INFO - -------------------------------------------------------------------------------- 2024-09-11 14:38:42,825 - INFO - Deleted project: ctest-TestBasicVMVNx-06552343, ID : 6d6ba9b2-db85-4318-b215-eb6595f5c909