2025-04-22 13:43:11,993 - INFO - Domain Default found not creating 2025-04-22 13:43:12,146 - INFO - Project ctest-TestBasicVMVNx-77005693 not found, creating it 2025-04-22 13:43:12,626 - INFO - Created Project:ctest-TestBasicVMVNx-77005693, ID : e3510225-0f99-446b-82aa-29ad90bd345f 2025-04-22 13:43:14,038 - INFO - ================================================================================ 2025-04-22 13:43:14,038 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-22 13:43:14,039 - 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-04-22 13:43:14,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.254': '0'}} with 2025-04-22 13:43:14,297 - INFO - Initial checks done. Running the testcase now 2025-04-22 13:43:14,297 - INFO - 2025-04-22 13:43:14,831 - DEBUG - Response for create_network : {'network': {'id': '9ce272d5-103d-4d33-a816-54e74b1f0be2', 'name': 'ctest-vn-23286079', 'tenant_id': 'e35102250f99446b82aa29ad90bd345f', 'project_id': 'e35102250f99446b82aa29ad90bd345f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-77005693', 'ctest-vn-23286079'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:43:14,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '60a14058-cfce-4b3b-92f9-682388fb5d08', 'name': '', 'tenant_id': 'e35102250f99446b82aa29ad90bd345f', 'network_id': '9ce272d5-103d-4d33-a816-54e74b1f0be2', 'ip_version': 4, 'cidr': '216.43.85.64/26', 'allocation_pools': [{'start': '216.43.85.66', 'end': '216.43.85.126'}], 'gateway_ip': '216.43.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.43.85.66', 'tags': [], 'project_id': 'e35102250f99446b82aa29ad90bd345f'}} 2025-04-22 13:43:15,006 - INFO - Created VN ctest-vn-23286079 2025-04-22 13:43:15,064 - DEBUG - VN ctest-vn-23286079 UUID is 9ce272d5-103d-4d33-a816-54e74b1f0be2 2025-04-22 13:43:15,236 - DEBUG - Services list from nova: [, , ] 2025-04-22 13:43:16,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3163-1) 2025-04-22 13:43:17,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3163-1) 2025-04-22 13:43:17,411 - INFO - Waiting for VM ctest-TestBasicVMVNx-77005693-16936510 to be up.. 2025-04-22 13:43:17,489 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 13:43:22,564 - DEBUG - VM is in ACTIVE state now 2025-04-22 13:43:22,564 - INFO - VM name : ctest-TestBasicVMVNx-77005693-16936510 2025-04-22 13:43:22,648 - DEBUG - VM ctest-TestBasicVMVNx-77005693-16936510 ID is 719678c9-eb05-4c7f-8766-bd9a2197f723 2025-04-22 13:43:22,674 - DEBUG - VM ctest-TestBasicVMVNx-77005693-16936510 launched on Node cn-jenkins-deploy-platform-ansible-os-3163-1 2025-04-22 13:43:22,758 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/719678c9-eb05-4c7f-8766-bd9a2197f723 2025-04-22 13:43:23,053 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/719678c9-eb05-4c7f-8766-bd9a2197f723 2025-04-22 13:43:23,088 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/b108ced6-1d40-4069-94e7-34fa2d28be36 2025-04-22 13:43:26,354 - 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 1031ms') 2025-04-22 13:43:26,354 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77005693-16936510 failed! 2025-04-22 13:43:26,412 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-77005693:ctest-vn-23286079 is 216.43.85.65 and allocation pool is NOT set 2025-04-22 13:43:28,467 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/1.601/2.713/1.111 ms') 2025-04-22 13:43:28,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-77005693-16936510 passed 2025-04-22 13:43:28,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:43:28,620 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77005693-16936510, IP 216.43.85.67, Port 22 2025-04-22 13:43:28,779 - DEBUG - VM ctest-TestBasicVMVNx-77005693-16936510 is ready for SSH connections 2025-04-22 13:43:28,779 - INFO - Waiting for VM ctest-TestBasicVMVNx-77005693-37979015 to be up.. 2025-04-22 13:43:28,851 - DEBUG - VM is in ACTIVE state now 2025-04-22 13:43:28,851 - INFO - VM name : ctest-TestBasicVMVNx-77005693-37979015 2025-04-22 13:43:28,922 - DEBUG - VM ctest-TestBasicVMVNx-77005693-37979015 ID is 9981270b-1dee-424b-b300-d1258ecda091 2025-04-22 13:43:28,923 - DEBUG - VM ctest-TestBasicVMVNx-77005693-37979015 launched on Node cn-jenkins-deploy-platform-ansible-os-3163-1 2025-04-22 13:43:29,096 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/9981270b-1dee-424b-b300-d1258ecda091 2025-04-22 13:43:29,104 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/23af9bf4-4d44-495d-a774-9bcdbf3c452e 2025-04-22 13:43:30,346 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/1.587/2.646/1.059 ms') 2025-04-22 13:43:30,347 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-77005693-37979015 passed 2025-04-22 13:43:30,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:43:30,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-77005693-37979015, IP 216.43.85.68, Port 22 2025-04-22 13:43:30,651 - DEBUG - VM ctest-TestBasicVMVNx-77005693-37979015 is ready for SSH connections 2025-04-22 13:43:30,651 - DEBUG - FILE SIZE = 1303B 2025-04-22 13:43:30,651 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-77005693-16936510 to ctest-TestBasicVMVNx-77005693-37979015 using scp 2025-04-22 13:43:30,652 - 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.56, gateway password: c0ntrail123 2025-04-22 13:43:30,652 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-22 13:43:32,531 - DEBUG - 1+0 records in 1+0 records out 2025-04-22 13:43:33,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:43:33,438 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-04-22 13:43:33,439 - DEBUG - ls -l testfile 2025-04-22 13:43:35,031 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 22 07:43 testfile 2025-04-22 13:43:35,031 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-77005693-37979015 2025-04-22 13:43:35,031 - INFO - Deleting VM ctest-TestBasicVMVNx-77005693-37979015 2025-04-22 13:43:35,096 - INFO - Deleting VM ctest-TestBasicVMVNx-77005693-16936510 2025-04-22 13:43:35,157 - INFO - Deleting VN ctest-vn-23286079 2025-04-22 13:43:35,195 - DEBUG - VN 9ce272d5-103d-4d33-a816-54e74b1f0be2 still in use: Unable to complete operation on network 9ce272d5-103d-4d33-a816-54e74b1f0be2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd95e76a-7703-4f36-8e0c-95ef467f28ff'] 2025-04-22 13:43:35,196 - WARNING - Deleting VN ctest-vn-23286079 failed..Will retry 2025-04-22 13:43:37,317 - DEBUG - Response for deleting network () 2025-04-22 13:43:37,574 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 13:43:37,574 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-22 13:43:37,574 - INFO - -------------------------------------------------------------------------------- 2025-04-22 13:43:38,224 - INFO - Deleted project: ctest-TestBasicVMVNx-77005693, ID : e3510225-0f99-446b-82aa-29ad90bd345f