2025-11-27 02:16:11,076 - INFO - Domain Default found not creating 2025-11-27 02:16:11,285 - INFO - Project ctest-TestBasicVMVNx-60637309 not found, creating it 2025-11-27 02:16:11,794 - INFO - Created Project:ctest-TestBasicVMVNx-60637309, ID : 0fcaa041-0803-4569-bf1e-d27174cd0978 2025-11-27 02:16:13,664 - INFO - ================================================================================ 2025-11-27 02:16:13,664 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-27 02:16:13,665 - 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-11-27 02:16:13,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.201': '0'}} with 2025-11-27 02:16:13,941 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:16:13,941 - INFO - 2025-11-27 02:16:14,593 - DEBUG - Response for create_network : {'network': {'id': 'db36f4df-7db4-4df2-83a3-6132877c8e82', 'name': 'ctest-vn-54094671', 'tenant_id': '0fcaa04108034569bf1ed27174cd0978', 'project_id': '0fcaa04108034569bf1ed27174cd0978', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60637309', 'ctest-vn-54094671'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:16:14,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b8978e7-8b7a-471c-95d6-f5ae855770a4', 'name': '', 'tenant_id': '0fcaa04108034569bf1ed27174cd0978', 'network_id': 'db36f4df-7db4-4df2-83a3-6132877c8e82', 'ip_version': 4, 'cidr': '171.132.36.64/26', 'allocation_pools': [{'start': '171.132.36.66', 'end': '171.132.36.126'}], 'gateway_ip': '171.132.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.132.36.66', 'tags': [], 'project_id': '0fcaa04108034569bf1ed27174cd0978'}} 2025-11-27 02:16:14,869 - INFO - Created VN ctest-vn-54094671 2025-11-27 02:16:14,923 - DEBUG - VN ctest-vn-54094671 UUID is db36f4df-7db4-4df2-83a3-6132877c8e82 2025-11-27 02:16:15,113 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:16:16,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4821-1) 2025-11-27 02:16:17,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4821-1) 2025-11-27 02:16:17,647 - INFO - Waiting for VM ctest-TestBasicVMVNx-60637309-74117090 to be up.. 2025-11-27 02:16:17,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:16:22,828 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:16:22,828 - INFO - VM name : ctest-TestBasicVMVNx-60637309-74117090 2025-11-27 02:16:22,908 - DEBUG - VM ctest-TestBasicVMVNx-60637309-74117090 ID is 4ef352a4-075b-437d-9e40-160a28e89eca 2025-11-27 02:16:22,933 - DEBUG - VM ctest-TestBasicVMVNx-60637309-74117090 launched on Node cn-jenkins-deploy-platform-ansible-os-4821-1 2025-11-27 02:16:23,018 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/4ef352a4-075b-437d-9e40-160a28e89eca 2025-11-27 02:16:23,370 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/4ef352a4-075b-437d-9e40-160a28e89eca 2025-11-27 02:16:23,410 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1ffb1fbf-7433-49a2-87f9-03d706a0df1a 2025-11-27 02:16:26,669 - 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 1008ms') 2025-11-27 02:16:26,670 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60637309-74117090 failed! 2025-11-27 02:16:26,727 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60637309:ctest-vn-54094671 is 171.132.36.65 and allocation pool is NOT set 2025-11-27 02:16:28,796 - 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=4.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.881 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.881/2.665/4.450/1.784 ms') 2025-11-27 02:16:28,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60637309-74117090 passed 2025-11-27 02:16:28,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:16:28,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60637309-74117090, IP 171.132.36.67, Port 22 2025-11-27 02:16:29,121 - DEBUG - VM ctest-TestBasicVMVNx-60637309-74117090 is ready for SSH connections 2025-11-27 02:16:29,121 - INFO - Waiting for VM ctest-TestBasicVMVNx-60637309-49173664 to be up.. 2025-11-27 02:16:29,215 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:16:29,215 - INFO - VM name : ctest-TestBasicVMVNx-60637309-49173664 2025-11-27 02:16:29,294 - DEBUG - VM ctest-TestBasicVMVNx-60637309-49173664 ID is 55ffdba0-a1db-4d75-a4bc-a0079be2f9b5 2025-11-27 02:16:29,294 - DEBUG - VM ctest-TestBasicVMVNx-60637309-49173664 launched on Node cn-jenkins-deploy-platform-ansible-os-4821-1 2025-11-27 02:16:29,375 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/55ffdba0-a1db-4d75-a4bc-a0079be2f9b5 2025-11-27 02:16:29,386 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/cdcf9d7d-5cac-4b60-86a5-a847d460c159 2025-11-27 02:16:30,642 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.64 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 = 3.644/3.730/3.816/0.086 ms') 2025-11-27 02:16:30,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60637309-49173664 passed 2025-11-27 02:16:30,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:16:30,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60637309-49173664, IP 171.132.36.68, Port 22 2025-11-27 02:16:30,857 - 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': ''} 2025-11-27 02:16:30,935 - DEBUG - VM ctest-TestBasicVMVNx-60637309-49173664 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 02:16:35,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:16:35,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60637309-49173664, IP 171.132.36.68, Port 22 2025-11-27 02:16:36,112 - DEBUG - VM ctest-TestBasicVMVNx-60637309-49173664 is ready for SSH connections 2025-11-27 02:16:36,113 - DEBUG - FILE SIZE = 1303B 2025-11-27 02:16:36,113 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60637309-74117090 to ctest-TestBasicVMVNx-60637309-49173664 using scp 2025-11-27 02:16:36,114 - 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.65, gateway password: c0ntrail123 2025-11-27 02:16:36,114 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-27 02:16:38,218 - DEBUG - 1+0 records in 1+0 records out 2025-11-27 02:16:38,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:16:38,919 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-27 02:16:38,920 - DEBUG - ls -l testfile 2025-11-27 02:16:40,620 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 26 19:16 testfile 2025-11-27 02:16:40,620 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60637309-49173664 2025-11-27 02:16:40,620 - INFO - Deleting VM ctest-TestBasicVMVNx-60637309-49173664 2025-11-27 02:16:40,712 - INFO - Deleting VM ctest-TestBasicVMVNx-60637309-74117090 2025-11-27 02:16:40,789 - INFO - Deleting VN ctest-vn-54094671 2025-11-27 02:16:40,830 - DEBUG - VN db36f4df-7db4-4df2-83a3-6132877c8e82 still in use: Unable to complete operation on network db36f4df-7db4-4df2-83a3-6132877c8e82. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86fadd36-b77c-4eac-a718-2e93325a2455'] 2025-11-27 02:16:40,830 - WARNING - Deleting VN ctest-vn-54094671 failed..Will retry 2025-11-27 02:16:42,925 - DEBUG - Response for deleting network () 2025-11-27 02:16:43,201 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:16:43,201 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-11-27 02:16:43,201 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:16:43,978 - INFO - Deleted project: ctest-TestBasicVMVNx-60637309, ID : 0fcaa041-0803-4569-bf1e-d27174cd0978