Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor in latest containers/(common, image, storage) #5585

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Jun 11, 2024

Testing latest changes in common, storage and image ASAP.

Needed to get buildah vendor into Podman to work correctly.

Signed-off-by: Daniel J Walsh [email protected]

Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 24, 2024
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 10, 2024
@rhatdan rhatdan changed the title Vendor in latest containers/storage Testing latest changes in common, storage and image ASAP. Needed to get buildah vendor into Podman to work correctly. Signed-off-by: Daniel J Walsh <[email protected]> Jul 10, 2024
@rhatdan rhatdan changed the title Testing latest changes in common, storage and image ASAP. Needed to get buildah vendor into Podman to work correctly. Signed-off-by: Daniel J Walsh <[email protected]> Vendor in latest containers/(common, image, storage) Jul 10, 2024
@rhatdan
Copy link
Member Author

rhatdan commented Jul 11, 2024

@giuseppe The pigz change has changed one of the tests when running out of space on disk.

[+2438s] # Error: writing blob: storing blob to file "/var/tmp/buildah_tests.fhmvnh/buildah-test/container_images_storage3753737850/2": pigz: skipping: : corrupted -- incomplete deflate data: exit status 1

Where currently Buildah test is looking for:

@test "pull image with TMPDIR set" {
  skip_if_rootless_environment
  testdir=${TEST_SCRATCH_DIR}/buildah-test
  mkdir -p $testdir
  mount -t tmpfs -o size=1M tmpfs $testdir

  TMPDIR=$testdir run_buildah 125 pull --policy always $WITH_POLICY_JSON quay.io/libpod/alpine_nginx:latest
  expect_output --substring "no space left on device"

  run_buildah pull --policy always $WITH_POLICY_JSON quay.io/libpod/alpine_nginx:latest
  umount $testdir
  rm -rf $testdir
}

We can simply fix the tests, but the error message from pigz kinda stinks.

giuseppe added a commit to giuseppe/storage that referenced this pull request Jul 11, 2024
if there is an error reading from the input stream, prefer to report
it instead of the error from the filter program itself.

We have a test in the buildah CI that expects the "no space left on
device" error that comes from the input stream, to avoid changing the
test, just fix it here.

Reported here: containers/buildah#5585

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe
Copy link
Member

this should help: containers/storage#2012

giuseppe added a commit to giuseppe/storage that referenced this pull request Jul 11, 2024
if there is an error reading from the input stream, prefer to report
it instead of the error from the filter program itself.

We have a test in the buildah CI that expects the "no space left on
device" error that comes from the input stream, to avoid changing the
test, just fix it here.

Reported here: containers/buildah#5585

Signed-off-by: Giuseppe Scrivano <[email protected]>
giuseppe added a commit to giuseppe/storage that referenced this pull request Jul 11, 2024
if there is an error reading from the input stream, prefer to report
it instead of the error from the filter program itself.

We have a test in the buildah CI that expects the "no space left on
device" error that comes from the input stream, to avoid changing the
test, just fix it here.

Reported here: containers/buildah#5585

Signed-off-by: Giuseppe Scrivano <[email protected]>
Testing latest changes in common, storage and image ASAP.

Needed to get buildah vendor into Podman to work correctly.

Signed-off-by: Daniel J Walsh <[email protected]>
@rhatdan
Copy link
Member Author

rhatdan commented Jul 12, 2024

@giuseppe @mtrmac @cgwalters PTAL
The fix by Giuseppe got the test to pass.

@rhatdan
Copy link
Member Author

rhatdan commented Jul 15, 2024

@flouthoc @giuseppe @nalind @mheon @ashley-cui @vrothberg PTAL
Can we get this merged, so we can finally update podman.

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Jul 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe, rhatdan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 4a82e0a into containers:main Jul 15, 2024
35 of 36 checks passed
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants