2024-11-07 22:08:11,333 - INFO - Domain Default found not creating 2024-11-07 22:08:11,477 - INFO - Project ctest-TestBasicVMVNx-88239430 not found, creating it 2024-11-07 22:08:11,972 - INFO - Created Project:ctest-TestBasicVMVNx-88239430, ID : ca0c9675-d53f-4864-ba1b-1ddc7538f8f3 2024-11-07 22:08:13,404 - INFO - ================================================================================ 2024-11-07 22:08:13,404 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 22:08:13,404 - 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-11-07 22:08:13,660 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.7': '0'}} with 2024-11-07 22:08:13,660 - INFO - Initial checks done. Running the testcase now 2024-11-07 22:08:13,660 - INFO - 2024-11-07 22:08:14,227 - DEBUG - Response for create_network : {'network': {'id': '8798322f-9d6c-4991-a140-86710a625100', 'name': 'ctest-vn-12507109', 'tenant_id': 'ca0c9675d53f4864ba1b1ddc7538f8f3', 'project_id': 'ca0c9675d53f4864ba1b1ddc7538f8f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88239430', 'ctest-vn-12507109'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 22:08:14,435 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb93609e-5c09-4cd7-a771-1f7811c0cf2e', 'name': '', 'tenant_id': 'ca0c9675d53f4864ba1b1ddc7538f8f3', 'network_id': '8798322f-9d6c-4991-a140-86710a625100', 'ip_version': 4, 'cidr': '129.58.183.192/26', 'allocation_pools': [{'start': '129.58.183.194', 'end': '129.58.183.254'}], 'gateway_ip': '129.58.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.58.183.194', 'tags': [], 'project_id': 'ca0c9675d53f4864ba1b1ddc7538f8f3'}} 2024-11-07 22:08:14,457 - INFO - Created VN ctest-vn-12507109 2024-11-07 22:08:14,514 - DEBUG - VN ctest-vn-12507109 UUID is 8798322f-9d6c-4991-a140-86710a625100 2024-11-07 22:08:14,682 - DEBUG - Services list from nova: [, , ] 2024-11-07 22:08:15,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2222-1) 2024-11-07 22:08:17,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2222-1) 2024-11-07 22:08:17,020 - INFO - Waiting for VM ctest-TestBasicVMVNx-88239430-77001917 to be up.. 2024-11-07 22:08:17,104 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 22:08:22,239 - DEBUG - VM is in ACTIVE state now 2024-11-07 22:08:22,240 - INFO - VM name : ctest-TestBasicVMVNx-88239430-77001917 2024-11-07 22:08:22,370 - DEBUG - VM ctest-TestBasicVMVNx-88239430-77001917 ID is deccb501-d2da-489c-9317-7879c12fd716 2024-11-07 22:08:22,394 - DEBUG - VM ctest-TestBasicVMVNx-88239430-77001917 launched on Node cn-jenkins-deploy-platform-ansible-os-2222-1 2024-11-07 22:08:22,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/deccb501-d2da-489c-9317-7879c12fd716 2024-11-07 22:08:22,818 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/deccb501-d2da-489c-9317-7879c12fd716 2024-11-07 22:08:22,857 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6e9d6455-3ec1-47c2-881d-f8d1c1c0a80a 2024-11-07 22:08:26,158 - 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') 2024-11-07 22:08:26,158 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88239430-77001917 failed! 2024-11-07 22:08:26,218 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88239430:ctest-vn-12507109 is 129.58.183.193 and allocation pool is NOT set 2024-11-07 22:08:28,273 - 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=2.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.346 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.346/1.662/2.978/1.316 ms') 2024-11-07 22:08:28,273 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88239430-77001917 passed 2024-11-07 22:08:28,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 22:08:28,426 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88239430-77001917, IP 129.58.183.195, Port 22 2024-11-07 22:08:28,586 - DEBUG - VM ctest-TestBasicVMVNx-88239430-77001917 is ready for SSH connections 2024-11-07 22:08:28,586 - INFO - Waiting for VM ctest-TestBasicVMVNx-88239430-95586206 to be up.. 2024-11-07 22:08:28,696 - DEBUG - VM is in ACTIVE state now 2024-11-07 22:08:28,696 - INFO - VM name : ctest-TestBasicVMVNx-88239430-95586206 2024-11-07 22:08:28,790 - DEBUG - VM ctest-TestBasicVMVNx-88239430-95586206 ID is 985be0fa-4c32-432e-8c75-40963dceb11d 2024-11-07 22:08:28,790 - DEBUG - VM ctest-TestBasicVMVNx-88239430-95586206 launched on Node cn-jenkins-deploy-platform-ansible-os-2222-1 2024-11-07 22:08:28,875 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/985be0fa-4c32-432e-8c75-40963dceb11d 2024-11-07 22:08:28,884 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2fbe0629-9355-4e76-8d40-0de8a934f6ea 2024-11-07 22:08:30,147 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.573/2.806/1.232 ms') 2024-11-07 22:08:30,147 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88239430-95586206 passed 2024-11-07 22:08:30,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 22:08:30,311 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88239430-95586206, IP 129.58.183.196, Port 22 2024-11-07 22:08:30,465 - DEBUG - VM ctest-TestBasicVMVNx-88239430-95586206 is ready for SSH connections 2024-11-07 22:08:30,466 - DEBUG - FILE SIZE = 1303B 2024-11-07 22:08:30,466 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88239430-77001917 to ctest-TestBasicVMVNx-88239430-95586206 using scp 2024-11-07 22:08:30,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 22:08:30,472 - 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.22, gateway password: c0ntrail123 2024-11-07 22:08:30,472 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 22:08:32,401 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 22:08:32,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 22:08:33,310 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-11-07 22:08:33,310 - DEBUG - ls -l testfile 2024-11-07 22:08:34,881 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 15:08 testfile 2024-11-07 22:08:34,881 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88239430-95586206 2024-11-07 22:08:34,881 - INFO - Deleting VM ctest-TestBasicVMVNx-88239430-95586206 2024-11-07 22:08:34,951 - INFO - Deleting VM ctest-TestBasicVMVNx-88239430-77001917 2024-11-07 22:08:35,032 - INFO - Deleting VN ctest-vn-12507109 2024-11-07 22:08:35,081 - DEBUG - VN 8798322f-9d6c-4991-a140-86710a625100 still in use: Unable to complete operation on network 8798322f-9d6c-4991-a140-86710a625100. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76ee8205-a570-4e39-9f35-5256af808872'] 2024-11-07 22:08:35,081 - WARNING - Deleting VN ctest-vn-12507109 failed..Will retry 2024-11-07 22:08:37,194 - DEBUG - Response for deleting network () 2024-11-07 22:08:37,452 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 22:08:37,452 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-07 22:08:37,453 - INFO - -------------------------------------------------------------------------------- 2024-11-07 22:08:38,185 - INFO - Deleted project: ctest-TestBasicVMVNx-88239430, ID : ca0c9675-d53f-4864-ba1b-1ddc7538f8f3