Repository navigation
Conversation
|
With b9fb801, the SLURM job in Travis will fail, but will tell us more about the env before it does so. |
|
I tried similar stuff for the HTCondor CI (will wait with a PR), after looking at what you proposed. A few comments from my experience. Doing docker run before listing the images can be avoided by doing docker(-compose) pull (and build) before doing the listing. After starting up docker ps can be done. I would not group things to much as a standard as it overcomplicates the startup procedure (at least for me). Things could already go wrong when doing the docker-compose up (to me that would be the natural place to actually start up the whole cluster). Why not put the set -x outside the functions in travis? Then it would be default for all CIs (can still turn it off for anoying stuff). |
|
Fair points, looking at the code now, it seems my changes did make CI logs more verbose, but also didn't really improve readability of the CI code... :/ I'll transfer to draft stage again to prevent accidental merging and try and straighten out the logic first. |
|
I tried ages ago to add Anything that can help debug CI problems is more than welcome! With the recent pain from the Slurm CI, docker-compose logs where the most useful thing to look at IMO. So maybe they could be printed at the end if we did not manage to start the cluster ? Also we should not wait for 50 minutes before the build is marked as failed ... Maybe 1-2 minutes without being able to start the toy cluster should be enough to decide a build should be marked as failed ? |
guillaumeeb
left a comment
There was a problem hiding this comment.
Fair points, looking at the code now, it seems my changes did make CI logs more verbose, but also didn't really improve readability of the CI code... :/
Not looked in detail, but yes, my first impression is that it adds still more indirections to the CI code, and apparently in every job queueing system CI. I've not followed the Slurm CI problem, so I can't really tell if it is worth it or not...
Also we should not wait for 50 minutes before the build is marked as failed ... Maybe 1-2 minutes without being able to start the toy cluster should be enough to decide a build should be marked as failed ?
Yes, 50 minutes is much too long!
|
@willirath do you think this PR should be kept open? |
|
No, let's close this. (And thanks @guillaumeeb and @andersy005 for the housekeeping session!) |
[x] pin other docker images more aggressivelyThings I could not address here:
latesttag and I'm not sure if I can pin a digest here and just hope for it being available on Dockerhub forever.ubuntu:14.04images used in SGE wasn't done, because I could not find the exact tag on Dockerhub.