Skip to content

Extended.idling and unidling unidling should work with TCP (when fully idled) #10773

Closed

Description

@knobunc
------------------------------
idling and unidling unidling 
  should work with TCP (when fully idled) [Conformance]
  /data/src/github.com/openshift/origin/test/extended/idling/idling.go:309

STEP: Creating a kubernetes client
Sep  1 14:31:46.435: INFO: >>> kubeConfig: /tmp/openshift/openshift/test-extended/core/openshift.local.config/master/admin.kubeconfig

STEP: Building a namespace api object
Sep  1 14:31:46.479: INFO: configPath is now "/tmp/openshift/extended-test-cli-idling-r87sd-xpgny-user.kubeconfig"
Sep  1 14:31:46.479: INFO: The user is now "extended-test-cli-idling-r87sd-xpgny-user"
Sep  1 14:31:46.479: INFO: Creating project "extended-test-cli-idling-r87sd-xpgny"
STEP: Waiting for a default service account to be provisioned in namespace
STEP: Building a namespace api object
Sep  1 14:31:47.020: INFO: configPath is now "/tmp/openshift/extended-test-cli-idling-r87sd-cvgex-user.kubeconfig"
Sep  1 14:31:47.020: INFO: The user is now "extended-test-cli-idling-r87sd-cvgex-user"
Sep  1 14:31:47.020: INFO: Creating project "extended-test-cli-idling-r87sd-cvgex"
STEP: Waiting for a default service account to be provisioned in namespace
STEP: Creating the resources
Sep  1 14:31:47.389: INFO: Running 'oc create --namespace=extended-test-cli-idling-r87sd-cvgex --config=/tmp/openshift/extended-test-cli-idling-r87sd-cvgex-user.kubeconfig -f /data/src/github.com/openshift/origin/test/extended/testdata/idling-echo-server.yaml -o name'
STEP: Creating the idling file
STEP: Waiting for the endpoints to exist
STEP: Waiting for endpoints to be up
STEP: Idling the service
Sep  1 14:32:19.027: INFO: Running 'oc idle --namespace=extended-test-cli-idling-r87sd-cvgex --config=/tmp/openshift/extended-test-cli-idling-r87sd-cvgex-user.kubeconfig --resource-names-file /tmp/openshift/openshift-extended-tests/idling-services-246870143'
STEP: Waiting for the pods to have terminated
STEP: Connecting to the service IP and checking the echo
STEP: Collecting resource usage data
Sep  1 14:32:36.302: INFO: Closed stop channel. Waiting for 1 workers
Sep  1 14:32:36.302: INFO: Closing worker for 172.18.0.100
Sep  1 14:32:36.302: INFO: Waitgroup finished.
Sep  1 14:32:36.302: INFO: Unknown output type: . Skipping.
Sep  1 14:32:36.302: INFO: Waiting up to 1m0s for all nodes to be ready
STEP: Destroying namespace "extended-test-cli-idling-r87sd-xpgny" for this suite.
STEP: Destroying namespace "extended-test-cli-idling-r87sd-cvgex" for this suite.
STEP: Cleaning up the idling file


• Failure [74.984 seconds]
idling and unidling
/data/src/github.com/openshift/origin/test/extended/idling/idling.go:466
  unidling
  /data/src/github.com/openshift/origin/test/extended/idling/idling.go:465
    should work with TCP (when fully idled) [Conformance] [It]
    /data/src/github.com/openshift/origin/test/extended/idling/idling.go:309

    Expected error:
        <*errors.errorString | 0xc82101c1e0>: {
            s: "unable to read data from echo server for service idling-echo: read tcp 172.18.0.100:55154->172.30.12.10:8675: read: connection reset by peer",
        }
        unable to read data from echo server for service idling-echo: read tcp 172.18.0.100:55154->172.30.12.10:8675: read: connection reset by peer
    not to have occurred

    /data/src/github.com/openshift/origin/test/extended/idling/idling.go:297
------------------------------

As seen in:
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_conformance/5823/consoleText

