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: test/cmd/basicresources.sh oc new-project test4 #10076

Closed
soltysh opened this issue Jul 28, 2016 · 2 comments
Closed

flake: test/cmd/basicresources.sh oc new-project test4 #10076

soltysh opened this issue Jul 28, 2016 · 2 comments
Assignees
Labels
kind/test-flake Categorizes issue or PR as related to test flakes. priority/P2

Comments

@soltysh
Copy link
Contributor

soltysh commented Jul 28, 2016

Noticed in #9240, full log: https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_check/4108/console.

In suite "github.com/openshift/origin/test/cmd/basicresources", test case "test/cmd/basicresources.sh:350: executing 'oc new-project test4; sleep 2; oc projects' expecting success and text 'You have one project on this server" failed:
=== BEGIN TEST CASE ===
test/cmd/basicresources.sh:350: executing 'oc new-project test4; sleep 2; oc projects' expecting success and text 'You have one project on this server: "test4".'
FAILURE after 3.774s: test/cmd/basicresources.sh:350: executing 'oc new-project test4; sleep 2; oc projects' expecting success and text 'You have one project on this server: "test4".': the output content test failed
Standard output from the command:
Now using project "test4" on server "https://127.0.0.1:28443".

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git

to build a new example application in Ruby.
You are not a member of any projects. You can request a project to be created with the 'new-project' command.

There was no error output from the command.
@soltysh soltysh added the kind/test-flake Categorizes issue or PR as related to test flakes. label Jul 28, 2016
@mfojtik mfojtik assigned liggitt and unassigned mfojtik Jul 28, 2016
@liggitt
Copy link
Contributor

liggitt commented Aug 2, 2016

probably should split the test into two lines, one which creates the project, then a try_until_text that checks for the expected output. sleep 2 is problematic

@mfojtik mfojtik assigned enj and unassigned liggitt Aug 2, 2016
@mfojtik
Copy link
Contributor

mfojtik commented Aug 2, 2016

@enj something you can look at at :)

enj added a commit to enj/origin that referenced this issue Aug 2, 2016
enj added a commit to enj/origin that referenced this issue Aug 3, 2016
enj added a commit to enj/origin that referenced this issue Aug 3, 2016
guangxuli pushed a commit to guangxuli/origin that referenced this issue Aug 8, 2016
guangxuli pushed a commit to guangxuli/origin that referenced this issue Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/test-flake Categorizes issue or PR as related to test flakes. priority/P2
Projects
None yet
Development

No branches or pull requests

5 participants