Module: Mesa
Branch: master
Commit: 24f5f11719713e0027c655f5f189299af6d1da35
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=24f5f11719713e0027c655f5f189299af6d1da35

Author: Eric Anholt <[email protected]>
Date:   Mon Aug 31 13:41:57 2020 -0700

ci/bare-metal: Log why our run restarts when it does.

It would be confusing to see a job quietly restart itself in the middle.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6529>

---

 .gitlab-ci/bare-metal/cros_servo_run.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci/bare-metal/cros_servo_run.py 
b/.gitlab-ci/bare-metal/cros_servo_run.py
index 9d7cfa488cd..b53763be259 100755
--- a/.gitlab-ci/bare-metal/cros_servo_run.py
+++ b/.gitlab-ci/bare-metal/cros_servo_run.py
@@ -96,6 +96,7 @@ class CrosServoRun:
             # the system sometimes, possibly dependent on ambient temperature
             # in the farm.
             if re.search("POWER_GOOD not seen in time", line):
+                print("Detected intermittent poweron failure, restarting 
run...")
                 return 2
 
             # The Cheza firmware seems to occasionally get stuck looping in
@@ -105,6 +106,7 @@ class CrosServoRun:
             if re.search("R8152: Bulk read error 0xffffffbf", line):
                 tftp_failures += 1
                 if tftp_failures >= 100:
+                    print("Detected intermittent tftp failure, restarting 
run...")
                     return 2
 
             result = re.search("bare-metal result: (\S*)", line)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to