Title: [266808] trunk/Tools
- Revision
- 266808
- Author
- [email protected]
- Date
- 2020-09-09 19:35:29 -0700 (Wed, 09 Sep 2020)
Log Message
kill-old-processes: Avoid calling kill command with empty string with GNU xargs
https://bugs.webkit.org/show_bug.cgi?id=216323
Reviewed by Darin Adler.
* BuildSlaveSupport/kill-old-processes:
(main):
Modified Paths
Diff
Modified: trunk/Tools/BuildSlaveSupport/kill-old-processes (266807 => 266808)
--- trunk/Tools/BuildSlaveSupport/kill-old-processes 2020-09-10 00:30:44 UTC (rev 266807)
+++ trunk/Tools/BuildSlaveSupport/kill-old-processes 2020-09-10 02:35:29 UTC (rev 266808)
@@ -180,7 +180,7 @@
builddir_bin = "WebKitBuild/Release/bin" if os.path.isdir("WebKitBuild/Release/bin") else "WebKitBuild/Debug/bin"
for task in tasksToKill + taskToKillUnix + listAllWebKitPrograms(builddir_bin):
os.system("killall -9 -v " + task)
- os.system("ps aux | grep -P '.+/python .+(run_webkit_tests|run-webkit-tests|mod_pywebsocket)' | grep -v grep | awk '{print $2}' | xargs kill")
+ os.system("ps aux | grep -P '.+/python .+(run_webkit_tests|run-webkit-tests|mod_pywebsocket)' | grep -v grep | awk '{print $2}' | xargs -r kill")
removeOrphanShmSegments()
else:
sys.exit()
Modified: trunk/Tools/ChangeLog (266807 => 266808)
--- trunk/Tools/ChangeLog 2020-09-10 00:30:44 UTC (rev 266807)
+++ trunk/Tools/ChangeLog 2020-09-10 02:35:29 UTC (rev 266808)
@@ -1,3 +1,13 @@
+2020-09-09 Lauro Moura <[email protected]>
+
+ kill-old-processes: Avoid calling kill command with empty string with GNU xargs
+ https://bugs.webkit.org/show_bug.cgi?id=216323
+
+ Reviewed by Darin Adler.
+
+ * BuildSlaveSupport/kill-old-processes:
+ (main):
+
2020-09-09 Aakash Jain <[email protected]>
ews might mark build as successful if tests fail to run
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes