containerd / containerd/nerdctl

[CI]: TestImagePrune failure on EL9

Open
#4,249 0 comments 0 reactions 0 assignees View on GitHub
area/ci bug
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

### Description

https://github.com/containerd/nerdctl/actions/runs/15053159687/job/42312653222?pr=4247

```

=== RUN TestImagePrune/with_until/Wait_and_remove_until=10ms
image_prune_test.go:250:

+============================================================================================================+
| 🏗 | "TestImagePrune/with_until/Wait_and_remove_until=10ms": setup |
+============================================================================================================+

image_prune_test.go:250:

+============================================================================================================+
| 🚀 | "TestImagePrune/with_until/Wait_and_remove_until=10ms": starting test! |
+============================================================================================================+
| ⏳ | /tmp/TestImagePrunewith_untilWait_and_remove_until=10ms2821158703/001/3597bb21 |
+============================================================================================================+
| | |
+============================================================================================================+
| config | { |
| | "BuildkitHost": "unix:///run/user/1001/buildkit-nerdctl-test/buildkitd.sock", |
| | "Namespace": "nerdctl-test", |
| | "PrivateMode": "" |
| | } |
+============================================================================================================+
| labels | {} |
+============================================================================================================+

image_prune_test.go:250:

+------------------------------------------------------------------------------------------------------------+
| ➡️ | ⚙️ /usr/local/bin/nerdctl image prune --force --all --filter until=10ms |
+------------------------------------------------------------------------------------------------------------+
| 🌱 | XDG_SESSION_TYPE=tty |
| | HOME=/home/rootless |
| | XDG_SESSION_CLASS=user |
| | XDG_SESSION_ID=4 |
| | XDG_RUNTIME_DIR=/run/user/1001 |
| | PATH=/usr/local/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin |
| | :/bin:/usr/games:/usr/local/games:/snap/bin |
| | DOCKER_CONFIG=/tmp/TestImagePrunewith_untilWait_and_remove_until=10ms2821158703/003 |
| | NERDCTL_TOML=/tmp/TestImagePrunewith_untilWait_and_remove_until=10ms2821158703/003/nerdctl.toml |
+------------------------------------------------------------------------------------------------------------+
| ⏰ | <1s (limit: 3m0s) |
+------------------------------------------------------------------------------------------------------------+
| 📁 | /tmp/TestImagePrunewith_untilWait_and_remove_until=10ms2821158703/002 |
+------------------------------------------------------------------------------------------------------------+

image_prune_test.go:250:

<<<<<<<<<<<<<<<<<<<<
🖊️ Inspecting output (contains)
👀 testing: ``
❌ FAILED! ~= `testimageprune-with-until-7c219acd`
>>>>>>>>>>>>>>>>>>>>

image_prune_test.go:239:

+------------------------------------------------------------------------------------------------------------+
| ➡️ | ⚙️ /usr/local/bin/nerdctl images |
+------------------------------------------------------------------------------------------------------------+
| | 🟢 REPOSITORY TAG IMAGE ID CREATED PLA |
| | TFORM SIZE BLOB SIZE |
| | testimageprune-with-until-7c219acd latest 8d8071fcf82d Less than a second ago linux/ |
| | amd64 5.865MB 2.814MB |
+------------------------------------------------------------------------------------------------------------+
| 🌱 | XDG_SESSION_TYPE=tty |
| | HOME=/home/rootless |
| | XDG_SESSION_CLASS=user |
| | XDG_SESSION_ID=4 |
| | XDG_RUNTIME_DIR=/run/user/[1001](https://github.com/containerd/nerdctl/actions/runs/15053159687/job/42312653222?pr=4247#step:10:1002) |
| | PATH=/usr/local/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin |
| | :/bin:/usr/games:/usr/local/games:/snap/bin |
| | DOCKER_CONFIG=/tmp/TestImagePrunewith_untilWait_and_remove_until=10ms2821158703/003 |
| | NERDCTL_TOML=/tmp/TestImagePrunewith_untilWait_and_remove_until=10ms2821158703/003/nerdctl.toml |
+------------------------------------------------------------------------------------------------------------+
| ⏰ | <1s (limit: 3m0s) |
+------------------------------------------------------------------------------------------------------------+
| 📁 | /tmp/TestImagePrunewith_untilWait_and_remove_until=10ms2821158703/002 |
+------------------------------------------------------------------------------------------------------------+

image_prune_test.go:240: assertion failed: strings.Contains(imgList, data.Labels().Get("imageID")) is true: REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE BLOB SIZE
testimageprune-with-until-7c219acd latest 8d8071fcf82d Less than a second ago linux/amd64 5.865MB 2.814MB
%!(EXTRA string=)
--- FAIL: TestImagePrune/with_until/Wait_and_remove_until=10ms (1.08s)

```

### Steps to reproduce the issue

Seen on CI

### Describe the results you received and expected

Not fail

### What version of nerdctl are you using?

main

### Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

### Host information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.