Shutdown scripts do not work on GCP images

2020-03-25 Thread Ed Maste
As reported in Cirrus-CI's issue tracker[1] it looks like shutdown
scripts on our GCP images just don't work. This results in spurious
false failures in Cirrus-CI.

Quoting from the report:
> Cirrus CI also relies on shutdown script to detect preeptions: if
> shutdown script is executed before while task is still executing
> that mean that something from the outside killed it e.g. potential
> preemtion.

Where does the shutdown script come from?

[1] https://github.com/cirruslabs/cirrus-ci-docs/issues/592
___
freebsd-cloud@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"


Re: Shutdown scripts do not work on GCP images

2020-03-25 Thread Steve Wills

Hi,

On 3/25/20 12:36 PM, Ed Maste wrote:

As reported in Cirrus-CI's issue tracker[1] it looks like shutdown
scripts on our GCP images just don't work. This results in spurious
false failures in Cirrus-CI.

Quoting from the report:

Cirrus CI also relies on shutdown script to detect preeptions: if
shutdown script is executed before while task is still executing
that mean that something from the outside killed it e.g. potential
preemtion.


Where does the shutdown script come from?


I believe from sysutils/py-google-compute-engine. I can try to take a look.

Steve
___
freebsd-cloud@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"


Re: Shutdown scripts do not work on GCP images

2020-03-25 Thread Ed Maste
On Wed, 25 Mar 2020 at 14:02, Steve Wills  wrote:
>
> I believe from sysutils/py-google-compute-engine. I can try to take a look.

Thanks - I fetched and extracted the port but am not really sure what
I'm looking for.
___
freebsd-cloud@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"


Re: Shutdown scripts do not work on GCP images

2020-03-25 Thread Jay Edwards via freebsd-cloud
It has a lot of linuxisms.

 I forget the exact problem, but it’s been known to match on a specific
string to indicate service status. Somewhere there should be an example of
a if/else where one fork is for Linux and the second for FreeBSD.

On Wed, Mar 25, 2020 at 6:42 PM Ed Maste  wrote:

> On Wed, 25 Mar 2020 at 14:02, Steve Wills  wrote:
> >
> > I believe from sysutils/py-google-compute-engine. I can try to take a
> look.
>
> Thanks - I fetched and extracted the port but am not really sure what
> I'm looking for.
> ___
> freebsd-cloud@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
> To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"
>
-- 
Jay Edwards
___
freebsd-cloud@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"