[Git][qa/jenkins.debian.net][master] 2 commits: openQA: minimal free space on the worker
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sun Aug 23 21:31:18 BST 2026
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
6d5d0095 by Roland Clobus at 2026-08-23T22:30:23+02:00
openQA: minimal free space on the worker
(cherry picked from commit 79b4753cfc5953520039e733b57c2ca4cc51255b)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
8474e63f by Roland Clobus at 2026-08-23T22:30:28+02:00
openQA: Move configuration to the subdirectory
(cherry picked from commit 6796b7ca2793c54f4725a9b23925dba839a1600c)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- + hosts/osuosl31-amd64/etc/openqa/workers.ini.d/osuosl31.ini
- + hosts/osuosl31-amd64/etc/openqa/workers.ini.d/storage_limit.ini
- hosts/osuosl31-amd64/etc/openqa/workers.ini → hosts/osuosl31-amd64/etc/openqa/workers.ini.d/workers.ini
Changes:
=====================================
hosts/osuosl31-amd64/etc/openqa/workers.ini.d/osuosl31.ini
=====================================
@@ -0,0 +1,12 @@
+[global]
+# space separated list of webuis to connect to (empty defaults to localhost)
+HOST = https://openqa.debian.net
+
+# Enable an investigation feature to compare the current list of installed
+# packages against the list of packages during the previous last good job.
+# Configuring this variable provides a command line to list the packages and
+# their versions in plain text.
+PACKAGES_CMD = dpkg-query --list
+
+[https://openqa.debian.net]
+TESTPOOLSERVER = rsync://openqa.debian.net/tests
=====================================
hosts/osuosl31-amd64/etc/openqa/workers.ini.d/storage_limit.ini
=====================================
@@ -0,0 +1,6 @@
+[global]
+# The total space for openQA is at this moment 195GB
+# Use a small, non-zero number to effectively turn off the relative check
+STORAGE_KEEP_FREE_RATIO = 0.0001
+# Keep free (in GB), should be enough for at least 2 default jobs at 15GB
+STORAGE_KEEP_FREE_GB = 30
=====================================
hosts/osuosl31-amd64/etc/openqa/workers.ini → hosts/osuosl31-amd64/etc/openqa/workers.ini.d/workers.ini
=====================================
@@ -1,65 +1,10 @@
-# Configuration of the workers and their backends.
-#
-# Global section to enter webui hosts and optional caching
-
[global]
-# space separated list of webuis to connect to (empty defaults to localhost)
-HOST = https://openqa.debian.net
-
-# Specify a cache directory for assets and tests to sync them automatically via
-# http/rsync; the specified path is just an example but what you would usually
-# use on a normal setup
-# Additionally you need to define the rsync URI to get /var/lib/openqa/tests/
-# via the TESTPOOLSERVER variable in the webui sections as shown below
-# If no CACHEDIRECTORY is specified these files are supposed to be mounted
-# at the SHARE_DIRECTORY (by default /var/lib/openqa/share) via e.g. NFS
-#CACHEDIRECTORY = /var/lib/openqa/cache
-
-# Limit size of CACHEDIRECTORY to the specified value in GiB (50 GiB by default)
-#CACHELIMIT = 50
-
-# Limit size of CACHEDIRECTORY to preserve the specified percentage of free disk
-# space on the filesystem it is located on (the default is NO limit; the 10 %
-# are just an example)
-#CACHE_MIN_FREE_PERCENTAGE = 10
-
# host address (domain name or IP address) the web UI can reach the worker by
# (required by the web UI's developer mode and backends using jump-hosts to
# reach back to os-autoinst; set if the automatically deduced value is not
# sufficient)
WORKER_HOSTNAME = osuosl31-amd64.reproducible.osuosl.org
-# Optimize asset uploads. Enabled by default. When enabled the worker will
-# try to copy assets on the file system instead of uploading them to the
-# webui via HTTP, for much better performance (webui and worker need to be
-# running on the same host). For best performance it is also recommended to
-# have /var/lib/openqa/pool and /var/lib/openqa/share/factory on the same file
-# system.
-#LOCAL_UPLOAD = 0
-
-# Maximum number of retries for asset uploads from the worker to the webui.
-# By default all asset uploads will be retried 10 times with slowly increasing
-# delays in between upload attempts, starting at around 5 seconds. A larger
-# number of attempts can be useful if the webui gets restarted regularly for
-# maintenance or needs to be rate limited because of high workloads.
-#UPLOAD_RETRIES = 10
-
-# Minimum time in seconds between status updates from the worker to the
-# webui. By default this value is 60 seconds, and it should not be set
-# lower, as to not overwhelm the websocket server with too many messages
-# if more than a few workers are connected. Increasing this value can help
-# scale very large openQA setups with many workers. However, it should not
-# exceed "STATUS_MAX_INTERVAL".
-#STATUS_MIN_INTERVAL = 60
-
-# Maximum time in seconds between status updates from the worker to the
-# webui. By default this value is 300 seconds, and it should not be set lower,
-# as to not overwhelm the websocket server with too many messages if more
-# than a few workers are connected. Increasing this value can help scale
-# very large openQA setups with many workers. However, you need to ensure
-# that it does not exceed the configured "worker_timeout" of the webui.
-#STATUS_MAX_INTERVAL = 300
-
# Whether to terminate after all assigned jobs have been processed. When
# combined with auto-restarting on service manager level (e.g. configuring
# Restart=always in the systemd service) this helps applying updates and config
@@ -67,12 +12,6 @@ WORKER_HOSTNAME = osuosl31-amd64.reproducible.osuosl.org
# the environment variable OPENQA_WORKER_TERMINATE_AFTER_JOBS_DONE.
TERMINATE_AFTER_JOBS_DONE = 10
-# Enable an investigation feature to compare the current list of installed
-# packages against the list of packages during the previous last good job.
-# Configuring this variable provides a command line to list the packages and
-# their versions in plain text.
-PACKAGES_CMD = dpkg-query --list
-
# Specifies the threshold to consider the load on the machine critical. If the
# average load (over the last 15 minutes) exceeds the specified value the worker
# will not accept new jobs (until the load decreases again).
@@ -84,20 +23,6 @@ CRITICAL_LOAD_AVG_THRESHOLD = 15
# This machine is under load, allow for longer timeouts
TIMEOUT_SCALE = 1.8
-# The section ids are the instance of the workers.
-# The key/value pairs will appear in vars.json
-#[1]
-#WORKER_CLASS = qemu_x86_64
-
-#[2]
-#WORKER_CLASS = qemu_x86_64_staging,qemu_x86_64
-
-#[localhost]
-# SHARE_DIRECTORY = /var/lib/openqa/share
-
-[https://openqa.debian.net]
-TESTPOOLSERVER = rsync://openqa.debian.net/tests
-
[1]
WORKER_CLASS=qemu_x86_64,qemu_x86_64_bigmem
@@ -119,4 +44,3 @@ CRITICAL_LOAD_AVG_THRESHOLD = 10
[7]
CRITICAL_LOAD_AVG_THRESHOLD = 9
-
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/1d42c6648729c5d73dfe49186957c0dbae06333b...8474e63f4c5c0ce2b1823a60eb5ff3e669066807
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/1d42c6648729c5d73dfe49186957c0dbae06333b...8474e63f4c5c0ce2b1823a60eb5ff3e669066807
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20260823/cdfba115/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list