Add DeviceErrorIdentifier for Mainline module rollback detection

https://android-build.corp.google.com/builds/abtd/run/L99900030003867336

Bug: 338679906
Test: ABTD test run
Change-Id: If414d5f4852a943be0a30f973bd2c8656a4db508
2 files changed
tree: 8a4f22c188631d66318d82f188ffc35584127a4f
  1. aoa_helper/
  2. atest_proto/
  3. cache/
  4. clearcut_client/
  5. common_util/
  6. device_build_interfaces/
  7. external_dependencies/
  8. global_configuration/
  9. invocation_interfaces/
  10. isolation/
  11. javatests/
  12. lite/
  13. proto/
  14. reference_tests/
  15. remote/
  16. res/
  17. src/
  18. test_framework/
  19. test_observatory/
  20. test_result_interfaces/
  21. tools/
  22. util_apps/
  23. .classpath
  24. .gitignore
  25. .project
  26. Android.bp
  27. Android.mk
  28. aosp_sha.sh
  29. atest_tradefed.sh
  30. CleanSpec.mk
  31. error_prone_rules.mk
  32. MANIFEST.mf
  33. MULTIUSER_OWNERS
  34. OWNERS
  35. PREUPLOAD.cfg
  36. pylintrc
  37. README.md
  38. run_tf_cmd.sh
  39. script_help.sh
  40. TEST_MAPPING
  41. tradefed.sh
  42. tradefed_win.bat
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

Getting Code Reviewed

1. Create your change in Gerrit
2. Add the reviewer named "Tradefed Codereview" (email: tradefed-codereview@tradefederation.google.com.iam.gserviceaccount.com)
3. Review the code review guidance at go/tf-guidelines and go/tradefed-code-reviews
4. GWSQ should add a couple of people from the team to review your code and give feedback.

More information

More information at: https://source.android.com/docs/core/tests/tradefed/

See more details about Tradefed Architecture at: https://source.android.com/docs/core/tests/tradefed/architecture

If you are a tests writer you should start looking in the test_framework/ component which contains everything needed to write a tests in Tradefed.