2025-08-05 20:04:58,304 - INFO - Domain Default found not creating 2025-08-05 20:04:58,744 - INFO - Project ctest-TestBasicVMVNx-95257402 not found, creating it 2025-08-05 20:04:59,426 - INFO - Created Project:ctest-TestBasicVMVNx-95257402, ID : 40a132ab-73e6-4c22-ba3e-29b1fc315b0f 2025-08-05 20:05:01,741 - INFO - ================================================================================ 2025-08-05 20:05:01,741 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-05 20:05:01,741 - 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-08-05 20:05:02,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-08-05 20:05:02,063 - INFO - Initial checks done. Running the testcase now 2025-08-05 20:05:02,064 - INFO - 2025-08-05 20:05:02,835 - DEBUG - Response for create_network : {'network': {'id': 'da8b2eea-6cb5-4ca6-8181-155435379a6f', 'name': 'ctest-vn-99630788', 'tenant_id': '40a132ab73e64c22ba3e29b1fc315b0f', 'project_id': '40a132ab73e64c22ba3e29b1fc315b0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95257402', 'ctest-vn-99630788'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 20:05:03,128 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8268671-b883-427c-92c8-11d6ca65a1c7', 'name': '', 'tenant_id': '40a132ab73e64c22ba3e29b1fc315b0f', 'network_id': 'da8b2eea-6cb5-4ca6-8181-155435379a6f', 'ip_version': 4, 'cidr': '179.202.147.64/26', 'allocation_pools': [{'start': '179.202.147.66', 'end': '179.202.147.126'}], 'gateway_ip': '179.202.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.202.147.66', 'tags': [], 'project_id': '40a132ab73e64c22ba3e29b1fc315b0f'}} 2025-08-05 20:05:03,167 - INFO - Created VN ctest-vn-99630788 2025-08-05 20:05:03,232 - DEBUG - VN ctest-vn-99630788 UUID is da8b2eea-6cb5-4ca6-8181-155435379a6f 2025-08-05 20:05:03,540 - DEBUG - Services list from nova: [, , ] 2025-08-05 20:05:05,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1) 2025-08-05 20:05:06,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1) 2025-08-05 20:05:06,986 - INFO - Waiting for VM ctest-TestBasicVMVNx-95257402-84371143 to be up.. 2025-08-05 20:05:07,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-05 20:05:12,209 - DEBUG - VM is in ACTIVE state now 2025-08-05 20:05:12,209 - INFO - VM name : ctest-TestBasicVMVNx-95257402-84371143 2025-08-05 20:05:12,386 - DEBUG - VM ctest-TestBasicVMVNx-95257402-84371143 ID is a2832b88-1106-4490-88fe-4dc2ba534788 2025-08-05 20:05:12,434 - DEBUG - VM ctest-TestBasicVMVNx-95257402-84371143 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1 2025-08-05 20:05:12,603 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a2832b88-1106-4490-88fe-4dc2ba534788 2025-08-05 20:05:12,928 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a2832b88-1106-4490-88fe-4dc2ba534788 2025-08-05 20:05:13,003 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/ae9cb708-ff79-4397-84c5-f70225b8e12f 2025-08-05 20:05:16,382 - 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-08-05 20:05:16,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95257402-84371143 failed! 2025-08-05 20:05:16,440 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95257402:ctest-vn-99630788 is 179.202.147.65 and allocation pool is NOT set 2025-08-05 20:05:18,516 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.47 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.469/4.002/5.536/1.533 ms') 2025-08-05 20:05:18,516 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95257402-84371143 passed 2025-08-05 20:05:18,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:05:18,684 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95257402-84371143, IP 179.202.147.67, Port 22 2025-08-05 20:05:18,752 - 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-08-05 20:05:18,929 - DEBUG - VM ctest-TestBasicVMVNx-95257402-84371143 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-05 20:05:23,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:05:23,930 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95257402-84371143, IP 179.202.147.67, Port 22 2025-08-05 20:05:24,137 - DEBUG - VM ctest-TestBasicVMVNx-95257402-84371143 is ready for SSH connections 2025-08-05 20:05:24,138 - INFO - Waiting for VM ctest-TestBasicVMVNx-95257402-57169859 to be up.. 2025-08-05 20:05:24,342 - DEBUG - VM is in ACTIVE state now 2025-08-05 20:05:24,342 - INFO - VM name : ctest-TestBasicVMVNx-95257402-57169859 2025-08-05 20:05:24,543 - DEBUG - VM ctest-TestBasicVMVNx-95257402-57169859 ID is 45eb69c6-8171-4c5e-8359-3dc2387f3dbd 2025-08-05 20:05:24,543 - DEBUG - VM ctest-TestBasicVMVNx-95257402-57169859 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1 2025-08-05 20:05:24,756 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/45eb69c6-8171-4c5e-8359-3dc2387f3dbd 2025-08-05 20:05:24,785 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/7832f89b-2d00-497f-af44-80e2a5f0f213 2025-08-05 20:05:26,170 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.889 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 = 0.889/2.234/3.579/1.345 ms') 2025-08-05 20:05:26,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95257402-57169859 passed 2025-08-05 20:05:26,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:05:26,349 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95257402-57169859, IP 179.202.147.68, Port 22 2025-08-05 20:05:26,550 - DEBUG - VM ctest-TestBasicVMVNx-95257402-57169859 is ready for SSH connections 2025-08-05 20:05:26,551 - DEBUG - FILE SIZE = 1303B 2025-08-05 20:05:26,551 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95257402-84371143 to ctest-TestBasicVMVNx-95257402-57169859 using scp 2025-08-05 20:05:26,554 - 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.49, gateway password: c0ntrail123 2025-08-05 20:05:26,555 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-05 20:05:28,780 - DEBUG - 1+0 records in 1+0 records out 2025-08-05 20:05:29,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:05:29,879 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 20:05:29,886 - DEBUG - ls -l testfile 2025-08-05 20:05:31,714 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 5 14:05 testfile 2025-08-05 20:05:31,714 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95257402-57169859 2025-08-05 20:05:31,714 - INFO - Deleting VM ctest-TestBasicVMVNx-95257402-57169859 2025-08-05 20:05:31,801 - INFO - Deleting VM ctest-TestBasicVMVNx-95257402-84371143 2025-08-05 20:05:31,892 - INFO - Deleting VN ctest-vn-99630788 2025-08-05 20:05:31,963 - DEBUG - VN da8b2eea-6cb5-4ca6-8181-155435379a6f still in use: Unable to complete operation on network da8b2eea-6cb5-4ca6-8181-155435379a6f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ef3786c-96aa-47a7-ba6c-18784cc2fcc7'] 2025-08-05 20:05:31,963 - WARNING - Deleting VN ctest-vn-99630788 failed..Will retry 2025-08-05 20:05:34,195 - DEBUG - Response for deleting network () 2025-08-05 20:05:34,512 - DEBUG - No XMPP flaps were noticed during the test 2025-08-05 20:05:34,512 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2025-08-05 20:05:34,513 - INFO - -------------------------------------------------------------------------------- 2025-08-05 20:05:35,518 - INFO - Deleted project: ctest-TestBasicVMVNx-95257402, ID : 40a132ab-73e6-4c22-ba3e-29b1fc315b0f