-
Select Topic AreaQuestion BodyHello! We've been using GitHub Actions for years now to build an Android app: https://github.com/ThePalaceProject/android-core About a week ago, without any changes from us, all of our builds on the
Is there some way that someone at GitHub can tell us why our builds are failing like this? It's impossible to debug when there's no useful error message. At this point, I can only assume our builds are being killed for taking excessive CPU time; dexing Java bytecode into Android bytecode is a very expensive process. Somewhat strangely, we had one build run to completion earlier without being killed. We hadn't changed anything! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
👋 @io7m! We value our community engagement and wanted to Thank you for reaching out! I am wondering if a minor update to Ubuntu-latest image changed in-between the last successful run and when the build started failing, caused this build step trouble to surface 🤔 From the build logs, it does seem to be running into a runner shutdown signal:
I am in agreement with your suspicion that this might be due to some sort of resource constraint that could be in play based off the runner getting that shutdown signal. For example, in the debug archive download that can be grabbed from the Workflow run. I see some hints that some processes are being adjusted for memory utilization: ./runner-diagnostic-logs/Worker_20230828-113023-utc.log
Generally the standard configurations for GitHub hosted runners should do well for many uses, though as projects grow, become more complex, sometimes 2-cores just no longer cuts it and jumping into larger hardware might be the next natural solution. However, before going that route, I noticed in the So I am thinking that playing with the swap is something I might try to get past this hurdle too, or if possible reduce the resource consumption of the build steps in some fashion. On a quick side note, I found this community thread very insightful while studying this issue. I hope this helps! Please let me know 🐧 -- @appatalks |
Beta Was this translation helpful? Give feedback.
-
|
I had the same issue starting with the recent update of the Ubuntu 24.04 LTS runner image. My hunch was also that I was exhausting resources, but the logs were not helpful. The runner is using Makefile with the |
Beta Was this translation helpful? Give feedback.
👋 @io7m!
We value our community engagement and wanted to Thank you for reaching out!
I am wondering if a minor update to Ubuntu-latest image changed in-between the last successful run and when the build started failing, caused this build step trouble to surface 🤔
From the build logs, it does seem to be running into a runner shutdown signal:
I am in agreement with your suspicion that this might be due to some sort of resource constraint that could be in play based off the runner getting that shutdown signal.
For example, in the debug archive download that can be gr…