ci/bare-metal: Fix detection of "POWER_GOOD not seen in time" fails
authorEric Anholt <eric@anholt.net>
Mon, 31 Aug 2020 19:08:34 +0000 (12:08 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 3 Sep 2020 23:22:41 +0000 (23:22 +0000)
commitff42b7e8041dc09363cbfd4c54533ff280505cd0
treef8d745ea5686de39eab5c18943c93f4db4ee19b8
parentb7787ce18dfe3f04e5d6a7a0858d56702eb9563c
ci/bare-metal: Fix detection of "POWER_GOOD not seen in time" fails

We were only reading from the CPU serial, not EC, so we'd never notice
these sources of job timeouts.  I couldn't find a cleaner solution, so I
spawned two threads to do the blocking reads from our serial line fifos
and merge them together in a single queue to read.

Closes: #3470
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6529>
.gitlab-ci/bare-metal/cros_servo_run.py