Skip to content

Flake deploymentconfigs with test deployments [Conformance] [It] should run a deployment to completion and then scale to zero  #13980

Closed

Description

@abutcher
• Failure [26.555 seconds]
deploymentconfigs
/go/src/github.com/openshift/origin/test/extended/deployments/deployments.go:908
  with test deployments [Conformance]
  /go/src/github.com/openshift/origin/test/extended/deployments/deployments.go:309
    should run a deployment to completion and then scale to zero [It]
    /go/src/github.com/openshift/origin/test/extended/deployments/deployments.go:308

    Expected
        <string>: --> pre: Running hook pod ...
        test pre hook executed
        --> pre: Success
        --> Scaling deployment-test-1 to 2
        --> Waiting up to 10m0s for pods in rc deployment-test-1 to become ready
    to contain substring
        <string>: --> Success

    /go/src/github.com/openshift/origin/test/extended/deployments/deployments.go:256

https://ci.openshift.redhat.com/jenkins/job/test_pull_request_openshift_ansible/87/consoleFull#-210271339656cbb9a5e4b02b88ae8c2f77

Activity

  1. added
    kind/test-flake
    on May 1, 2017
  2. smarterclayton commented on May 25, 2017

    @smarterclayton
    Contributor

    This is now the #1 break in the queue and testing on master

  3. mfojtik commented on May 29, 2017

    @mfojtik
    Contributor

    @smarterclayton ok, this code does oc logs -f pods/deployer to collect the logs. It stores the output of that command into out variable when the -f drops (which happen when the deployer pod is gone/complete). It seems like:

    1. We miss buff.sync() somewhere to flush all logs into out
    2. Something changed in oc logs -f and we won't get the complete logs from the pod or we miss the last line of the log output (did something changed in upstream re: logging?)
  4. mfojtik commented on May 29, 2017

    @mfojtik
    Contributor

    I ran this test for some time in a loop and no luck reproducing this :/

    From the log it also seems that the rollout completed successfully, there is no error in the third RC and the rollout took reasonable time as well.

  5. mfojtik commented on May 29, 2017

    @mfojtik
    Contributor

    @Kargakis @smarterclayton ok, the only reasonable way to fix it and unblock the queue is to use the deployment config condition to check the success (i can check the NewRcAvailableReason).

    I will add FIXME there for now and will continue investigating.

    PR: #14395

  6. mfojtik commented on May 30, 2017

    @mfojtik
    Contributor

    This is journald rate-limiter issue, as a band-aid we are going to disable the --> Success check in logs (we already check the conditions/reason to make sure the rollout completed successfully).

    Moving this to P2 just to track this once the rate-limiter is fixed.

  7. smarterclayton commented on Jun 18, 2017

    @smarterclayton
    Contributor

    Still happening

  8. bparees commented on Aug 31, 2017

    @bparees
    Contributor

    Moving this to P2 just to track this once the rate-limiter is fixed.

    @mfojtik was the rate-limiter ever fixed?

  9. mfojtik commented on Aug 31, 2017

    @mfojtik
    Contributor

    @bparees it was tweaked for some tests but not for deployment tests... so no, it was not fixed (the original issues is still opened).

  10. tnozicka commented on Dec 13, 2017

    @tnozicka
    Contributor

    @mfojtik close in favor of #17747 ?

  11. openshift-bot commented on Mar 13, 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

  12. added
    lifecycle/stale
    on Mar 13, 2018
  13. openshift-bot commented on Apr 12, 2018

    @openshift-bot
    Contributor

    Stale issues rot after 30d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle rotten.
    Rotten issues close after an additional 30d of inactivity.
    Exclude this issue from closing by commenting /lifecycle frozen.

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

    /lifecycle rotten
    /remove-lifecycle stale

  14. added
    lifecycle/rotten
    and removed
    lifecycle/stale
    on Apr 12, 2018
  15. openshift-bot commented on May 13, 2018

    @openshift-bot
    Contributor

    Rotten issues close after 30d of inactivity.

    Reopen the issue by commenting /reopen.
    Mark the issue as fresh by commenting /remove-lifecycle rotten.
    Exclude this issue from closing again by commenting /lifecycle frozen.

    /close

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

Metadata

Metadata

Assignees

Labels

component/appskind/test-flakelifecycle/rottenpriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions