You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
@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?
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.
The flake is we leave things uncleaned up in gce, why don't you improve
deprovision to retry certain operations? Or just rerun if a failure
happens?
On Jun 20, 2017, at 3:37 PM, Steve Kuznetsov <[email protected]> wrote:
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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13559 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_pxgfRTrPo4ov_nvq8M_2zW-SEBgTks5sGB9egaJpZM4Mru_Y>
.
The retry should be inside of deprovision and origin-gce, not in the job.
The playbook deprovision already has to be idempotent, and if some cloud
providers have bugs, that's just the way of the world.
On Wed, Jun 21, 2017 at 11:30 AM, Maciej Szulik ***@***.***>
wrote:
> I was originally thinking about a retry logic for that particular
> use-case. Adding that option you've mentioned is not a problem, either.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#13559 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABG_pxWahvp29R_23LHUq8XtfQwWTU-Vks5sGTcCgaJpZM4Mru_Y>
> .
>
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.
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.
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.
Activity
stevekuznetsov commentedon Mar 29, 2017
@smarterclayton when was the jUnit + ansible output stuff supposed to bubble up to the image being used? We don't have this logged.
smarterclayton commentedon Mar 29, 2017
Uh...
soltysh commentedon Jun 5, 2017
Another one in https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_conformance_gce/2729/
soltysh commentedon Jun 5, 2017
Looks like internal GCE error, not sure if we're able to do with it.
smarterclayton commentedon Jun 6, 2017
soltysh commentedon Jun 6, 2017
Not cool :/
soltysh commentedon Jun 20, 2017
@stevekuznetsov @smarterclayton would it hurt if we ignore errors at the de-provision stage, I mean remove
set -o errexitfrom this line: https://github.com/openshift/aos-cd-jobs/blob/da4567fc5a8dc4a804b9b02803a4d49dd8657816/sjb/generated/test_pull_request_origin_extended_conformance_gce.xml#L347 ?stevekuznetsov commentedon Jun 20, 2017
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?soltysh commentedon Jun 20, 2017
@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?
stevekuznetsov commentedon Jun 20, 2017
The
named_shell_taskhandles 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 errexitflag to allow those steps to fail silently while doing best-effort work.smarterclayton commentedon Jun 20, 2017
4 remaining items
smarterclayton commentedon Jun 21, 2017
stevekuznetsov commentedon Jun 21, 2017
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.shscript would be better off re-trying.stevekuznetsov commentedon Jun 26, 2017
@mfojtik !?
openshift-bot commentedon Feb 13, 2018
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
openshift-bot commentedon Mar 16, 2018
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
stevekuznetsov commentedon Mar 16, 2018
This has actually been fixed by doing a trap to make those stages never fail.
/close