Commit 28b3cdd
committed
refactor(test): add more debugging for "jailer id still used"
Clean up the error messages we print when running into the "firecracker
pid was killed, but process with its jailer id still exists" case: Also
print the PID of the offending process, as well as filter out
non-firecracker processes at the command-running stage (otherwise the
error message always contained the grep process itself, which was
confusing).
Note that `cmd` must be the last column, as otherwise ps will truncate
it.
Signed-off-by: Patrick Roy <[email protected]>1 parent 10dfa03 commit 28b3cdd
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | | - | |
| 336 | + | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
0 commit comments