Activity

  1. added
    kind/test-flake
    on Sep 2, 2016
  2. stevekuznetsov commented on Nov 3, 2016

    @stevekuznetsov
    Contributor

    @DirectXMan12 What's the status of you looking into this? This is a very wide-spread flake in our queue right now.

  3. smarterclayton commented on Nov 3, 2016

    @smarterclayton
    Contributor

    @knobuc can you find someone to look at this since 1.5 is closing and solly has changed to land?

  4. knobunc commented on Nov 3, 2016

    @knobunc
    ContributorAuthor

    @DirectXMan12 and I are looking into this... we have a hunch as to the problem, but trying to verify.

  5. knobunc commented on Nov 4, 2016

    @knobunc
    ContributorAuthor

    Latest error was:

    STEP: Dumping a list of prepulled images on each node
    Nov  4 05:33:21.431: INFO: Waiting up to 1m0s for all nodes to be ready
    STEP: Destroying namespace "extended-test-cli-idling-0tqsq-j2px3" for this suite.
    Nov  4 05:33:26.476: INFO: namespace: extended-test-cli-idling-0tqsq-j2px3, resource: bindings, ignored listing per whitelist
    STEP: Destroying namespace "extended-test-cli-idling-0tqsq-rxjya" for this suite.
    Nov  4 05:34:16.662: INFO: namespace: extended-test-cli-idling-0tqsq-rxjya, resource: bindings, ignored listing per whitelist
    [AfterEach] idling and unidling
      /data/src/github.com/openshift/origin/test/extended/idling/idling.go:250
    STEP: Cleaning up the idling file
    
    
    • Failure in Spec Setup (JustBeforeEach) [184.987 seconds]
    idling and unidling
    /data/src/github.com/openshift/origin/test/extended/idling/idling.go:466
      unidling [JustBeforeEach]
      /data/src/github.com/openshift/origin/test/extended/idling/idling.go:465
        should work with TCP (when fully idled) [Conformance]
        /data/src/github.com/openshift/origin/test/extended/idling/idling.go:309
    
        Expected error:
            <*errors.errorString | 0xc8200e5780>: {
                s: "timed out waiting for the condition",
            }
            timed out waiting for the condition
        not to have occurred
    

    So it doesn't even get the pods up in 1 minute...

  6. deads2k commented on Nov 8, 2016

    @deads2k
    Contributor

    @ncdc You may have just found this one in your log. Looks like https://github.com/openshift/origin/blob/master/pkg/unidling/controller/controller.go#L96 creates a fake List method, that when called will not return a valid resourceVersion for the reflector to use for its watch.

  7. ncdc commented on Nov 8, 2016

    @ncdc
    Contributor

    I can confirm in at least 1 jenkins failure for this flake that you see the unidling controller eventually repeatedly fails to watch Events with this:

    reflector.go:330] github.com/openshift/origin/pkg/unidling/controller/controller.go:192: watch of *api.Event ended with: etcdserver: mvcc: required revision has been compacted
    

    Once that happens, unidling is busted...

  8. ncdc commented on Nov 8, 2016

    @ncdc
    Contributor

    I have tried modifying the fake List function to return a resource version of "0" but that isn't helping. I'm still debugging this.

  9. 29 remaining items

  10. stevekuznetsov commented on Apr 9, 2017

    @stevekuznetsov
    Contributor

    Not blocking any release if we make it P1 now.

  11. stevekuznetsov commented on Jul 13, 2017

    @stevekuznetsov
    Contributor

    @knobunc @DirectXMan12 @derekwaynecarr looks like a suggest for this was discussed in March above: #10773 (comment)

    What is the status on this? I know other underlying issues are bubbling up as failures for this test but this has been by far the most flaky test we have ever had in our suites and I would really love to see it get nailed down for good.

  12. openshift-bot commented on Feb 14, 2018

    @openshift-bot
    Contributor

    Issues go stale after 90d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle stale

  13. added
    lifecycle/stale
    on Feb 14, 2018
  14. stevekuznetsov commented on Feb 14, 2018

    @stevekuznetsov
    Contributor

    Kind of amazing this stopped flaking out.

    /close

  15. bparees commented on Feb 14, 2018

    @bparees
    Contributor

    Kind of amazing this stopped flaking out.

    sssshhh..you'll wake the beast.

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

Metadata

Metadata

Labels

component/networkingkind/test-flakelifecycle/stalepriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions