ara icon indicating copy to clipboard operation
ara copied to clipboard

Catch SIGINT and SIGTERM (#556)

Open Nudin opened this issue 1 year ago • 2 comments

This will catch SIGINT/SIGTERM and send an update to the ara server, so that the playbook does not continue to be shown as running indefinitely but will report failed. See #556

After sending the update to the server, it executes any handler that where configured so far in order not to interfere with other parts of ansible/ansible plugins or if none was present, exit with the appropriate exit code.

Nudin avatar Jun 27 '24 12:06 Nudin

Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/195efc89d6bb4da4a386c7f7e040117c

:heavy_check_mark: ara-tox-py3 SUCCESS in 3m 06s :heavy_check_mark: ara-tox-linters SUCCESS in 3m 13s :x: ara-basic-ansible-core-devel FAILURE in 5m 43s (non-voting) :heavy_check_mark: ara-basic-ansible-9 SUCCESS in 6m 41s :heavy_check_mark: ara-basic-ansible-core-2.16 SUCCESS in 6m 10s :heavy_check_mark: ara-basic-ansible-core-2.15 SUCCESS in 5m 59s :heavy_check_mark: ara-container-images SUCCESS in 10m 52s

Hi and thanks for the PR!

I am interested in testing it and will circle back to it sometime soon to make sure it's included in the next release of ara.

dmsimard avatar Jun 28 '24 01:06 dmsimard

I have submitted a PR with an update to use the expired status instead: https://github.com/ansible-community/ara/pull/565

I will close this one.

Thanks for the nice improvement and sorry it took so long to get around to it.

dmsimard avatar Aug 25 '24 19:08 dmsimard