-
Notifications
You must be signed in to change notification settings - Fork 710
Closed
Labels
Description
Description
Following the patch changing async image delete to sync and avoiding Convert problematic codepath, content digest not found all but disappeared EXCEPT on TestRemove/Remove_image_with_running_container, which does surface it when calling nerdctl images.
Intuition is that this might be showcasing the underlying containerd issue with garbage collection / deletion of images with (repeat) identical content, but this is an unproven hunch.
Steps to reproduce the issue
Repeat on the CI.
Describe the results you received and expected
=================================
| Command: /usr/local/bin/nerdctl images
| Working Dir: /tmp/TestRemoveRemove_image_with_running_container_-_with_-f27[956](https://github.com/containerd/nerdctl/actions/runs/14452145394/job/40527165424?pr=4103#step:7:957)83035/001
| Timeout: 3m0s
=================================
HOSTNAME=df0f0ac2e041
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
SYSTEMD_EXEC_PID=80
container=docker
HOME=/root
LANG=C.UTF-8
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/docker-entrypoint.service/memory.pressure
INVOCATION_ID=8ceae0c7056f47ea912930034432fc8e
TERM=xterm
USER=root
SHLVL=3
CGO_ENABLED=0
_=/usr/local/bin/gotestsum
PATH=/usr/local/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
***
DOCKER_CONFIG=/tmp/TestRemoveRemove_image_with_running_container_-_with_-f2795683035/001
NERDCTL_TOML=/tmp/TestRemoveRemove_image_with_running_container_-_with_-f2795683035/001/nerdctl.toml
=================================
| Stderr:
=================================
time="2025-04-14T17:51:45Z" level=warning msg="content digest sha256:ec14c7992a97fc11425907e908340c6c3d6ff602f5f13d899e6b7027c9b4133a: not found"
=================================
| Stdout:
=================================
REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE BLOB SIZE
=================================
| Exit Code: 0
| Signaled: <nil>
| Err: <nil>
=================================
👀 testing: `REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE BLOB SIZE
`
❌ does not verify: ~= `<none>`
What version of nerdctl are you using?
main
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response