2025-06-23 21:28:05,109 - INFO - Domain Default found not creating 2025-06-23 21:28:05,224 - INFO - Project ctest-TestBasicVMVNx-23844532 not found, creating it 2025-06-23 21:28:05,732 - INFO - Created Project:ctest-TestBasicVMVNx-23844532, ID : cf113c92-b5ac-4405-a807-2ab392358951 2025-06-23 21:28:07,089 - INFO - ================================================================================ 2025-06-23 21:28:07,089 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-23 21:28:07,089 - 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-06-23 21:28:07,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-23 21:28:07,345 - INFO - Initial checks done. Running the testcase now 2025-06-23 21:28:07,345 - INFO - 2025-06-23 21:28:07,888 - DEBUG - Response for create_network : {'network': {'id': 'bca7cddf-ca95-465e-8b1f-3e2622eea81b', 'name': 'ctest-vn-83623950', 'tenant_id': 'cf113c92b5ac4405a8072ab392358951', 'project_id': 'cf113c92b5ac4405a8072ab392358951', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-23844532', 'ctest-vn-83623950'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 21:28:08,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cca56b8-a806-41c5-8789-5a0e208ddb26', 'name': '', 'tenant_id': 'cf113c92b5ac4405a8072ab392358951', 'network_id': 'bca7cddf-ca95-465e-8b1f-3e2622eea81b', 'ip_version': 4, 'cidr': '126.64.145.64/26', 'allocation_pools': [{'start': '126.64.145.66', 'end': '126.64.145.126'}], 'gateway_ip': '126.64.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.64.145.66', 'tags': [], 'project_id': 'cf113c92b5ac4405a8072ab392358951'}} 2025-06-23 21:28:08,056 - INFO - Created VN ctest-vn-83623950 2025-06-23 21:28:08,108 - DEBUG - VN ctest-vn-83623950 UUID is bca7cddf-ca95-465e-8b1f-3e2622eea81b 2025-06-23 21:28:08,300 - DEBUG - Services list from nova: [, , ] 2025-06-23 21:28:09,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3525-1) 2025-06-23 21:28:10,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3525-1) 2025-06-23 21:28:10,303 - INFO - Waiting for VM ctest-TestBasicVMVNx-23844532-82576461 to be up.. 2025-06-23 21:28:10,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 21:28:15,435 - DEBUG - VM is in ACTIVE state now 2025-06-23 21:28:15,435 - INFO - VM name : ctest-TestBasicVMVNx-23844532-82576461 2025-06-23 21:28:15,578 - DEBUG - VM ctest-TestBasicVMVNx-23844532-82576461 ID is bcdf86d4-0b1b-439e-bc5a-b3fd3316a5cb 2025-06-23 21:28:15,593 - DEBUG - VM ctest-TestBasicVMVNx-23844532-82576461 launched on Node cn-jenkins-deploy-platform-ansible-os-3525-1 2025-06-23 21:28:15,652 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bcdf86d4-0b1b-439e-bc5a-b3fd3316a5cb 2025-06-23 21:28:15,940 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bcdf86d4-0b1b-439e-bc5a-b3fd3316a5cb 2025-06-23 21:28:15,971 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/183398a7-a2b4-40a3-8064-7de95b1d59a2 2025-06-23 21:28:19,244 - 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 1036ms') 2025-06-23 21:28:19,244 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23844532-82576461 failed! 2025-06-23 21:28:19,300 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-23844532:ctest-vn-83623950 is 126.64.145.65 and allocation pool is NOT set 2025-06-23 21:28:21,358 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.250 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.250/1.311/2.372/1.061 ms') 2025-06-23 21:28:21,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-23844532-82576461 passed 2025-06-23 21:28:21,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:28:21,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23844532-82576461, IP 126.64.145.67, Port 22 2025-06-23 21:28:21,656 - DEBUG - VM ctest-TestBasicVMVNx-23844532-82576461 is ready for SSH connections 2025-06-23 21:28:21,656 - INFO - Waiting for VM ctest-TestBasicVMVNx-23844532-17726197 to be up.. 2025-06-23 21:28:21,719 - DEBUG - VM is in ACTIVE state now 2025-06-23 21:28:21,719 - INFO - VM name : ctest-TestBasicVMVNx-23844532-17726197 2025-06-23 21:28:21,774 - DEBUG - VM ctest-TestBasicVMVNx-23844532-17726197 ID is 6f006a66-75ab-416c-b37a-e682425c182e 2025-06-23 21:28:21,774 - DEBUG - VM ctest-TestBasicVMVNx-23844532-17726197 launched on Node cn-jenkins-deploy-platform-ansible-os-3525-1 2025-06-23 21:28:21,834 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6f006a66-75ab-416c-b37a-e682425c182e 2025-06-23 21:28:21,841 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/83c58b29-2ce9-4a39-85fe-f22f0b461fa1 2025-06-23 21:28:23,064 - 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=1.62 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 = 1.621/3.057/4.493/1.436 ms') 2025-06-23 21:28:23,064 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-23844532-17726197 passed 2025-06-23 21:28:23,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:28:23,212 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-23844532-17726197, IP 126.64.145.68, Port 22 2025-06-23 21:28:23,363 - DEBUG - VM ctest-TestBasicVMVNx-23844532-17726197 is ready for SSH connections 2025-06-23 21:28:23,363 - DEBUG - FILE SIZE = 1303B 2025-06-23 21:28:23,363 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-23844532-82576461 to ctest-TestBasicVMVNx-23844532-17726197 using scp 2025-06-23 21:28:23,364 - 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-06-23 21:28:23,364 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-23 21:28:25,200 - DEBUG - 1+0 records in 1+0 records out 2025-06-23 21:28:25,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:28:26,094 - 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-06-23 21:28:26,094 - DEBUG - ls -l testfile 2025-06-23 21:28:27,679 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 23 15:28 testfile 2025-06-23 21:28:27,679 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-23844532-17726197 2025-06-23 21:28:27,679 - INFO - Deleting VM ctest-TestBasicVMVNx-23844532-17726197 2025-06-23 21:28:27,737 - INFO - Deleting VM ctest-TestBasicVMVNx-23844532-82576461 2025-06-23 21:28:27,793 - INFO - Deleting VN ctest-vn-83623950 2025-06-23 21:28:27,828 - DEBUG - VN bca7cddf-ca95-465e-8b1f-3e2622eea81b still in use: Unable to complete operation on network bca7cddf-ca95-465e-8b1f-3e2622eea81b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec8fb73a-ebf8-4c35-8c5b-fb7f22788b31'] 2025-06-23 21:28:27,828 - WARNING - Deleting VN ctest-vn-83623950 failed..Will retry 2025-06-23 21:28:29,932 - DEBUG - Response for deleting network () 2025-06-23 21:28:30,186 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 21:28:30,186 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-06-23 21:28:30,186 - INFO - -------------------------------------------------------------------------------- 2025-06-23 21:28:30,824 - INFO - Deleted project: ctest-TestBasicVMVNx-23844532, ID : cf113c92-b5ac-4405-a807-2ab392358951