Commit dc21c45
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 from the error message (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 a522ef7 commit dc21c45
1 file changed
+12
-5
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 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
339 | 345 | | |
340 | | - | |
341 | | - | |
342 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
343 | 350 | | |
344 | 351 | | |
345 | 352 | | |
| |||
0 commit comments