2025-08-28 17:17:44,175 - INFO - Domain Default found not creating 2025-08-28 17:17:44,298 - INFO - Project ctest-TestBasicVMVNx-18236288 not found, creating it 2025-08-28 17:17:44,743 - INFO - Created Project:ctest-TestBasicVMVNx-18236288, ID : 859b48df-00ae-483d-9359-808d20a88db6 2025-08-28 17:17:46,053 - INFO - ================================================================================ 2025-08-28 17:17:46,053 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-28 17:17:46,053 - 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-28 17:17:46,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-08-28 17:17:46,317 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:17:46,317 - INFO - 2025-08-28 17:17:46,815 - DEBUG - Response for create_network : {'network': {'id': '8ecb74bd-d7d0-4c26-8592-fd7e85212af3', 'name': 'ctest-vn-99933311', 'tenant_id': '859b48df00ae483d9359808d20a88db6', 'project_id': '859b48df00ae483d9359808d20a88db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-18236288', 'ctest-vn-99933311'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:17:47,011 - DEBUG - Response for create_subnet : {'subnet': {'id': '369915f1-efc0-4559-a38c-48122d33fc69', 'name': '', 'tenant_id': '859b48df00ae483d9359808d20a88db6', 'network_id': '8ecb74bd-d7d0-4c26-8592-fd7e85212af3', 'ip_version': 4, 'cidr': '30.68.32.128/26', 'allocation_pools': [{'start': '30.68.32.130', 'end': '30.68.32.190'}], 'gateway_ip': '30.68.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.68.32.130', 'tags': [], 'project_id': '859b48df00ae483d9359808d20a88db6'}} 2025-08-28 17:17:47,026 - INFO - Created VN ctest-vn-99933311 2025-08-28 17:17:47,077 - DEBUG - VN ctest-vn-99933311 UUID is 8ecb74bd-d7d0-4c26-8592-fd7e85212af3 2025-08-28 17:17:47,260 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:17:48,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3962-1) 2025-08-28 17:17:49,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3962-1) 2025-08-28 17:17:49,328 - INFO - Waiting for VM ctest-TestBasicVMVNx-18236288-93499938 to be up.. 2025-08-28 17:17:49,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:17:54,456 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:17:54,456 - INFO - VM name : ctest-TestBasicVMVNx-18236288-93499938 2025-08-28 17:17:54,514 - DEBUG - VM ctest-TestBasicVMVNx-18236288-93499938 ID is a3626ded-a34c-4bcc-897e-59df9e887e55 2025-08-28 17:17:54,531 - DEBUG - VM ctest-TestBasicVMVNx-18236288-93499938 launched on Node cn-jenkins-deploy-platform-ansible-os-3962-1 2025-08-28 17:17:54,591 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a3626ded-a34c-4bcc-897e-59df9e887e55 2025-08-28 17:17:54,877 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a3626ded-a34c-4bcc-897e-59df9e887e55 2025-08-28 17:17:54,903 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f3ab145c-6ddf-4d68-bf57-f4b11b555115 2025-08-28 17:17:58,161 - 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 1028ms') 2025-08-28 17:17:58,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18236288-93499938 failed! 2025-08-28 17:17:58,213 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-18236288:ctest-vn-99933311 is 30.68.32.129 and allocation pool is NOT set 2025-08-28 17:18:00,269 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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 = 0.406/1.597/2.788/1.191 ms') 2025-08-28 17:18:00,269 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18236288-93499938 passed 2025-08-28 17:18:00,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:18:00,421 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18236288-93499938, IP 30.68.32.131, Port 22 2025-08-28 17:18:00,572 - DEBUG - VM ctest-TestBasicVMVNx-18236288-93499938 is ready for SSH connections 2025-08-28 17:18:00,572 - INFO - Waiting for VM ctest-TestBasicVMVNx-18236288-50530270 to be up.. 2025-08-28 17:18:00,633 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:18:00,633 - INFO - VM name : ctest-TestBasicVMVNx-18236288-50530270 2025-08-28 17:18:00,696 - DEBUG - VM ctest-TestBasicVMVNx-18236288-50530270 ID is d07bdd0c-3111-4b48-b013-39107cb5c459 2025-08-28 17:18:00,696 - DEBUG - VM ctest-TestBasicVMVNx-18236288-50530270 launched on Node cn-jenkins-deploy-platform-ansible-os-3962-1 2025-08-28 17:18:00,754 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d07bdd0c-3111-4b48-b013-39107cb5c459 2025-08-28 17:18:00,760 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/912101a1-416c-4bc9-b7f9-0e2c43726a26 2025-08-28 17:18:01,986 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.62 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 = 2.616/2.682/2.749/0.066 ms') 2025-08-28 17:18:01,986 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-18236288-50530270 passed 2025-08-28 17:18:02,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:18:02,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18236288-50530270, IP 30.68.32.132, Port 22 2025-08-28 17:18:02,188 - 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-08-28 17:18:02,250 - DEBUG - VM ctest-TestBasicVMVNx-18236288-50530270 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 17:18:07,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:18:07,250 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18236288-50530270, IP 30.68.32.132, Port 22 2025-08-28 17:18:07,400 - DEBUG - VM ctest-TestBasicVMVNx-18236288-50530270 is ready for SSH connections 2025-08-28 17:18:07,400 - DEBUG - FILE SIZE = 1303B 2025-08-28 17:18:07,400 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-18236288-93499938 to ctest-TestBasicVMVNx-18236288-50530270 using scp 2025-08-28 17:18:07,402 - 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.22, gateway password: c0ntrail123 2025-08-28 17:18:07,402 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-28 17:18:09,273 - DEBUG - 1+0 records in 1+0 records out 2025-08-28 17:18:09,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:18:10,189 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-28 17:18:10,190 - DEBUG - ls -l testfile 2025-08-28 17:18:11,760 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 28 11:18 testfile 2025-08-28 17:18:11,760 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-18236288-50530270 2025-08-28 17:18:11,760 - INFO - Deleting VM ctest-TestBasicVMVNx-18236288-50530270 2025-08-28 17:18:11,819 - INFO - Deleting VM ctest-TestBasicVMVNx-18236288-93499938 2025-08-28 17:18:11,878 - INFO - Deleting VN ctest-vn-99933311 2025-08-28 17:18:11,910 - DEBUG - VN 8ecb74bd-d7d0-4c26-8592-fd7e85212af3 still in use: Unable to complete operation on network 8ecb74bd-d7d0-4c26-8592-fd7e85212af3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70a46e9a-fdbc-4155-9e4d-ddef17caab3c'] 2025-08-28 17:18:11,910 - WARNING - Deleting VN ctest-vn-99933311 failed..Will retry 2025-08-28 17:18:13,989 - DEBUG - Response for deleting network () 2025-08-28 17:18:14,241 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 17:18:14,241 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28] 2025-08-28 17:18:14,241 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:18:14,938 - INFO - Deleted project: ctest-TestBasicVMVNx-18236288, ID : 859b48df-00ae-483d-9359-808d20a88db6