Add a retry for AaptParser to get package name

We want to make sure that some temporary failure will not
block the run. Adding an auto retry to get the package name

Test: unit tests
Bug: 66707232
Change-Id: If83c2128fd5349cc98c0a41481eb6dff589306a6
(cherry picked from commit 21c92dbb0b2913d61c8f2c79d7d59ec38f743908)
1 file changed
tree: 94234f9ba8eab6ccb8e804352f3dc7b648dc8ea5
  1. atest/
  2. prod-tests/
  3. proto/
  4. remote/
  5. res/
  6. src/
  7. tests/
  8. util-apps/
  9. .classpath
  10. .gitignore
  11. .project
  12. Android.mk
  13. CleanSpec.mk
  14. error_prone_rules.mk
  15. MANIFEST.mf
  16. OWNERS
  17. PREUPLOAD.cfg
  18. README.md
  19. run_tf_cmd.sh
  20. script_help.sh
  21. tradefed.sh
  22. tradefed_win.bat
  23. verify.sh
README.md

Trade Federation (TF / tradefed)

TF is a test harness used to drive Android automated testing. It runs on test hosts and monitors the connected devices, handling test scheduling & execution and device management.

Other test harnesses like Compatibility Test Suite (CTS) and Vendor Test Suite (VTS) use TF as a basis and extend it for their particular needs.

Building TF:

  • source build/envsetup.sh
  • tapas tradefed-all
  • make -j8

More information at: https://source.android.com/devices/tech/test_infra/tradefed/