[kde-linux/os-autoinst-distri-kdelinux] utils: Set CRITICAL_LOAD_AVG_THRESHOLD to 100
Thomas Duckworth <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 23a9af164bb58ccdafcf3b65dae5d25897be1fc7 by Thomas Duckworth.
Committed on 27/07/2026 at 01:23.
Pushed by tduck into branch 'master'.
Set CRITICAL_LOAD_AVG_THRESHOLD to 100
Might prevent jobs from getting stuck in the scheduled state, see
https://gitlab.gnome.org/GNOME/openqa-tests/-/work_items/126
M +3 -0 utils/bootstrap-worker.sh
https://invent.kde.org/kde-linux/os-autoinst-distri-kdelinux/-/commit/23a9af164bb58ccdafcf3b65dae5d25897be1fc7
diff --git a/utils/bootstrap-worker.sh b/utils/bootstrap-worker.sh
index d1c997d..8f95b0b 100755
--- a/utils/bootstrap-worker.sh
+++ b/utils/bootstrap-worker.sh
@@ -8,11 +8,14 @@ set -euo pipefail
export WORKER_CLASS="kde-linux-worker-$(cat /proc/sys/kernel/random/uuid)"
+# Setting CRITICAL_LOAD_AVG_THRESHOLD might prevent jobs getting stuck in the scheduled
+# state, see https://gitlab.gnome.org/GNOME/openqa-tests/-/work_items/126
cat > /etc/openqa/workers.ini <<EOF
[global]
HOST = ${OPENQA_SCHEME:-https}://${OPENQA_HOST_ADDR}
BACKEND = qemu
WORKER_CLASS = ${WORKER_CLASS}
+CRITICAL_LOAD_AVG_THRESHOLD = 100
EOF
cat > /etc/openqa/client.conf <<EOF