2025-09-08 12:52:17,160 - INFO - Domain Default found not creating 2025-09-08 12:52:17,319 - INFO - Project ctest-TestBasicVMVNx-96642444 not found, creating it 2025-09-08 12:52:17,777 - INFO - Created Project:ctest-TestBasicVMVNx-96642444, ID : 9424070b-c0d0-4211-b464-75ff92af7ed9 2025-09-08 12:52:19,255 - INFO - ================================================================================ 2025-09-08 12:52:19,255 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-08 12:52:19,255 - 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-09-08 12:52:19,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-08 12:52:19,515 - INFO - Initial checks done. Running the testcase now 2025-09-08 12:52:19,515 - INFO - 2025-09-08 12:52:20,060 - DEBUG - Response for create_network : {'network': {'id': '0ad4bbb6-6c33-48cb-a99b-1959fa1609cd', 'name': 'ctest-vn-33176108', 'tenant_id': '9424070bc0d04211b46475ff92af7ed9', 'project_id': '9424070bc0d04211b46475ff92af7ed9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96642444', 'ctest-vn-33176108'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:52:20,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9bf83f4-1a86-4586-b25e-d057f57c72a3', 'name': '', 'tenant_id': '9424070bc0d04211b46475ff92af7ed9', 'network_id': '0ad4bbb6-6c33-48cb-a99b-1959fa1609cd', 'ip_version': 4, 'cidr': '92.159.145.128/26', 'allocation_pools': [{'start': '92.159.145.130', 'end': '92.159.145.190'}], 'gateway_ip': '92.159.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.159.145.130', 'tags': [], 'project_id': '9424070bc0d04211b46475ff92af7ed9'}} 2025-09-08 12:52:20,286 - INFO - Created VN ctest-vn-33176108 2025-09-08 12:52:20,341 - DEBUG - VN ctest-vn-33176108 UUID is 0ad4bbb6-6c33-48cb-a99b-1959fa1609cd 2025-09-08 12:52:20,542 - DEBUG - Services list from nova: [, , ] 2025-09-08 12:52:21,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:52:22,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:52:22,576 - INFO - Waiting for VM ctest-TestBasicVMVNx-96642444-32821189 to be up.. 2025-09-08 12:52:22,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 12:52:27,716 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:52:27,716 - INFO - VM name : ctest-TestBasicVMVNx-96642444-32821189 2025-09-08 12:52:27,787 - DEBUG - VM ctest-TestBasicVMVNx-96642444-32821189 ID is 3c55675d-6395-4be8-9d52-5a3b873b6abe 2025-09-08 12:52:27,806 - DEBUG - VM ctest-TestBasicVMVNx-96642444-32821189 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:52:27,872 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3c55675d-6395-4be8-9d52-5a3b873b6abe 2025-09-08 12:52:28,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3c55675d-6395-4be8-9d52-5a3b873b6abe 2025-09-08 12:52:28,190 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ab070c7b-2fc3-463d-b477-97f485b2da53 2025-09-08 12:52:31,426 - 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 1008ms') 2025-09-08 12:52:31,426 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96642444-32821189 failed! 2025-09-08 12:52:31,481 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96642444:ctest-vn-33176108 is 92.159.145.129 and allocation pool is NOT set 2025-09-08 12:52:33,536 - 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=3.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.892/3.353/1.461 ms') 2025-09-08 12:52:33,536 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96642444-32821189 passed 2025-09-08 12:52:33,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:52:33,685 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96642444-32821189, IP 92.159.145.131, Port 22 2025-09-08 12:52:33,840 - DEBUG - VM ctest-TestBasicVMVNx-96642444-32821189 is ready for SSH connections 2025-09-08 12:52:33,840 - INFO - Waiting for VM ctest-TestBasicVMVNx-96642444-96183863 to be up.. 2025-09-08 12:52:33,908 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:52:33,908 - INFO - VM name : ctest-TestBasicVMVNx-96642444-96183863 2025-09-08 12:52:33,978 - DEBUG - VM ctest-TestBasicVMVNx-96642444-96183863 ID is 985e6381-2efd-4095-b17c-99a110dbd081 2025-09-08 12:52:33,978 - DEBUG - VM ctest-TestBasicVMVNx-96642444-96183863 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:52:34,044 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/985e6381-2efd-4095-b17c-99a110dbd081 2025-09-08 12:52:34,052 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4774a580-3658-403e-819d-5b4f59d9adb6 2025-09-08 12:52:35,296 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.393/1.487/2.582/1.094 ms') 2025-09-08 12:52:35,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96642444-96183863 passed 2025-09-08 12:52:35,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:52:35,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96642444-96183863, IP 92.159.145.132, Port 22 2025-09-08 12:52:35,600 - DEBUG - VM ctest-TestBasicVMVNx-96642444-96183863 is ready for SSH connections 2025-09-08 12:52:35,600 - DEBUG - FILE SIZE = 1303B 2025-09-08 12:52:35,600 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96642444-32821189 to ctest-TestBasicVMVNx-96642444-96183863 using scp 2025-09-08 12:52:35,601 - 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-09-08 12:52:35,601 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-08 12:52:37,499 - DEBUG - 1+0 records in 1+0 records out 2025-09-08 12:52:38,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:52:38,574 - 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-09-08 12:52:38,574 - DEBUG - ls -l testfile 2025-09-08 12:52:40,133 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 8 06:52 testfile 2025-09-08 12:52:40,133 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96642444-96183863 2025-09-08 12:52:40,133 - INFO - Deleting VM ctest-TestBasicVMVNx-96642444-96183863 2025-09-08 12:52:40,199 - INFO - Deleting VM ctest-TestBasicVMVNx-96642444-32821189 2025-09-08 12:52:40,262 - INFO - Deleting VN ctest-vn-33176108 2025-09-08 12:52:40,295 - DEBUG - VN 0ad4bbb6-6c33-48cb-a99b-1959fa1609cd still in use: Unable to complete operation on network 0ad4bbb6-6c33-48cb-a99b-1959fa1609cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-607ec774-7d07-464a-b465-effdd807f5f9'] 2025-09-08 12:52:40,295 - WARNING - Deleting VN ctest-vn-33176108 failed..Will retry 2025-09-08 12:52:42,388 - DEBUG - Response for deleting network () 2025-09-08 12:52:42,646 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 12:52:42,646 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-09-08 12:52:42,646 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:52:43,292 - INFO - Deleted project: ctest-TestBasicVMVNx-96642444, ID : 9424070b-c0d0-4211-b464-75ff92af7ed9