Skip to content

stop ignoring layer-length mismatch in integration tests#847

Open
mzihlmann wants to merge 7 commits into
mainfrom
no-ignore-layer-length-mismatch
Open

stop ignoring layer-length mismatch in integration tests#847
mzihlmann wants to merge 7 commits into
mainfrom
no-ignore-layer-length-mismatch

Conversation

@mzihlmann

@mzihlmann mzihlmann commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Stop passing --extra-ignore-layer-length-mismatch to diffoci globally and enforce layer-length parity by default, so divergences are caught instead of hidden.

Minimal bases (busybox/alpine/scratch) lack /proc and /sys, which BuildKit commits on the first RUN but kaniko ignores as mounts, so those tests now build from a prepared ${IMAGE_REPO}busybox/alpine base that bakes the dirs in.

Genuine kaniko divergences from BuildKit (no COPY dedup, ignorelisted tar paths, ONBUILD base re-emission, empty package-manager dirs) keep an explicit per-test exception, to be fixed separately.

The four tests pinning old schema2 busybox digests moved onto the OCI prepared base, which flipped kaniko's output to OCI (it inherits the base media type), so their now-stale --provenance=false is dropped to keep both sides OCI.

@codecov

codecov Bot commented Jun 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mzihlmann mzihlmann marked this pull request as ready for review June 28, 2026 21:21
@mzihlmann mzihlmann requested review from 0hlov3, BobDu, babs and nejch June 28, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant