2025-03-24 02:20:03,384 - INFO - Domain Default found not creating 2025-03-24 02:20:03,553 - INFO - Project ctest-TestBasicVMVNx-29853779 not found, creating it 2025-03-24 02:20:04,021 - INFO - Created Project:ctest-TestBasicVMVNx-29853779, ID : afd3d3b3-867a-4c1f-8997-22cf29e1da07 2025-03-24 02:20:05,418 - INFO - ================================================================================ 2025-03-24 02:20:05,418 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-24 02:20:05,419 - 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-03-24 02:20:05,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.6': '0'}} with 2025-03-24 02:20:05,671 - INFO - Initial checks done. Running the testcase now 2025-03-24 02:20:05,671 - INFO - 2025-03-24 02:20:06,208 - DEBUG - Response for create_network : {'network': {'id': '381a8a20-08ba-46de-a892-056154e575bd', 'name': 'ctest-vn-24533394', 'tenant_id': 'afd3d3b3867a4c1f899722cf29e1da07', 'project_id': 'afd3d3b3867a4c1f899722cf29e1da07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-29853779', 'ctest-vn-24533394'], 'port_security_enabled': True, 'description': ''}} 2025-03-24 02:20:06,372 - DEBUG - Response for create_subnet : {'subnet': {'id': '515e162c-c1f8-4025-bbc1-81d4f421e0d5', 'name': '', 'tenant_id': 'afd3d3b3867a4c1f899722cf29e1da07', 'network_id': '381a8a20-08ba-46de-a892-056154e575bd', 'ip_version': 4, 'cidr': '84.61.119.0/26', 'allocation_pools': [{'start': '84.61.119.2', 'end': '84.61.119.62'}], 'gateway_ip': '84.61.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.61.119.2', 'tags': [], 'project_id': 'afd3d3b3867a4c1f899722cf29e1da07'}} 2025-03-24 02:20:06,391 - INFO - Created VN ctest-vn-24533394 2025-03-24 02:20:06,441 - DEBUG - VN ctest-vn-24533394 UUID is 381a8a20-08ba-46de-a892-056154e575bd 2025-03-24 02:20:06,635 - DEBUG - Services list from nova: [, , ] 2025-03-24 02:20:07,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2941-1) 2025-03-24 02:20:08,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2941-1) 2025-03-24 02:20:08,760 - INFO - Waiting for VM ctest-TestBasicVMVNx-29853779-30606963 to be up.. 2025-03-24 02:20:08,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-24 02:20:13,942 - DEBUG - VM is in ACTIVE state now 2025-03-24 02:20:13,942 - INFO - VM name : ctest-TestBasicVMVNx-29853779-30606963 2025-03-24 02:20:14,034 - DEBUG - VM ctest-TestBasicVMVNx-29853779-30606963 ID is 14a57353-b642-40b7-8ab9-3fa7e3f5a759 2025-03-24 02:20:14,053 - DEBUG - VM ctest-TestBasicVMVNx-29853779-30606963 launched on Node cn-jenkins-deploy-platform-ansible-os-2941-1 2025-03-24 02:20:14,132 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/14a57353-b642-40b7-8ab9-3fa7e3f5a759 2025-03-24 02:20:14,432 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/14a57353-b642-40b7-8ab9-3fa7e3f5a759 2025-03-24 02:20:14,464 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/d9f12623-c39d-4aae-969a-9819be281a1d 2025-03-24 02:20:17,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 1003ms') 2025-03-24 02:20:17,712 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29853779-30606963 failed! 2025-03-24 02:20:17,766 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-29853779:ctest-vn-24533394 is 84.61.119.1 and allocation pool is NOT set 2025-03-24 02:20:19,829 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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.038/3.142/5.246/2.104 ms') 2025-03-24 02:20:19,829 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29853779-30606963 passed 2025-03-24 02:20:19,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:20:19,978 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29853779-30606963, IP 84.61.119.3, Port 22 2025-03-24 02:20:20,133 - DEBUG - VM ctest-TestBasicVMVNx-29853779-30606963 is ready for SSH connections 2025-03-24 02:20:20,133 - INFO - Waiting for VM ctest-TestBasicVMVNx-29853779-90928214 to be up.. 2025-03-24 02:20:20,209 - DEBUG - VM is in ACTIVE state now 2025-03-24 02:20:20,210 - INFO - VM name : ctest-TestBasicVMVNx-29853779-90928214 2025-03-24 02:20:20,281 - DEBUG - VM ctest-TestBasicVMVNx-29853779-90928214 ID is c9250de5-e190-43bd-a382-565187e77027 2025-03-24 02:20:20,281 - DEBUG - VM ctest-TestBasicVMVNx-29853779-90928214 launched on Node cn-jenkins-deploy-platform-ansible-os-2941-1 2025-03-24 02:20:20,355 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/c9250de5-e190-43bd-a382-565187e77027 2025-03-24 02:20:20,363 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/ec339933-8609-4a95-b513-b6e57e69ba87 2025-03-24 02:20:21,600 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/2.366/4.350/1.983 ms') 2025-03-24 02:20:21,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-29853779-90928214 passed 2025-03-24 02:20:21,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:20:21,754 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29853779-90928214, IP 84.61.119.4, Port 22 2025-03-24 02:20:21,930 - DEBUG - VM ctest-TestBasicVMVNx-29853779-90928214 is ready for SSH connections 2025-03-24 02:20:21,930 - DEBUG - FILE SIZE = 1303B 2025-03-24 02:20:21,930 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-29853779-30606963 to ctest-TestBasicVMVNx-29853779-90928214 using scp 2025-03-24 02:20:21,930 - 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.34, gateway password: c0ntrail123 2025-03-24 02:20:21,931 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-24 02:20:23,872 - DEBUG - 1+0 records in 1+0 records out 2025-03-24 02:20:24,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:20:25,029 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-03-24 02:20:25,030 - DEBUG - ls -l testfile 2025-03-24 02:20:26,607 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 23 20:20 testfile 2025-03-24 02:20:26,608 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-29853779-90928214 2025-03-24 02:20:26,608 - INFO - Deleting VM ctest-TestBasicVMVNx-29853779-90928214 2025-03-24 02:20:26,678 - INFO - Deleting VM ctest-TestBasicVMVNx-29853779-30606963 2025-03-24 02:20:26,742 - INFO - Deleting VN ctest-vn-24533394 2025-03-24 02:20:26,804 - DEBUG - VN 381a8a20-08ba-46de-a892-056154e575bd still in use: Unable to complete operation on network 381a8a20-08ba-46de-a892-056154e575bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b915ec35-a478-4bde-bdeb-999315e44384'] 2025-03-24 02:20:26,805 - WARNING - Deleting VN ctest-vn-24533394 failed..Will retry 2025-03-24 02:20:28,923 - DEBUG - Response for deleting network () 2025-03-24 02:20:29,184 - DEBUG - No XMPP flaps were noticed during the test 2025-03-24 02:20:29,184 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-24 02:20:29,184 - INFO - -------------------------------------------------------------------------------- 2025-03-24 02:20:29,867 - INFO - Deleted project: ctest-TestBasicVMVNx-29853779, ID : afd3d3b3-867a-4c1f-8997-22cf29e1da07