2025-06-24 13:42:20,770 - INFO - Domain Default found not creating 2025-06-24 13:42:20,928 - INFO - Project ctest-TestBasicVMVNx-90406337 not found, creating it 2025-06-24 13:42:21,401 - INFO - Created Project:ctest-TestBasicVMVNx-90406337, ID : ff332d14-dcf6-49ee-b7a3-900d4700bfd2 2025-06-24 13:42:22,857 - INFO - ================================================================================ 2025-06-24 13:42:22,857 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-24 13:42:22,857 - 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-06-24 13:42:23,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2025-06-24 13:42:23,115 - INFO - Initial checks done. Running the testcase now 2025-06-24 13:42:23,115 - INFO - 2025-06-24 13:42:23,686 - DEBUG - Response for create_network : {'network': {'id': '671d5eea-88fc-4f18-b017-3d3d45ab726a', 'name': 'ctest-vn-19128503', 'tenant_id': 'ff332d14dcf649eeb7a3900d4700bfd2', 'project_id': 'ff332d14dcf649eeb7a3900d4700bfd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90406337', 'ctest-vn-19128503'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:42:23,874 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcd8b5b3-f6bc-44db-a656-eef14d500fc0', 'name': '', 'tenant_id': 'ff332d14dcf649eeb7a3900d4700bfd2', 'network_id': '671d5eea-88fc-4f18-b017-3d3d45ab726a', 'ip_version': 4, 'cidr': '131.240.236.192/26', 'allocation_pools': [{'start': '131.240.236.194', 'end': '131.240.236.254'}], 'gateway_ip': '131.240.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.240.236.194', 'tags': [], 'project_id': 'ff332d14dcf649eeb7a3900d4700bfd2'}} 2025-06-24 13:42:23,896 - INFO - Created VN ctest-vn-19128503 2025-06-24 13:42:23,952 - DEBUG - VN ctest-vn-19128503 UUID is 671d5eea-88fc-4f18-b017-3d3d45ab726a 2025-06-24 13:42:24,153 - DEBUG - Services list from nova: [, , ] 2025-06-24 13:42:25,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3535-1) 2025-06-24 13:42:26,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3535-1) 2025-06-24 13:42:26,498 - INFO - Waiting for VM ctest-TestBasicVMVNx-90406337-52487086 to be up.. 2025-06-24 13:42:26,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 13:42:31,714 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:42:31,714 - INFO - VM name : ctest-TestBasicVMVNx-90406337-52487086 2025-06-24 13:42:31,812 - DEBUG - VM ctest-TestBasicVMVNx-90406337-52487086 ID is 2e9ccb19-3c24-4258-90ac-11aa14dab785 2025-06-24 13:42:31,835 - DEBUG - VM ctest-TestBasicVMVNx-90406337-52487086 launched on Node cn-jenkins-deploy-platform-ansible-os-3535-1 2025-06-24 13:42:31,927 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2e9ccb19-3c24-4258-90ac-11aa14dab785 2025-06-24 13:42:32,223 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2e9ccb19-3c24-4258-90ac-11aa14dab785 2025-06-24 13:42:32,259 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1dfbdca9-a999-4aef-8e5a-47bcf1333747 2025-06-24 13:42:35,522 - 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 1009ms') 2025-06-24 13:42:35,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90406337-52487086 failed! 2025-06-24 13:42:35,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90406337:ctest-vn-19128503 is 131.240.236.193 and allocation pool is NOT set 2025-06-24 13:42:37,646 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.020/2.910/4.801/1.890 ms') 2025-06-24 13:42:37,646 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90406337-52487086 passed 2025-06-24 13:42:37,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:42:37,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90406337-52487086, IP 131.240.236.195, Port 22 2025-06-24 13:42:37,874 - 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-06-24 13:42:37,969 - DEBUG - VM ctest-TestBasicVMVNx-90406337-52487086 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-24 13:42:42,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:42:42,970 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90406337-52487086, IP 131.240.236.195, Port 22 2025-06-24 13:42:43,128 - DEBUG - VM ctest-TestBasicVMVNx-90406337-52487086 is ready for SSH connections 2025-06-24 13:42:43,128 - INFO - Waiting for VM ctest-TestBasicVMVNx-90406337-66710760 to be up.. 2025-06-24 13:42:43,215 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:42:43,215 - INFO - VM name : ctest-TestBasicVMVNx-90406337-66710760 2025-06-24 13:42:43,298 - DEBUG - VM ctest-TestBasicVMVNx-90406337-66710760 ID is 6a9aa11d-99d7-44c0-bae5-851311c1d572 2025-06-24 13:42:43,298 - DEBUG - VM ctest-TestBasicVMVNx-90406337-66710760 launched on Node cn-jenkins-deploy-platform-ansible-os-3535-1 2025-06-24 13:42:43,390 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/6a9aa11d-99d7-44c0-bae5-851311c1d572 2025-06-24 13:42:43,402 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/535506db-8138-43b4-a40b-6c8196c1305d 2025-06-24 13:42:44,649 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/2.031/3.572/1.540 ms') 2025-06-24 13:42:44,649 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90406337-66710760 passed 2025-06-24 13:42:44,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:42:44,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90406337-66710760, IP 131.240.236.196, Port 22 2025-06-24 13:42:44,960 - DEBUG - VM ctest-TestBasicVMVNx-90406337-66710760 is ready for SSH connections 2025-06-24 13:42:44,960 - DEBUG - FILE SIZE = 1303B 2025-06-24 13:42:44,960 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90406337-52487086 to ctest-TestBasicVMVNx-90406337-66710760 using scp 2025-06-24 13:42:44,961 - 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.65, gateway password: c0ntrail123 2025-06-24 13:42:44,961 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-24 13:42:46,907 - DEBUG - 1+0 records in 1+0 records out 2025-06-24 13:42:47,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:42:47,903 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-24 13:42:47,903 - DEBUG - ls -l testfile 2025-06-24 13:42:49,489 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 24 07:42 testfile 2025-06-24 13:42:49,489 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90406337-66710760 2025-06-24 13:42:49,489 - INFO - Deleting VM ctest-TestBasicVMVNx-90406337-66710760 2025-06-24 13:42:49,563 - INFO - Deleting VM ctest-TestBasicVMVNx-90406337-52487086 2025-06-24 13:42:49,642 - INFO - Deleting VN ctest-vn-19128503 2025-06-24 13:42:49,706 - DEBUG - VN 671d5eea-88fc-4f18-b017-3d3d45ab726a still in use: Unable to complete operation on network 671d5eea-88fc-4f18-b017-3d3d45ab726a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3965d075-5251-4d80-88e7-32f94e4a5e6d'] 2025-06-24 13:42:49,706 - WARNING - Deleting VN ctest-vn-19128503 failed..Will retry 2025-06-24 13:42:51,811 - DEBUG - Response for deleting network () 2025-06-24 13:42:52,071 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 13:42:52,071 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-06-24 13:42:52,071 - INFO - -------------------------------------------------------------------------------- 2025-06-24 13:42:52,775 - INFO - Deleted project: ctest-TestBasicVMVNx-90406337, ID : ff332d14-dcf6-49ee-b7a3-900d4700bfd2