Skip to content

oc exec hangs for six hours #13662

Closed
Closed

Description

@stevekuznetsov
[INFO] Validating exec
Running test/end-to-end/core.sh:463: executing 'oc exec -p frontend-1-nsqdp id' expecting success and text '1000'...
SUCCESS after 0.266s: test/end-to-end/core.sh:463: executing 'oc exec -p frontend-1-nsqdp id' expecting success and text '1000'
Standard output from the command:
uid=1000050000 gid=0(root) groups=0(root),1000050000

Standard error from the command:
W0406 10:51:16.968491   15548 cmd.go:337] -p POD_NAME is DEPRECATED and will be removed in a future version. Use exec POD_NAME instead.

Running test/end-to-end/core.sh:464: executing 'oc rsh pod/frontend-1-nsqdp id -u' expecting success and text '1000'...
Killed by signal 15.

as seen here

/cc @ncdc

Activity

  1. added
    kind/test-flake
    on Apr 6, 2017
  2. ncdc commented on Apr 6, 2017

    @ncdc
    Contributor
  3. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    ContributorAuthor

    @ncdc can you triage this by passing it on to someone else then

  4. ncdc commented on Apr 6, 2017

    @ncdc
    Contributor

    @derekwaynecarr @mfojtik do you have anyone who can investigate?

  5. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    ContributorAuthor

    also: https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_integration/871/

    This one is on oc rsh:

    Running test/end-to-end/core.sh:488: executing 'oc rsh frontend-1-90m28 ls /tmp/sample-app' expecting success and text 'application-template-stibuild'...
    Connection to 172.18.11.10 closed by remote host.
    

    This is a very new regression and seems to be happening often.

  6. enj commented on Apr 6, 2017

    @enj
    Contributor

    Seen in #11647 - https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_integration/872/consoleFull#-107583498258b6e51eb7608a5981914356

    Excerpt:

    Running test/end-to-end/core.sh:464: executing 'oc rsh pod/frontend-1-bn6v4 id -u' expecting success and text '1000'...
    Connection to 172.18.0.183 closed by remote host.
    

    Context:

    logs: ok
    [INFO] Starting build from /tmp/openshift/test-end-to-end/artifacts/stiAppConfig.json with non-existing commit...
    Running test/end-to-end/core.sh:456: executing 'oc start-build test --commit=fffffff --wait' expecting failure...
    SUCCESS after 0.207s: test/end-to-end/core.sh:456: executing 'oc start-build test --commit=fffffff --wait' expecting failure
    There was no output from the command.
    Standard error from the command:
    Error from server (Forbidden): buildconfigs "test" is forbidden: buildconfigs.build.openshift.io "test" not found
    
    [INFO] Validating exec
    Running test/end-to-end/core.sh:463: executing 'oc exec -p frontend-1-bn6v4 id' expecting success and text '1000'...
    SUCCESS after 9.809s: test/end-to-end/core.sh:463: executing 'oc exec -p frontend-1-bn6v4 id' expecting success and text '1000'
    Standard output from the command:
    uid=1000050000 gid=0(root) groups=0(root),1000050000
    uid=1000050000 gid=0(root) groups=0(root),1000050000
    
    Standard error from the command:
    W0406 12:06:12.530529   31700 cmd.go:337] -p POD_NAME is DEPRECATED and will be removed in a future version. Use exec POD_NAME instead.
    
    Running test/end-to-end/core.sh:464: executing 'oc rsh pod/frontend-1-bn6v4 id -u' expecting success and text '1000'...
    Connection to 172.18.0.183 closed by remote host.
    ++ export status=FAILURE
    ++ status=FAILURE
    + set +o xtrace
    ########## FINISHED STAGE: FAILURE: RUN INTEGRATION TESTS ##########
    Build step 'Execute shell' marked build as failure
    
  7. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    ContributorAuthor

    Seen in https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_integration/874/consoleFull

    [INFO] Starting build from /tmp/openshift/test-end-to-end/artifacts/stiAppConfig.json with non-existing commit...
    Running test/end-to-end/core.sh:456: executing 'oc start-build test --commit=fffffff --wait' expecting failure...
    SUCCESS after 0.214s: test/end-to-end/core.sh:456: executing 'oc start-build test --commit=fffffff --wait' expecting failure
    There was no output from the command.
    Standard error from the command:
    Error from server (Forbidden): buildconfigs "test" is forbidden: buildconfigs.build.openshift.io "test" not found
    
    [INFO] Validating exec
    Running test/end-to-end/core.sh:463: executing 'oc exec -p frontend-1-b0sd0 id' expecting success and text '1000'...
    Connection to 172.18.7.107 closed by remote host.
    

    @mfojtik should we be seeing the new API groups right now?

  8. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    ContributorAuthor

    7:07 AM: test_pull_request_origin 569 promotes to a merge for #12733
    9:21 AM: test_pull_request_origin 604 starts - last test job to succeed
    9:37 AM: merge_pull_request_origin 265 merges #13630
    9:45 AM: merge_pull_request_origin 266 begins to process #13529 but hangs for 6 hours
    10:34 AM: #13529 #13652 and #13313 merge from @mfojtik process_pull_requests call with merge-pretest-success.

    merges into release-1.5 are fine:

    4:13 PM: merge_pull_request_origin 267 merges #13418

  9. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    ContributorAuthor

    PR to test reverting #13630: #13664

  10. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    ContributorAuthor

    No changes went into aos-cd-jobs or origin-ci-tool in the last couple of days

  11. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    ContributorAuthor

    On the successful test run at 4PM we did not see the new API groups in the buildconfigs "test" not found message.

    EDIT: that was release-1.5 so that seems reasonable.

  12. enj commented on Apr 6, 2017

    @enj
    Contributor

    Every single failure but one (disk out of space) had the new API group -- @enj did your impersonating client stuff touch this?

    @stevekuznetsov that PR did not touch API groups at all. It was just a refactor of existing code into helper methods.

  13. stevekuznetsov commented on Apr 6, 2017

    @stevekuznetsov
    ContributorAuthor

    Successful jobs before #13630 also had the same not found error, so that seems like a red herring

  14. enj commented on Apr 6, 2017

    @enj
    Contributor

    @stevekuznetsov does not #13529 (comment) look like a better candidate?

  15. stevekuznetsov commented on Apr 7, 2017

    @stevekuznetsov
    ContributorAuthor

    Man, such an obvious one. Let's not merge-pretest-success in the future.

  16. stevekuznetsov commented on Apr 7, 2017

    @stevekuznetsov
    ContributorAuthor

    The error message is definitely a red herring -- from the last build we have available, on Mar 30, 2017 7:45:36 PM:

    [INFO] Starting build from /tmp/openshift/test-end-to-end/artifacts/stiAppConfig.json with non-existing commit...
    Running test/end-to-end/core.sh:467: executing 'oc start-build test --commit=fffffff --wait' expecting failure...
    SUCCESS after 0.210s: test/end-to-end/core.sh:467: executing 'oc start-build test --commit=fffffff --wait' expecting failure
    There was no output from the command.
    Standard error from the command:
    Error from server (Forbidden): buildconfigs "test" is forbidden: buildconfigs.build.openshift.io "test" not found
    
    [INFO] Validating exec
    Running test/end-to-end/core.sh:474: executing 'oc exec -p frontend-1-1xpqx id' expecting success and text '1000'...
    SUCCESS after 0.302s: test/end-to-end/core.sh:474: executing 'oc exec -p frontend-1-1xpqx id' expecting success and text '1000'
    Standard output from the command:
    uid=1000050000 gid=0(root) groups=0(root),1000050000
    
    Standard error from the command:
    W0330 20:40:38.423803   29241 cmd.go:337] -p POD_NAME is DEPRECATED and will be removed in a future version. Use exec POD_NAME instead.
    

    The hang does seem to be from #13529 although I can't find the test run that @soltysh was quoting there

  17. stevekuznetsov commented on Apr 7, 2017

    @stevekuznetsov
    ContributorAuthor

    As an aside the test there at end_to_end/core.sh:456 hasn't been touched for ever, but I am about 9999% sure we are aliasing a failure there, we should be failing due to a non-existent commit but we are failing on a 404. @mfojtik you added that a couple years ago in 818cc10 so maybe you can triage someone to look at it and make the test valid?

  18. soltysh commented on Apr 7, 2017

    @soltysh
    Contributor

    The hang does seem to be from #13529 although I can't find the test run that @soltysh was quoting there

    I've picked one of test runs and I've seen it there. I'll wait for your revert to land and submit the fix again.

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

Metadata

Metadata

Labels

component/clikind/test-flakepriority/P0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions