Kill dangling test processes before running tests
authorJérémie Galarneau <jeremie.galarneau@gmail.com>
Mon, 8 Oct 2018 01:57:09 +0000 (21:57 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 18 Oct 2018 19:26:48 +0000 (15:26 -0400)
commitcb86458689a81f4b6a201d117c92837075ff98e8
treead355876b300356712032408efd33333b8d9d38d
parent49a273ce29350075b0febe21dff81fb63dca1b9a
Kill dangling test processes before running tests

Tests often fail because of "dangling" lttng processes left on CI slaves. I am not sure what leaks them (either failing tests or cancelled jobs), but they are a very frequent cause of build failures.

The code is this diff is taken from lttng-tools warn_processes.sh.

We could also clean-up at the end of the job, but I am not sure how to get Jenkins to run a "clean-up" when a job is cancelled (e.g. manually or after a time-out).
scripts/lttng-tools/build.sh
This page took 0.022754 seconds and 4 git commands to generate.