From 2407952ec99ab1c2a16e01a9e300f799e4d53320 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 17 Mar 2021 09:19:18 -0700 Subject: [PATCH] ci/bare-metal: Restart a run on intermittent kernel lockups. Since enabling SMP on db820c and cranking up how many tests we run, we've been seeing lockups like this a couple of times a week. Part-of: --- .gitlab-ci/bare-metal/cros_servo_run.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci/bare-metal/cros_servo_run.py b/.gitlab-ci/bare-metal/cros_servo_run.py index dc5014bb283..69902be18aa 100755 --- a/.gitlab-ci/bare-metal/cros_servo_run.py +++ b/.gitlab-ci/bare-metal/cros_servo_run.py @@ -139,6 +139,12 @@ class CrosServoRun: self.print_error("Detected cheza power management bus error, restarting run...") return 2 + # db820c sometimes wedges around iommu fault recovery + if re.search("watchdog: BUG: soft lockup - CPU.* stuck", line): + self.print_error( + "Detected kernel soft lockup, restarting run...") + return 2 + result = re.search("bare-metal result: (\S*)", line) if result: if result.group(1) == "pass":