24549 Commits

Author SHA1 Message Date
73795f40a2 Merge pull request #25392 from containers/renovate/tags.cncf.io-container-device-interface-0.x
fix(deps): update module tags.cncf.io/container-device-interface to v0.8.1
2025-02-24 17:37:00 +00:00
e10df3dac7 fix(deps): update module tags.cncf.io/container-device-interface to v0.8.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:59:14 +00:00
1e7f810f71 Merge pull request #25355 from baude/artifactrmall
Add --all to artifact rm
2025-02-20 19:35:12 +00:00
cbc73457ab Add --all to artifact rm
Add the ability to remove all artifacts with a --all|-a option in podman
artifact rm.

Fixes: https://issues.redhat.com/browse/RUN-2512

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-02-20 09:38:50 -06:00
ca1c029c43 Merge pull request #25366 from baude/artifacterrortypes
Define artifact error types
2025-02-20 09:47:53 +00:00
8ba13d465c Merge pull request #25261 from baude/issuesupport
Add documentation describing issues and support
2025-02-19 21:06:30 +00:00
7030b559fb Define artifact error types
In a different PR review, it was noted that defined error types for
artifacts was lacking.  We have these for most other commands and they
help with error differentiation. The changes here are to define the
errors, implement them in the library, and adopt test verifications to
match.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-02-19 13:10:47 -06:00
080a239419 Merge pull request #25352 from baude/artifactpullretrydelay
wire up --retry-delay for artifact pull
2025-02-19 16:54:51 +00:00
6ad2dc0590 wire up --retry-delay for artifact pull
fixed a bug in the artifact code where --retry-delay was being
discarded.

Fixes: https://issues.redhat.com/browse/RUN-2511

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-02-19 09:09:36 -06:00
61e88e4205 Merge pull request #25360 from lsm5/packit-copr-rpm-changes
[skip-ci] Packit/Copr: Fix `podman version` in rpm
2025-02-19 15:04:52 +00:00
3ab0d82bd4 Merge pull request #25350 from giuseppe/unify-error-codes
oci: report empty exec path as ENOENT
2025-02-19 14:53:45 +00:00
7536620791 [skip-ci] Packit/Copr: Fix podman version in rpm
Additional rpm patching to show upstream short sha in `podman --version`
caused podman-machine-os tests to fail.

This commit gets rid of that patching and instead sets define.gitCommit
LDFLAG for Copr rpms.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2025-02-19 19:39:38 +05:30
4695564730 oci: report empty exec path as ENOENT
unify the error codes returned by runc and crun.

Fix the tests to work with both runtimes, as well as the
https://github.com/containers/crun/pull/1672 changes in progress for
crun.

Follow-up for https://github.com/containers/podman/pull/25340

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-02-18 22:01:08 +01:00
aafc3739fb Merge pull request #25348 from giuseppe/warn-about-using-capabilities
docs: warn about adding capabilities
2025-02-18 16:18:43 +00:00
62fd27b6a7 Merge pull request #25345 from lpcalisi/fix/reduce-noise-logs-when-stdin
fix: reduce logs noise when attach input on `ExecStartAndAttach`
2025-02-18 16:15:57 +00:00
b43863ae2a docs: warn about adding capabilities
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2345676

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-02-18 15:23:29 +01:00
a8caebb5a3 Add documentation describing issues and support
We need to begin to able to prune various issues that are:

* stale
* unreproduceable
* will not fix
* others

As such, some sort of statement and somewhat policy leaning
documentation would be helpful.

As suggested in the review comments, ISSUE-EOL-POLICY.md was combined
with this document.  No links in our repository exist for this.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-02-18 07:44:21 -06:00
e88ccec7ed Merge pull request #25311 from mheon/fix_25289
Add SyncMap package and use it for graph stop/remove
2025-02-18 13:22:42 +00:00
4f89bbe0d8 Merge pull request #25346 from mathstuf/quadlet-container-memory
quadlet: support `Memory=` in `[Container]` sections
2025-02-17 21:09:17 +00:00
df6070f8d7 Merge pull request #25313 from baude/pronlymain
Update CONTRIBUTING for main branch
2025-02-17 20:55:30 +00:00
c37787b79e Merge pull request #25343 from Luap99/buildah-bud-ci
test/buildah-bud: run in parallel
2025-02-17 20:47:16 +00:00
910f9dd98e Merge pull request #25340 from giuseppe/fix-crun-error-messages
tests: adapt e2e tests new crun error messages
2025-02-17 20:44:31 +00:00
c65bb903b6 test: adapt tests new crun error messages
Needed-by: https://github.com/containers/crun/pull/1672

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-02-17 20:47:43 +01:00
35d2a65e3a test: remove duplicate test
"podman run exit ExecErrorCodeCannotInvoke" does the same thing.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-02-17 20:47:29 +01:00
0f443f22ca Add syncmap package and use it for graph stop/remove
This greatly simplifies the locking around these two functions,
and things end up looking a lot more elegant. This should prevent
the race flakes we were seeing before.

