2025-11-03 09:05:23,081 - INFO - Domain Default found not creating 2025-11-03 09:05:23,228 - INFO - Project ctest-TestBasicVMVNx-07801495 not found, creating it 2025-11-03 09:05:23,682 - INFO - Created Project:ctest-TestBasicVMVNx-07801495, ID : b916b489-df35-4e4d-a4f9-9a0225818541 2025-11-03 09:05:25,243 - INFO - ================================================================================ 2025-11-03 09:05:25,243 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-03 09:05:25,243 - 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-11-03 09:05:25,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-03 09:05:25,500 - INFO - Initial checks done. Running the testcase now 2025-11-03 09:05:25,500 - INFO - 2025-11-03 09:05:26,014 - DEBUG - Response for create_network : {'network': {'id': 'ae42d866-ac9d-4661-8830-667671099ae1', 'name': 'ctest-vn-99121995', 'tenant_id': 'b916b489df354e4da4f99a0225818541', 'project_id': 'b916b489df354e4da4f99a0225818541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07801495', 'ctest-vn-99121995'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:05:26,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '80d0da44-9d95-4b82-8eb3-b678c32f20c1', 'name': '', 'tenant_id': 'b916b489df354e4da4f99a0225818541', 'network_id': 'ae42d866-ac9d-4661-8830-667671099ae1', 'ip_version': 4, 'cidr': '219.211.69.0/26', 'allocation_pools': [{'start': '219.211.69.2', 'end': '219.211.69.62'}], 'gateway_ip': '219.211.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.211.69.2', 'tags': [], 'project_id': 'b916b489df354e4da4f99a0225818541'}} 2025-11-03 09:05:26,239 - INFO - Created VN ctest-vn-99121995 2025-11-03 09:05:26,290 - DEBUG - VN ctest-vn-99121995 UUID is ae42d866-ac9d-4661-8830-667671099ae1 2025-11-03 09:05:26,486 - DEBUG - Services list from nova: [, , ] 2025-11-03 09:05:27,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4602-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4602-1) 2025-11-03 09:05:28,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4602-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4602-1) 2025-11-03 09:05:28,592 - INFO - Waiting for VM ctest-TestBasicVMVNx-07801495-23464435 to be up.. 2025-11-03 09:05:28,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 09:05:33,732 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:05:33,732 - INFO - VM name : ctest-TestBasicVMVNx-07801495-23464435 2025-11-03 09:05:33,794 - DEBUG - VM ctest-TestBasicVMVNx-07801495-23464435 ID is 7d1de597-44f3-452f-a102-6e0b7527dfda 2025-11-03 09:05:33,817 - DEBUG - VM ctest-TestBasicVMVNx-07801495-23464435 launched on Node cn-jenkins-deploy-platform-ansible-os-4602-1 2025-11-03 09:05:33,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7d1de597-44f3-452f-a102-6e0b7527dfda 2025-11-03 09:05:34,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7d1de597-44f3-452f-a102-6e0b7527dfda 2025-11-03 09:05:34,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6b703c60-bfa2-4f33-ba60-f5ee7a063d41 2025-11-03 09:05:37,454 - 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 1011ms') 2025-11-03 09:05:37,454 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07801495-23464435 failed! 2025-11-03 09:05:37,510 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07801495:ctest-vn-99121995 is 219.211.69.1 and allocation pool is NOT set 2025-11-03 09:05:39,568 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/1.676/2.967/1.291 ms') 2025-11-03 09:05:39,568 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07801495-23464435 passed 2025-11-03 09:05:39,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:05:39,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07801495-23464435, IP 219.211.69.3, Port 22 2025-11-03 09:05:39,888 - DEBUG - VM ctest-TestBasicVMVNx-07801495-23464435 is ready for SSH connections 2025-11-03 09:05:39,888 - INFO - Waiting for VM ctest-TestBasicVMVNx-07801495-73841838 to be up.. 2025-11-03 09:05:39,962 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:05:39,962 - INFO - VM name : ctest-TestBasicVMVNx-07801495-73841838 2025-11-03 09:05:40,034 - DEBUG - VM ctest-TestBasicVMVNx-07801495-73841838 ID is c246197f-802e-4d09-bf36-2aa33e3313c9 2025-11-03 09:05:40,034 - DEBUG - VM ctest-TestBasicVMVNx-07801495-73841838 launched on Node cn-jenkins-deploy-platform-ansible-os-4602-1 2025-11-03 09:05:40,107 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c246197f-802e-4d09-bf36-2aa33e3313c9 2025-11-03 09:05:40,114 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/85648b1b-ee72-4fb0-bc9e-54f2cabd0c24 2025-11-03 09:05:41,350 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.562/2.717/1.154 ms') 2025-11-03 09:05:41,351 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07801495-73841838 passed 2025-11-03 09:05:41,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:05:41,499 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07801495-73841838, IP 219.211.69.4, Port 22 2025-11-03 09:05:41,658 - DEBUG - VM ctest-TestBasicVMVNx-07801495-73841838 is ready for SSH connections 2025-11-03 09:05:41,658 - DEBUG - FILE SIZE = 1303B 2025-11-03 09:05:41,658 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07801495-23464435 to ctest-TestBasicVMVNx-07801495-73841838 using scp 2025-11-03 09:05:41,659 - 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-11-03 09:05:41,659 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-03 09:05:43,621 - DEBUG - 1+0 records in 1+0 records out 2025-11-03 09:05:44,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:05:44,746 - 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-11-03 09:05:44,746 - DEBUG - ls -l testfile 2025-11-03 09:05:46,346 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 02:05 testfile 2025-11-03 09:05:46,346 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07801495-73841838 2025-11-03 09:05:46,346 - INFO - Deleting VM ctest-TestBasicVMVNx-07801495-73841838 2025-11-03 09:05:46,415 - INFO - Deleting VM ctest-TestBasicVMVNx-07801495-23464435 2025-11-03 09:05:46,487 - INFO - Deleting VN ctest-vn-99121995 2025-11-03 09:05:46,523 - DEBUG - VN ae42d866-ac9d-4661-8830-667671099ae1 still in use: Unable to complete operation on network ae42d866-ac9d-4661-8830-667671099ae1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f06e2af9-e447-411e-8344-993dab05e103'] 2025-11-03 09:05:46,523 - WARNING - Deleting VN ctest-vn-99121995 failed..Will retry 2025-11-03 09:05:48,634 - DEBUG - Response for deleting network () 2025-11-03 09:05:48,896 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 09:05:48,896 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-11-03 09:05:48,896 - INFO - -------------------------------------------------------------------------------- 2025-11-03 09:05:49,545 - INFO - Deleted project: ctest-TestBasicVMVNx-07801495, ID : b916b489-df35-4e4d-a4f9-9a0225818541