2025-06-17 17:57:47,038 - INFO - Domain Default found not creating 2025-06-17 17:57:47,180 - INFO - Project ctest-TestBasicVMVNx-97948067 not found, creating it 2025-06-17 17:57:47,642 - INFO - Created Project:ctest-TestBasicVMVNx-97948067, ID : 060e9ce9-deb6-42e5-9322-1ff4978cad3b 2025-06-17 17:57:49,142 - INFO - ================================================================================ 2025-06-17 17:57:49,142 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-17 17:57:49,142 - 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-17 17:57:49,405 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-06-17 17:57:49,405 - INFO - Initial checks done. Running the testcase now 2025-06-17 17:57:49,405 - INFO - 2025-06-17 17:57:49,946 - DEBUG - Response for create_network : {'network': {'id': '8e0c34be-be30-40be-b2e9-6764a8816f7c', 'name': 'ctest-vn-83453127', 'tenant_id': '060e9ce9deb642e593221ff4978cad3b', 'project_id': '060e9ce9deb642e593221ff4978cad3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-97948067', 'ctest-vn-83453127'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 17:57:50,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '63066e08-66e1-4872-91d0-9da3bbbbb709', 'name': '', 'tenant_id': '060e9ce9deb642e593221ff4978cad3b', 'network_id': '8e0c34be-be30-40be-b2e9-6764a8816f7c', 'ip_version': 4, 'cidr': '82.165.16.0/26', 'allocation_pools': [{'start': '82.165.16.2', 'end': '82.165.16.62'}], 'gateway_ip': '82.165.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.165.16.2', 'tags': [], 'project_id': '060e9ce9deb642e593221ff4978cad3b'}} 2025-06-17 17:57:50,150 - INFO - Created VN ctest-vn-83453127 2025-06-17 17:57:50,210 - DEBUG - VN ctest-vn-83453127 UUID is 8e0c34be-be30-40be-b2e9-6764a8816f7c 2025-06-17 17:57:50,381 - DEBUG - Services list from nova: [, , ] 2025-06-17 17:57:51,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3463-1) 2025-06-17 17:57:52,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3463-1) 2025-06-17 17:57:52,553 - INFO - Waiting for VM ctest-TestBasicVMVNx-97948067-34962199 to be up.. 2025-06-17 17:57:52,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 17:57:57,725 - DEBUG - VM is in ACTIVE state now 2025-06-17 17:57:57,725 - INFO - VM name : ctest-TestBasicVMVNx-97948067-34962199 2025-06-17 17:57:57,806 - DEBUG - VM ctest-TestBasicVMVNx-97948067-34962199 ID is daf8944a-1eaf-4908-a9e6-2af037a76a97 2025-06-17 17:57:57,825 - DEBUG - VM ctest-TestBasicVMVNx-97948067-34962199 launched on Node cn-jenkins-deploy-platform-ansible-os-3463-1 2025-06-17 17:57:57,900 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/daf8944a-1eaf-4908-a9e6-2af037a76a97 2025-06-17 17:57:58,198 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/daf8944a-1eaf-4908-a9e6-2af037a76a97 2025-06-17 17:57:58,228 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2c2232b2-9c10-4204-b2a6-eac9dd02e437 2025-06-17 17:58:01,468 - 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 1003ms') 2025-06-17 17:58:01,468 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97948067-34962199 failed! 2025-06-17 17:58:01,526 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-97948067:ctest-vn-83453127 is 82.165.16.1 and allocation pool is NOT set 2025-06-17 17:58:03,585 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/2.378/4.341/1.962 ms') 2025-06-17 17:58:03,585 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97948067-34962199 passed 2025-06-17 17:58:03,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 17:58:03,738 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97948067-34962199, IP 82.165.16.3, Port 22 2025-06-17 17:58:03,794 - 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-17 17:58:03,878 - DEBUG - VM ctest-TestBasicVMVNx-97948067-34962199 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-17 17:58:08,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 17:58:08,879 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97948067-34962199, IP 82.165.16.3, Port 22 2025-06-17 17:58:09,034 - DEBUG - VM ctest-TestBasicVMVNx-97948067-34962199 is ready for SSH connections 2025-06-17 17:58:09,034 - INFO - Waiting for VM ctest-TestBasicVMVNx-97948067-37630614 to be up.. 2025-06-17 17:58:09,110 - DEBUG - VM is in ACTIVE state now 2025-06-17 17:58:09,110 - INFO - VM name : ctest-TestBasicVMVNx-97948067-37630614 2025-06-17 17:58:09,183 - DEBUG - VM ctest-TestBasicVMVNx-97948067-37630614 ID is 9650cf0c-1459-4ad0-80c3-0494af5d9b36 2025-06-17 17:58:09,183 - DEBUG - VM ctest-TestBasicVMVNx-97948067-37630614 launched on Node cn-jenkins-deploy-platform-ansible-os-3463-1 2025-06-17 17:58:09,256 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9650cf0c-1459-4ad0-80c3-0494af5d9b36 2025-06-17 17:58:09,264 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8a8abe96-9985-4d6b-9dc5-a381f3401ece 2025-06-17 17:58:10,507 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.993/3.598/1.604 ms') 2025-06-17 17:58:10,507 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97948067-37630614 passed 2025-06-17 17:58:10,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 17:58:10,658 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97948067-37630614, IP 82.165.16.4, Port 22 2025-06-17 17:58:10,829 - DEBUG - VM ctest-TestBasicVMVNx-97948067-37630614 is ready for SSH connections 2025-06-17 17:58:10,829 - DEBUG - FILE SIZE = 1303B 2025-06-17 17:58:10,829 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97948067-34962199 to ctest-TestBasicVMVNx-97948067-37630614 using scp 2025-06-17 17:58:10,830 - 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.249, gateway password: c0ntrail123 2025-06-17 17:58:10,830 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-17 17:58:12,759 - DEBUG - 1+0 records in 1+0 records out 2025-06-17 17:58:13,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 17:58:13,907 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-06-17 17:58:13,907 - DEBUG - ls -l testfile 2025-06-17 17:58:15,472 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 17 11:58 testfile 2025-06-17 17:58:15,472 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97948067-37630614 2025-06-17 17:58:15,472 - INFO - Deleting VM ctest-TestBasicVMVNx-97948067-37630614 2025-06-17 17:58:15,541 - INFO - Deleting VM ctest-TestBasicVMVNx-97948067-34962199 2025-06-17 17:58:15,608 - INFO - Deleting VN ctest-vn-83453127 2025-06-17 17:58:15,646 - DEBUG - VN 8e0c34be-be30-40be-b2e9-6764a8816f7c still in use: Unable to complete operation on network 8e0c34be-be30-40be-b2e9-6764a8816f7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9155e6d-7d57-41bf-a43c-d3dcdf4abd6d'] 2025-06-17 17:58:15,646 - WARNING - Deleting VN ctest-vn-83453127 failed..Will retry 2025-06-17 17:58:17,757 - DEBUG - Response for deleting network () 2025-06-17 17:58:18,011 - DEBUG - No XMPP flaps were noticed during the test 2025-06-17 17:58:18,011 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-06-17 17:58:18,011 - INFO - -------------------------------------------------------------------------------- 2025-06-17 17:58:18,693 - INFO - Deleted project: ctest-TestBasicVMVNx-97948067, ID : 060e9ce9-deb6-42e5-9322-1ff4978cad3b