carlosperate/arm-none-eabi-gcc-action

2 minute hang after install & caching

Closed this issue · 5 comments

actions/toolkit#1643
~90s of logged activity then stuck for 2 minutes. ^^ issue suggests calling process.exit as a workaround
image

Just to confirm, the log shown in the screenshot seems to run correctly (although there seems to be a cache miss) and after that last log entry it waits for 2min without doing anything else? what is the next log entry after that? is it the next workflow job step?

Is the cache actually saved successfully? Can you see it in repo caches? https://github.com/<username>/<project>/actions/caches

  • The hang only happens on a cache miss
  • It caches successfully
  • After 2 minutes it continues to the next workflow step. There is no further log entry for this step

Demo: https://github.com/Crzyrndm/cache-hang/actions/runs/8350274641/job/22856302537?pr=1

I am also experiencing this issue:
here
image
and here
image

In my case the cache was also sucessful.

The actual step running this action: action.yml
release: 10-2020-q4

Thanks for the confirmation of the issue @Crzyrndm and the additional info @Crzyrndm.

I've been able to replicate the same behaviour (~2min hangs on cache misses, without anything happening after the last log entry during that time) and it seems to be resolved by updating the @actions/cache dependency to the latest version (in hopes that a PR like actions/cache#1217 might have fixed it).

In the same environment were I was able to easily replicate the issue it seems to be resolved when using carlosperate/arm-none-eabi-gcc-action@v1.8.2. @Crzyrndm @meisZWFLZ could you try the latest release and check if it has been fixed on your CI runs as well? Thanks!

This is working for me. Thanks for the fix @carlosperate