Open edsantiago opened 1 year ago
Cc: @nalind @flouthoc just in case you have a suspicion
The amd64 version of that image is compressed with gzip, not bzip2, so it's not clear to me why the storage library's archive package is trying to run it through the Go standard library's bzip2 decompressor, but that's where this error message likely originated. It's also not clear why the checks on the incoming stream's magic and compression type values aren't triggering an error, since they're checked before the compression level.
A friendly reminder that this issue had no activity for 30 days.
Triggered again, new variant, "bad magic value" instead of "invalid compression level"
[+0510s] not ok 190 podman build - basic test
...
# COMMIT build_test
# Error: committing container for step {Env:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] Command:run Args:[echo KOdsNLz8VAWwrPmHZnFPXpbxO0rw4grdJuay7MScBDtoa2QeJy > /BZh6hMBseCEexmhDnvki] Flags:[] Attrs:map[] Message:RUN echo KOdsNLz8VAWwrPmHZnFPXpbxO0rw4grdJuay7MScBDtoa2QeJy > /BZh6hMBseCEexmhDnvki Original:RUN echo KOdsNLz8VAWwrPmHZnFPXpbxO0rw4grdJuay7MScBDtoa2QeJy > /BZh6hMBseCEexmhDnvki}: copying layers and metadata for container "72c09d098d96a6c11b1e758009622124592a72d461f936d56b9d3f4cdcf006fb": writing blob: storing blob to file "/var/tmp/container_images_storage4129358967/1": bzip2 data invalid: bad magic value found
Seen just now, f39 remote root:
# podman-remote --url unix:///tmp/podman_tmp_OrRm build -t build_test -f - --format=docker /tmp/podman_bats.GwFaeg/build-test
STEP 1/2: FROM quay.io/libpod/testimage:20240123
STEP 2/2: RUN echo VHroevmgqdX82yKdzq6T1M1YIqw3p9rM9JOSYELXvtqlz8mI3W > /BZhqwRjDOGcfIqUFVS3a
COMMIT build_test
Error: committing container for step {
Env:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin]
Command:run Args:[echo VHroevmgqdX82yKdzq6T1M1YIqw3p9rM9JOSYELXvtqlz8mI3W > /BZhqwRjDOGcfIqUFVS3a]
Flags:[]
Attrs:map[]
Message:RUN echo VHroevmgqdX82yKdzq6T1M1YIqw3p9rM9JOSYELXvtqlz8mI3W > /BZhqwRjDOGcfIqUFVS3a
Heredocs:[]
Original:RUN echo VHroevmgqdX82yKdzq6T1M1YIqw3p9rM9JOSYELXvtqlz8mI3W > /BZhqwRjDOGcfIqUFVS3a}:
copying layers and metadata for container "b2a209b63d3fcbc15c40930983ed88ce1114fd3debc4c2a139e1280d012c64de":
writing blob: storing blob to file "/var/tmp/container_images_storage213025501/1":
bzip2 data invalid: invalid compression level
In f37 rootless:
It's a one-off... at least so far. Filing in order to track future occurrences.