Skip to content

/tmp/deprovision.sh failed #13559

Closed
Closed

Description

@soltysh

Seen in https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_conformance_gce/635/console. The direct error seems to be related with this particular GKE failure:

ERROR: (gcloud.compute.instance-templates.delete) Some requests did not succeed:
 - Code: '385079975793035184'", "stdout": "", "stdout_lines": [], "warnings": []}

Activity

  1. added
    kind/test-flake
    on Mar 28, 2017
  2. stevekuznetsov commented on Mar 29, 2017

    @stevekuznetsov
    Contributor

    @smarterclayton when was the jUnit + ansible output stuff supposed to bubble up to the image being used? We don't have this logged.

  3. smarterclayton commented on Mar 29, 2017

    @smarterclayton
    Contributor

    Uh...

  4. soltysh commented on Jun 5, 2017

    @soltysh
    ContributorAuthor
    Deleted [https://www.googleapis.com/compute/v1/projects/openshift-gce-devel-ci/global/instanceTemplates/ci-prtest-5a37c28-2729-instance-template-master].
    ERROR: (gcloud.compute.firewall-rules.delete) Some requests did not succeed:
     - Internal Error
    

    Looks like internal GCE error, not sure if we're able to do with it.

  5. smarterclayton commented on Jun 6, 2017

    @smarterclayton
    Contributor
  6. soltysh commented on Jun 6, 2017

    @soltysh
    ContributorAuthor

    Not cool :/

  7. stevekuznetsov commented on Jun 20, 2017

    @stevekuznetsov
    Contributor

    Today all shell tasks are generated from the template at aos-cd-jobs/sjb/actions/named_shell_task.py. I think making the job "fail-able" would be a good idea -- we would need to thread through a new config option on shell steps that could default to making it fail on error, but allow us to turn it off otherwise. Do you think you can make a PR to tackle this?

  8. soltysh commented on Jun 20, 2017

    @soltysh
    ContributorAuthor

    @stevekuznetsov on a second thought I started wondering. If this is supposed to fix the flake, we need to enable it by default and only disable on demand. With this option being turned off we don't get rid off the flake. Why do you think this should be off by default?

  9. stevekuznetsov commented on Jun 20, 2017

    @stevekuznetsov
    Contributor

    The named_shell_task handles all shell tasks with a name in those jobs -- so that is provisioning, building, testing, etc -- it's only the deprovisioning and cleanup tasks where we want to be able to optionally disable the -o errexit flag to allow those steps to fail silently while doing best-effort work.

  10. smarterclayton commented on Jun 20, 2017

    @smarterclayton
    Contributor
  11. 4 remaining items

  12. smarterclayton commented on Jun 21, 2017

    @smarterclayton
    Contributor
  13. stevekuznetsov commented on Jun 21, 2017

    @stevekuznetsov
    Contributor

    OK, sounds reasonable. The jobs would be better off if we could turn off early exit on error, as that makes our deprovision safer -- today if a pre-deprovision step like grabbing logs fails, we don't run deprovision as we could not describe the "always run this step even on failure" in Jenkins. The deprovision.sh script would be better off re-trying.

  14. stevekuznetsov commented on Jun 26, 2017

    @stevekuznetsov
    Contributor
  15. openshift-bot commented on Feb 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

  16. added
    lifecycle/stale
    on Feb 13, 2018
  17. openshift-bot commented on Mar 16, 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

  18. added
    lifecycle/rotten
    and removed
    lifecycle/stale
    on Mar 16, 2018
  19. stevekuznetsov commented on Mar 16, 2018

    @stevekuznetsov
    Contributor

    This has actually been fixed by doing a trap to make those stages never fail.

    /close

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

Metadata

Metadata

Labels

area/infrastructurekind/test-flakelifecycle/rottenpriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions