2024-09-20 19:52:59,792 - INFO - Domain Default found not creating 2024-09-20 19:52:59,974 - INFO - Project ctest-TestBasicVMVNx-79927444 not found, creating it 2024-09-20 19:53:00,503 - INFO - Created Project:ctest-TestBasicVMVNx-79927444, ID : d959486d-acee-4c44-b632-b68a1a225220 2024-09-20 19:53:02,193 - INFO - ================================================================================ 2024-09-20 19:53:02,193 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-20 19:53:02,193 - 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 2024-09-20 19:53:02,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.8': '0'}} with 2024-09-20 19:53:02,449 - INFO - Initial checks done. Running the testcase now 2024-09-20 19:53:02,449 - INFO - 2024-09-20 19:53:03,053 - DEBUG - Response for create_network : {'network': {'id': 'bb9ee0b1-d086-4529-a3a8-e7db97da4884', 'name': 'ctest-vn-36401679', 'tenant_id': 'd959486dacee4c44b632b68a1a225220', 'project_id': 'd959486dacee4c44b632b68a1a225220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79927444', 'ctest-vn-36401679'], 'port_security_enabled': True, 'description': ''}} 2024-09-20 19:53:03,291 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0fa33f4-b043-41c0-8ee6-6c5fec03c588', 'name': '', 'tenant_id': 'd959486dacee4c44b632b68a1a225220', 'network_id': 'bb9ee0b1-d086-4529-a3a8-e7db97da4884', 'ip_version': 4, 'cidr': '89.228.39.64/26', 'allocation_pools': [{'start': '89.228.39.66', 'end': '89.228.39.126'}], 'gateway_ip': '89.228.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.228.39.66', 'tags': [], 'project_id': 'd959486dacee4c44b632b68a1a225220'}} 2024-09-20 19:53:03,313 - INFO - Created VN ctest-vn-36401679 2024-09-20 19:53:03,371 - DEBUG - VN ctest-vn-36401679 UUID is bb9ee0b1-d086-4529-a3a8-e7db97da4884 2024-09-20 19:53:03,547 - DEBUG - Services list from nova: [, , ] 2024-09-20 19:53:04,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2010-1) 2024-09-20 19:53:05,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2010-1) 2024-09-20 19:53:05,857 - INFO - Waiting for VM ctest-TestBasicVMVNx-79927444-80465062 to be up.. 2024-09-20 19:53:05,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-20 19:53:11,058 - DEBUG - VM is in ACTIVE state now 2024-09-20 19:53:11,058 - INFO - VM name : ctest-TestBasicVMVNx-79927444-80465062 2024-09-20 19:53:11,139 - DEBUG - VM ctest-TestBasicVMVNx-79927444-80465062 ID is 8a809408-1af8-476f-a71c-fe9f3f0d91c6 2024-09-20 19:53:11,156 - DEBUG - VM ctest-TestBasicVMVNx-79927444-80465062 launched on Node cn-jenkins-deploy-platform-ansible-os-2010-1 2024-09-20 19:53:11,247 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8a809408-1af8-476f-a71c-fe9f3f0d91c6 2024-09-20 19:53:11,548 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8a809408-1af8-476f-a71c-fe9f3f0d91c6 2024-09-20 19:53:11,590 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/a187fad8-febd-48d7-8096-50df9d0d5dd2 2024-09-20 19:53:14,865 - 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 1014ms') 2024-09-20 19:53:14,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79927444-80465062 failed! 2024-09-20 19:53:14,927 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79927444:ctest-vn-36401679 is 89.228.39.65 and allocation pool is NOT set 2024-09-20 19:53:16,999 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.85 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 = 3.851/3.881/3.912/0.030 ms') 2024-09-20 19:53:16,999 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79927444-80465062 passed 2024-09-20 19:53:17,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:53:17,159 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79927444-80465062, IP 89.228.39.67, Port 22 2024-09-20 19:53:17,319 - DEBUG - VM ctest-TestBasicVMVNx-79927444-80465062 is ready for SSH connections 2024-09-20 19:53:17,319 - INFO - Waiting for VM ctest-TestBasicVMVNx-79927444-61264810 to be up.. 2024-09-20 19:53:17,398 - DEBUG - VM is in ACTIVE state now 2024-09-20 19:53:17,398 - INFO - VM name : ctest-TestBasicVMVNx-79927444-61264810 2024-09-20 19:53:17,473 - DEBUG - VM ctest-TestBasicVMVNx-79927444-61264810 ID is 33073d77-0e56-43a0-af8e-25382e7fdfe6 2024-09-20 19:53:17,474 - DEBUG - VM ctest-TestBasicVMVNx-79927444-61264810 launched on Node cn-jenkins-deploy-platform-ansible-os-2010-1 2024-09-20 19:53:17,552 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/33073d77-0e56-43a0-af8e-25382e7fdfe6 2024-09-20 19:53:17,565 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/95dd1c7b-9644-41de-8898-9deeafc32811 2024-09-20 19:53:18,832 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 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.361/1.596/2.832/1.235 ms') 2024-09-20 19:53:18,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79927444-61264810 passed 2024-09-20 19:53:18,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:53:18,991 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79927444-61264810, IP 89.228.39.68, Port 22 2024-09-20 19:53:19,150 - DEBUG - VM ctest-TestBasicVMVNx-79927444-61264810 is ready for SSH connections 2024-09-20 19:53:19,150 - DEBUG - FILE SIZE = 1303B 2024-09-20 19:53:19,150 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79927444-80465062 to ctest-TestBasicVMVNx-79927444-61264810 using scp 2024-09-20 19:53:19,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:53:19,156 - 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.28, gateway password: c0ntrail123 2024-09-20 19:53:19,156 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-20 19:53:21,090 - DEBUG - 1+0 records in 1+0 records out 2024-09-20 19:53:21,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:53:22,171 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-20 19:53:22,171 - DEBUG - ls -l testfile 2024-09-20 19:53:23,740 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 20 13:53 testfile 2024-09-20 19:53:23,740 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79927444-61264810 2024-09-20 19:53:23,740 - INFO - Deleting VM ctest-TestBasicVMVNx-79927444-61264810 2024-09-20 19:53:23,811 - INFO - Deleting VM ctest-TestBasicVMVNx-79927444-80465062 2024-09-20 19:53:23,876 - INFO - Deleting VN ctest-vn-36401679 2024-09-20 19:53:23,923 - DEBUG - VN bb9ee0b1-d086-4529-a3a8-e7db97da4884 still in use: Unable to complete operation on network bb9ee0b1-d086-4529-a3a8-e7db97da4884. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-59f07acd-e250-418f-add9-56a1259edb03'] 2024-09-20 19:53:23,923 - WARNING - Deleting VN ctest-vn-36401679 failed..Will retry 2024-09-20 19:53:26,033 - DEBUG - Response for deleting network () 2024-09-20 19:53:26,297 - DEBUG - No XMPP flaps were noticed during the test 2024-09-20 19:53:26,297 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-20 19:53:26,297 - INFO - -------------------------------------------------------------------------------- 2024-09-20 19:53:26,993 - INFO - Deleted project: ctest-TestBasicVMVNx-79927444, ID : d959486d-acee-4c44-b632-b68a1a225220