Skip to content

Flake: executing oc logs kubectl-with-token #12540

Closed

Description

@soltysh

Seen in https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/10167/consoleFull:

FAILURE after 0.223s: test/end-to-end/core.sh:375: executing 'oc logs kubectl-with-token' expecting success and text 'Using in-cluster configuration': the output content test failed
Standard output from the command:
NAME                 READY     STATUS    RESTARTS   AGE
kubectl-with-token   1/1       Running   0          5s

@stevekuznetsov it looks like our testing framework got crazy, the output looks like from oc get rather than oc logs, is it possible?

Activity

  1. added
    kind/test-flake
    on Jan 18, 2017
  2. jim-minter commented on Jan 18, 2017

    @jim-minter
    Contributor

    https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/10169/consoleFull#11056859515762928fe4b031e1b25ced2a may be similar?

    FAILURE after 0.221s: test/end-to-end/core.sh:363: executing 'oc logs cli-with-token' expecting success and text 'Using in-cluster configuration': the output content test failed
    Standard output from the command:
    In project test on server https://172.30.0.1:443
    pod/cli-with-token runs openshift/origin:5e49b66
    1 warning identified, use 'openshift cli status -v' to see details.
    
    There was no error output from the command.
    
  3. stevekuznetsov commented on Jan 18, 2017

    @stevekuznetsov
    Contributor

    Very weird. I'll take a look.

  4. stevekuznetsov commented on Jan 18, 2017

    @stevekuznetsov
    Contributor

    @smarterclayton @ncdc are we running any of these tests in parallel? The output caches are not thread-safe in os::cmd.

  5. stevekuznetsov commented on Jan 18, 2017

    @stevekuznetsov
    Contributor

    And is that a change that may have come from the rebase? This is really wonky.

  6. ncdc commented on Jan 18, 2017

    @ncdc
    Contributor

    Haven't we been running the ginkgo tests in parallel for a while now? Not sure about the others.

  7. stevekuznetsov commented on Jan 18, 2017

    @stevekuznetsov
    Contributor

    @ncdc I meant os::cmd tests in parallel

  8. ncdc commented on Jan 18, 2017

    @ncdc
    Contributor

    I don't know

  9. stevekuznetsov commented on Jan 19, 2017

    @stevekuznetsov
    Contributor

    Wait ... these are logs from pods with the CLI inside of them. We are seeing the CLI output from within the pod be incorrect -- not use the in-cluster configuration, etc. This isn't what we thought.

  10. stevekuznetsov commented on Jan 19, 2017

    @stevekuznetsov
    Contributor

    Closing for #12558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

component/internal-toolskind/test-flakepriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions