|author||Ilja H. Friedel <firstname.lastname@example.org>||Sun Jan 22 16:26:01 2017 -0800|
|committer||Ilja H. Friedel <email@example.com>||Tue Jan 24 05:11:17 2017 +0000|
cheets_CTS: use android-cts-media-1.2 for mediastress. This pulls in some fixes to copy_media.sh. Presumably this could help on the shards which use an unknown to me setup. Also try to discover the shell version. BUG=b:32978387 TEST=ran on samus 01/22 18:23:37.209 DEBUG| base_utils:0185| Running 'unzip -d '/tmp/autotest-tradefed-install_zzejDd/5496e56a52efcc5037f0e5ebee6b2863/android-cts-media-1.2' '/tmp/autotest-tradefed-install_zzejDd/5496e56a52efcc5037f0e5ebee6b2863/android-cts-media-1.2.zip'' 01/22 18:23:53.681 DEBUG| base_utils:0185| Running 'file '/bin/sh'' 01/22 18:23:53.747 DEBUG| base_utils:0280| [stdout] /bin/sh: symbolic link to bash 01/22 18:23:53.748 DEBUG| base_utils:0185| Running 'sh --version' 01/22 18:23:53.760 DEBUG| base_utils:0280| [stdout] GNU bash, version 4.3.42(1)-release (x86_64-pc-linux-gnu) 01/22 18:23:53.760 DEBUG| base_utils:0280| [stdout] Copyright (C) 2013 Free Software Foundation, Inc. 01/22 18:23:53.761 DEBUG| base_utils:0280| [stdout] License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 01/22 18:23:53.761 DEBUG| base_utils:0280| [stdout] 01/22 18:23:53.761 DEBUG| base_utils:0280| [stdout] This is free software; you are free to change and redistribute it. 01/22 18:23:53.761 DEBUG| base_utils:0280| [stdout] There is NO WARRANTY, to the extent permitted by law. 01/22 18:23:53.762 DEBUG| base_utils:0185| Running 'sh -e '/tmp/autotest-tradefed-install_zzejDd/5496e56a52efcc5037f0e5ebee6b2863/android-cts-media-1.2/android-cts-media-1.2/copy_media.sh' all' 01/22 18:23:53.776 DEBUG| base_utils:0280| [stdout] max resolution is all 01/22 18:23:53.776 DEBUG| base_utils:0280| [stdout] adb options 01/22 18:23:53.776 DEBUG| base_utils:0280| [stdout] copying 1920x1080 01/22 18:23:53.915 ERROR| base_utils:0280| [stderr] push: bbb_short/1920x1080/mp4_libx265_libfaac/bbb_short.fmpeg.1920x1080.mp4.libx265_3250kbps_30fps.libfaac_stereo_128kbps_48000hz.mp4 -> /sdcard/test/bbb_short/1920x1080/mp4_libx265_libfaac/bbb_short.fmpeg.1920x1080.mp4.libx265_3250kbps_30fps.libfaac_stereo_128kbps_48000hz.mp4 01/22 18:23:54.243 ERROR| base_utils:0280| [stderr] push: bbb_short/1920x1080/mp4_libx265_libfaac/bbb_short.fmpeg.1920x1080.mp4.libx265_6500kbps_30fps.libfaac_stereo_128kbps_48000hz.mp4 -> /sdcard/test/bbb_short/1920x1080/mp4_libx265_libfaac/bbb_short.fmpeg.1920x1080.mp4.libx265_6500kbps_30fps.libfaac_stereo_128kbps_48000hz.mp4 Change-Id: Id17ebfa2bc7ffc1f008e27668ce12146cac6b08e Reviewed-on: https://chromium-review.googlesource.com/431175 Trybot-Ready: Ilja H. Friedel <firstname.lastname@example.org> Tested-by: Ilja H. Friedel <email@example.com> Reviewed-by: Ilja H. Friedel <firstname.lastname@example.org> (cherry picked from commit 6627bd4d121a2cf436cad439ba75e820378e24b9) Reviewed-on: https://chromium-review.googlesource.com/431440
Autotest is a framework for fully automated testing. It was originally designed to test the Linux kernel, and expanded by the Chrome OS team to validate complete system images of Chrome OS and Android.
Autotest is composed of a number of modules that will help you to do stand alone tests or setup a fully automated test grid, depending on what you are up to. A non extensive list of functionality is:
A body of code to run tests on the device under test. In this setup, test logic executes on the machine being tested, and results are written to files for later collection from a development machine or lab infrastructure.
A body of code to run tests against a remote device under test. In this setup, test logic executes on a development machine or piece of lab infrastructure, and the device under test is controlled remotely via SSH/adb/some combination of the above.
Developer tools to execute one or more tests.
test_that for Chrome OS and
test_droid for Android allow developers to run tests against a device connected to their development machine on their desk. These tools are written so that the same test logic that runs in the lab will run at their desk, reducing the number of configurations under which tests are run.
Lab infrastructure to automate the running of tests. This infrastructure is capable of managing and running tests against thousands of devices in various lab environments. This includes code for both synchronous and asynchronous scheduling of tests. Tests are run against this hardware daily to validate every build of Chrome OS.
Infrastructure to set up miniature replicas of a full lab. A full lab does entail a certain amount of administrative work which isn't appropriate for a work group interested in automated tests against a small set of devices. Since this scale is common during device bringup, a special setup, called Moblab, allows a natural progressing from desk -> mini lab -> full lab.
See the guides to
See the best practices guide, existing tests, and comments in the code.
git clone https://chromium.googlesource.com/chromiumos/third_party/autotest
See the coding style guide for guidance on submitting patches.