2025-10-31 00:27:41,201 - INFO - Domain Default found not creating 2025-10-31 00:27:41,347 - INFO - Project ctest-TestBasicVMVNx-87131352 not found, creating it 2025-10-31 00:27:41,787 - INFO - Created Project:ctest-TestBasicVMVNx-87131352, ID : 6408037e-9716-4aff-9c9b-6be6b9ec1ca4 2025-10-31 00:27:43,300 - INFO - ================================================================================ 2025-10-31 00:27:43,300 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-31 00:27:43,301 - 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-31 00:27:43,557 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-31 00:27:43,557 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:27:43,557 - INFO - 2025-10-31 00:27:44,078 - DEBUG - Response for create_network : {'network': {'id': '03bc0c23-b7ed-4eaf-b38e-eb60f0eac1b7', 'name': 'ctest-vn-12773587', 'tenant_id': '6408037e97164aff9c9b6be6b9ec1ca4', 'project_id': '6408037e97164aff9c9b6be6b9ec1ca4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87131352', 'ctest-vn-12773587'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:27:44,223 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8c6f9c9-fce9-4a80-8424-edd45f3be47d', 'name': '', 'tenant_id': '6408037e97164aff9c9b6be6b9ec1ca4', 'network_id': '03bc0c23-b7ed-4eaf-b38e-eb60f0eac1b7', 'ip_version': 4, 'cidr': '175.124.2.192/26', 'allocation_pools': [{'start': '175.124.2.194', 'end': '175.124.2.254'}], 'gateway_ip': '175.124.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.124.2.194', 'tags': [], 'project_id': '6408037e97164aff9c9b6be6b9ec1ca4'}} 2025-10-31 00:27:44,241 - INFO - Created VN ctest-vn-12773587 2025-10-31 00:27:44,295 - DEBUG - VN ctest-vn-12773587 UUID is 03bc0c23-b7ed-4eaf-b38e-eb60f0eac1b7 2025-10-31 00:27:44,470 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:27:45,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:27:46,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:27:46,544 - INFO - Waiting for VM ctest-TestBasicVMVNx-87131352-01765260 to be up.. 2025-10-31 00:27:46,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:27:51,714 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:27:51,714 - INFO - VM name : ctest-TestBasicVMVNx-87131352-01765260 2025-10-31 00:27:51,786 - DEBUG - VM ctest-TestBasicVMVNx-87131352-01765260 ID is b7dc805a-0a46-4cba-9ffb-16299c2a23d5 2025-10-31 00:27:51,810 - DEBUG - VM ctest-TestBasicVMVNx-87131352-01765260 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:27:51,877 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b7dc805a-0a46-4cba-9ffb-16299c2a23d5 2025-10-31 00:27:52,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b7dc805a-0a46-4cba-9ffb-16299c2a23d5 2025-10-31 00:27:52,196 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c17baaad-d0f2-4a29-b47b-9f095e32dbdc 2025-10-31 00:27:55,447 - 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 1027ms') 2025-10-31 00:27:55,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87131352-01765260 failed! 2025-10-31 00:27:55,499 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87131352:ctest-vn-12773587 is 175.124.2.193 and allocation pool is NOT set 2025-10-31 00:27:57,555 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/1.594/2.803/1.209 ms') 2025-10-31 00:27:57,555 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87131352-01765260 passed 2025-10-31 00:27:57,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:27:57,703 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87131352-01765260, IP 175.124.2.195, Port 22 2025-10-31 00:27:57,858 - DEBUG - VM ctest-TestBasicVMVNx-87131352-01765260 is ready for SSH connections 2025-10-31 00:27:57,858 - INFO - Waiting for VM ctest-TestBasicVMVNx-87131352-09311788 to be up.. 2025-10-31 00:27:57,934 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:27:57,934 - INFO - VM name : ctest-TestBasicVMVNx-87131352-09311788 2025-10-31 00:27:58,007 - DEBUG - VM ctest-TestBasicVMVNx-87131352-09311788 ID is e81d9289-249f-403c-b93d-764839692d4c 2025-10-31 00:27:58,007 - DEBUG - VM ctest-TestBasicVMVNx-87131352-09311788 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:27:58,093 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e81d9289-249f-403c-b93d-764839692d4c 2025-10-31 00:27:58,106 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4ad193d1-056a-46a4-9d31-16c8c7604963 2025-10-31 00:27:59,343 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.585 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.585/2.151/3.717/1.566 ms') 2025-10-31 00:27:59,343 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87131352-09311788 passed 2025-10-31 00:27:59,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:27:59,491 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87131352-09311788, IP 175.124.2.196, Port 22 2025-10-31 00:27:59,663 - DEBUG - VM ctest-TestBasicVMVNx-87131352-09311788 is ready for SSH connections 2025-10-31 00:27:59,663 - DEBUG - FILE SIZE = 1303B 2025-10-31 00:27:59,663 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87131352-01765260 to ctest-TestBasicVMVNx-87131352-09311788 using scp 2025-10-31 00:27:59,665 - 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-10-31 00:27:59,665 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-31 00:28:01,624 - DEBUG - 1+0 records in 1+0 records out 2025-10-31 00:28:02,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:28:02,757 - 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-10-31 00:28:02,757 - DEBUG - ls -l testfile 2025-10-31 00:28:04,353 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 30 18:28 testfile 2025-10-31 00:28:04,354 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87131352-09311788 2025-10-31 00:28:04,354 - INFO - Deleting VM ctest-TestBasicVMVNx-87131352-09311788 2025-10-31 00:28:04,419 - INFO - Deleting VM ctest-TestBasicVMVNx-87131352-01765260 2025-10-31 00:28:04,495 - INFO - Deleting VN ctest-vn-12773587 2025-10-31 00:28:04,532 - DEBUG - VN 03bc0c23-b7ed-4eaf-b38e-eb60f0eac1b7 still in use: Unable to complete operation on network 03bc0c23-b7ed-4eaf-b38e-eb60f0eac1b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85b9d5d6-8b06-4815-b30f-86d387a99a45'] 2025-10-31 00:28:04,532 - WARNING - Deleting VN ctest-vn-12773587 failed..Will retry 2025-10-31 00:28:06,652 - DEBUG - Response for deleting network () 2025-10-31 00:28:06,909 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:28:06,909 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-10-31 00:28:06,909 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:28:07,568 - INFO - Deleted project: ctest-TestBasicVMVNx-87131352, ID : 6408037e-9716-4aff-9c9b-6be6b9ec1ca4