cheets_CTS: use android-cts-media-1.2 for mediastress.

This pulls in some fixes to Presumably this could help
on the shards which use an unknown to me setup.

Also try to discover the shell version.

TEST=ran on samus
01/22 18:23:37.209 DEBUG|        base_utils:0185| Running 'unzip -d
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 <>
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/' 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 ->
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 ->

Change-Id: Id17ebfa2bc7ffc1f008e27668ce12146cac6b08e
Trybot-Ready: Ilja H. Friedel <>
Tested-by: Ilja H. Friedel <>
Reviewed-by: Ilja H. Friedel <>
(cherry picked from commit 6627bd4d121a2cf436cad439ba75e820378e24b9)
1 file changed
tree: d44189612d3fc2095d98466c4fe4e048deea8b8e
  1. apache/
  2. cli/
  3. client/
  4. contrib/
  5. database/
  6. docs/
  7. frontend/
  8. logs/
  9. packages/
  10. puppylab/
  11. results/
  12. scheduler/
  13. server/
  14. site_utils/
  15. test_suites/
  16. tko/
  17. utils/
  18. .gitignore
  19. .quickmerge_sentinel
  21. COMMIT-QUEUE.ini
  23. global_config.ini
  26. metadata.chromium
  27. moblab_config.ini
  28. PRESUBMIT.cfg
  30. ssp_deploy_config.json

Autotest: Automated integration testing for Android and Chrome OS Devices

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.

Run some autotests

See the guides to test_that and test_droid:

test_droid Basic Usage

test_that Basic Usage

Write some autotests

See the best practices guide, existing tests, and comments in the code.

Autotest Best Practices

Grabbing the latest source

git clone

Hacking and submitting patches

See the coding style guide for guidance on submitting patches.

Coding Style