Skip to content

uefi-test-runner serial logs are cut off after the screenshot test #327

@nicholasbishop

Description

@nicholasbishop

This was an unintended side effect of #318 that I didn't catch when testing. Once the serial handle is opened in exclusive mode it seems the link between the serial and console-output protocols is broken. Further writes to the logger show up in the GUI, but not in QEMU's serial output.

Some possible fixes:

  • Ideally there would be a way to restore the link between serial and console-output, but not sure if that's possible.
  • Re-order the tests so that the gop screenshot test occurs last. We'd still miss a few logs like "Testing complete", but could at least be a short-term fix.
  • Make the logger able to write to multiple backends, then it could write to console-out and/or serial as desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions