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 flake: 'User "e2e-user" cannot list all buildconfigs in the cluster' and other errors #6149

Closed
jwforres opened this issue Dec 1, 2015 · 8 comments
Assignees
Labels
component/auth kind/test-flake Categorizes issue or PR as related to test flakes. priority/P2

Comments

@jwforres
Copy link
Member

jwforres commented Dec 1, 2015

Error from server: User "system:anonymous" cannot list pods in project "default"
Dry run enabled - no modifications will be made. Add --confirm to remove images
Error from server: Role "cluster-status" not found
Error from server: Role "cluster-status" not found
Error from server: Role "cluster-status" not found
Error from server: Role "cluster-status" not found
Error from server: RoleBinding "cluster-status-binding" not found
Error from server: RoleBinding "cluster-status-binding" not found
error: router "router" does not exist (no service)
error: docker-registry "docker-registry" does not exist (no service).
Error from server: securitycontextconstraints "restricted" not found
Error from server: securitycontextconstraints "restricted" not found
go tool pprof: signal: broken pipe
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    87  100    87    0     0     91      0 --:--:-- --:--:-- --:--:--    91
100    87  100    87    0     0     91      0 --:--:-- --:--:-- --:--:--    91

real    9m47.289s
user    9m7.747s
sys 0m16.105s
!!! Error in hack/../test/end-to-end/core.sh:161
    'out=$(oc run cli-with-token-2 --attach --env=POD_NAMESPACE=test --image=openshift/origin:${TAG} --restart=Never -- cli whoami --loglevel=4 2>&1)' exited with status 1
Call stack:
    1: hack/../test/end-to-end/core.sh:161 main(...)
Exiting with status 1
Error from server: User "e2e-user" cannot list all buildconfigs in the cluster

https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/4195/console

@jwforres jwforres added the kind/test-flake Categorizes issue or PR as related to test flakes. label Dec 1, 2015
@jwforres jwforres mentioned this issue Dec 1, 2015
@jwforres
Copy link
Member Author

jwforres commented Dec 1, 2015

cc @liggitt @deads2k

@eparis
Copy link
Member

eparis commented Dec 18, 2015

@liggitt
Copy link
Contributor

liggitt commented Dec 22, 2015

We really need the output of this command:

out=$(oc run cli-with-token --attach --env=POD_NAMESPACE=test --image=openshift/origin:${TAG} --restart=Never -- cli status --loglevel=4 2>&1)
echo "${out}"

it is failing with exit code 1, but we never see the output because the failure exits early

@liggitt
Copy link
Contributor

liggitt commented Dec 23, 2015

#6483 will capture output, which should help

@0xmichalis
Copy link
Contributor

We really need the output of this command:

out=$(oc run cli-with-token --attach --env=POD_NAMESPACE=test --image=openshift/origin:${TAG} --restart=Never -- cli status --loglevel=4 2>&1)
echo "${out}"

it is failing with exit code 1, but we never see the output because the failure exits early

Hm, I don't think oc run currently supports handling commands after dashes. It is fixed upstream but still not in Origin (will be brought in with the rebase).

@0xmichalis
Copy link
Contributor

Also --attach may be an offender here. The dc will be generated, created, and then --attach will try to get it w/o checking if it is NotFound.

@liggitt
Copy link
Contributor

liggitt commented Dec 23, 2015

--restart=Never skips the dc generation and just makes a pod

@liggitt
Copy link
Contributor

liggitt commented Dec 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/auth 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