2024-09-17 20:22:03,342 - INFO - Domain Default found not creating 2024-09-17 20:22:03,575 - INFO - Project ctest-TestBasicVMVNx-91240410 not found, creating it 2024-09-17 20:22:04,216 - INFO - Created Project:ctest-TestBasicVMVNx-91240410, ID : 8175aa87-747c-4ae5-9e93-65b45ddafb5b 2024-09-17 20:22:05,676 - INFO - ================================================================================ 2024-09-17 20:22:05,676 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 20:22:05,676 - 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-17 20:22:05,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.5': '0'}} with 2024-09-17 20:22:05,937 - INFO - Initial checks done. Running the testcase now 2024-09-17 20:22:05,937 - INFO - 2024-09-17 20:22:06,543 - DEBUG - Response for create_network : {'network': {'id': 'ee35ce91-0a92-4085-83f9-ba6f718c8550', 'name': 'ctest-vn-17590272', 'tenant_id': '8175aa87747c4ae59e9365b45ddafb5b', 'project_id': '8175aa87747c4ae59e9365b45ddafb5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91240410', 'ctest-vn-17590272'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 20:22:06,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '14e4e28f-031d-497c-9bdf-1b324e4ad992', 'name': '', 'tenant_id': '8175aa87747c4ae59e9365b45ddafb5b', 'network_id': 'ee35ce91-0a92-4085-83f9-ba6f718c8550', 'ip_version': 4, 'cidr': '223.141.169.128/26', 'allocation_pools': [{'start': '223.141.169.130', 'end': '223.141.169.190'}], 'gateway_ip': '223.141.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.141.169.130', 'tags': [], 'project_id': '8175aa87747c4ae59e9365b45ddafb5b'}} 2024-09-17 20:22:06,785 - INFO - Created VN ctest-vn-17590272 2024-09-17 20:22:06,846 - DEBUG - VN ctest-vn-17590272 UUID is ee35ce91-0a92-4085-83f9-ba6f718c8550 2024-09-17 20:22:07,017 - DEBUG - Services list from nova: [, , ] 2024-09-17 20:22:08,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1971-1) 2024-09-17 20:22:09,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1971-1) 2024-09-17 20:22:09,266 - INFO - Waiting for VM ctest-TestBasicVMVNx-91240410-14289700 to be up.. 2024-09-17 20:22:09,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 20:22:14,453 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:22:14,453 - INFO - VM name : ctest-TestBasicVMVNx-91240410-14289700 2024-09-17 20:22:14,553 - DEBUG - VM ctest-TestBasicVMVNx-91240410-14289700 ID is 39195b47-a4aa-4eb8-b973-4eb46c1ea6fc 2024-09-17 20:22:14,574 - DEBUG - VM ctest-TestBasicVMVNx-91240410-14289700 launched on Node cn-jenkins-deploy-platform-ansible-os-1971-1 2024-09-17 20:22:14,677 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/39195b47-a4aa-4eb8-b973-4eb46c1ea6fc 2024-09-17 20:22:14,974 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/39195b47-a4aa-4eb8-b973-4eb46c1ea6fc 2024-09-17 20:22:15,009 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/94241e55-4ffb-40ef-ad8b-c04524edcd02 2024-09-17 20:22:18,262 - 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 1003ms') 2024-09-17 20:22:18,262 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91240410-14289700 failed! 2024-09-17 20:22:18,322 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-91240410:ctest-vn-17590272 is 223.141.169.129 and allocation pool is NOT set 2024-09-17 20:22:20,384 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.632/2.847/1.215 ms') 2024-09-17 20:22:20,384 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91240410-14289700 passed 2024-09-17 20:22:20,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:22:20,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91240410-14289700, IP 223.141.169.131, Port 22 2024-09-17 20:22:20,697 - DEBUG - VM ctest-TestBasicVMVNx-91240410-14289700 is ready for SSH connections 2024-09-17 20:22:20,697 - INFO - Waiting for VM ctest-TestBasicVMVNx-91240410-66761311 to be up.. 2024-09-17 20:22:20,781 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:22:20,781 - INFO - VM name : ctest-TestBasicVMVNx-91240410-66761311 2024-09-17 20:22:20,856 - DEBUG - VM ctest-TestBasicVMVNx-91240410-66761311 ID is 42840886-63e8-4716-ad1f-5998f8beb1d9 2024-09-17 20:22:20,856 - DEBUG - VM ctest-TestBasicVMVNx-91240410-66761311 launched on Node cn-jenkins-deploy-platform-ansible-os-1971-1 2024-09-17 20:22:20,932 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/42840886-63e8-4716-ad1f-5998f8beb1d9 2024-09-17 20:22:20,941 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/afc54436-4e25-49ec-97f8-30c93911e2de 2024-09-17 20:22:22,200 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.669/2.845/1.176 ms') 2024-09-17 20:22:22,200 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91240410-66761311 passed 2024-09-17 20:22:22,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:22:22,366 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91240410-66761311, IP 223.141.169.132, Port 22 2024-09-17 20:22:22,522 - DEBUG - VM ctest-TestBasicVMVNx-91240410-66761311 is ready for SSH connections 2024-09-17 20:22:22,522 - DEBUG - FILE SIZE = 1303B 2024-09-17 20:22:22,522 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91240410-14289700 to ctest-TestBasicVMVNx-91240410-66761311 using scp 2024-09-17 20:22:22,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:22:22,528 - 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.65, gateway password: c0ntrail123 2024-09-17 20:22:22,528 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 20:22:24,412 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 20:22:24,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:22:25,332 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2024-09-17 20:22:25,332 - DEBUG - ls -l testfile 2024-09-17 20:22:26,899 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 14:22 testfile 2024-09-17 20:22:26,899 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91240410-66761311 2024-09-17 20:22:26,899 - INFO - Deleting VM ctest-TestBasicVMVNx-91240410-66761311 2024-09-17 20:22:26,966 - INFO - Deleting VM ctest-TestBasicVMVNx-91240410-14289700 2024-09-17 20:22:27,029 - INFO - Deleting VN ctest-vn-17590272 2024-09-17 20:22:27,079 - DEBUG - VN ee35ce91-0a92-4085-83f9-ba6f718c8550 still in use: Unable to complete operation on network ee35ce91-0a92-4085-83f9-ba6f718c8550. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49f4b178-85d7-4e10-af0f-af0de30ec4c8'] 2024-09-17 20:22:27,079 - WARNING - Deleting VN ctest-vn-17590272 failed..Will retry 2024-09-17 20:22:29,198 - DEBUG - Response for deleting network () 2024-09-17 20:22:29,456 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 20:22:29,456 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-17 20:22:29,456 - INFO - -------------------------------------------------------------------------------- 2024-09-17 20:22:30,205 - INFO - Deleted project: ctest-TestBasicVMVNx-91240410, ID : 8175aa87-747c-4ae5-9e93-65b45ddafb5b