ci/bare-metal: Use re.search() instead re.match() for our line matching.
authorEric Anholt <eric@anholt.net>
Mon, 31 Aug 2020 20:38:15 +0000 (13:38 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 3 Sep 2020 23:22:40 +0000 (23:22 +0000)
commitb7787ce18dfe3f04e5d6a7a0858d56702eb9563c
tree8c991a998a37d70021f73039205a510602fbe012
parent93c8777ace8453f4cbc879d0829e582cf151066f
ci/bare-metal: Use re.search() instead re.match() for our line matching.

match() looks for the start of the line to match our regex, while search
just looks for the regex anywhere in the line.  I messed this up when
converting our greps in shell to python, which was part of breaking the
POWER_GOOD flake detection.  Most of our matches worked, but let's
consistently use this one so we don't mess this up in the future.

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