https://blue-build.org/ logo
Chunkah failures?
# questions
f
Hi everyone, I've noticed that my image builds are failing since yesterday during the rechunking step with chunkah. Is anyone else experiencing the same? At first I thought it was because I reverted pinning the CLI version, but then I've tried undoing it or updating the blue-build action to v1.14 with the same result. The error message on the other hand is not very useful. I might be completely wrong but could this be related to memory or disk space? 🤔
Copy code
[11:52:27 podman system prune] => Total reclaimed space: 0B
  [11:52:27  INFO] => Pulling image quay.io/coreos/chunkah:latest...
  [11:52:31  INFO] => Successfully pulled image quay.io/coreos/chunkah:latest
  [11:52:31 g.i/f/nimbus-os:latest_linux_amd64] =>  INFO starting build rootfs=/chunkah
  [11:52:33 g.i/f/nimbus-os:latest_linux_amd64] =>  INFO scan complete files=144792 size=7.3 GiB
  [11:52:34 g.i/f/nimbus-os:latest_linux_amd64] => Error: loading components
  [11:52:34 g.i/f/nimbus-os:latest_linux_amd64] => 
  [11:52:34 g.i/f/nimbus-os:latest_linux_amd64] => Caused by:
  [11:52:34 g.i/f/nimbus-os:latest_linux_amd64] =>     0: loading rpmdb
  [11:52:34 g.i/f/nimbus-os:latest_linux_amd64] =>     1: loading rpmdb from rootfs
  [11:52:34 g.i/f/nimbus-os:latest_linux_amd64] =>     2: rpm command killed by signal 13
  [11:52:35 ERROR] => Failed:
    × Chunkah child process failed with exit code exit status: 1
  
    Try running with `-vv` for trace logging.
a
message has been deleted
g
Ok yeah I've been getting this error too, I haven't been able to pin it down yet
I can confirm it's not disk space as I can replicate this in my gitlab builds which run on my personal cluster and my desktop
I'm wondering if it's a chunkah bug and maybe changing its version would help
@Amaranth have you seen this at all?
I think it has something to do with dev packages I'm adding to my images cause the other images I build for my friends work fine and they don't have all the extra stuff in it
a
I haven't seen this, no
I recommend building the image without rechunking and then running chunkah on it locally with trace logging enabled
g
I did that at one point too and it didn't give me much info. I don't have the log anymore but it showed scanning files and then that same error message
Maybe it has to do with one of those files
I'll have to check again
a
I'd say report this to chunkah then
g
I think I might also push a change to link our log verbosity to chunkah
r
Are you maybe running into this? https://github.com/coreos/chunkah/issues/189
g
Ok, so maybe a third-party package I'm installing?
That helps narrow it down to what to look for
f
Ohhhh, I do have Chrome in my image indeed. That might be it
That was it indeed. Same Chrome version. I've pinned that version for now until Chunkah gets the fix. Thanks for the info @renner !
a
message has been deleted
g
Found out that my issue was r2modman