2025-06-25 07:11:20,354 - INFO - Domain Default found not creating 2025-06-25 07:11:20,497 - INFO - Project ctest-TestBasicVMVNx-57530745 not found, creating it 2025-06-25 07:11:20,940 - INFO - Created Project:ctest-TestBasicVMVNx-57530745, ID : f1578f8f-4a8f-44d0-bed4-d4d3d7c38ad9 2025-06-25 07:11:22,364 - INFO - ================================================================================ 2025-06-25 07:11:22,364 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-25 07:11:22,364 - 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-25 07:11:22,620 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-25 07:11:22,620 - INFO - Initial checks done. Running the testcase now 2025-06-25 07:11:22,620 - INFO - 2025-06-25 07:11:23,164 - DEBUG - Response for create_network : {'network': {'id': '29ddfa55-2668-4c26-8d22-82ed9adfdbeb', 'name': 'ctest-vn-16169698', 'tenant_id': 'f1578f8f4a8f44d0bed4d4d3d7c38ad9', 'project_id': 'f1578f8f4a8f44d0bed4d4d3d7c38ad9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-57530745', 'ctest-vn-16169698'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:11:23,351 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afeb47c3-aee8-4c83-8726-383d1ed0a526', 'name': '', 'tenant_id': 'f1578f8f4a8f44d0bed4d4d3d7c38ad9', 'network_id': '29ddfa55-2668-4c26-8d22-82ed9adfdbeb', 'ip_version': 4, 'cidr': '57.123.7.128/26', 'allocation_pools': [{'start': '57.123.7.130', 'end': '57.123.7.190'}], 'gateway_ip': '57.123.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.123.7.130', 'tags': [], 'project_id': 'f1578f8f4a8f44d0bed4d4d3d7c38ad9'}} 2025-06-25 07:11:23,370 - INFO - Created VN ctest-vn-16169698 2025-06-25 07:11:23,422 - DEBUG - VN ctest-vn-16169698 UUID is 29ddfa55-2668-4c26-8d22-82ed9adfdbeb 2025-06-25 07:11:23,586 - DEBUG - Services list from nova: [, , ] 2025-06-25 07:11:24,571 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3544-1) 2025-06-25 07:11:25,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3544-1) 2025-06-25 07:11:25,764 - INFO - Waiting for VM ctest-TestBasicVMVNx-57530745-71638395 to be up.. 2025-06-25 07:11:25,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 07:11:30,925 - DEBUG - VM is in ACTIVE state now 2025-06-25 07:11:30,925 - INFO - VM name : ctest-TestBasicVMVNx-57530745-71638395 2025-06-25 07:11:30,998 - DEBUG - VM ctest-TestBasicVMVNx-57530745-71638395 ID is a569a7ce-5777-4504-87af-4492b641bea1 2025-06-25 07:11:31,017 - DEBUG - VM ctest-TestBasicVMVNx-57530745-71638395 launched on Node cn-jenkins-deploy-platform-ansible-os-3544-1 2025-06-25 07:11:31,086 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a569a7ce-5777-4504-87af-4492b641bea1 2025-06-25 07:11:31,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a569a7ce-5777-4504-87af-4492b641bea1 2025-06-25 07:11:31,417 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e0b5623c-8a9d-4220-86cf-b881f15fed6e 2025-06-25 07:11:34,675 - 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 1023ms') 2025-06-25 07:11:34,675 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57530745-71638395 failed! 2025-06-25 07:11:34,734 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-57530745:ctest-vn-16169698 is 57.123.7.129 and allocation pool is NOT set 2025-06-25 07:11:36,795 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/1.555/2.707/1.151 ms') 2025-06-25 07:11:36,795 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57530745-71638395 passed 2025-06-25 07:11:36,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:11:36,946 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57530745-71638395, IP 57.123.7.131, Port 22 2025-06-25 07:11:37,114 - DEBUG - VM ctest-TestBasicVMVNx-57530745-71638395 is ready for SSH connections 2025-06-25 07:11:37,114 - INFO - Waiting for VM ctest-TestBasicVMVNx-57530745-44926158 to be up.. 2025-06-25 07:11:37,188 - DEBUG - VM is in ACTIVE state now 2025-06-25 07:11:37,188 - INFO - VM name : ctest-TestBasicVMVNx-57530745-44926158 2025-06-25 07:11:37,273 - DEBUG - VM ctest-TestBasicVMVNx-57530745-44926158 ID is 8e96ac81-ede8-44bd-9b6c-633336cb6a2c 2025-06-25 07:11:37,274 - DEBUG - VM ctest-TestBasicVMVNx-57530745-44926158 launched on Node cn-jenkins-deploy-platform-ansible-os-3544-1 2025-06-25 07:11:37,345 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8e96ac81-ede8-44bd-9b6c-633336cb6a2c 2025-06-25 07:11:37,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/018c0e02-2075-4b98-83b1-b9b9bd130dd2 2025-06-25 07:11:38,596 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/2.009/3.590/1.581 ms') 2025-06-25 07:11:38,596 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-57530745-44926158 passed 2025-06-25 07:11:38,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:11:38,746 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57530745-44926158, IP 57.123.7.132, Port 22 2025-06-25 07:11:38,902 - DEBUG - VM ctest-TestBasicVMVNx-57530745-44926158 is ready for SSH connections 2025-06-25 07:11:38,902 - DEBUG - FILE SIZE = 1303B 2025-06-25 07:11:38,902 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-57530745-71638395 to ctest-TestBasicVMVNx-57530745-44926158 using scp 2025-06-25 07:11:38,903 - 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.50, gateway password: c0ntrail123 2025-06-25 07:11:38,903 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-25 07:11:40,476 - DEBUG - 1+0 records in 1+0 records out 2025-06-25 07:11:41,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:11:41,557 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-25 07:11:41,558 - DEBUG - ls -l testfile 2025-06-25 07:11:43,113 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 25 01:11 testfile 2025-06-25 07:11:43,113 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-57530745-44926158 2025-06-25 07:11:43,113 - INFO - Deleting VM ctest-TestBasicVMVNx-57530745-44926158 2025-06-25 07:11:43,176 - INFO - Deleting VM ctest-TestBasicVMVNx-57530745-71638395 2025-06-25 07:11:43,240 - INFO - Deleting VN ctest-vn-16169698 2025-06-25 07:11:43,273 - DEBUG - VN 29ddfa55-2668-4c26-8d22-82ed9adfdbeb still in use: Unable to complete operation on network 29ddfa55-2668-4c26-8d22-82ed9adfdbeb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-192a09c1-af16-44f8-b7b3-8d3661b82b3e'] 2025-06-25 07:11:43,273 - WARNING - Deleting VN ctest-vn-16169698 failed..Will retry 2025-06-25 07:11:45,386 - DEBUG - Response for deleting network () 2025-06-25 07:11:45,642 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 07:11:45,642 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-06-25 07:11:45,642 - INFO - -------------------------------------------------------------------------------- 2025-06-25 07:11:46,314 - INFO - Deleted project: ctest-TestBasicVMVNx-57530745, ID : f1578f8f-4a8f-44d0-bed4-d4d3d7c38ad9