Repository navigation
extended tests: dump registry logs - #13557
Conversation
Since the build' start time. Signed-off-by: Michal Minář <[email protected]>
bd6b0d2 to
f62cf0d
Compare
|
[testextended][extended:core(builds)] @stevekuznetsov would you please take a look? Shall we limit the registry dumps just to GCE instances?
|
commented
Mar 28, 2017
|
The debug commit will cause a failure in order to get some sample output. I'll remove the commit once it fails. |
f62cf0d to
4e32b5f
Compare
commented
Mar 28, 2017
|
Update: the dump is done only when running on GCE now. |
|
|
||
| since := time.Now().Sub(*buildStarted) | ||
| oadm := t.oc.AsAdmin().SetNamespace("default") | ||
| out, err := oadm.Run("logs").Args("dc/docker-registry", "--since="+since.String()).Output() |
There was a problem hiding this comment.
To be honest, we could do this for all providers as it would add value to the e2e test captures. Registry log size is about 1M for our test runs. This would effectively double it, which I think is a reasonable thing to do for now as we don't really have any better log viewing front-ends.
There was a problem hiding this comment.
If you say so, I'll make it provider unspecific. The log is pretty verbose though. There's cca 1100 lines per failed test. Hopefully, there won't be that many test failures. So the registry log shouldn't be doubled.
commented
Mar 28, 2017
4e32b5f to
d7fd52d
Compare
commented
Mar 28, 2017
|
Dumping the registry logs for all providers now. |
commented
Mar 28, 2017
|
Evaluated for origin testextended up to d7fd52d |
commented
Mar 28, 2017
|
continuous-integration/openshift-jenkins/testextended Running (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended/99/) (Base Commit: dae0037) (Extended Tests: core(builds)) |
commented
Mar 28, 2017
|
Seems reasonable to me [merge] |
commented
Mar 28, 2017
|
Evaluated for origin merge up to d7fd52d |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/214/) (Base Commit: dae0037) (Image: devenv-rhel7_6104) |
Since the build' start time.
This allows us to debug extended test failures on GCE instances.