2025-10-09 20:30:41,941 - INFO - Domain Default found not creating 2025-10-09 20:30:42,326 - INFO - Project ctest-TestBasicVMVNx-47529398 not found, creating it 2025-10-09 20:30:43,336 - INFO - Created Project:ctest-TestBasicVMVNx-47529398, ID : 1d900eab-8c45-447f-9518-44a1467f2660 2025-10-09 20:30:45,844 - INFO - ================================================================================ 2025-10-09 20:30:45,844 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-09 20:30:45,844 - 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-10-09 20:30:46,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-10-09 20:30:46,167 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:30:46,167 - INFO - 2025-10-09 20:30:46,868 - DEBUG - Response for create_network : {'network': {'id': '67ec0efb-d95d-40aa-aeb6-459331c31c44', 'name': 'ctest-vn-30710678', 'tenant_id': '1d900eab8c45447f951844a1467f2660', 'project_id': '1d900eab8c45447f951844a1467f2660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-47529398', 'ctest-vn-30710678'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:30:47,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '12e4e8ae-39ed-41f4-a044-0d172adbcd91', 'name': '', 'tenant_id': '1d900eab8c45447f951844a1467f2660', 'network_id': '67ec0efb-d95d-40aa-aeb6-459331c31c44', 'ip_version': 4, 'cidr': '160.85.235.0/26', 'allocation_pools': [{'start': '160.85.235.2', 'end': '160.85.235.62'}], 'gateway_ip': '160.85.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.85.235.2', 'tags': [], 'project_id': '1d900eab8c45447f951844a1467f2660'}} 2025-10-09 20:30:47,126 - INFO - Created VN ctest-vn-30710678 2025-10-09 20:30:47,180 - DEBUG - VN ctest-vn-30710678 UUID is 67ec0efb-d95d-40aa-aeb6-459331c31c44 2025-10-09 20:30:47,453 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:30:48,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4276-1) 2025-10-09 20:30:50,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4276-1) 2025-10-09 20:30:50,359 - INFO - Waiting for VM ctest-TestBasicVMVNx-47529398-92629624 to be up.. 2025-10-09 20:30:50,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:30:55,590 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:30:55,590 - INFO - VM name : ctest-TestBasicVMVNx-47529398-92629624 2025-10-09 20:30:55,700 - DEBUG - VM ctest-TestBasicVMVNx-47529398-92629624 ID is 9cc2cb58-8b6d-4dd8-9f94-bd19dda7fe90 2025-10-09 20:30:55,743 - DEBUG - VM ctest-TestBasicVMVNx-47529398-92629624 launched on Node cn-jenkins-deploy-platform-ansible-os-4276-1 2025-10-09 20:30:55,902 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9cc2cb58-8b6d-4dd8-9f94-bd19dda7fe90 2025-10-09 20:30:56,259 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9cc2cb58-8b6d-4dd8-9f94-bd19dda7fe90 2025-10-09 20:30:56,310 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/230128c4-b197-4629-8320-c6061ca04037 2025-10-09 20:30:59,665 - 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-10-09 20:30:59,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47529398-92629624 failed! 2025-10-09 20:30:59,740 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-47529398:ctest-vn-30710678 is 160.85.235.1 and allocation pool is NOT set 2025-10-09 20:31:01,818 - 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=3.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.521 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.521/1.887/3.254/1.366 ms') 2025-10-09 20:31:01,818 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47529398-92629624 passed 2025-10-09 20:31:01,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:31:01,993 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47529398-92629624, IP 160.85.235.3, Port 22 2025-10-09 20:31:02,203 - DEBUG - VM ctest-TestBasicVMVNx-47529398-92629624 is ready for SSH connections 2025-10-09 20:31:02,204 - INFO - Waiting for VM ctest-TestBasicVMVNx-47529398-92354307 to be up.. 2025-10-09 20:31:02,314 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:31:02,314 - INFO - VM name : ctest-TestBasicVMVNx-47529398-92354307 2025-10-09 20:31:02,425 - DEBUG - VM ctest-TestBasicVMVNx-47529398-92354307 ID is e6c8f979-c1e5-42ce-b2ba-da06e4783ccc 2025-10-09 20:31:02,425 - DEBUG - VM ctest-TestBasicVMVNx-47529398-92354307 launched on Node cn-jenkins-deploy-platform-ansible-os-4276-1 2025-10-09 20:31:02,531 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e6c8f979-c1e5-42ce-b2ba-da06e4783ccc 2025-10-09 20:31:02,544 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a3998513-9024-4405-820e-7147c039e139 2025-10-09 20:31:03,842 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 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 = 1.432/2.692/3.952/1.260 ms') 2025-10-09 20:31:03,843 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-47529398-92354307 passed 2025-10-09 20:31:04,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:31:04,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47529398-92354307, IP 160.85.235.4, Port 22 2025-10-09 20:31:04,109 - 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-10-09 20:31:04,247 - DEBUG - VM ctest-TestBasicVMVNx-47529398-92354307 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 20:31:09,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:31:09,248 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47529398-92354307, IP 160.85.235.4, Port 22 2025-10-09 20:31:09,458 - DEBUG - VM ctest-TestBasicVMVNx-47529398-92354307 is ready for SSH connections 2025-10-09 20:31:09,458 - DEBUG - FILE SIZE = 1303B 2025-10-09 20:31:09,458 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-47529398-92629624 to ctest-TestBasicVMVNx-47529398-92354307 using scp 2025-10-09 20:31:09,465 - 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.19, gateway password: c0ntrail123 2025-10-09 20:31:09,466 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-09 20:31:12,042 - DEBUG - 1+0 records in 1+0 records out 2025-10-09 20:31:12,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:31:13,336 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-09 20:31:13,337 - DEBUG - ls -l testfile 2025-10-09 20:31:15,253 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 9 14:31 testfile 2025-10-09 20:31:15,253 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-47529398-92354307 2025-10-09 20:31:15,254 - INFO - Deleting VM ctest-TestBasicVMVNx-47529398-92354307 2025-10-09 20:31:15,404 - INFO - Deleting VM ctest-TestBasicVMVNx-47529398-92629624 2025-10-09 20:31:15,504 - INFO - Deleting VN ctest-vn-30710678 2025-10-09 20:31:15,581 - DEBUG - VN 67ec0efb-d95d-40aa-aeb6-459331c31c44 still in use: Unable to complete operation on network 67ec0efb-d95d-40aa-aeb6-459331c31c44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12f62998-e49d-4485-96d2-d8de40131741'] 2025-10-09 20:31:15,582 - WARNING - Deleting VN ctest-vn-30710678 failed..Will retry 2025-10-09 20:31:17,720 - DEBUG - Response for deleting network () 2025-10-09 20:31:18,038 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 20:31:18,038 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2025-10-09 20:31:18,039 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:31:18,984 - INFO - Deleted project: ctest-TestBasicVMVNx-47529398, ID : 1d900eab-8c45-447f-9518-44a1467f2660