2025-01-15 05:49:23,380 - INFO - Domain Default found not creating 2025-01-15 05:49:23,543 - INFO - Project ctest-TestBasicVMVNx-79786502 not found, creating it 2025-01-15 05:49:24,036 - INFO - Created Project:ctest-TestBasicVMVNx-79786502, ID : 22ef97b3-5f68-40e6-99c4-f5873a8219b3 2025-01-15 05:49:25,525 - INFO - ================================================================================ 2025-01-15 05:49:25,525 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-15 05:49:25,525 - 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-01-15 05:49:25,794 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.13': '0'}} with 2025-01-15 05:49:25,794 - INFO - Initial checks done. Running the testcase now 2025-01-15 05:49:25,794 - INFO - 2025-01-15 05:49:26,363 - DEBUG - Response for create_network : {'network': {'id': 'ac6fab97-1fe4-48e9-a614-ecef4cc51d44', 'name': 'ctest-vn-05380789', 'tenant_id': '22ef97b35f6840e699c4f5873a8219b3', 'project_id': '22ef97b35f6840e699c4f5873a8219b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79786502', 'ctest-vn-05380789'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 05:49:26,529 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c91eadda-9361-4ac6-a2a7-05807305835a', 'name': '', 'tenant_id': '22ef97b35f6840e699c4f5873a8219b3', 'network_id': 'ac6fab97-1fe4-48e9-a614-ecef4cc51d44', 'ip_version': 4, 'cidr': '217.137.246.128/26', 'allocation_pools': [{'start': '217.137.246.130', 'end': '217.137.246.190'}], 'gateway_ip': '217.137.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.137.246.130', 'tags': [], 'project_id': '22ef97b35f6840e699c4f5873a8219b3'}} 2025-01-15 05:49:26,548 - INFO - Created VN ctest-vn-05380789 2025-01-15 05:49:26,602 - DEBUG - VN ctest-vn-05380789 UUID is ac6fab97-1fe4-48e9-a614-ecef4cc51d44 2025-01-15 05:49:26,815 - DEBUG - Services list from nova: [, , ] 2025-01-15 05:49:27,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2634-1) 2025-01-15 05:49:29,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2634-1) 2025-01-15 05:49:29,043 - INFO - Waiting for VM ctest-TestBasicVMVNx-79786502-92716121 to be up.. 2025-01-15 05:49:29,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 05:49:34,342 - DEBUG - VM is in ACTIVE state now 2025-01-15 05:49:34,342 - INFO - VM name : ctest-TestBasicVMVNx-79786502-92716121 2025-01-15 05:49:34,420 - DEBUG - VM ctest-TestBasicVMVNx-79786502-92716121 ID is f1a1b9aa-a6ca-4e57-ad39-9d45323234da 2025-01-15 05:49:34,441 - DEBUG - VM ctest-TestBasicVMVNx-79786502-92716121 launched on Node cn-jenkins-deploy-platform-ansible-os-2634-1 2025-01-15 05:49:34,525 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/f1a1b9aa-a6ca-4e57-ad39-9d45323234da 2025-01-15 05:49:34,824 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/f1a1b9aa-a6ca-4e57-ad39-9d45323234da 2025-01-15 05:49:34,855 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/ca411d66-7890-480d-8232-2d743f077f55 2025-01-15 05:49:38,122 - 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 1015ms') 2025-01-15 05:49:38,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79786502-92716121 failed! 2025-01-15 05:49:38,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79786502:ctest-vn-05380789 is 217.137.246.129 and allocation pool is NOT set 2025-01-15 05:49:40,243 - 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=4.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.786 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.786/2.810/4.835/2.024 ms') 2025-01-15 05:49:40,244 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79786502-92716121 passed 2025-01-15 05:49:40,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 05:49:40,402 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79786502-92716121, IP 217.137.246.131, Port 22 2025-01-15 05:49:40,557 - DEBUG - VM ctest-TestBasicVMVNx-79786502-92716121 is ready for SSH connections 2025-01-15 05:49:40,557 - INFO - Waiting for VM ctest-TestBasicVMVNx-79786502-56927486 to be up.. 2025-01-15 05:49:40,665 - DEBUG - VM is in ACTIVE state now 2025-01-15 05:49:40,666 - INFO - VM name : ctest-TestBasicVMVNx-79786502-56927486 2025-01-15 05:49:40,749 - DEBUG - VM ctest-TestBasicVMVNx-79786502-56927486 ID is 141c2d6d-7e53-4cfc-ae87-8bd054da12ff 2025-01-15 05:49:40,750 - DEBUG - VM ctest-TestBasicVMVNx-79786502-56927486 launched on Node cn-jenkins-deploy-platform-ansible-os-2634-1 2025-01-15 05:49:40,832 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/141c2d6d-7e53-4cfc-ae87-8bd054da12ff 2025-01-15 05:49:40,842 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/00bd5080-806d-42ad-8626-dab92dc85969 2025-01-15 05:49:42,092 - 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.68 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 1002ms\r\nrtt min/avg/max/mdev = 0.383/1.532/2.682/1.149 ms') 2025-01-15 05:49:42,092 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79786502-56927486 passed 2025-01-15 05:49:42,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 05:49:42,250 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79786502-56927486, IP 217.137.246.132, Port 22 2025-01-15 05:49:42,413 - DEBUG - VM ctest-TestBasicVMVNx-79786502-56927486 is ready for SSH connections 2025-01-15 05:49:42,413 - DEBUG - FILE SIZE = 1303B 2025-01-15 05:49:42,413 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79786502-92716121 to ctest-TestBasicVMVNx-79786502-56927486 using scp 2025-01-15 05:49:42,414 - 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.35, gateway password: c0ntrail123 2025-01-15 05:49:42,414 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-15 05:49:44,323 - DEBUG - 1+0 records in 1+0 records out 2025-01-15 05:49:45,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 05:49:45,451 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-01-15 05:49:45,452 - DEBUG - ls -l testfile 2025-01-15 05:49:47,044 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 14 22:49 testfile 2025-01-15 05:49:47,044 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79786502-56927486 2025-01-15 05:49:47,045 - INFO - Deleting VM ctest-TestBasicVMVNx-79786502-56927486 2025-01-15 05:49:47,127 - INFO - Deleting VM ctest-TestBasicVMVNx-79786502-92716121 2025-01-15 05:49:47,205 - INFO - Deleting VN ctest-vn-05380789 2025-01-15 05:49:47,256 - DEBUG - VN ac6fab97-1fe4-48e9-a614-ecef4cc51d44 still in use: Unable to complete operation on network ac6fab97-1fe4-48e9-a614-ecef4cc51d44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55c1f800-597f-43f4-93d4-667fa8cd0a98'] 2025-01-15 05:49:47,256 - WARNING - Deleting VN ctest-vn-05380789 failed..Will retry 2025-01-15 05:49:49,378 - DEBUG - Response for deleting network () 2025-01-15 05:49:49,637 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 05:49:49,637 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-15 05:49:49,637 - INFO - -------------------------------------------------------------------------------- 2025-01-15 05:49:50,347 - INFO - Deleted project: ctest-TestBasicVMVNx-79786502, ID : 22ef97b3-5f68-40e6-99c4-f5873a8219b3