Skip to content

Test Timeout: test/cmd/observe.sh:22: executing 'oc observe services --once --all-namespaces' #12930

Closed

Description

@stevekuznetsov

Looks like this:

00:47:51.777 Running test/cmd/observe.sh:22: executing 'oc observe services --once --all-namespaces' expecting success and text 'default kubernetes'...
05:54:44.989 Connection to 172.18.7.33 closed by remote host.
05:54:44.993 Build step 'Execute shell' marked build as failure

We should add a client timeout

Activity

  1. added
    kind/test-flake
    on Feb 12, 2017
  2. juanvallejo commented on Feb 13, 2017

    @juanvallejo
    Contributor

    @stevekuznetsov would the --exit-after flag not work here?

    cc @smarterclayton

  3. stevekuznetsov commented on Feb 13, 2017

    @stevekuznetsov
    ContributorAuthor

    No, I don't think so -- that exits with a successful result code, and we want the test to fail if it times out.

  4. juanvallejo commented on Feb 13, 2017

    @juanvallejo
    Contributor

    since updating --exit-after to timeout with a non-zero exit code would break scripts / change behavior of the flag unexpectedly, I can open a PR that adds a second flag --timeout-after which would exit with 1 after the specified duration. If a second timeout flag is non-ideal, we could introduce a new option --signal which would override the 0 exit code of --exit-after

  5. smarterclayton commented on Feb 14, 2017

    @smarterclayton
    Contributor
  6. stevekuznetsov commented on Feb 14, 2017

    @stevekuznetsov
    ContributorAuthor

    @juanvallejo this is a particularly nasty test failure ... not sure I understand why the prio downgrade happened.

    @smarterclayton I suggested to @juanvallejo to just change this to os::cmd ... "timeout oc observe ... " -- I understand what you mean about the failure cause here, but we cannot have this run for five hours. Give it a ten minute window and then give up.

  7. smarterclayton commented on Feb 14, 2017

    @smarterclayton
    Contributor
  8. stevekuznetsov commented on Feb 15, 2017

    @stevekuznetsov
    ContributorAuthor

    Right, but 6h long merge queue execution intervals don't bode well for the merge queue leading up to feature complete. If you think we should live with the pain while we figure out the flake, sure. I'm not in agreement but at least if it's painful it will be higher priority to look at.

    I also saw this in:
    https://ci.openshift.redhat.com/jenkins/job/test_job/3/console

  9. smarterclayton commented on Feb 15, 2017

    @smarterclayton
    Contributor
  10. stevekuznetsov commented on Feb 15, 2017

    @stevekuznetsov
    ContributorAuthor

    Then we get corrupted test output and no XML. Do we want that?

  11. smarterclayton commented on Feb 15, 2017

    @smarterclayton
    Contributor

    Timeout won't tell you what the actual problem is - if that's the point here, add something to panic child processes. Whatever issue this is isn't going to be found by granular timeouts.

  12. juanvallejo commented on Feb 20, 2017

    @juanvallejo
    Contributor

    closing via #12980

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

Metadata

Metadata

Assignees

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