Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shutdown signal received during post job cleanup #23

Open
ereslibre opened this issue Aug 15, 2023 · 1 comment
Open

Shutdown signal received during post job cleanup #23

ereslibre opened this issue Aug 15, 2023 · 1 comment

Comments

@ereslibre
Copy link

I am using the magic-nix-cache-action project in https://github.com/ereslibre/homelab. Thanks for this project!

During the post job cleanup, the output states:

...
2023-08-15T18:59:06.1176097Z ##[error]The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
...

And the job is considered failed. An example of a failed run in the mentioned repo can be found here.

Do you have any idea on how to workaround this? I think the post job cleanup might have taken longer than what GitHub allows for post jobs and at some point it's terminated.

@cameronraysmith
Copy link
Contributor

cameronraysmith commented Jan 29, 2024

These are probably related to actions/runner-images#6680 and actions/runner-images#7188 . Underlying the cryptic error message is probably one similar to actions/runner-images#6680 (comment) .

Since this may be due to an out of memory condition, modulating the swap size as recommended in actions/runner-images#7188 (comment) or, for example using easimon/maximize-build-space,

      - name: maximize build space
        uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c # ratchet:easimon/maximize-build-space@v10
        with:
          root-reserve-mb: 38912
          swap-size-mb: 4096
          remove-dotnet: "true"
          remove-android: "true"

may help to reduce or eliminate such errors. Obviously the relevant value of swap-size-mb would vary depending on the details of your workload.

jachym-tousek-keboola added a commit to keboola/keboola-as-code that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants