Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: For debugging docker issues with the builds, we need the output from the docker daemon saved with the other S3 artifacts. Depending on the configuration of the docker daemon running the Jenkins jobs this could be docker.log or journald entries.
Any objections to simply doing something like the following as a post-build step in the Jenkins jobs: vagrant ssh -c 'sudo journalctl --no-pager --all --lines=10000 -unit=docker' > origin/artifacts/docker.journal
Why not add to the vagrant openshift download artifacts?
Although I'm trying my best to implement one, we do not have a central cleanup trap so it seems prohibitively expensive to implement in a way that every job always will have the artifact created, whereas if we add a Jenkins execute job we're guaranteed to get the information.
I have implemented best-effort Docker log harvesting for our Origin test jobs. The log can be found in the S3 artifacts[1], it is named `docker.journal`. [1] ex. https://ci.openshift.redhat.com/jenkins/fingerprint/d7c961644da1e86a49ab726881aa458a/