2025-02-06 02:24:16,986 - INFO - Domain Default found not creating 2025-02-06 02:24:17,125 - INFO - Project ctest-TestBasicVMVNx-53666380 not found, creating it 2025-02-06 02:24:17,576 - INFO - Created Project:ctest-TestBasicVMVNx-53666380, ID : 556adeed-1042-4346-abea-4f7792243de9 2025-02-06 02:24:19,095 - INFO - ================================================================================ 2025-02-06 02:24:19,095 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-06 02:24:19,095 - 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 2025-02-06 02:24:19,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.39': '0'}} with 2025-02-06 02:24:19,352 - INFO - Initial checks done. Running the testcase now 2025-02-06 02:24:19,352 - INFO - 2025-02-06 02:24:19,961 - DEBUG - Response for create_network : {'network': {'id': '7fe9f860-0d7c-4e61-8e5e-ecfcf64a0d22', 'name': 'ctest-vn-04812496', 'tenant_id': '556adeed10424346abea4f7792243de9', 'project_id': '556adeed10424346abea4f7792243de9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-53666380', 'ctest-vn-04812496'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:24:20,113 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6a41f7a-ccca-4c4a-9eb0-71462b3a0993', 'name': '', 'tenant_id': '556adeed10424346abea4f7792243de9', 'network_id': '7fe9f860-0d7c-4e61-8e5e-ecfcf64a0d22', 'ip_version': 4, 'cidr': '4.26.19.64/26', 'allocation_pools': [{'start': '4.26.19.66', 'end': '4.26.19.126'}], 'gateway_ip': '4.26.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.26.19.66', 'tags': [], 'project_id': '556adeed10424346abea4f7792243de9'}} 2025-02-06 02:24:20,130 - INFO - Created VN ctest-vn-04812496 2025-02-06 02:24:20,184 - DEBUG - VN ctest-vn-04812496 UUID is 7fe9f860-0d7c-4e61-8e5e-ecfcf64a0d22 2025-02-06 02:24:20,387 - DEBUG - Services list from nova: [, , ] 2025-02-06 02:24:21,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2699-1) 2025-02-06 02:24:22,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2699-1) 2025-02-06 02:24:22,700 - INFO - Waiting for VM ctest-TestBasicVMVNx-53666380-00324104 to be up.. 2025-02-06 02:24:22,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 02:24:27,869 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:24:27,869 - INFO - VM name : ctest-TestBasicVMVNx-53666380-00324104 2025-02-06 02:24:27,962 - DEBUG - VM ctest-TestBasicVMVNx-53666380-00324104 ID is bf311032-f36f-46b8-9835-abe7dca8d747 2025-02-06 02:24:27,981 - DEBUG - VM ctest-TestBasicVMVNx-53666380-00324104 launched on Node cn-jenkins-deploy-platform-ansible-os-2699-1 2025-02-06 02:24:28,059 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/bf311032-f36f-46b8-9835-abe7dca8d747 2025-02-06 02:24:28,397 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/bf311032-f36f-46b8-9835-abe7dca8d747 2025-02-06 02:24:28,429 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/2c21ab30-e6f0-4d85-8ebe-fc7b8b0bc495 2025-02-06 02:24:31,710 - 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 1030ms') 2025-02-06 02:24:31,710 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53666380-00324104 failed! 2025-02-06 02:24:31,768 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-53666380:ctest-vn-04812496 is 4.26.19.65 and allocation pool is NOT set 2025-02-06 02:24:33,827 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.880 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.880/3.334/5.789/2.454 ms') 2025-02-06 02:24:33,827 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53666380-00324104 passed 2025-02-06 02:24:33,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:24:33,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53666380-00324104, IP 4.26.19.67, Port 22 2025-02-06 02:24:34,031 - 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': ''} 2025-02-06 02:24:34,103 - DEBUG - VM ctest-TestBasicVMVNx-53666380-00324104 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-06 02:24:39,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:24:39,104 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53666380-00324104, IP 4.26.19.67, Port 22 2025-02-06 02:24:39,259 - DEBUG - VM ctest-TestBasicVMVNx-53666380-00324104 is ready for SSH connections 2025-02-06 02:24:39,259 - INFO - Waiting for VM ctest-TestBasicVMVNx-53666380-41518769 to be up.. 2025-02-06 02:24:39,341 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:24:39,341 - INFO - VM name : ctest-TestBasicVMVNx-53666380-41518769 2025-02-06 02:24:39,422 - DEBUG - VM ctest-TestBasicVMVNx-53666380-41518769 ID is 85bf3baf-0016-4f2a-a958-c05c4172d431 2025-02-06 02:24:39,422 - DEBUG - VM ctest-TestBasicVMVNx-53666380-41518769 launched on Node cn-jenkins-deploy-platform-ansible-os-2699-1 2025-02-06 02:24:39,502 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/85bf3baf-0016-4f2a-a958-c05c4172d431 2025-02-06 02:24:39,512 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/554e3420-c9f6-49e2-93c6-aba091f92839 2025-02-06 02:24:40,756 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.771/3.130/1.359 ms') 2025-02-06 02:24:40,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-53666380-41518769 passed 2025-02-06 02:24:40,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:24:40,908 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53666380-41518769, IP 4.26.19.68, Port 22 2025-02-06 02:24:41,064 - DEBUG - VM ctest-TestBasicVMVNx-53666380-41518769 is ready for SSH connections 2025-02-06 02:24:41,064 - DEBUG - FILE SIZE = 1303B 2025-02-06 02:24:41,064 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-53666380-00324104 to ctest-TestBasicVMVNx-53666380-41518769 using scp 2025-02-06 02:24:41,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.35, gateway password: c0ntrail123 2025-02-06 02:24:41,065 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-06 02:24:43,022 - DEBUG - 1+0 records in 1+0 records out 2025-02-06 02:24:43,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:24:44,037 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-06 02:24:44,037 - DEBUG - ls -l testfile 2025-02-06 02:24:45,641 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 5 19:24 testfile 2025-02-06 02:24:45,641 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-53666380-41518769 2025-02-06 02:24:45,641 - INFO - Deleting VM ctest-TestBasicVMVNx-53666380-41518769 2025-02-06 02:24:45,707 - INFO - Deleting VM ctest-TestBasicVMVNx-53666380-00324104 2025-02-06 02:24:45,771 - INFO - Deleting VN ctest-vn-04812496 2025-02-06 02:24:45,808 - DEBUG - VN 7fe9f860-0d7c-4e61-8e5e-ecfcf64a0d22 still in use: Unable to complete operation on network 7fe9f860-0d7c-4e61-8e5e-ecfcf64a0d22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f6ba1d0-84a8-4785-ab37-2493f3c3c3a6'] 2025-02-06 02:24:45,809 - WARNING - Deleting VN ctest-vn-04812496 failed..Will retry 2025-02-06 02:24:47,917 - DEBUG - Response for deleting network () 2025-02-06 02:24:48,182 - DEBUG - No XMPP flaps were noticed during the test 2025-02-06 02:24:48,182 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-02-06 02:24:48,183 - INFO - -------------------------------------------------------------------------------- 2025-02-06 02:24:48,897 - INFO - Deleted project: ctest-TestBasicVMVNx-53666380, ID : 556adeed-1042-4346-abea-4f7792243de9