2025-03-28 23:27:57,762 - INFO - Domain Default found not creating 2025-03-28 23:27:57,937 - INFO - Project ctest-TestBasicVMVNx-36273285 not found, creating it 2025-03-28 23:27:58,440 - INFO - Created Project:ctest-TestBasicVMVNx-36273285, ID : db8899c0-7a67-44ea-8ced-64adf832cc27 2025-03-28 23:28:00,134 - INFO - ================================================================================ 2025-03-28 23:28:00,134 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-28 23:28:00,134 - 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-03-28 23:28:00,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.19': '0'}} with 2025-03-28 23:28:00,417 - INFO - Initial checks done. Running the testcase now 2025-03-28 23:28:00,417 - INFO - 2025-03-28 23:28:00,984 - DEBUG - Response for create_network : {'network': {'id': 'f35b6176-de96-4eaf-9dd4-b8890d7b75c7', 'name': 'ctest-vn-70110478', 'tenant_id': 'db8899c07a6744ea8ced64adf832cc27', 'project_id': 'db8899c07a6744ea8ced64adf832cc27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-36273285', 'ctest-vn-70110478'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 23:28:01,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b8a8cdb-0374-4e6a-8573-4c46af73d280', 'name': '', 'tenant_id': 'db8899c07a6744ea8ced64adf832cc27', 'network_id': 'f35b6176-de96-4eaf-9dd4-b8890d7b75c7', 'ip_version': 4, 'cidr': '101.152.136.64/26', 'allocation_pools': [{'start': '101.152.136.66', 'end': '101.152.136.126'}], 'gateway_ip': '101.152.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.152.136.66', 'tags': [], 'project_id': 'db8899c07a6744ea8ced64adf832cc27'}} 2025-03-28 23:28:01,184 - INFO - Created VN ctest-vn-70110478 2025-03-28 23:28:01,240 - DEBUG - VN ctest-vn-70110478 UUID is f35b6176-de96-4eaf-9dd4-b8890d7b75c7 2025-03-28 23:28:01,434 - DEBUG - Services list from nova: [, , ] 2025-03-28 23:28:02,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2998-1) 2025-03-28 23:28:03,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2998-1) 2025-03-28 23:28:03,846 - INFO - Waiting for VM ctest-TestBasicVMVNx-36273285-42354157 to be up.. 2025-03-28 23:28:03,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 23:28:09,044 - DEBUG - VM is in ACTIVE state now 2025-03-28 23:28:09,044 - INFO - VM name : ctest-TestBasicVMVNx-36273285-42354157 2025-03-28 23:28:09,138 - DEBUG - VM ctest-TestBasicVMVNx-36273285-42354157 ID is 513e0b12-9aca-4203-b785-ef29585d00d7 2025-03-28 23:28:09,299 - DEBUG - VM ctest-TestBasicVMVNx-36273285-42354157 launched on Node cn-jenkins-deploy-platform-ansible-os-2998-1 2025-03-28 23:28:09,425 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/513e0b12-9aca-4203-b785-ef29585d00d7 2025-03-28 23:28:09,740 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/513e0b12-9aca-4203-b785-ef29585d00d7 2025-03-28 23:28:09,783 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/25d3fb56-0ff2-4621-980a-4fca843f2839 2025-03-28 23:28:13,072 - 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 1010ms') 2025-03-28 23:28:13,072 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36273285-42354157 failed! 2025-03-28 23:28:13,128 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-36273285:ctest-vn-70110478 is 101.152.136.65 and allocation pool is NOT set 2025-03-28 23:28:15,198 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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 = 1.114/2.963/4.813/1.849 ms') 2025-03-28 23:28:15,198 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36273285-42354157 passed 2025-03-28 23:28:15,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 23:28:15,352 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36273285-42354157, IP 101.152.136.67, Port 22 2025-03-28 23:28:15,418 - 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-03-28 23:28:15,546 - DEBUG - VM ctest-TestBasicVMVNx-36273285-42354157 is NOT ready for SSH connections, VM status: ACTIVE 2025-03-28 23:28:20,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 23:28:20,547 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36273285-42354157, IP 101.152.136.67, Port 22 2025-03-28 23:28:20,735 - DEBUG - VM ctest-TestBasicVMVNx-36273285-42354157 is ready for SSH connections 2025-03-28 23:28:20,735 - INFO - Waiting for VM ctest-TestBasicVMVNx-36273285-75180742 to be up.. 2025-03-28 23:28:20,832 - DEBUG - VM is in ACTIVE state now 2025-03-28 23:28:20,832 - INFO - VM name : ctest-TestBasicVMVNx-36273285-75180742 2025-03-28 23:28:20,933 - DEBUG - VM ctest-TestBasicVMVNx-36273285-75180742 ID is c8f281bb-85b2-42fe-a1d1-84b99f0e4222 2025-03-28 23:28:20,933 - DEBUG - VM ctest-TestBasicVMVNx-36273285-75180742 launched on Node cn-jenkins-deploy-platform-ansible-os-2998-1 2025-03-28 23:28:21,043 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/c8f281bb-85b2-42fe-a1d1-84b99f0e4222 2025-03-28 23:28:21,055 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/8dd8b39e-9575-4d44-b3c4-4859c80983a9 2025-03-28 23:28:22,316 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/2.066/3.676/1.610 ms') 2025-03-28 23:28:22,316 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-36273285-75180742 passed 2025-03-28 23:28:22,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 23:28:22,472 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36273285-75180742, IP 101.152.136.68, Port 22 2025-03-28 23:28:22,650 - DEBUG - VM ctest-TestBasicVMVNx-36273285-75180742 is ready for SSH connections 2025-03-28 23:28:22,650 - DEBUG - FILE SIZE = 1303B 2025-03-28 23:28:22,650 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-36273285-42354157 to ctest-TestBasicVMVNx-36273285-75180742 using scp 2025-03-28 23:28:22,651 - 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.24, gateway password: c0ntrail123 2025-03-28 23:28:22,651 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-28 23:28:24,691 - DEBUG - 1+0 records in 1+0 records out 2025-03-28 23:28:25,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 23:28:25,927 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-03-28 23:28:25,928 - DEBUG - ls -l testfile 2025-03-28 23:28:27,557 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 28 17:28 testfile 2025-03-28 23:28:27,557 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-36273285-75180742 2025-03-28 23:28:27,558 - INFO - Deleting VM ctest-TestBasicVMVNx-36273285-75180742 2025-03-28 23:28:27,651 - INFO - Deleting VM ctest-TestBasicVMVNx-36273285-42354157 2025-03-28 23:28:27,738 - INFO - Deleting VN ctest-vn-70110478 2025-03-28 23:28:27,782 - DEBUG - VN f35b6176-de96-4eaf-9dd4-b8890d7b75c7 still in use: Unable to complete operation on network f35b6176-de96-4eaf-9dd4-b8890d7b75c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81ce8a50-2427-4d6c-a045-b583a88d1dfc'] 2025-03-28 23:28:27,783 - WARNING - Deleting VN ctest-vn-70110478 failed..Will retry 2025-03-28 23:28:29,968 - DEBUG - Response for deleting network () 2025-03-28 23:28:30,237 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 23:28:30,237 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-03-28 23:28:30,238 - INFO - -------------------------------------------------------------------------------- 2025-03-28 23:28:31,013 - INFO - Deleted project: ctest-TestBasicVMVNx-36273285, ID : db8899c0-7a67-44ea-8ced-64adf832cc27