Skip to content

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

Closed

Description

@stevekuznetsov

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?

Activity

  1. added
    kind/test-flake
    on Jun 13, 2016
  2. mfojtik commented on Jun 14, 2016

    @mfojtik
    Contributor

    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

  3. stevekuznetsov commented on Jun 14, 2016

    @stevekuznetsov
    ContributorAuthor

    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

  4. stevekuznetsov commented on Jun 14, 2016

    @stevekuznetsov
    ContributorAuthor

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

  5. smarterclayton commented on Jun 17, 2016

    @smarterclayton
    Contributor

    Before or after rebase? Looks like before.

  6. mfojtik commented on Jun 17, 2016

    @mfojtik
    Contributor

    @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?

  7. ncdc commented on Jun 20, 2016

    @ncdc
    Contributor

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

  8. liggitt commented on Jul 1, 2016

    @liggitt
    Contributor

    @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?

  9. ncdc commented on Jul 1, 2016

    @ncdc
    Contributor

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

  10. 0xmichalis commented on Jul 7, 2016

    @0xmichalis
    Contributor

    @stevekuznetsov is this related to #9371?

  11. 1 remaining item

  12. 0xmichalis commented on Jul 12, 2016

    @0xmichalis
    Contributor

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

  13. stevekuznetsov commented on Jul 12, 2016

    @stevekuznetsov
    ContributorAuthor

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

  14. 0xmichalis commented on Jul 12, 2016

    @0xmichalis
    Contributor

    ugh, nvmd

  15. liggitt commented on Jan 23, 2017

    @liggitt
    Contributor

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

  16. ncdc commented on Jan 23, 2017

    @ncdc
    Contributor

    @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.

  17. liggitt commented on Jan 23, 2017

    @liggitt
    Contributor

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

  18. smarterclayton commented on Jan 23, 2017

    @smarterclayton
    Contributor
  19. openshift-bot commented on Feb 8, 2018

    @openshift-bot
    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

  20. added
    lifecycle/stale
    on Feb 8, 2018
  21. stevekuznetsov commented on Feb 8, 2018

    @stevekuznetsov
    ContributorAuthor

    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

Metadata

Metadata

Assignees

Labels

component/clikind/test-flakelifecycle/stalepriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions