2025-10-19 16:15:05,337 - INFO - Domain Default found not creating 2025-10-19 16:15:05,510 - INFO - Project ctest-TestBasicVMVNx-80392968 not found, creating it 2025-10-19 16:15:05,974 - INFO - Created Project:ctest-TestBasicVMVNx-80392968, ID : 13082f29-b6aa-4783-8663-46cf533d374b 2025-10-19 16:15:07,549 - INFO - ================================================================================ 2025-10-19 16:15:07,549 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-19 16:15:07,549 - 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-10-19 16:15:07,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-19 16:15:07,810 - INFO - Initial checks done. Running the testcase now 2025-10-19 16:15:07,810 - INFO - 2025-10-19 16:15:08,451 - DEBUG - Response for create_network : {'network': {'id': '167879d5-7e46-44f3-aedc-01dfa63373b8', 'name': 'ctest-vn-88120582', 'tenant_id': '13082f29b6aa4783866346cf533d374b', 'project_id': '13082f29b6aa4783866346cf533d374b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80392968', 'ctest-vn-88120582'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 16:15:08,703 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3231072-a31a-4225-bec9-3fc701a503d8', 'name': '', 'tenant_id': '13082f29b6aa4783866346cf533d374b', 'network_id': '167879d5-7e46-44f3-aedc-01dfa63373b8', 'ip_version': 4, 'cidr': '109.83.71.192/26', 'allocation_pools': [{'start': '109.83.71.194', 'end': '109.83.71.254'}], 'gateway_ip': '109.83.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.83.71.194', 'tags': [], 'project_id': '13082f29b6aa4783866346cf533d374b'}} 2025-10-19 16:15:08,723 - INFO - Created VN ctest-vn-88120582 2025-10-19 16:15:08,778 - DEBUG - VN ctest-vn-88120582 UUID is 167879d5-7e46-44f3-aedc-01dfa63373b8 2025-10-19 16:15:08,946 - DEBUG - Services list from nova: [, , ] 2025-10-19 16:15:09,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4363-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4363-1) 2025-10-19 16:15:11,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4363-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4363-1) 2025-10-19 16:15:11,157 - INFO - Waiting for VM ctest-TestBasicVMVNx-80392968-43366446 to be up.. 2025-10-19 16:15:11,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 16:15:16,320 - DEBUG - VM is in ACTIVE state now 2025-10-19 16:15:16,320 - INFO - VM name : ctest-TestBasicVMVNx-80392968-43366446 2025-10-19 16:15:16,399 - DEBUG - VM ctest-TestBasicVMVNx-80392968-43366446 ID is f32d369e-0ab0-48d3-bdfa-dfcf6fed6c65 2025-10-19 16:15:16,419 - DEBUG - VM ctest-TestBasicVMVNx-80392968-43366446 launched on Node cn-jenkins-deploy-platform-ansible-os-4363-1 2025-10-19 16:15:16,494 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f32d369e-0ab0-48d3-bdfa-dfcf6fed6c65 2025-10-19 16:15:16,786 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f32d369e-0ab0-48d3-bdfa-dfcf6fed6c65 2025-10-19 16:15:16,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/95043c51-36e4-4442-ba61-cd620f640542 2025-10-19 16:15:20,073 - 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-10-19 16:15:20,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80392968-43366446 failed! 2025-10-19 16:15:20,130 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80392968:ctest-vn-88120582 is 109.83.71.193 and allocation pool is NOT set 2025-10-19 16:15:22,188 - 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=7.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.630 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.630/4.229/7.828/3.599 ms') 2025-10-19 16:15:22,188 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80392968-43366446 passed 2025-10-19 16:15:22,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:15:22,342 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80392968-43366446, IP 109.83.71.195, Port 22 2025-10-19 16:15:22,511 - DEBUG - VM ctest-TestBasicVMVNx-80392968-43366446 is ready for SSH connections 2025-10-19 16:15:22,511 - INFO - Waiting for VM ctest-TestBasicVMVNx-80392968-44050673 to be up.. 2025-10-19 16:15:22,593 - DEBUG - VM is in ACTIVE state now 2025-10-19 16:15:22,593 - INFO - VM name : ctest-TestBasicVMVNx-80392968-44050673 2025-10-19 16:15:22,687 - DEBUG - VM ctest-TestBasicVMVNx-80392968-44050673 ID is 6580915f-35a1-4b7f-9757-25e4e190be5c 2025-10-19 16:15:22,687 - DEBUG - VM ctest-TestBasicVMVNx-80392968-44050673 launched on Node cn-jenkins-deploy-platform-ansible-os-4363-1 2025-10-19 16:15:22,768 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6580915f-35a1-4b7f-9757-25e4e190be5c 2025-10-19 16:15:22,777 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a8f39a49-34f2-400b-9697-4a162ed463a7 2025-10-19 16:15:24,022 - 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=6.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/3.522/6.521/2.999 ms') 2025-10-19 16:15:24,022 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80392968-44050673 passed 2025-10-19 16:15:24,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:15:24,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80392968-44050673, IP 109.83.71.196, Port 22 2025-10-19 16:15:24,352 - DEBUG - VM ctest-TestBasicVMVNx-80392968-44050673 is ready for SSH connections 2025-10-19 16:15:24,353 - DEBUG - FILE SIZE = 1303B 2025-10-19 16:15:24,353 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80392968-43366446 to ctest-TestBasicVMVNx-80392968-44050673 using scp 2025-10-19 16:15:24,354 - 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.38, gateway password: c0ntrail123 2025-10-19 16:15:24,354 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-19 16:15:26,282 - DEBUG - 1+0 records in 1+0 records out 2025-10-19 16:15:27,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:15:27,400 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-19 16:15:27,400 - DEBUG - ls -l testfile 2025-10-19 16:15:28,979 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 19 10:15 testfile 2025-10-19 16:15:28,979 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80392968-44050673 2025-10-19 16:15:28,979 - INFO - Deleting VM ctest-TestBasicVMVNx-80392968-44050673 2025-10-19 16:15:29,073 - INFO - Deleting VM ctest-TestBasicVMVNx-80392968-43366446 2025-10-19 16:15:29,146 - INFO - Deleting VN ctest-vn-88120582 2025-10-19 16:15:29,187 - DEBUG - VN 167879d5-7e46-44f3-aedc-01dfa63373b8 still in use: Unable to complete operation on network 167879d5-7e46-44f3-aedc-01dfa63373b8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-650d24bf-25cd-4c79-9819-c7ee243c9a62'] 2025-10-19 16:15:29,187 - WARNING - Deleting VN ctest-vn-88120582 failed..Will retry 2025-10-19 16:15:31,296 - DEBUG - Response for deleting network () 2025-10-19 16:15:31,551 - DEBUG - No XMPP flaps were noticed during the test 2025-10-19 16:15:31,551 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-10-19 16:15:31,551 - INFO - -------------------------------------------------------------------------------- 2025-10-19 16:15:32,242 - INFO - Deleted project: ctest-TestBasicVMVNx-80392968, ID : 13082f29-b6aa-4783-8663-46cf533d374b