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

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

Closed
soltysh opened this issue Jan 18, 2017 · 9 comments
Closed

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

soltysh opened this issue Jan 18, 2017 · 9 comments
Assignees
Labels
component/internal-tools kind/test-flake Categorizes issue or PR as related to test flakes. priority/P1

Comments

@soltysh
Copy link
Contributor

soltysh commented Jan 18, 2017

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?

@soltysh soltysh added the kind/test-flake Categorizes issue or PR as related to test flakes. label Jan 18, 2017
@jim-minter
Copy link
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.

@stevekuznetsov
Copy link
Contributor

Very weird. I'll take a look.

@stevekuznetsov
Copy link
Contributor

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

@stevekuznetsov
Copy link
Contributor

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

@ncdc
Copy link
Contributor

ncdc commented Jan 18, 2017

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

@stevekuznetsov
Copy link
Contributor

@ncdc I meant os::cmd tests in parallel

@ncdc
Copy link
Contributor

ncdc commented Jan 18, 2017

I don't know

@stevekuznetsov
Copy link
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.

@stevekuznetsov
Copy link
Contributor

Closing for #12558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/internal-tools kind/test-flake Categorizes issue or PR as related to test flakes. priority/P1
Projects
None yet
Development

No branches or pull requests

5 participants