2025-08-26 16:26:11,911 - INFO - Domain Default found not creating 2025-08-26 16:26:12,043 - INFO - Project ctest-TestBasicVMVNx-15733193 not found, creating it 2025-08-26 16:26:12,483 - INFO - Created Project:ctest-TestBasicVMVNx-15733193, ID : ed920ce8-f814-4947-b60b-1af010bfbb3a 2025-08-26 16:26:13,983 - INFO - ================================================================================ 2025-08-26 16:26:13,984 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-26 16:26:13,984 - 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-08-26 16:26:14,243 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-26 16:26:14,244 - INFO - Initial checks done. Running the testcase now 2025-08-26 16:26:14,244 - INFO - 2025-08-26 16:26:14,818 - DEBUG - Response for create_network : {'network': {'id': '6d9604c1-6f85-489f-9366-3815939892c6', 'name': 'ctest-vn-18710097', 'tenant_id': 'ed920ce8f8144947b60b1af010bfbb3a', 'project_id': 'ed920ce8f8144947b60b1af010bfbb3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-15733193', 'ctest-vn-18710097'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 16:26:15,020 - DEBUG - Response for create_subnet : {'subnet': {'id': '56e99880-a91c-47e7-bd5d-947c8d27877b', 'name': '', 'tenant_id': 'ed920ce8f8144947b60b1af010bfbb3a', 'network_id': '6d9604c1-6f85-489f-9366-3815939892c6', 'ip_version': 4, 'cidr': '8.220.137.128/26', 'allocation_pools': [{'start': '8.220.137.130', 'end': '8.220.137.190'}], 'gateway_ip': '8.220.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.220.137.130', 'tags': [], 'project_id': 'ed920ce8f8144947b60b1af010bfbb3a'}} 2025-08-26 16:26:15,036 - INFO - Created VN ctest-vn-18710097 2025-08-26 16:26:15,090 - DEBUG - VN ctest-vn-18710097 UUID is 6d9604c1-6f85-489f-9366-3815939892c6 2025-08-26 16:26:15,283 - DEBUG - Services list from nova: [, , ] 2025-08-26 16:26:16,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3942-1) 2025-08-26 16:26:17,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3942-1) 2025-08-26 16:26:17,594 - INFO - Waiting for VM ctest-TestBasicVMVNx-15733193-43822171 to be up.. 2025-08-26 16:26:17,668 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 16:26:22,744 - DEBUG - VM is in ACTIVE state now 2025-08-26 16:26:22,745 - INFO - VM name : ctest-TestBasicVMVNx-15733193-43822171 2025-08-26 16:26:22,819 - DEBUG - VM ctest-TestBasicVMVNx-15733193-43822171 ID is 84a2556d-e6e6-441f-a7ee-404bb8e23882 2025-08-26 16:26:22,838 - DEBUG - VM ctest-TestBasicVMVNx-15733193-43822171 launched on Node cn-jenkins-deploy-platform-ansible-os-3942-1 2025-08-26 16:26:22,914 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/84a2556d-e6e6-441f-a7ee-404bb8e23882 2025-08-26 16:26:23,252 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/84a2556d-e6e6-441f-a7ee-404bb8e23882 2025-08-26 16:26:23,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/171790a9-65ca-48f0-9375-9c76e54d8eaa 2025-08-26 16:26:26,527 - 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 1010ms') 2025-08-26 16:26:26,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15733193-43822171 failed! 2025-08-26 16:26:26,582 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-15733193:ctest-vn-18710097 is 8.220.137.129 and allocation pool is NOT set 2025-08-26 16:26:28,644 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.543 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.543/1.704/2.866/1.161 ms') 2025-08-26 16:26:28,645 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-15733193-43822171 passed 2025-08-26 16:26:28,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 16:26:28,794 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15733193-43822171, IP 8.220.137.131, Port 22 2025-08-26 16:26:28,953 - DEBUG - VM ctest-TestBasicVMVNx-15733193-43822171 is ready for SSH connections 2025-08-26 16:26:28,953 - INFO - Waiting for VM ctest-TestBasicVMVNx-15733193-33326817 to be up.. 2025-08-26 16:26:29,026 - DEBUG - VM is in ACTIVE state now 2025-08-26 16:26:29,026 - INFO - VM name : ctest-TestBasicVMVNx-15733193-33326817 2025-08-26 16:26:29,095 - DEBUG - VM ctest-TestBasicVMVNx-15733193-33326817 ID is 2ddaf6f9-398e-4500-89c1-72668673014e 2025-08-26 16:26:29,095 - DEBUG - VM ctest-TestBasicVMVNx-15733193-33326817 launched on Node cn-jenkins-deploy-platform-ansible-os-3942-1 2025-08-26 16:26:29,164 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2ddaf6f9-398e-4500-89c1-72668673014e 2025-08-26 16:26:29,171 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/86eab541-8138-4b55-85a1-d828233d6688 2025-08-26 16:26:30,402 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.863 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.863/2.266/3.670/1.403 ms') 2025-08-26 16:26:30,403 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-15733193-33326817 passed 2025-08-26 16:26:30,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 16:26:30,550 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-15733193-33326817, IP 8.220.137.132, Port 22 2025-08-26 16:26:30,705 - DEBUG - VM ctest-TestBasicVMVNx-15733193-33326817 is ready for SSH connections 2025-08-26 16:26:30,705 - DEBUG - FILE SIZE = 1303B 2025-08-26 16:26:30,705 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-15733193-43822171 to ctest-TestBasicVMVNx-15733193-33326817 using scp 2025-08-26 16:26:30,707 - 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-08-26 16:26:30,707 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-26 16:26:32,662 - DEBUG - 1+0 records in 1+0 records out 2025-08-26 16:26:33,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 16:26:33,686 - 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-08-26 16:26:33,686 - DEBUG - ls -l testfile 2025-08-26 16:26:35,294 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 10:26 testfile 2025-08-26 16:26:35,294 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-15733193-33326817 2025-08-26 16:26:35,294 - INFO - Deleting VM ctest-TestBasicVMVNx-15733193-33326817 2025-08-26 16:26:35,360 - INFO - Deleting VM ctest-TestBasicVMVNx-15733193-43822171 2025-08-26 16:26:35,432 - INFO - Deleting VN ctest-vn-18710097 2025-08-26 16:26:35,469 - DEBUG - VN 6d9604c1-6f85-489f-9366-3815939892c6 still in use: Unable to complete operation on network 6d9604c1-6f85-489f-9366-3815939892c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-19abbade-4a0b-4069-a799-ff847daf792b'] 2025-08-26 16:26:35,469 - WARNING - Deleting VN ctest-vn-18710097 failed..Will retry 2025-08-26 16:26:37,595 - DEBUG - Response for deleting network () 2025-08-26 16:26:37,851 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 16:26:37,851 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-08-26 16:26:37,851 - INFO - -------------------------------------------------------------------------------- 2025-08-26 16:26:38,590 - INFO - Deleted project: ctest-TestBasicVMVNx-15733193, ID : ed920ce8-f814-4947-b60b-1af010bfbb3a