2025-05-22 16:00:33,410 - INFO - Domain Default found not creating 2025-05-22 16:00:33,574 - INFO - Project ctest-TestBasicVMVNx-14527329 not found, creating it 2025-05-22 16:00:34,058 - INFO - Created Project:ctest-TestBasicVMVNx-14527329, ID : adc19b6f-40d9-4584-9826-f6599ed16b8c 2025-05-22 16:00:35,541 - INFO - ================================================================================ 2025-05-22 16:00:35,541 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-22 16:00:35,541 - 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-05-22 16:00:35,797 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-22 16:00:35,797 - INFO - Initial checks done. Running the testcase now 2025-05-22 16:00:35,797 - INFO - 2025-05-22 16:00:36,374 - DEBUG - Response for create_network : {'network': {'id': '6e9d3a74-ada0-497c-8d26-bfd68c1ee620', 'name': 'ctest-vn-80324629', 'tenant_id': 'adc19b6f40d945849826f6599ed16b8c', 'project_id': 'adc19b6f40d945849826f6599ed16b8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14527329', 'ctest-vn-80324629'], 'port_security_enabled': True, 'description': ''}} 2025-05-22 16:00:36,541 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2068967-fdfc-4391-b262-bcaafba61c6e', 'name': '', 'tenant_id': 'adc19b6f40d945849826f6599ed16b8c', 'network_id': '6e9d3a74-ada0-497c-8d26-bfd68c1ee620', 'ip_version': 4, 'cidr': '33.179.252.192/26', 'allocation_pools': [{'start': '33.179.252.194', 'end': '33.179.252.254'}], 'gateway_ip': '33.179.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.179.252.194', 'tags': [], 'project_id': 'adc19b6f40d945849826f6599ed16b8c'}} 2025-05-22 16:00:36,560 - INFO - Created VN ctest-vn-80324629 2025-05-22 16:00:36,615 - DEBUG - VN ctest-vn-80324629 UUID is 6e9d3a74-ada0-497c-8d26-bfd68c1ee620 2025-05-22 16:00:36,797 - DEBUG - Services list from nova: [, , ] 2025-05-22 16:00:37,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3333-1) 2025-05-22 16:00:38,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3333-1) 2025-05-22 16:00:38,984 - INFO - Waiting for VM ctest-TestBasicVMVNx-14527329-08265286 to be up.. 2025-05-22 16:00:39,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-22 16:00:44,155 - DEBUG - VM is in ACTIVE state now 2025-05-22 16:00:44,155 - INFO - VM name : ctest-TestBasicVMVNx-14527329-08265286 2025-05-22 16:00:44,229 - DEBUG - VM ctest-TestBasicVMVNx-14527329-08265286 ID is 73b053e6-b108-4815-93c8-ffd1a67c5a57 2025-05-22 16:00:44,248 - DEBUG - VM ctest-TestBasicVMVNx-14527329-08265286 launched on Node cn-jenkins-deploy-platform-ansible-os-3333-1 2025-05-22 16:00:44,329 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/73b053e6-b108-4815-93c8-ffd1a67c5a57 2025-05-22 16:00:44,626 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/73b053e6-b108-4815-93c8-ffd1a67c5a57 2025-05-22 16:00:44,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f2af1864-19aa-4e44-9044-b06ec5a53bc8 2025-05-22 16:00:47,944 - 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-05-22 16:00:47,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14527329-08265286 failed! 2025-05-22 16:00:47,999 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14527329:ctest-vn-80324629 is 33.179.252.193 and allocation pool is NOT set 2025-05-22 16:00:50,063 - 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=3.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.599 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.599/1.797/2.996/1.198 ms') 2025-05-22 16:00:50,064 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14527329-08265286 passed 2025-05-22 16:00:50,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 16:00:50,219 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14527329-08265286, IP 33.179.252.195, Port 22 2025-05-22 16:00:50,379 - DEBUG - VM ctest-TestBasicVMVNx-14527329-08265286 is ready for SSH connections 2025-05-22 16:00:50,379 - INFO - Waiting for VM ctest-TestBasicVMVNx-14527329-00783826 to be up.. 2025-05-22 16:00:50,461 - DEBUG - VM is in ACTIVE state now 2025-05-22 16:00:50,461 - INFO - VM name : ctest-TestBasicVMVNx-14527329-00783826 2025-05-22 16:00:50,644 - DEBUG - VM ctest-TestBasicVMVNx-14527329-00783826 ID is 426b3e16-c7f8-4c2a-a87a-1456f61ad4ea 2025-05-22 16:00:50,644 - DEBUG - VM ctest-TestBasicVMVNx-14527329-00783826 launched on Node cn-jenkins-deploy-platform-ansible-os-3333-1 2025-05-22 16:00:50,744 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/426b3e16-c7f8-4c2a-a87a-1456f61ad4ea 2025-05-22 16:00:50,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/47e9dcff-d862-41f4-a564-6833efa3495c 2025-05-22 16:00:52,001 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.85 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.853/2.873/2.893/0.020 ms') 2025-05-22 16:00:52,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14527329-00783826 passed 2025-05-22 16:00:52,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 16:00:52,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14527329-00783826, IP 33.179.252.196, Port 22 2025-05-22 16:00:52,310 - DEBUG - VM ctest-TestBasicVMVNx-14527329-00783826 is ready for SSH connections 2025-05-22 16:00:52,310 - DEBUG - FILE SIZE = 1303B 2025-05-22 16:00:52,311 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14527329-08265286 to ctest-TestBasicVMVNx-14527329-00783826 using scp 2025-05-22 16:00:52,311 - 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-05-22 16:00:52,311 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-22 16:00:54,294 - DEBUG - 1+0 records in 1+0 records out 2025-05-22 16:00:55,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 16:00:55,403 - 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-05-22 16:00:55,403 - DEBUG - ls -l testfile 2025-05-22 16:00:56,981 - DEBUG - -rw------- 1 cirros cirros 1303 May 22 10:00 testfile 2025-05-22 16:00:56,981 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14527329-00783826 2025-05-22 16:00:56,982 - INFO - Deleting VM ctest-TestBasicVMVNx-14527329-00783826 2025-05-22 16:00:57,067 - INFO - Deleting VM ctest-TestBasicVMVNx-14527329-08265286 2025-05-22 16:00:57,135 - INFO - Deleting VN ctest-vn-80324629 2025-05-22 16:00:57,180 - DEBUG - VN 6e9d3a74-ada0-497c-8d26-bfd68c1ee620 still in use: Unable to complete operation on network 6e9d3a74-ada0-497c-8d26-bfd68c1ee620. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ff29371-ce9b-4f78-92b0-bdcf0a37f9dd'] 2025-05-22 16:00:57,181 - WARNING - Deleting VN ctest-vn-80324629 failed..Will retry 2025-05-22 16:00:59,293 - DEBUG - Response for deleting network () 2025-05-22 16:00:59,552 - DEBUG - No XMPP flaps were noticed during the test 2025-05-22 16:00:59,552 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-22 16:00:59,552 - INFO - -------------------------------------------------------------------------------- 2025-05-22 16:01:00,271 - INFO - Deleted project: ctest-TestBasicVMVNx-14527329, ID : adc19b6f-40d9-4584-9826-f6599ed16b8c