2025-10-21 16:32:19,412 - INFO - Domain Default found not creating 2025-10-21 16:32:19,627 - INFO - Project ctest-TestBasicVMVNx-06509524 not found, creating it 2025-10-21 16:32:20,163 - INFO - Created Project:ctest-TestBasicVMVNx-06509524, ID : 3332e093-17d6-4337-8b63-a0aa263ed6ff 2025-10-21 16:32:22,062 - INFO - ================================================================================ 2025-10-21 16:32:22,062 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-21 16:32:22,062 - 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-21 16:32:22,384 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 16:32:22,384 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:32:22,384 - INFO - 2025-10-21 16:32:23,096 - DEBUG - Response for create_network : {'network': {'id': 'a7303aae-825e-48ac-a5ed-0eb54fad7b19', 'name': 'ctest-vn-53580364', 'tenant_id': '3332e09317d643378b63a0aa263ed6ff', 'project_id': '3332e09317d643378b63a0aa263ed6ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06509524', 'ctest-vn-53580364'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:32:23,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a77c6ea-665e-4a57-9cfd-0b4021e003a5', 'name': '', 'tenant_id': '3332e09317d643378b63a0aa263ed6ff', 'network_id': 'a7303aae-825e-48ac-a5ed-0eb54fad7b19', 'ip_version': 4, 'cidr': '29.87.111.64/26', 'allocation_pools': [{'start': '29.87.111.66', 'end': '29.87.111.126'}], 'gateway_ip': '29.87.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.87.111.66', 'tags': [], 'project_id': '3332e09317d643378b63a0aa263ed6ff'}} 2025-10-21 16:32:23,406 - INFO - Created VN ctest-vn-53580364 2025-10-21 16:32:23,459 - DEBUG - VN ctest-vn-53580364 UUID is a7303aae-825e-48ac-a5ed-0eb54fad7b19 2025-10-21 16:32:23,715 - DEBUG - Services list from nova: [, , ] 2025-10-21 16:32:25,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:32:26,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:32:26,761 - INFO - Waiting for VM ctest-TestBasicVMVNx-06509524-71425688 to be up.. 2025-10-21 16:32:26,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 16:32:31,947 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:32:31,947 - INFO - VM name : ctest-TestBasicVMVNx-06509524-71425688 2025-10-21 16:32:32,029 - DEBUG - VM ctest-TestBasicVMVNx-06509524-71425688 ID is 296e1a1e-9cac-4036-98ec-4a81f52ca994 2025-10-21 16:32:32,048 - DEBUG - VM ctest-TestBasicVMVNx-06509524-71425688 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:32:32,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/296e1a1e-9cac-4036-98ec-4a81f52ca994 2025-10-21 16:32:32,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/296e1a1e-9cac-4036-98ec-4a81f52ca994 2025-10-21 16:32:32,477 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/86cb0414-ac3e-4bcd-82ec-fa53558ce68d 2025-10-21 16:32:35,761 - 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 1017ms') 2025-10-21 16:32:35,762 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06509524-71425688 failed! 2025-10-21 16:32:35,835 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06509524:ctest-vn-53580364 is 29.87.111.65 and allocation pool is NOT set 2025-10-21 16:32:37,925 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 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.306/3.630/4.954/1.324 ms') 2025-10-21 16:32:37,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06509524-71425688 passed 2025-10-21 16:32:38,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:32:38,112 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06509524-71425688, IP 29.87.111.67, Port 22 2025-10-21 16:32:38,182 - 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-10-21 16:32:38,327 - DEBUG - VM ctest-TestBasicVMVNx-06509524-71425688 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 16:32:43,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:32:43,328 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06509524-71425688, IP 29.87.111.67, Port 22 2025-10-21 16:32:43,519 - DEBUG - VM ctest-TestBasicVMVNx-06509524-71425688 is ready for SSH connections 2025-10-21 16:32:43,519 - INFO - Waiting for VM ctest-TestBasicVMVNx-06509524-55854274 to be up.. 2025-10-21 16:32:43,677 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:32:43,678 - INFO - VM name : ctest-TestBasicVMVNx-06509524-55854274 2025-10-21 16:32:43,837 - DEBUG - VM ctest-TestBasicVMVNx-06509524-55854274 ID is a2f480ae-ad44-411f-a3f5-f3f90db1c485 2025-10-21 16:32:43,837 - DEBUG - VM ctest-TestBasicVMVNx-06509524-55854274 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:32:43,974 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a2f480ae-ad44-411f-a3f5-f3f90db1c485 2025-10-21 16:32:43,990 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cbcace7a-9782-47fb-bd73-a688dd66efcd 2025-10-21 16:32:45,277 - 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=10.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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 = 0.420/5.311/10.202/4.891 ms') 2025-10-21 16:32:45,277 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06509524-55854274 passed 2025-10-21 16:32:45,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:32:45,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06509524-55854274, IP 29.87.111.68, Port 22 2025-10-21 16:32:45,650 - DEBUG - VM ctest-TestBasicVMVNx-06509524-55854274 is ready for SSH connections 2025-10-21 16:32:45,651 - DEBUG - FILE SIZE = 1303B 2025-10-21 16:32:45,651 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06509524-71425688 to ctest-TestBasicVMVNx-06509524-55854274 using scp 2025-10-21 16:32:45,656 - 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.254, gateway password: c0ntrail123 2025-10-21 16:32:45,657 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-21 16:32:47,999 - DEBUG - 1+0 records in 1+0 records out 2025-10-21 16:32:48,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:32:49,303 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:32:49,304 - DEBUG - ls -l testfile 2025-10-21 16:32:51,112 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 21 10:32 testfile 2025-10-21 16:32:51,112 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-06509524-55854274 2025-10-21 16:32:51,112 - INFO - Deleting VM ctest-TestBasicVMVNx-06509524-55854274 2025-10-21 16:32:51,190 - INFO - Deleting VM ctest-TestBasicVMVNx-06509524-71425688 2025-10-21 16:32:51,279 - INFO - Deleting VN ctest-vn-53580364 2025-10-21 16:32:51,345 - DEBUG - VN a7303aae-825e-48ac-a5ed-0eb54fad7b19 still in use: Unable to complete operation on network a7303aae-825e-48ac-a5ed-0eb54fad7b19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d9bc0770-f04d-4a8f-8316-c353d066f8c9'] 2025-10-21 16:32:51,345 - WARNING - Deleting VN ctest-vn-53580364 failed..Will retry 2025-10-21 16:32:53,554 - DEBUG - Response for deleting network () 2025-10-21 16:32:53,869 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 16:32:53,869 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31] 2025-10-21 16:32:53,869 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:32:54,749 - INFO - Deleted project: ctest-TestBasicVMVNx-06509524, ID : 3332e093-17d6-4337-8b63-a0aa263ed6ff