Skip to content

[v0.12] test: remove testSchema1Image#6547

Open
Shubhranshu153 wants to merge 1 commit intomoby:v0.12from
Shubhranshu153:fix-v0.12-for-moby-25
Open

[v0.12] test: remove testSchema1Image#6547
Shubhranshu153 wants to merge 1 commit intomoby:v0.12from
Shubhranshu153:fix-v0.12-for-moby-25

Conversation

@Shubhranshu153
Copy link
Copy Markdown

  • Skip testSchema1Image: gcr.io no longer supports Schema1 manifests
  • Update Alpine pins from 3.18 to 3.20 with current digests

These changes ensure buildkit v0.12 tests pass with Moby v25.

Related PR: moby/moby#52027

Copy link
Copy Markdown
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove the test. We already dropped support for this in server side with containerdv2 https://github.com/moby/buildkit/blob/master/util/imageutil/config.go#L118

Comment thread util/testutil/integration/pins.go Outdated
- Deprecate testSchema1Image: gcr.io no longer supports Schema1 manifests

This changes ensure buildkit v0.12 tests pass with Moby v25.

Signed-off-by: Shubhranshu Mahapatra <shubhum@amazon.com>
@Shubhranshu153 Shubhranshu153 force-pushed the fix-v0.12-for-moby-25 branch from d17ea67 to 91b4523 Compare March 5, 2026 23:49
@Shubhranshu153
Copy link
Copy Markdown
Author

@tonistiigi Can i get review for this. Fixed the changes.
Thanks

Comment thread client/client_test.go
testWhiteoutParentDir,
testFrontendImageNaming,
testDuplicateWhiteouts,
testSchema1Image,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs to be removed as well

@crazy-max crazy-max changed the title v0.12: Fix tests for Moby v25 compatibility test: remove testSchema1Image Apr 2, 2026
@jsternberg
Copy link
Copy Markdown
Collaborator

Is this PR still relevant? It seems to me like it was fairly time sensitive considering it was intended as a fix to some, what are now, fairly old versions.

@jsternberg
Copy link
Copy Markdown
Collaborator

I'm going to close this because the version it addresses is quite old. If this is something that's still relevant and necessary, please give us more details. Otherwise, this seems like it might be more appropriate as a fork.

@jsternberg jsternberg closed this Apr 15, 2026
@corhere
Copy link
Copy Markdown
Contributor

corhere commented Apr 16, 2026

@jsternberg this is still relevant because moby/moby's 25.0 branch is still actively maintained and imports buildkit v0.12. cc @thaJeztah @tonistiigi

@thaJeztah thaJeztah reopened this Apr 16, 2026
@thaJeztah thaJeztah changed the title test: remove testSchema1Image [v0.12] test: remove testSchema1Image Apr 17, 2026
@thaJeztah
Copy link
Copy Markdown
Member

Looks like CI is failing because it's using older versions of some actions, so we'll probably need a backport of those first;

Screenshot 2026-04-17 at 20 28 31

@thaJeztah
Copy link
Copy Markdown
Member

Oh! There's a PR for that; #6663

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants