2024-10-25 10:28:03,565 - INFO - Domain Default found not creating 2024-10-25 10:28:03,772 - INFO - Project ctest-TestBasicVMVNx-44074514 not found, creating it 2024-10-25 10:28:04,329 - INFO - Created Project:ctest-TestBasicVMVNx-44074514, ID : 4e675001-d4ed-4922-bce6-dc6acbd2c34e 2024-10-25 10:28:06,165 - INFO - ================================================================================ 2024-10-25 10:28:06,165 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-25 10:28:06,165 - 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-25 10:28:06,437 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.10': '0'}} with 2024-10-25 10:28:06,437 - INFO - Initial checks done. Running the testcase now 2024-10-25 10:28:06,437 - INFO - 2024-10-25 10:28:07,171 - DEBUG - Response for create_network : {'network': {'id': '7a42067f-8e07-4c95-9b29-42b88aab0907', 'name': 'ctest-vn-28691691', 'tenant_id': '4e675001d4ed4922bce6dc6acbd2c34e', 'project_id': '4e675001d4ed4922bce6dc6acbd2c34e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-44074514', 'ctest-vn-28691691'], 'port_security_enabled': True, 'description': ''}} 2024-10-25 10:28:07,391 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d1d8154-6b2d-4a34-9740-e666e4dc45c9', 'name': '', 'tenant_id': '4e675001d4ed4922bce6dc6acbd2c34e', 'network_id': '7a42067f-8e07-4c95-9b29-42b88aab0907', 'ip_version': 4, 'cidr': '148.138.66.0/26', 'allocation_pools': [{'start': '148.138.66.2', 'end': '148.138.66.62'}], 'gateway_ip': '148.138.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.138.66.2', 'tags': [], 'project_id': '4e675001d4ed4922bce6dc6acbd2c34e'}} 2024-10-25 10:28:07,415 - INFO - Created VN ctest-vn-28691691 2024-10-25 10:28:07,477 - DEBUG - VN ctest-vn-28691691 UUID is 7a42067f-8e07-4c95-9b29-42b88aab0907 2024-10-25 10:28:07,677 - DEBUG - Services list from nova: [, , ] 2024-10-25 10:28:09,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2144-1) 2024-10-25 10:28:10,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2144-1) 2024-10-25 10:28:10,474 - INFO - Waiting for VM ctest-TestBasicVMVNx-44074514-46522397 to be up.. 2024-10-25 10:28:10,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-25 10:28:15,750 - DEBUG - VM is in ACTIVE state now 2024-10-25 10:28:15,750 - INFO - VM name : ctest-TestBasicVMVNx-44074514-46522397 2024-10-25 10:28:15,855 - DEBUG - VM ctest-TestBasicVMVNx-44074514-46522397 ID is a4f327aa-e5b9-4048-877a-b4185525f753 2024-10-25 10:28:15,887 - DEBUG - VM ctest-TestBasicVMVNx-44074514-46522397 launched on Node cn-jenkins-deploy-platform-ansible-os-2144-1 2024-10-25 10:28:15,990 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/a4f327aa-e5b9-4048-877a-b4185525f753 2024-10-25 10:28:16,343 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/a4f327aa-e5b9-4048-877a-b4185525f753 2024-10-25 10:28:16,392 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/fbdb986e-635b-4980-844c-2f7dcbd93af6 2024-10-25 10:28:19,685 - 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 1009ms') 2024-10-25 10:28:19,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44074514-46522397 failed! 2024-10-25 10:28:19,753 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-44074514:ctest-vn-28691691 is 148.138.66.1 and allocation pool is NOT set 2024-10-25 10:28:21,813 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.93 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 = 2.926/3.117/3.309/0.191 ms') 2024-10-25 10:28:21,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-44074514-46522397 passed 2024-10-25 10:28:21,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 10:28:21,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44074514-46522397, IP 148.138.66.3, Port 22 2024-10-25 10:28:22,146 - DEBUG - VM ctest-TestBasicVMVNx-44074514-46522397 is ready for SSH connections 2024-10-25 10:28:22,146 - INFO - Waiting for VM ctest-TestBasicVMVNx-44074514-21415431 to be up.. 2024-10-25 10:28:22,246 - DEBUG - VM is in ACTIVE state now 2024-10-25 10:28:22,246 - INFO - VM name : ctest-TestBasicVMVNx-44074514-21415431 2024-10-25 10:28:22,337 - DEBUG - VM ctest-TestBasicVMVNx-44074514-21415431 ID is 4b29d417-3424-485c-bfa0-b431c9da4390 2024-10-25 10:28:22,337 - DEBUG - VM ctest-TestBasicVMVNx-44074514-21415431 launched on Node cn-jenkins-deploy-platform-ansible-os-2144-1 2024-10-25 10:28:22,438 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/4b29d417-3424-485c-bfa0-b431c9da4390 2024-10-25 10:28:22,451 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/9076d495-7a3f-4039-9b4c-33f612887c6e 2024-10-25 10:28:23,714 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.92 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.924/3.209/3.495/0.285 ms') 2024-10-25 10:28:23,715 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-44074514-21415431 passed 2024-10-25 10:28:23,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 10:28:23,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44074514-21415431, IP 148.138.66.4, Port 22 2024-10-25 10:28:23,953 - 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-10-25 10:28:24,052 - DEBUG - VM ctest-TestBasicVMVNx-44074514-21415431 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-25 10:28:29,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 10:28:29,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-44074514-21415431, IP 148.138.66.4, Port 22 2024-10-25 10:28:29,227 - DEBUG - VM ctest-TestBasicVMVNx-44074514-21415431 is ready for SSH connections 2024-10-25 10:28:29,227 - DEBUG - FILE SIZE = 1303B 2024-10-25 10:28:29,227 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-44074514-46522397 to ctest-TestBasicVMVNx-44074514-21415431 using scp 2024-10-25 10:28:29,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 10:28:29,237 - 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.37, gateway password: c0ntrail123 2024-10-25 10:28:29,238 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-25 10:28:31,321 - DEBUG - 1+0 records in 1+0 records out 2024-10-25 10:28:32,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-25 10:28:32,379 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-10-25 10:28:32,384 - DEBUG - ls -l testfile 2024-10-25 10:28:34,080 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 25 04:28 testfile 2024-10-25 10:28:34,080 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-44074514-21415431 2024-10-25 10:28:34,081 - INFO - Deleting VM ctest-TestBasicVMVNx-44074514-21415431 2024-10-25 10:28:34,176 - INFO - Deleting VM ctest-TestBasicVMVNx-44074514-46522397 2024-10-25 10:28:34,290 - INFO - Deleting VN ctest-vn-28691691 2024-10-25 10:28:34,354 - DEBUG - VN 7a42067f-8e07-4c95-9b29-42b88aab0907 still in use: Unable to complete operation on network 7a42067f-8e07-4c95-9b29-42b88aab0907. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2cad15a3-73b4-4cc5-9d87-7c0972002d42'] 2024-10-25 10:28:34,354 - WARNING - Deleting VN ctest-vn-28691691 failed..Will retry 2024-10-25 10:28:36,557 - DEBUG - Response for deleting network () 2024-10-25 10:28:36,838 - DEBUG - No XMPP flaps were noticed during the test 2024-10-25 10:28:36,839 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-10-25 10:28:36,839 - INFO - -------------------------------------------------------------------------------- 2024-10-25 10:28:37,760 - INFO - Deleted project: ctest-TestBasicVMVNx-44074514, ID : 4e675001-d4ed-4922-bce6-dc6acbd2c34e