Failed to build (arm01)

Is something broken again on the build servers?

My last three attempts to build a container all returned.

**#1/1:**  [Info] Generating image deltas from release 609f94075663a0f914e3d9a7cf75f34c7dcd7aff (id: 1393929)

**#1/1:**  [==================================================>] 100%[Success] Successfully generated image deltas

**#1/1:**  [Info] Uploading images

**#1/1:**  [Error] An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/3bb5b0229cbd9e2a397cd85eeff0945c:latest
**#1/1:**  [Info] Built on arm01
**#1/1:**  [Error] Not deploying release.

I managed to get a build on arm03 same issue. Hmm.

Hi!

Thanks for reaching out! I’m going to have al look at this. Do you happen to have the the error log you got building in arm03?

#1/1: [Info] Uploading images

#1/1: [Error] An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/eea046b9953bf29c6dc5f3406185ce57:latest
#1/1: [Info] Built on arm03
#1/1: [Error] Not deploying release.

Hi!
Thank you for your patience! we are still working on it and will let you know as soon as we have an update on this issue

I attempted another build today.


#1/1: [Info] Built on arm03
#1/1: [Success] Release successfully created!
#1/1: [Info] Release: c66bd449896026143a9d699b592f5a16901d779c (id: 1404080)
#1/1: [Info] β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
#1/1: [Info] β”‚ Service β”‚ Image Size β”‚ Delta Size β”‚ Build Time β”‚
#1/1: [Info] β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
#1/1: [Info] β”‚ main β”‚ 307.20 MB β”‚ 11.43 MB β”‚ 18 minutes, 45 seconds β”‚
#1/1: [Info] β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
#1/1: [Info] Build finished in 20 minutes, 7 seconds

#1/1: 

No change to the build script etc. Just another git push.

It’s happening again.

[========> ] 16%[Error] An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/50dd9b0eed9438dfa07fca9a6290602d:latest

Thanks for reporting this, we have been looking into this issues lately, but still haven’t managed to find a permanent solution. The problem is caused by the garbage collector in the builder, which may remove images too aggressively causing other builds to fail with an error like the one above. For the time being, the only mitigation we can recommend is to re-trigger the build, as that should make it go through eventually.
A ticket is attached to this support thread and we will get back to you as soon as we manage to fully solve the problem, apologies for the bumpiness in the meantime.

@nazrhom I’m naught for 6 so far. I’m not sure that it will ever go through. But sure I’ll send a few extra through tomorrow.

Hopefully no one else needs any build time lol.

Thank you Balena Cloud team for the feedback on this issue. I wanted to mention that I’ve observed this behaviour on git push and balena push actions for weeks now, but it has become particularly bad lately. As @SplitIce mentioned, it’s at the point now where I know that most build attempts will fail.

It goes without saying that this is a frustrating impact to productivity since it is at the end of the build process that this happens. Here are my failures from just this afternoon, of these I have had two successes.

Edit: after 3 more builds I’ve run out of time today and have given up. Since I saw mention of this recently, I’ll add that my builds happen fairly regularly (each day at present), and they typically finish well within 10 minutes. You can look up internal details using my examples below.

Is this issue under active investigation?

[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/4cdf86a529592ac4f408ea1634ba21d3:latest
[Info]     Built on arm03
[Error]    Not deploying release.
Remote build failed

Info]     Generating image deltas from release b22a419b70c9e716c9d48ff657703d95 (id: 1466717)
[Success]  Successfully generated image deltas
[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/5d3424f367ae15e0c76b2aeb4ace85b7:latest
[Info]     Built on arm03
[Error]    Not deploying release.
[=========================>                         ] 50%Remote build failed

[Info]     Generating image deltas from release b22a419b70c9e716c9d48ff657703d95 (id: 1466717)
[Success]  Successfully generated image deltas
[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/ba85849c48fc92bc73a4a87048849dcc:latest
[Info]     Built on arm03
[Error]    Not deploying release.
[=========================>                         ] 50%Remote build failed

[Info]     Generating image deltas from release b22a419b70c9e716c9d48ff657703d95 (id: 1466717)
[Success]  Successfully generated image deltas
[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/08db03baf41dc32328e33a84859cf17b:latest
[Info]     Built on arm03
[Error]    Not deploying release.
[=========================>                         ] 50%Remote build failed

[Info]     Generating image deltas from release 99176b8d32f7c4330ac1e4fbb65a8265 (id: 1467042)
[Success]  Successfully generated image deltas
[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/03856c294dc8d2cbf3479e1ad788e893:latest
[Info]     Built on arm03
[Error]    Not deploying release.
Remote build failed

[Info]     Generating image deltas from release 99176b8d32f7c4330ac1e4fbb65a8265 (id: 1467042)
[Success]  Successfully generated image deltas
[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/1a261913f23646dbf1f6a5f34c584b86:latest
[Info]     Built on arm03
[Error]    Not deploying release.
[=========================>                         ] 50%Remote build failed

[Info]     Generating image deltas from release 99176b8d32f7c4330ac1e4fbb65a8265 (id: 1467042)
[Success]  Successfully generated image deltas
[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/d8a692ebd338ef495c53ceee785d0caa:latest
[Info]     Built on arm03
[Error]    Not deploying release.
[============>                                      ] 25%Remote build failed

[Info]     Generating image deltas from release 7d07b890d1abcc37b5e00442e8eeb9cf (id: 1467061)
[Success]  Successfully generated image deltas
[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/b7fed7591fca42772e708a7638496965:latest
[Info]     Built on arm03
[Error]    Not deploying release.
[=========================>                         ] 50%Remote build failed

[Info]     Generating image deltas from release 7d07b890d1abcc37b5e00442e8eeb9cf (id: 1467061)
[Success]  Successfully generated image deltas
[Info]     Uploading images
[Error]    An error occured: (HTTP code 404) no such image - No such image: registry2.balena-cloud.com/v2/f42766c0501ac0a751e61b0c528e67ae:latest
[Info]     Built on arm03
[Error]    Not deploying release.
[=========================>                         ] 50%Remote build failed

Hi @SplitIce, @exposedwiring,
I’d like to share with you some internal feedback from the team regarding the builder failures.
The failures are caused by the builder Garbage Collection, which does run from time to time. These GC runs caused the missing image errors that users may have encountered. Among the affected images, must have been your own images as well.
We are actively working to move the builders to a new infrastructure and includes more fixes to avoid the missing images issue, which will be completed soon. We don’t have an ETA for that change of infrastructure though, but hopefully, we can get it done fairly easily and fast.
In the meanwhile, the only workaround we can suggest is trying to build your images again.

We’ll keep you posted regarding this issue,
Georgia

1 Like