containers / storage

Container Storage Library
Apache License 2.0
558 stars 239 forks source link

composefs: Error creating cache file for layer "sha": blah blah zstd blah blah #1909

Closed edsantiago closed 5 months ago

edsantiago commented 5 months ago

Seeing this when running integration tests, podman + c-c + c-s @ latest.

time="2024-04-23T14:46:27-04:00" level=warning msg="Error creating cache file for layer \"03901b4a2ea88eeaad62dbe59b072b28b6efa00491962b8741081c5df50c65e0\": locating item named \"zstd-chunked-manifest\" for layer with ID \"03901b4a2ea88eeaad62dbe59b072b28b6efa00491962b8741081c5df50c65e0\": file does not exist"

I can't figure out a reproducer and have wasted waaaaay too much energy trying. Sorry.

edsantiago commented 5 months ago

Here's a cargocult reproducer:

bin/podman system reset -f
bin/podman pull quay.io/libpod/testimage:20221018
bin/podman pull quay.io/libpod/badhealthcheck:latest
bin/podman pull quay.io/libpod/alpine_labels
printf "FROM quay.io/libpod/testimage:20240123\nENV PATH=/tmp:/bin\n" | bin/podman build --no-cache --pull=always -t bar -
printf "FROM quay.io/libpod/testimage:20240123\nENV PATH=/tmp:/bin\n" | bin/podman build --no-cache --pull=always -t bar -

(Yes, that last command is a dup, and it has to be run twice in order to trigger the error).

@giuseppe PTAL

edsantiago commented 5 months ago

Sample run showing lots and lots of these

giuseppe commented 5 months ago

thanks, PR here: https://github.com/containers/storage/pull/1910