Tests are no longer sensitive to where the logs are from

A Microdroid VM emits logs via two serial ports. The first serial port
is used as the console where kernel logs (and userspace logs sent to
/dev/kmsg) are emitted. The second serial port is used for the logs
emitted via liblog.

There are some tests which expect certain string (ex: boot complete
message) from the VM logs. The problem however was that those tests have
had knowwledge about which of the two serial ports to read. This broke
the tests when we changed where the logs are emitted to.

With this change, the tests are no longer sensitive to where the logs
are from.

Bug: 308383728
Test: run against git_24Q1-release
Merged-In: Ie98acc8e64e157211fe3bfd0b37f66972726887c
Change-Id: Ie98acc8e64e157211fe3bfd0b37f66972726887c
2 files changed
tree: ddf5c768b52e3c1afdfa60223390e1b7ea8ca609
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. compos/
  5. demo/
  6. docs/
  7. encryptedstore/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. tests/
  16. virtualizationmanager/
  17. virtualizationservice/
  18. vm/
  19. vm_payload/
  20. vmbase/
  21. vmclient/
  22. zipfuse/
  23. .clang-format
  24. .gitignore
  25. Android.bp
  26. OWNERS
  27. PREUPLOAD.cfg
  28. README.md
  29. 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.