2025-03-28 11:15:29,843 - INFO - Domain Default found not creating 2025-03-28 11:15:30,021 - INFO - Project ctest-TestBasicVMVNx-53584494 not found, creating it 2025-03-28 11:15:30,522 - INFO - Created Project:ctest-TestBasicVMVNx-53584494, ID : 3acc6f71-7d28-4ace-8148-9f8a465887bc 2025-03-28 11:15:32,048 - INFO - ================================================================================ 2025-03-28 11:15:32,048 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-28 11:15:32,048 - 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-28 11:15:32,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.8': '0'}} with 2025-03-28 11:15:32,319 - INFO - Initial checks done. Running the testcase now 2025-03-28 11:15:32,320 - INFO - 2025-03-28 11:15:32,920 - DEBUG - Response for create_network : {'network': {'id': 'e54dcdc1-5a66-4283-9e4d-2b4e578b519b', 'name': 'ctest-vn-29812995', 'tenant_id': '3acc6f717d284ace81489f8a465887bc', 'project_id': '3acc6f717d284ace81489f8a465887bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-53584494', 'ctest-vn-29812995'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 11:15:33,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aaa2b56-c84b-46d5-b679-015e5bb8bec1', 'name': '', 'tenant_id': '3acc6f717d284ace81489f8a465887bc', 'network_id': 'e54dcdc1-5a66-4283-9e4d-2b4e578b519b', 'ip_version': 4, 'cidr': '87.157.88.128/26', 'allocation_pools': [{'start': '87.157.88.130', 'end': '87.157.88.190'}], 'gateway_ip': '87.157.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.157.88.130', 'tags': [], 'project_id': '3acc6f717d284ace81489f8a465887bc'}} 2025-03-28 11:15:33,170 - INFO - Created VN ctest-vn-29812995 2025-03-28 11:15:33,229 - DEBUG - VN ctest-vn-29812995 UUID is e54dcdc1-5a66-4283-9e4d-2b4e578b519b 2025-03-28 11:15:33,417 - DEBUG - Services list from nova: [, , ] 2025-03-28 11:15:34,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2987-1) 2025-03-28 11:15:35,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2987-1) 2025-03-28 11:15:35,768 - INFO - Waiting for VM ctest-TestBasicVMVNx-53584494-35378623 to be up.. 2025-03-28 11:15:35,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 11:15:40,962 - DEBUG - VM is in ACTIVE state now 2025-03-28 11:15:40,962 - INFO - VM name : ctest-TestBasicVMVNx-53584494-35378623 2025-03-28 11:15:41,053 - DEBUG - VM ctest-TestBasicVMVNx-53584494-35378623 ID is f313ea94-6be0-4a23-8f47-297a92c53f60 2025-03-28 11:15:41,077 - DEBUG - VM ctest-TestBasicVMVNx-53584494-35378623 launched on Node cn-jenkins-deploy-platform-ansible-os-2987-1 2025-03-28 11:15:41,173 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/f313ea94-6be0-4a23-8f47-297a92c53f60 2025-03-28 11:15:41,477 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/f313ea94-6be0-4a23-8f47-297a92c53f60 2025-03-28 11:15:41,514 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/272ce094-b4f4-42f0-85f4-afdd4965919b 2025-03-28 11:15:44,792 - 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 1021ms') 2025-03-28 11:15:44,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53584494-35378623 failed! 2025-03-28 11:15:44,849 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-53584494:ctest-vn-29812995 is 87.157.88.129 and allocation pool is NOT set 2025-03-28 11:15:46,913 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.570 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.570/1.950/3.330/1.380 ms') 2025-03-28 11:15:46,913 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53584494-35378623 passed 2025-03-28 11:15:47,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 11:15:47,073 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53584494-35378623, IP 87.157.88.131, Port 22 2025-03-28 11:15:47,229 - DEBUG - VM ctest-TestBasicVMVNx-53584494-35378623 is ready for SSH connections 2025-03-28 11:15:47,229 - INFO - Waiting for VM ctest-TestBasicVMVNx-53584494-90342865 to be up.. 2025-03-28 11:15:47,324 - DEBUG - VM is in ACTIVE state now 2025-03-28 11:15:47,324 - INFO - VM name : ctest-TestBasicVMVNx-53584494-90342865 2025-03-28 11:15:47,426 - DEBUG - VM ctest-TestBasicVMVNx-53584494-90342865 ID is 9421991b-3a0e-4bc8-b7ca-6aee1a583aa0 2025-03-28 11:15:47,426 - DEBUG - VM ctest-TestBasicVMVNx-53584494-90342865 launched on Node cn-jenkins-deploy-platform-ansible-os-2987-1 2025-03-28 11:15:47,520 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/9421991b-3a0e-4bc8-b7ca-6aee1a583aa0 2025-03-28 11:15:47,533 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/eeefe26d-bb93-4fbf-a069-bf3280391343 2025-03-28 11:15:48,797 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.700 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.700/2.407/4.115/1.707 ms') 2025-03-28 11:15:48,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-53584494-90342865 passed 2025-03-28 11:15:48,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 11:15:48,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53584494-90342865, IP 87.157.88.132, Port 22 2025-03-28 11:15:49,112 - DEBUG - VM ctest-TestBasicVMVNx-53584494-90342865 is ready for SSH connections 2025-03-28 11:15:49,112 - DEBUG - FILE SIZE = 1303B 2025-03-28 11:15:49,112 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-53584494-35378623 to ctest-TestBasicVMVNx-53584494-90342865 using scp 2025-03-28 11:15:49,113 - 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.24, gateway password: c0ntrail123 2025-03-28 11:15:49,113 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-28 11:15:51,093 - DEBUG - 1+0 records in 1+0 records out 2025-03-28 11:15:51,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 11:15:52,229 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-03-28 11:15:52,230 - DEBUG - ls -l testfile 2025-03-28 11:15:53,853 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 28 05:15 testfile 2025-03-28 11:15:53,853 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-53584494-90342865 2025-03-28 11:15:53,854 - INFO - Deleting VM ctest-TestBasicVMVNx-53584494-90342865 2025-03-28 11:15:53,932 - INFO - Deleting VM ctest-TestBasicVMVNx-53584494-35378623 2025-03-28 11:15:54,011 - INFO - Deleting VN ctest-vn-29812995 2025-03-28 11:15:54,053 - DEBUG - VN e54dcdc1-5a66-4283-9e4d-2b4e578b519b still in use: Unable to complete operation on network e54dcdc1-5a66-4283-9e4d-2b4e578b519b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f82f9831-c8c6-48c0-9201-6a8d1ea30b9a'] 2025-03-28 11:15:54,053 - WARNING - Deleting VN ctest-vn-29812995 failed..Will retry 2025-03-28 11:15:56,197 - DEBUG - Response for deleting network () 2025-03-28 11:15:56,456 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 11:15:56,457 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-28 11:15:56,457 - INFO - -------------------------------------------------------------------------------- 2025-03-28 11:15:57,197 - INFO - Deleted project: ctest-TestBasicVMVNx-53584494, ID : 3acc6f71-7d28-4ace-8148-9f8a465887bc