Skip to content

cmd test flake: 0-length response instead of expected timeout #15453

Closed

Description

@miminar
=== BEGIN TEST CASE ===
test/cmd/timeout.sh:19: executing 'oc login -u testuser -p test --request-timeout=1ns' expecting failure and text 'Timeout exceeded while awaiting headers'
FAILURE after 0.356s: test/cmd/timeout.sh:19: executing 'oc login -u testuser -p test --request-timeout=1ns' expecting failure and text 'Timeout exceeded while awaiting headers': the output content test failed
There was no output from the command.
Standard error from the command:
error: 0-length response
=== END TEST CASE ===

Happened in job https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3449/testReport/junit/github/com_openshift_origin_test_cmd_request-timeout/test_cmd_timeout_sh_19__executing__oc_login__u_testuser__p_test___request_timeout_1ns__expecting_failure_and_text__Timeout_exceeded_while_awaiting_headers_/

Activity

  1. added
    kind/test-flake
    on Jul 25, 2017
  2. simo5 commented on Aug 15, 2017

    @simo5

    @abstractj can you look into this one ?

  3. abstractj commented on Aug 15, 2017

    @abstractj

    @simo5 sure!

  4. abstractj commented on Aug 15, 2017

    @abstractj

    @miminar is this URL correct? I'm getting 404 when trying to access the report.

  5. miminar commented on Aug 16, 2017

    @miminar
    Author

    @abstractj unfortunately the test results don't survive long. The latest accessible run is 3481 as of now (not mentioning anomaly 1​25​0).

  6. abstractj commented on Aug 16, 2017

    @abstractj

    @miminar thank you, I finally managed to reproduce the issue

    Code to reproduce the issue:

    #!/bin/sh
    
    # Cleanup cluster resources created by this test
    (
    set +e
    oc delete all,templates --all
    exit 0
    ) &>/dev/null
    
    
    oc new-app node
    
    while true; do
       oc login -u testuser -p test --request-timeout=1ns 2>> log.txt &
       if grep -q "error" "log.txt"; then
         echo "Error found...leaving"
         exit 1
       fi
    done
    
  7. abstractj commented on Aug 18, 2017

    @abstractj

    @juanvallejo I will definitely need your help on this. It seems something really tricky to debug.

  8. added a commit that references this issue on Sep 6, 2017
  9. juanvallejo commented on Sep 19, 2017

    @juanvallejo
    Contributor

    Fixed in #15885

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

Metadata

Metadata

Labels

area/testscomponent/authkind/test-flakepriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions