Handle test failure better

Send the VM's console & log to logcat; ditto the output produced by
the payload.

Fix some missing \n in the payload (we wait for the \n before sending
to logcat).

Abort instead of ignoring a failure to send onPayloadReady; this
causes the test to fail fast (and produce a tombstone!) rather than
waiting until the 5 minute timeout expires.

Bug: 232403335
Test: atest MicrodroidTests

Change-Id: Ia499e527d45cb1383e5db3faab3de7b09c9a8d04
2 files changed
tree: 26e8507a9a362dc2d1738ed81215c8cce270306d
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. authfs/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. tests/
  15. virtualizationservice/
  16. vm/
  17. vmbase/
  18. zipfuse/
  19. .clang-format
  20. .gitignore
  21. Android.bp
  22. OWNERS
  23. PREUPLOAD.cfg
  24. README.md
  25. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.