~pwlars/ubuntu-test-cases/krillin-recovery

  • Committer: Andy Doan
  • Date: 2013-10-31 17:53:58 UTC
  • Revision ID: andy.doan@canonical.com-20131031175358-aqi1jvck4u9teeqw
fix some ADB device errors found in MEGA job testing

1) The test_app function needed updating because due to the way
shell scripts work, "set -e" can't be honored in that function.
eg: http://paste.ubuntu.com/6332997/

2) add retry logic for run-autopilot-tests.sh

We are seeing devices disappear for a bit after reboot. This
doesn't happen in production, but has been seen at home. Its likely
related to MTP coming up on the device which temporarily kills ADB.

Why it doesn't happen in production must be related to how the jobs
are structured slightly differently.

This includes a new "log_error" function. This makes it easier to
go back and see how often these flaky things are happening. eg:

  http://10.97.9.20:8080/job/tmp-trusty-touch-mako/5/artifact/clientlogs/runner-errors.txt/*view*/

That test had to be repeated for some odd reason.

3) reboot-and-wait should make sure device is online first:
example failure w/o the fix:

  http://10.97.9.20:8080/job/tmp-trusty-touch-mako/2/console
Filename Latest Rev Last Changed Committer Comment Size
..
jenkins 18.1.3 11 years ago Chris Johnston Add ubuntu-touch-runlists Diff
scripts 18.1.2 11 years ago Chris Johnston Add smoke-touch-apps tests Diff
selftests 70.4.1 11 years ago Andy Doan fix bugs found in run-autopilot.sh 1: When unlock Diff
tests 18.1.1 11 years ago Chris Johnston Move current default tests to new tests directory Diff
utils 18.1.2 11 years ago Chris Johnston Add smoke-touch-apps tests Diff
README-cli.rst 70.3.4 11 years ago Andy Doan add some documentation for both CLI and Jenkins jo 2.4 KB Diff Download File