Commit bd1126d
committed
CI: Stop MAD perftest server before printing its log
A failed run leaves behind a zombie server container: docker_stop_srv
cats the log before docker stop, and when the log is missing the cat
aborts the script (set -e) before the stop runs. Being a detached
container, the zombie survives the build and keeps the MAD agent
registration on the HCA, so every following build's server fails with
EINVAL and the client hangs until the job timeout - the stage breaks
for all PRs until the zombie is removed by hand.
Stop the container first and sweep zombie ucx_perftest_* containers
before starting a new server, so one bad run cannot wedge the stage.1 parent ed0bc4d commit bd1126d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
| 59 | + | |
57 | 60 | | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
0 commit comments