[sysadmin/ci-tooling] helpers: Ensure that any stray kscreenlocker_greet processes are cleaned up at the end of CI runs (Jenkins side now).

Ben Cooksley null at kde.org
Sat Apr 23 21:28:27 BST 2022


Git commit e272881eba37fa07e8030fb4224a115be157f1d7 by Ben Cooksley.
Committed on 23/04/2022 at 20:28.
Pushed by bcooksley into branch 'master'.

Ensure that any stray kscreenlocker_greet processes are cleaned up at the end of CI runs (Jenkins side now).
This should ensure that hung processes that consume an entire CPU core are not left behind - and reduce the overall performance of that CI worker server until it is cleaned up.

CCMAIL: plasma-devel at kde.org
CCMAIL: kwin at kde.org

M  +1    -1    helpers/run-tests.py

https://invent.kde.org/sysadmin/ci-tooling/commit/e272881eba37fa07e8030fb4224a115be157f1d7

diff --git a/helpers/run-tests.py b/helpers/run-tests.py
index 2c6747b..f289fde 100755
--- a/helpers/run-tests.py
+++ b/helpers/run-tests.py
@@ -110,7 +110,7 @@ if arguments.project == 'akonadi':
 
 # Cleanup the builder if needed
 if sys.platform == 'freebsd13':
-	subprocess.call("killall -9 dbus-daemon kded5 kioslave klauncher kdeinit5 kiod openbox Xvfb", shell=True)
+	subprocess.call("killall -9 dbus-daemon kded5 kioslave klauncher kdeinit5 kiod openbox Xvfb kscreenlocker_greet", shell=True)
 	if os.path.exists('/tmp/.X90-lock'):
 		os.remove('/tmp/.X90-lock')
 	if os.path.exists('/tmp/.X11-unix/X90'):


More information about the Plasma-devel mailing list