Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/end-to-end/core:183: oc status output fragmented across oc run --attach #9309

Closed
stevekuznetsov opened this issue Jun 13, 2016 · 19 comments
Assignees
Labels
component/cli kind/test-flake Categorizes issue or PR as related to test flakes. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/P2

Comments

@stevekuznetsov
Copy link
Contributor

Seeing this in AWS-based image.

$ oc run cli-with-token --attach --image=openshift/origin:${TAG} --restart=Never -- cli status --loglevel=4 > ${LOG_DIR}/cli-with-token.log 2>&1
...
Jun 13 15:59:11 Running test/end-to-end/core.sh:183: executing 'cat '/tmp/openshift/test-end-to-end-docker//logs/cli-with-token.log'' expecting success and text 'In project test'...
Jun 13 15:59:11 FAILURE after 0.010s: test/end-to-end/core.sh:183: executing 'cat '/tmp/openshift/test-end-to-end-docker//logs/cli-with-token.log'' expecting success and text 'In project test': the output content test failed
Jun 13 15:59:11 Standard output from the command:
Jun 13 15:59:11 Waiting for pod test/cli-with-token to be running, status is Pending, pod ready: false
Jun 13 15:59:11 I0613 19:59:08.888906       1 factory.go:129] Using in-cluster configuration
Jun 13 15:59:11 I0613 19:59:08.916543       1 factory.go:129] Using in-cluster configuration
Jun 13 15:59:11 I0613 19:59:08.918458       1 factory.go:129] Using in-cluster configuration
Jun 13 15:59:11 pod/cli-with-token runs openshift/origin:4148579
Jun 13 15:59:11 2 warnings identified, use 'oc status -v' to see details.
Jun 13 15:59:11 
Jun 13 15:59:11 There was no error output from the command.

We see some of the output from oc status ... but not all of it?

@deads2k @ncdc thoughts?

@stevekuznetsov stevekuznetsov added component/cli kind/test-flake Categorizes issue or PR as related to test flakes. labels Jun 13, 2016
@mfojtik
Copy link
Contributor

mfojtik commented Jun 14, 2016

This seems to be more like a CLI issue. @Kargakis can you look this up? If it turns to be CLI and not platform specific, please re-assign to @fabianofranz

@mfojtik mfojtik assigned 0xmichalis and unassigned mfojtik Jun 14, 2016
@stevekuznetsov
Copy link
Contributor Author

I'm not sure if it's CLI -- I guess it's possible there are cases where oc status doesn't print everything it needs to, but perhaps it's an oc run --attach problem

@stevekuznetsov
Copy link
Contributor Author

Confirm I've seen this more than once, same log.

@smarterclayton
Copy link
Contributor

Before or after rebase? Looks like before.

@mfojtik
Copy link
Contributor

mfojtik commented Jun 17, 2016

@smarterclayton i don't think this is related to the other attach flake... but rebase could make this worse. any suggestion who would be the best candidate to look it up?

@ncdc
Copy link
Contributor

ncdc commented Jun 20, 2016

I was seeing this before the rebase, using go-dockerclient.

@liggitt
Copy link
Contributor

liggitt commented Jul 1, 2016

@ncdc output of attach still being seen as truncated at times (see https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/2734/console). is there a known race between a process exiting and the output being sent?

@ncdc
Copy link
Contributor

ncdc commented Jul 1, 2016

It is known, yes. I don't know why it's happening.

@0xmichalis
Copy link
Contributor

@stevekuznetsov is this related to #9371?

@stevekuznetsov
Copy link
Contributor Author

@Kargakis not that I can tell, no. In this case output is missing and it is missing from the command

@0xmichalis
Copy link
Contributor

The test has been refactored ever since - can we close this?

@stevekuznetsov
Copy link
Contributor Author

I'm not seeing any refactors here, what do you mean?

@0xmichalis
Copy link
Contributor

ugh, nvmd

@liggitt
Copy link
Contributor

liggitt commented Jan 23, 2017

we commented out the test. #11240 is open it re-enable it. @ncdc, did we pick up that vendored fix yet?

@ncdc
Copy link
Contributor

ncdc commented Jan 23, 2017

@liggitt no, and I imagine it will be a while. Kube has to switch from using the now-deprecated docker/engine-api back to docker/docker, and then Origin will have to pick up the change as well.

@liggitt
Copy link
Contributor

liggitt commented Jan 23, 2017

Do we consider logs to be critical enough function that we need to do extraordinary things to fix this before we release?

@smarterclayton
Copy link
Contributor

smarterclayton commented Jan 23, 2017 via email

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 8, 2018
@stevekuznetsov
Copy link
Contributor Author

Looks like a manifestation of our favorite journald bug

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/cli kind/test-flake Categorizes issue or PR as related to test flakes. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/P2
Projects
None yet
Development

No branches or pull requests

9 participants