ci: pin nerdctl to v2.2.2 to fix smoke test failure - #1947
Merged
Conversation
Zephyrcf
requested review from
a team,
Desiki-high,
adam3q and
power-more
and removed request for
a team
May 26, 2026 18:47
Zephyrcf
force-pushed
the
fix/ci-pin-nerdctl-version
branch
from
May 26, 2026 18:49
779476d to
ca13be2
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1947 +/- ##
==========================================
+ Coverage 68.40% 72.68% +4.27%
==========================================
Files 210 210
Lines 62747 62747
Branches 55524 55524
==========================================
+ Hits 42921 45605 +2684
+ Misses 18032 15083 -2949
- Partials 1794 2059 +265 🚀 New features to boost your workflow:
|
Contributor
|
Can we modify the configuration used to adapt to this latest version? I'm concerned that pinning the version may mask more issues over time. |
Member
Author
Agreed. Let's update the config instead of pinning. |
Zephyrcf
force-pushed
the
fix/ci-pin-nerdctl-version
branch
from
May 29, 2026 05:00
ca13be2 to
bb765de
Compare
Signed-off-by: Zephyr <zinsist777@gmail.com>
Zephyrcf
force-pushed
the
fix/ci-pin-nerdctl-version
branch
from
May 29, 2026 05:57
bb765de to
9199c97
Compare
Contributor
|
LGTM |
BraveY
approved these changes
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Fix
TestTakeover/TestAPIHotUpgradesmoke test failure by pinning nerdctl to v2.2.2.Related Issues
Related containerd/nerdctl#4583
Change Details
Since nerdctl v2.3.x, when connected to containerd >= 2.0.0, the image pull logic switches from the legacy
client.Pull()to theclient.Transfer()API , which requiresunpack_configconfigured in containerd. There is no runtime flag to force the legacyclient.Pull()path in v2.3.x.(SupportsFullTransferService)The script
misc/prepare.shpulls the latest nerdctl version by default. After the upgrade, the smoke test failed with the error:unable to initialize unpacker: no unpack platforms defined: invalid argument(
CI failure)When testing with nerdctl v2.3.x + containerd 2.x, adding these containerd config entries has been verified to resolve the issue and enable normal operation:
Test Results
If you have any relevant screenshots or videos that can help illustrate your changes, please add them here.
Change Type
Please select the type of change your pull request relates to:
Self-Checklist
Before submitting a pull request, please ensure you have completed the following: