[sysadmin/ci-utilities] components: Ensure that any stray kscreenlocker_greet processes are cleaned up at the end of CI runs.
Ben Cooksley
null at kde.org
Sat Apr 23 21:27:27 BST 2022
Git commit 295c88b7cfcdde5bd8579fa41a55e9b0ab5d875f by Ben Cooksley.
Committed on 23/04/2022 at 20:27.
Pushed by bcooksley into branch 'master'.
Ensure that any stray kscreenlocker_greet processes are cleaned up at the end of CI runs.
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 components/TestHandler.py
https://invent.kde.org/sysadmin/ci-utilities/commit/295c88b7cfcdde5bd8579fa41a55e9b0ab5d875f
diff --git a/components/TestHandler.py b/components/TestHandler.py
index 891ee60..f18e85f 100644
--- a/components/TestHandler.py
+++ b/components/TestHandler.py
@@ -81,7 +81,7 @@ def run( projectConfig, sourcesPath, buildPath, installPath, buildEnvironment ):
# Cleanup the builder if needed
if sys.platform == 'freebsd12' or 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