2025-10-09 21:09:22,142 - INFO - Domain Default found not creating 2025-10-09 21:09:22,331 - INFO - Project ctest-TestBasicVMVNx-93166958 not found, creating it 2025-10-09 21:09:22,803 - INFO - Created Project:ctest-TestBasicVMVNx-93166958, ID : 90c76d75-0d2e-4e50-9578-e6424ae12a4b 2025-10-09 21:09:25,103 - INFO - ================================================================================ 2025-10-09 21:09:25,103 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-09 21:09:25,104 - 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-09 21:09:25,360 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.209': '0'}} with 2025-10-09 21:09:25,360 - INFO - Initial checks done. Running the testcase now 2025-10-09 21:09:25,361 - INFO - 2025-10-09 21:09:25,928 - DEBUG - Response for create_network : {'network': {'id': '99894f51-a57e-423e-8fe4-49820e097a90', 'name': 'ctest-vn-84888305', 'tenant_id': '90c76d750d2e4e509578e6424ae12a4b', 'project_id': '90c76d750d2e4e509578e6424ae12a4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93166958', 'ctest-vn-84888305'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:09:26,113 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa66ad79-e1cf-4e7a-8f92-896d606ed5d8', 'name': '', 'tenant_id': '90c76d750d2e4e509578e6424ae12a4b', 'network_id': '99894f51-a57e-423e-8fe4-49820e097a90', 'ip_version': 4, 'cidr': '154.131.99.128/26', 'allocation_pools': [{'start': '154.131.99.130', 'end': '154.131.99.190'}], 'gateway_ip': '154.131.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.131.99.130', 'tags': [], 'project_id': '90c76d750d2e4e509578e6424ae12a4b'}} 2025-10-09 21:09:26,132 - INFO - Created VN ctest-vn-84888305 2025-10-09 21:09:26,185 - DEBUG - VN ctest-vn-84888305 UUID is 99894f51-a57e-423e-8fe4-49820e097a90 2025-10-09 21:09:26,363 - DEBUG - Services list from nova: [, , ] 2025-10-09 21:09:27,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1) 2025-10-09 21:09:28,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1) 2025-10-09 21:09:28,738 - INFO - Waiting for VM ctest-TestBasicVMVNx-93166958-47307902 to be up.. 2025-10-09 21:09:28,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 21:09:33,908 - DEBUG - VM is in ACTIVE state now 2025-10-09 21:09:33,908 - INFO - VM name : ctest-TestBasicVMVNx-93166958-47307902 2025-10-09 21:09:33,987 - DEBUG - VM ctest-TestBasicVMVNx-93166958-47307902 ID is b4752725-c8de-4bf7-8b3d-33f62ae486d9 2025-10-09 21:09:34,007 - DEBUG - VM ctest-TestBasicVMVNx-93166958-47307902 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1 2025-10-09 21:09:34,083 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b4752725-c8de-4bf7-8b3d-33f62ae486d9 2025-10-09 21:09:34,419 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b4752725-c8de-4bf7-8b3d-33f62ae486d9 2025-10-09 21:09:34,453 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/14543c20-4964-4e7b-b7d9-0d5325afc271 2025-10-09 21:09:37,711 - 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 1017ms') 2025-10-09 21:09:37,712 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93166958-47307902 failed! 2025-10-09 21:09:37,769 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93166958:ctest-vn-84888305 is 154.131.99.129 and allocation pool is NOT set 2025-10-09 21:09:39,832 - 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=5.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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 = 1.003/3.249/5.495/2.246 ms') 2025-10-09 21:09:39,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93166958-47307902 passed 2025-10-09 21:09:39,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:09:39,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93166958-47307902, IP 154.131.99.131, Port 22 2025-10-09 21:09:40,141 - DEBUG - VM ctest-TestBasicVMVNx-93166958-47307902 is ready for SSH connections 2025-10-09 21:09:40,142 - INFO - Waiting for VM ctest-TestBasicVMVNx-93166958-52747376 to be up.. 2025-10-09 21:09:40,224 - DEBUG - VM is in ACTIVE state now 2025-10-09 21:09:40,224 - INFO - VM name : ctest-TestBasicVMVNx-93166958-52747376 2025-10-09 21:09:40,304 - DEBUG - VM ctest-TestBasicVMVNx-93166958-52747376 ID is 89ba7457-a5a3-442a-b0c1-22950fe50368 2025-10-09 21:09:40,304 - DEBUG - VM ctest-TestBasicVMVNx-93166958-52747376 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1 2025-10-09 21:09:40,383 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/89ba7457-a5a3-442a-b0c1-22950fe50368 2025-10-09 21:09:40,392 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6be54b6c-158e-4870-8085-a1d87354ee57 2025-10-09 21:09:41,631 - 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=4.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.30 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 = 2.304/3.395/4.487/1.091 ms') 2025-10-09 21:09:41,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93166958-52747376 passed 2025-10-09 21:09:41,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:09:41,785 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93166958-52747376, IP 154.131.99.132, Port 22 2025-10-09 21:09:41,945 - DEBUG - VM ctest-TestBasicVMVNx-93166958-52747376 is ready for SSH connections 2025-10-09 21:09:41,945 - DEBUG - FILE SIZE = 1303B 2025-10-09 21:09:41,945 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93166958-47307902 to ctest-TestBasicVMVNx-93166958-52747376 using scp 2025-10-09 21:09:41,947 - 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.33, gateway password: c0ntrail123 2025-10-09 21:09:41,947 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-09 21:09:43,934 - DEBUG - 1+0 records in 1+0 records out 2025-10-09 21:09:44,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:09:44,970 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:09:44,970 - DEBUG - ls -l testfile 2025-10-09 21:09:46,597 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 9 15:09 testfile 2025-10-09 21:09:46,597 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93166958-52747376 2025-10-09 21:09:46,597 - INFO - Deleting VM ctest-TestBasicVMVNx-93166958-52747376 2025-10-09 21:09:46,670 - INFO - Deleting VM ctest-TestBasicVMVNx-93166958-47307902 2025-10-09 21:09:46,752 - INFO - Deleting VN ctest-vn-84888305 2025-10-09 21:09:46,788 - DEBUG - VN 99894f51-a57e-423e-8fe4-49820e097a90 still in use: Unable to complete operation on network 99894f51-a57e-423e-8fe4-49820e097a90. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f467d18-f704-4de1-9a67-f18bd11da1ac'] 2025-10-09 21:09:46,788 - WARNING - Deleting VN ctest-vn-84888305 failed..Will retry 2025-10-09 21:09:48,927 - DEBUG - Response for deleting network () 2025-10-09 21:09:49,191 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 21:09:49,191 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-10-09 21:09:49,191 - INFO - -------------------------------------------------------------------------------- 2025-10-09 21:09:49,923 - INFO - Deleted project: ctest-TestBasicVMVNx-93166958, ID : 90c76d75-0d2e-4e50-9578-e6424ae12a4b