2024-09-15 11:57:03,977 - INFO - Domain Default found not creating 2024-09-15 11:57:04,191 - INFO - Project ctest-TestBasicVMVNx-71245032 not found, creating it 2024-09-15 11:57:04,762 - INFO - Created Project:ctest-TestBasicVMVNx-71245032, ID : 3e6acef4-182e-4d29-9da2-8b21326c5be0 2024-09-15 11:57:06,468 - INFO - ================================================================================ 2024-09-15 11:57:06,468 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-15 11:57:06,468 - 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-15 11:57:06,731 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.6': '0'}} with 2024-09-15 11:57:06,731 - INFO - Initial checks done. Running the testcase now 2024-09-15 11:57:06,731 - INFO - 2024-09-15 11:57:07,405 - DEBUG - Response for create_network : {'network': {'id': '12d78ac7-dff1-490f-8100-e475ec67c0c4', 'name': 'ctest-vn-12081123', 'tenant_id': '3e6acef4182e4d299da28b21326c5be0', 'project_id': '3e6acef4182e4d299da28b21326c5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-71245032', 'ctest-vn-12081123'], 'port_security_enabled': True, 'description': ''}} 2024-09-15 11:57:07,580 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1f1d1c2-9c17-41dd-82b9-07f992066e40', 'name': '', 'tenant_id': '3e6acef4182e4d299da28b21326c5be0', 'network_id': '12d78ac7-dff1-490f-8100-e475ec67c0c4', 'ip_version': 4, 'cidr': '162.149.117.128/26', 'allocation_pools': [{'start': '162.149.117.130', 'end': '162.149.117.190'}], 'gateway_ip': '162.149.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.149.117.130', 'tags': [], 'project_id': '3e6acef4182e4d299da28b21326c5be0'}} 2024-09-15 11:57:07,609 - INFO - Created VN ctest-vn-12081123 2024-09-15 11:57:07,672 - DEBUG - VN ctest-vn-12081123 UUID is 12d78ac7-dff1-490f-8100-e475ec67c0c4 2024-09-15 11:57:07,886 - DEBUG - Services list from nova: [, , ] 2024-09-15 11:57:09,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1941-1) 2024-09-15 11:57:10,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1941-1) 2024-09-15 11:57:10,434 - INFO - Waiting for VM ctest-TestBasicVMVNx-71245032-89781441 to be up.. 2024-09-15 11:57:10,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-15 11:57:15,631 - DEBUG - VM is in ACTIVE state now 2024-09-15 11:57:15,631 - INFO - VM name : ctest-TestBasicVMVNx-71245032-89781441 2024-09-15 11:57:15,745 - DEBUG - VM ctest-TestBasicVMVNx-71245032-89781441 ID is c3df9dc1-a520-43fc-853a-35485cec779b 2024-09-15 11:57:15,768 - DEBUG - VM ctest-TestBasicVMVNx-71245032-89781441 launched on Node cn-jenkins-deploy-platform-ansible-os-1941-1 2024-09-15 11:57:15,883 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/c3df9dc1-a520-43fc-853a-35485cec779b 2024-09-15 11:57:16,186 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/c3df9dc1-a520-43fc-853a-35485cec779b 2024-09-15 11:57:16,227 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/24ccfcd0-a958-4c14-a6b2-f8dffaaeb3d7 2024-09-15 11:57:19,522 - 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 1017ms') 2024-09-15 11:57:19,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71245032-89781441 failed! 2024-09-15 11:57:19,584 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-71245032:ctest-vn-12081123 is 162.149.117.129 and allocation pool is NOT set 2024-09-15 11:57:21,651 - 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.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/5.687/10.892/5.204 ms') 2024-09-15 11:57:21,651 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71245032-89781441 passed 2024-09-15 11:57:21,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 11:57:21,816 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71245032-89781441, IP 162.149.117.131, Port 22 2024-09-15 11:57:21,986 - DEBUG - VM ctest-TestBasicVMVNx-71245032-89781441 is ready for SSH connections 2024-09-15 11:57:21,986 - INFO - Waiting for VM ctest-TestBasicVMVNx-71245032-22763742 to be up.. 2024-09-15 11:57:22,112 - DEBUG - VM is in ACTIVE state now 2024-09-15 11:57:22,112 - INFO - VM name : ctest-TestBasicVMVNx-71245032-22763742 2024-09-15 11:57:22,286 - DEBUG - VM ctest-TestBasicVMVNx-71245032-22763742 ID is 9c27a7ec-9e3e-402d-a339-014c871ed7c8 2024-09-15 11:57:22,286 - DEBUG - VM ctest-TestBasicVMVNx-71245032-22763742 launched on Node cn-jenkins-deploy-platform-ansible-os-1941-1 2024-09-15 11:57:22,438 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/9c27a7ec-9e3e-402d-a339-014c871ed7c8 2024-09-15 11:57:22,455 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/043f9036-13ac-42af-8e7a-f945fdfb9ebb 2024-09-15 11:57:23,734 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.11 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 = 2.113/3.989/5.865/1.876 ms') 2024-09-15 11:57:23,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-71245032-22763742 passed 2024-09-15 11:57:23,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 11:57:23,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71245032-22763742, IP 162.149.117.132, Port 22 2024-09-15 11:57:24,059 - DEBUG - VM ctest-TestBasicVMVNx-71245032-22763742 is ready for SSH connections 2024-09-15 11:57:24,060 - DEBUG - FILE SIZE = 1303B 2024-09-15 11:57:24,060 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-71245032-89781441 to ctest-TestBasicVMVNx-71245032-22763742 using scp 2024-09-15 11:57:24,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 11:57:24,065 - 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.28, gateway password: c0ntrail123 2024-09-15 11:57:24,065 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-15 11:57:26,053 - DEBUG - 1+0 records in 1+0 records out 2024-09-15 11:57:26,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 11:57:27,202 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-15 11:57:27,202 - DEBUG - ls -l testfile 2024-09-15 11:57:28,774 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 15 05:57 testfile 2024-09-15 11:57:28,774 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-71245032-22763742 2024-09-15 11:57:28,774 - INFO - Deleting VM ctest-TestBasicVMVNx-71245032-22763742 2024-09-15 11:57:28,846 - INFO - Deleting VM ctest-TestBasicVMVNx-71245032-89781441 2024-09-15 11:57:28,929 - INFO - Deleting VN ctest-vn-12081123 2024-09-15 11:57:28,972 - DEBUG - VN 12d78ac7-dff1-490f-8100-e475ec67c0c4 still in use: Unable to complete operation on network 12d78ac7-dff1-490f-8100-e475ec67c0c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3cb8cfe-b9db-458f-b23a-32fef82a4ff1'] 2024-09-15 11:57:28,972 - WARNING - Deleting VN ctest-vn-12081123 failed..Will retry 2024-09-15 11:57:31,109 - DEBUG - Response for deleting network () 2024-09-15 11:57:31,366 - DEBUG - No XMPP flaps were noticed during the test
2024-09-15 11:57:31,366 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-15 11:57:31,366 - INFO - -------------------------------------------------------------------------------- 2024-09-15 11:57:32,197 - INFO - Deleted project: ctest-TestBasicVMVNx-71245032, ID : 3e6acef4-182e-4d29-9da2-8b21326c5be0