Fixes #25289

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-02-17 14:32:34 -05:00
1c13a71641 Update CONTRIBUTING for main branch
We want contributors to submit to the main branch of podman and not
branches without maintainer involvement.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2025-02-17 13:20:59 -06:00
bbb94249ed fix: reduce logs noise when attach input on ExecStartAndAttach
Fixes #25344

Signed-off-by: Lucas Pablo Calisi <calisi.lucas@gmail.com>
2025-02-17 14:52:01 -03:00
543be25ef3 quadlet: support Memory= in [Container] sections
Maps to the `--memory=` flag.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
2025-02-17 17:29:15 +01:00
10ab978c26 Merge pull request #25342 from Luap99/cobra
update github.com/spf13/cobra to v1.9.1
2025-02-17 13:55:48 +00:00
efbf31b191 Merge pull request #25333 from containers/renovate/common-image-and-storage-deps
fix(deps): update github.com/containers/storage digest to b6f6fb2
2025-02-17 13:14:02 +00:00
22da944e4a Parallelize buildah bud tests
Buildah bats tests have been made (mostly) parallel-safe
in the past few months. One test is flaking, but it's
not a test that needs to be run under podman: that
functionality is almost entirely buildah-manifest-push
so it uses the buildah binary, and doesn't exercise
anything under podman.

Therefore:

  1) run bud tests with -j$(nproc) on fastvm (was: standardvm)

  2) desperate scramble to parallelize podman system service.

May not be quite 100% perfect, but I think this is in good
enough shape for someone to adopt and push through.

Signed-off-by: Ed Santiago <santiago@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-17 14:01:21 +01:00
c278db873f cirrus: use fastvm for buildah_bud
As they run parallel now we can use some more cores and remove the long
timeout, they must be faster than the 20min default now.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-17 13:23:10 +01:00
3de18b537e test/buildah-bud: run bats in parallel
Since commit 708fe0af in buildah the tests can run in parallel, let's
enable it here to get the same speed up.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-17 13:19:29 +01:00
88073c56d5 update github.com/spf13/cobra to v1.9.1
And regenerate the completion scripts.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-17 11:55:45 +01:00
a5de5959cb fix(deps): update github.com/containers/storage digest to b6f6fb2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-15 01:58:43 +00:00
117fd69853 Merge pull request #25309 from Luap99/cirrus-branch
cirrus: figure out DEST_BRANCH automatically
2025-02-14 20:59:42 +00:00
a5f6148a90 Merge pull request #25319 from containers/renovate/github.com-opencontainers-runc-1.x
fix(deps): update module github.com/opencontainers/runc to v1.2.5
2025-02-14 15:55:11 +00:00
7c2959e244 Merge pull request #25315 from Luap99/lint-1.64.4
update golangci-lint to v1.64.4
2025-02-14 14:27:12 +00:00
f290149b70 fix(deps): update module github.com/opencontainers/runc to v1.2.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 02:02:06 +00:00
53c9100c72 Merge pull request #25310 from containers/renovate/docker.io-library-golang-1.x
chore(deps): update docker.io/library/golang docker tag to v1.24
2025-02-13 11:26:09 +00:00
77737132a5 Revert "silence false positve from golangci-lint"
This reverts commit 8b6f14f95b940b2ddbe914e5c001fd088024be45.

https://github.com/golangci/golangci-lint/issues/5398 is fixed

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-13 12:18:53 +01:00
035fff5fd2 update golangci-lint to v1.64.4
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-13 12:18:33 +01:00
24e2e9c69b Merge pull request #25003 from Honny1/no-db-healtcheck-exec
Run HealthCheck without saving the `ExecSession` to the database
2025-02-13 10:14:28 +00:00
5c17f7a650 chore(deps): update docker.io/library/golang docker tag to v1.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 19:40:24 +00:00
6521a3244a Merge pull request #25304 from Luap99/lint-1.64.2
update golangci-lint to v1.64.2
2025-02-12 19:26:03 +00:00
731ef3ff9c cirrus: bump timeout for macos/win machine tests
They really should not take that long, however they timeout out more
often then they pass so let's give this is a try.

I have some hopes that the new worker pool from Adrian might perform
better.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 20:11:47 +01:00
07e53673f6 cirrus: figure out DEST_BRANCH automatically
Instead of us forgetting to update it on each new branch push.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-02-12 20:10:57 +01:00
5d358a475e Merge pull request #25305 from Luap99/artifact-reflink
artifact extract: support reflink copy
2025-02-12 18:47:33 +00:00
3edbc254dd Merge pull request #21895 from containers/renovate/github.com-hugelgupf-p9-digest
fix(deps): update github.com/hugelgupf/p9 digest to 6f4f11e
2025-02-12 18:42:04 +00:00
6167d286eb fix(deps): update github.com/hugelgupf/p9 digest to 6f4f11e
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 16:29:34 +00:00