2025-04-09 16:00:49,077 - INFO - Domain Default found not creating 2025-04-09 16:00:49,366 - INFO - Project ctest-TestBasicVMVNx-05290877 not found, creating it 2025-04-09 16:00:50,089 - INFO - Created Project:ctest-TestBasicVMVNx-05290877, ID : a105a3ae-9c69-4735-b2a6-5e8bf27e6272 2025-04-09 16:00:52,087 - INFO - ================================================================================ 2025-04-09 16:00:52,088 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-09 16:00:52,088 - 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-04-09 16:00:52,414 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-09 16:00:52,415 - INFO - Initial checks done. Running the testcase now 2025-04-09 16:00:52,415 - INFO - 2025-04-09 16:00:53,199 - DEBUG - Response for create_network : {'network': {'id': '3704bd0c-7be6-43df-8edd-c1144d681e05', 'name': 'ctest-vn-89987401', 'tenant_id': 'a105a3ae9c694735b2a65e8bf27e6272', 'project_id': 'a105a3ae9c694735b2a65e8bf27e6272', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05290877', 'ctest-vn-89987401'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 16:00:53,493 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8244ec2-83db-48f7-b133-b65a6366258b', 'name': '', 'tenant_id': 'a105a3ae9c694735b2a65e8bf27e6272', 'network_id': '3704bd0c-7be6-43df-8edd-c1144d681e05', 'ip_version': 4, 'cidr': '204.139.178.0/26', 'allocation_pools': [{'start': '204.139.178.2', 'end': '204.139.178.62'}], 'gateway_ip': '204.139.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.139.178.2', 'tags': [], 'project_id': 'a105a3ae9c694735b2a65e8bf27e6272'}} 2025-04-09 16:00:53,513 - INFO - Created VN ctest-vn-89987401 2025-04-09 16:00:53,569 - DEBUG - VN ctest-vn-89987401 UUID is 3704bd0c-7be6-43df-8edd-c1144d681e05 2025-04-09 16:00:53,768 - DEBUG - Services list from nova: [, , ] 2025-04-09 16:00:55,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3070-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3070-1) 2025-04-09 16:00:56,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3070-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3070-1) 2025-04-09 16:00:56,777 - INFO - Waiting for VM ctest-TestBasicVMVNx-05290877-12407063 to be up.. 2025-04-09 16:00:56,863 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 16:01:01,998 - DEBUG - VM is in ACTIVE state now 2025-04-09 16:01:01,999 - INFO - VM name : ctest-TestBasicVMVNx-05290877-12407063 2025-04-09 16:01:02,087 - DEBUG - VM ctest-TestBasicVMVNx-05290877-12407063 ID is ff4c3f42-daf0-4ed2-a7a7-49b74381b1af 2025-04-09 16:01:02,110 - DEBUG - VM ctest-TestBasicVMVNx-05290877-12407063 launched on Node cn-jenkins-deploy-platform-ansible-os-3070-1 2025-04-09 16:01:02,193 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ff4c3f42-daf0-4ed2-a7a7-49b74381b1af 2025-04-09 16:01:02,519 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ff4c3f42-daf0-4ed2-a7a7-49b74381b1af 2025-04-09 16:01:02,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/46861791-5470-499f-963b-13476e0e5d59 2025-04-09 16:01:05,881 - 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 1029ms') 2025-04-09 16:01:05,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05290877-12407063 failed! 2025-04-09 16:01:05,958 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05290877:ctest-vn-89987401 is 204.139.178.1 and allocation pool is NOT set 2025-04-09 16:01:08,047 - 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=9.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.761/5.655/9.549/3.894 ms') 2025-04-09 16:01:08,047 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05290877-12407063 passed 2025-04-09 16:01:08,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:01:08,222 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05290877-12407063, IP 204.139.178.3, Port 22 2025-04-09 16:01:08,304 - 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-04-09 16:01:08,469 - DEBUG - VM ctest-TestBasicVMVNx-05290877-12407063 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-09 16:01:13,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:01:13,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05290877-12407063, IP 204.139.178.3, Port 22 2025-04-09 16:01:13,664 - DEBUG - VM ctest-TestBasicVMVNx-05290877-12407063 is ready for SSH connections 2025-04-09 16:01:13,664 - INFO - Waiting for VM ctest-TestBasicVMVNx-05290877-03874618 to be up.. 2025-04-09 16:01:13,842 - DEBUG - VM is in ACTIVE state now 2025-04-09 16:01:13,843 - INFO - VM name : ctest-TestBasicVMVNx-05290877-03874618 2025-04-09 16:01:14,011 - DEBUG - VM ctest-TestBasicVMVNx-05290877-03874618 ID is e00b6014-7b52-49e7-b660-38e0fbef6c19 2025-04-09 16:01:14,011 - DEBUG - VM ctest-TestBasicVMVNx-05290877-03874618 launched on Node cn-jenkins-deploy-platform-ansible-os-3070-1 2025-04-09 16:01:14,199 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e00b6014-7b52-49e7-b660-38e0fbef6c19 2025-04-09 16:01:14,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7368f3d5-b70f-4a99-b711-8523f9dcf2c4 2025-04-09 16:01:15,524 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.970 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.970/2.397/3.825/1.427 ms') 2025-04-09 16:01:15,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05290877-03874618 passed 2025-04-09 16:01:15,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:01:15,707 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05290877-03874618, IP 204.139.178.4, Port 22 2025-04-09 16:01:15,899 - DEBUG - VM ctest-TestBasicVMVNx-05290877-03874618 is ready for SSH connections 2025-04-09 16:01:15,900 - DEBUG - FILE SIZE = 1303B 2025-04-09 16:01:15,900 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05290877-12407063 to ctest-TestBasicVMVNx-05290877-03874618 using scp 2025-04-09 16:01:15,903 - 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.254, gateway password: c0ntrail123 2025-04-09 16:01:15,904 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-09 16:01:18,346 - DEBUG - 1+0 records in 1+0 records out 2025-04-09 16:01:19,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:01:19,637 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-09 16:01:19,638 - DEBUG - ls -l testfile 2025-04-09 16:01:21,535 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 9 10:01 testfile 2025-04-09 16:01:21,536 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05290877-03874618 2025-04-09 16:01:21,536 - INFO - Deleting VM ctest-TestBasicVMVNx-05290877-03874618 2025-04-09 16:01:21,706 - INFO - Deleting VM ctest-TestBasicVMVNx-05290877-12407063 2025-04-09 16:01:21,878 - INFO - Deleting VN ctest-vn-89987401 2025-04-09 16:01:21,984 - DEBUG - VN 3704bd0c-7be6-43df-8edd-c1144d681e05 still in use: Unable to complete operation on network 3704bd0c-7be6-43df-8edd-c1144d681e05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46e6f8c9-2522-4986-b172-9fd5ae7f4e1b'] 2025-04-09 16:01:21,984 - WARNING - Deleting VN ctest-vn-89987401 failed..Will retry 2025-04-09 16:01:24,264 - DEBUG - Response for deleting network () 2025-04-09 16:01:24,567 - DEBUG - No XMPP flaps were noticed during the test 2025-04-09 16:01:24,568 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32] 2025-04-09 16:01:24,568 - INFO - -------------------------------------------------------------------------------- 2025-04-09 16:01:25,453 - INFO - Deleted project: ctest-TestBasicVMVNx-05290877, ID : a105a3ae-9c69-4735-b2a6-5e8bf27e6272