-
Notifications
You must be signed in to change notification settings - Fork 296
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
Kokoro Check build failures due to NodeJS or OpenJDK installation failure #2297
Comments
https://github.com/tj/n#custom-source would allow to overwrite URL. But I couldn't find a more reliable NodeJS mirror e.g. on GCP. Caching this installation is probably the way to go. This is only worth persuing if it happens more regularly. |
It just happened again, on https://source.cloud.google.com/results/invocations/e7f4bf2c-7a74-460e-b769-e7f9c59bd01d/targets/openhealthstack%2Fandroid-fhir%2Fgcp_ubuntu%2Fpresubmit/log, for #2298. |
This is a similar problem, which I just debugged as the root cause for why #2282 has a "stuck" Kokoro: Build and Device Tests Expected — Waiting for status to be reported:
|
We could cache it, or save the package in a GCS Bucket that can be accessed in the script, this is the script that runs: |
This (the NodeJS one) already happened AGAIN, on https://source.cloud.google.com/results/invocations/35a3c980-1b62-4a4a-88a2-daf5f0c76bfd/targets/openhealthstack%2Fandroid-fhir%2Fgcp_ubuntu%2Fpresubmit/log, for #2316 ... to me, somehow fixing this one way or another seems a fairly high priority for this project.
Yeah. What bothers me a tiny little bit is having to cobble this together here - this kind of problem has already been solved, of course; see e.g. https://github.com/actions/cache or https://github.com/marketplace/actions/cache-apt-packages. I'm curious if simplifying the CI infrastructure overall with #2304 wouldn't be a better way forward instead of fixing this... But if you do happen to have bandwidth to fix this, please do! |
N/A iff #2304 - but keeping open until decision if we'll do that (because if we don't, this should still be fixed). |
#2295 (related to #2294) failed the Kokoro Check build:
https://source.cloud.google.com/results/invocations/80bddf42-e6cc-4be7-862b-c625032e4abb/targets/openhealthstack%2Fandroid-fhir%2Fgcp_ubuntu%2Fpresubmit/log
@omarismail94 have you seen this problem before? Often?
I suspect the cause is that that
nodejs.org
is "throttling" DLs from GCP.To avoid this, perhaps https://github.com/google/android-fhir/blob/master/kokoro/gcp_ubuntu/kokoro_build.sh could be tweaked to e.g. install NodeJS via Package Manager?
Or is it possible to do Caching on Kokoro (of e.g. the Node installation), like GitHub Actions VM can do?
The text was updated successfully, but these errors were encountered: