Skip to content

Test flake: 'User "e2e-user" cannot list all buildconfigs in the cluster' and other errors #6149

Closed

Description

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

Activity

  1. added
    kind/test-flake
    on Dec 1, 2015
  2. jwforres commented on Dec 1, 2015

    @jwforres
    MemberAuthor
  3. liggitt commented on Dec 22, 2015

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

  4. liggitt commented on Dec 23, 2015

    @liggitt
    Contributor

    #6483 will capture output, which should help

  5. 0xmichalis commented on Dec 23, 2015

    @0xmichalis
    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).

  6. 0xmichalis commented on Dec 23, 2015

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

  7. liggitt commented on Dec 23, 2015

    @liggitt
    Contributor

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

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

Metadata

Metadata

Assignees

Labels

component/authkind/test-flakepriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions