Commit Graph
27918 Commits
Author SHA1 Message Date
Paul Holzinger 784f70980d ci: Use the GitHub action grouping syntax
This groups log output in the github UI and makes it easier to just show
the actual test results, the groups are hidden under an extra drop down
and only shown when selected.

Inspired by Miloslav container-libs change for this.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-29 14:49:24 +02:00
Paul Holzinger 66c6da6e84 re-enable logformatter and post failure summary
Adapt the logformatter script to run again to produce nicely formatted
html logs. Because github cannot upload and show raw html files we can
only add it to the log archive which must be downloaded and viewed
locally.

To improve the online experience however github does have the
GITHUB_STEP_SUMMARY logic which allows us to produce markdown which will
be shown on the summary page for a given test run.

The problem is even though github markdown supports some html is does
not support CSS and out custom style of the logformatter, in addition
the output size is limited so I wrote another script parsing the html
output again and turning it into plain test for only the failed tests
and then show this as plain text inside codeblocks in the markdown.

With this we have a short failure summary which should display all
failures at once in the run page so maintainers can see if the failed
log was just some flake or an actual problem with the PR.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-29 14:49:23 +02:00
Paul Holzinger 58ccc45398 Merge pull request #29321 from sudo-muneeb/fix-error-wrapping-libpod
libpod: use %w instead of %v in fmt.Errorf calls
2026-07-29 13:42:20 +02:00
Paul Holzinger 956e77bc39 Merge pull request #29316 from podman-container-tools/renovate/github.com-go-swagger-go-swagger-0.x
Update module github.com/go-swagger/go-swagger to v0.35.3
2026-07-29 11:30:19 +02:00
Paul Holzinger 0d930105bb Merge pull request #29328 from vtushar06/remove-stale-test-debug
test/system: remove debug instrumentation for closed issues
2026-07-29 11:06:07 +02:00
Tom Sweeney 4722d53c15 Merge pull request #29318 from Rajkaran-122/fix-swagger-artifact-annotations
swagger: rename artifact annotation field"
2026-07-28 18:33:56 -04:00
Tushar Verma 505dfc2e1b test/system: drop the conmon pid debugging
The echo and ls were added to help debug #7580, which was closed in
November 2020. The readlink check right below them is the actual
assertion and it prints the pid on failure anyway.

Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
2026-07-28 23:34:09 +05:30
Tushar Verma 75c07f5949 test/system: drop the metacopy instrumentation
The comment asks for this to be removed once #15488 is fixed. That was
closed in December 2022. I grepped four recent system test job logs and
the warning does not appear in any of them.

It sits in run_podman so it ran on every podman call, and it writes to
fd 3 which means the output shows up even when the test passes.

Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
2026-07-28 23:34:09 +05:30
Paul Holzinger f74c2d95e5 Merge pull request #29320 from vtushar06/remove-cirrus-cron-action
.github: remove the leftover cirrus cron scripts
2026-07-28 17:51:15 +02:00
Sheikh Muneeb Ahmed b0634a4eea libpod: use %w instead of %v in fmt.Errorf calls
Errors returned in the healthcheck timer path and events inspect data were formatted with %v, discarding the error chain. Replaced with %w so callers can use errors.Is/errors.As to inspect the underlying causes.

Signed-off-by: Sheikh Muneeb Ahmed <msheikh.bsai24seecs@seecs.edu.pk>
2026-07-28 18:42:22 +05:00
Tushar Verma 8a51676987 .github: remove the leftover cirrus cron scripts
The two workflows that called these scripts are both gone. The rerun one
went in 130bb2161 and check_cirrus_cron.yml went in 3743b9f8, the same
commit that deleted .cirrus.yml. The scripts themselves were left behind.

Nothing references them any more, and there is no action.yml here so they
were never usable as a composite action from another repo either. They
talk to the Cirrus GraphQL API with SECRET_CIRRUS_API_KEY, which we no
longer have anything running against.

Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
2026-07-28 18:54:37 +05:30
Rajkaran 2f9f412822 Merge branch 'podman-container-tools:main' into fix-swagger-artifact-annotations 2026-07-28 16:38:34 +05:30
Rajkaran Yadav 7018130ef8 swagger: rename artifact annotation field"
Signed-off-by: Rajkaran Yadav <yadavrajkaran854@gmail.com>
2026-07-28 16:15:35 +05:30
Paul Holzinger 8abafe40fc Merge pull request #29228 from ashley-cui/is-automated
Docker compat v1.45 : deprecate is-automated field
2026-07-28 12:39:25 +02:00
Paul Holzinger 1f8970dff1 Merge pull request #29261 from MayorFaj/docs/compose-containers-conf-engine-table
docs: clarify podman compose containers.conf table
2026-07-28 12:03:33 +02:00
renovate[bot] 64cad97fe3 Update module github.com/go-swagger/go-swagger to v0.35.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-28 09:38:19 +00:00
Paul Holzinger 9ef090efd1 Merge pull request #29313 from podman-container-tools/renovate/actions-stale-11.x
Update actions/stale action to v11
2026-07-28 11:36:26 +02:00
renovate[bot] 59445bb218 Update actions/stale action to v11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-28 04:09:16 +00:00
Danish Prakash e31bb4d170 Merge pull request #29306 from vtushar06/fix-rfc1918-subnet
test/system: fix random_rfc1918_subnet operator precedence
2026-07-28 09:38:21 +05:30
Paul Holzinger d483f34af9 Merge pull request #29310 from Luap99/machine-timeout
ci: update machine linux timeout to 60m
2026-07-27 22:36:50 +02:00
Paul Holzinger e41656077e ci: update machine linux timeout to 60m
It seems CNCF downgraded the runner performance and thus the task can no
longer finish in under 40 minutes. Bump it to 60m and hope this is
enough.

We cannot use a bigger runner (more cores) as the tests are largely
single threaded by design.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-27 20:27:23 +02:00
Paul Holzinger 8cd96e3bd9 Merge pull request #29269 from mheon/extend_58_support
Extend support for the v5.8 series of releases upstream
2026-07-27 19:34:14 +02:00
Lokesh Mandvekar 2c0722bea6 Merge pull request #29297 from satwiksps/fix-cgroups-split-flake
test: fix cgroups=split flake by adding Delegate=yes to scope
2026-07-27 08:37:51 -04:00
Tushar Verma 7880bc24b2 test/system: fix random_rfc1918_subnet operator precedence
In bash arithmetic + binds tighter than &, so

    16 + $RANDOM & 15

is (16 + RANDOM) & 15, which gives 0..15. The helper has been handing
out 172.0.x through 172.15.x, which is not in 172.16/12 at all, since
9e3363c5e swapped % 16 for & 15.

subnet_in_use() only checks whether a subnet collides with a host route,
not whether it is private, so nothing caught it.

Add a regression test to helpers.t. It fails on the old expression
(saw 0..15) and passes on the new one (saw 16..31).

Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
2026-07-27 14:42:50 +05:30
Satwik Sai Prakash Sahoo 6d057f585a test: fix cgroups=split flake by adding Delegate=yes to scope
The cgroups=split e2e test wraps podman in systemd-run --scope but does not request cgroup delegation. Without Delegate=yes, systemd does not guarantee that controllers like pids are written to cgroup.subtree_control for child cgroups. Whether they appear depends on the systemd session state at that moment, causing flaky crun failures when it tries to use unavailable controllers.

Fixes: #28944
Signed-off-by: Satwik Sai Prakash Sahoo <sahoospsatwik@gmail.com>
2026-07-26 12:44:16 +05:30
MayorFaj bb591863e6 docs: clarify podman compose containers.conf table
Clarify that the compose_providers and compose_warning_logs settings belong in the [engine] table of containers.conf.

Fixes: #29122
Signed-off-by: MayorFaj <mayorfaj@gmail.com>
2026-07-25 10:11:58 +01:00
Ashley Cui 59af9c81e5 Docker compat v1.45 : deprecate is-automated field
searching for is-automated=true will yield no results, while is-automated=false will be a no-op

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-07-24 14:46:48 -04:00
Matt Heon abdbc47345 Extend support for the v5.8 series of releases upstream
Some folks will be unable to transition to Podman 6.0 quickly,
given it has a long list of breaking changes. Some will be
entirely unable to transition - like users of Intel-based Macs.
In the past, we have provided unofficial releases of the last
release from the previous major version for a time to help aid in
this transition. This would make the support more formal, so
people can actually refer to it, and provide a fixed end date.

Signed-off-by: Matt Heon <mheon@redhat.com>
2026-07-24 13:54:41 -04:00
Paul Holzinger e36e1a41c6 Merge pull request #28809 from podman-container-tools/renovate/github.com-go-swagger-go-swagger-0.x
Update module github.com/go-swagger/go-swagger to v0.35.0
2026-07-24 17:58:43 +02:00
Paul Holzinger cc8c07d72b Merge pull request #29230 from i-OmSharma/fix-kube-generate-selinux-note
fix(kube): gate SELinux volume warning note on host SELinux state
2026-07-24 14:07:32 +02:00
Jan Rodák 709d97a24b Merge pull request #29263 from podman-container-tools/renovate/zizmorcore-zizmor-action-0.x
Update zizmorcore/zizmor-action action to v0.6.1
2026-07-24 10:06:58 +02:00
renovate[bot] 82c1ca98e0 Update zizmorcore/zizmor-action action to v0.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-23 22:14:01 +00:00
Tom Sweeney 0f5cd32096 Merge pull request #29260 from jiwahn/fix-init-failure-rollback
libpod: cleanup after failed container init
2026-07-23 11:31:09 -04:00
Jiwoo Ahn f85047302c libpod: cleanup after failed container init
Fixes: #26143

Signed-off-by: Jiwoo Ahn <ikwydls1314@gmail.com>
2026-07-23 22:42:14 +09:00
Danish Prakash f4b1f46cd6 Merge pull request #29254 from Honny1/rm-duplicate-test
Remove duplicate memAvailable sanity check
2026-07-23 13:55:01 +05:30
Danish Prakash 94a98b18cb Merge pull request #29033 from mvanhorn/docs/28947-document-hack-ci-lima
docs: document hack/ci/ci.sh lima workflow in test/README.md
2026-07-23 09:22:10 +05:30
Matt Van Horn ad09a77141 docs(test): document hack/ci/ci.sh lima workflow
Add a copy-paste-friendly section to test/README.md covering how to run
the hack/ci/ci.sh workflow under Lima, including templatized ci.sh usage,
so contributors can reproduce the CI environment locally. Drop the
contradictory machine bullet.

Fixes #28947

Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-07-22 16:03:48 -07:00
Ashley Cui 90034777f2 Merge pull request #29252 from Luap99/update-image
ci: update VM image to 2026-07-22
2026-07-22 10:13:00 -04:00
Jan Rodák 832d3ea247 Remove duplicate memAvailable sanity check
Already covered by test/e2e/info_test.go.

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-07-22 13:30:50 +02:00
Paul Holzinger d79cff0799 test/e2e: do not assume /etc/containers/policy.json
With the new config work we expect policy.json to be shipped under
/usr/share/containers/policy.json. However the CI VMs and local users
might still have it in /etc so instead of assuming any host path lets
just create our own files for the --signature-policy tests.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-22 12:40:02 +02:00
Paul Holzinger f9cd40e5af ci: update VM image to 2026-07-22
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-22 12:39:20 +02:00
i-OmSharma cfd3a3f7ba kube generate: gate SELinux volume NOTE on host state and rootless
The SELinux volume-permissions NOTE only applies to unprivileged,
rootless containers on an SELinux-enabled host. Emit it only when
both conditions hold, instead of on every volume-bearing object.

Add an e2e case generating from a standalone container with a volume,
asserting the NOTE appears only when rootless and SELinux is enabled.

Fixes: #17743
Signed-off-by: i-OmSharma <sharmaom1201@gmail.com>
2026-07-22 14:21:01 +05:30
Jan Rodák c0fb461475 Merge pull request #29237 from gastoner/add-memavailable-support
feat(info): add memAvailable to host info
2026-07-22 10:15:52 +02:00
Mario Loriedo 988860edb7 Merge pull request #29211 from l0rd/win-installer-rm-is_upgrade
Windows installer: remove unused IS_UPGRADE property
2026-07-22 09:41:23 +02:00
Evzen GastaandClaude Sonnet 5 a19b696de1 feat(info): add memAvailable to host info
Expose MemAvailable alongside MemFree/MemTotal in `podman info` host
section, sourced from libpod/define/info.go's MemInfo.

Fixes: #29116 https://github.com/podman-container-tools/podman/issues/29116

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Evzen Gasta <evzen.ml@seznam.cz>

test(info): add coverage for host.memAvailable

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Evzen Gasta <evzen.ml@seznam.cz>
2026-07-22 08:41:59 +02:00
Danish Prakash e121ed6264 Merge pull request #28687 from jaitjacob/add-podman-machine-restart-command
Add `podman machine restart` subcommand
2026-07-22 09:53:10 +05:30
Lokesh Mandvekar c542ddafb8 Merge pull request #29245 from Luap99/remote-cgroup
podman-remote: do not check for cgroupv2
2026-07-21 14:11:56 -04:00
Jait Jacob eb26516dba make return explicit so CleanIfErr runs as expectd
Signed-off-by: Jait Jacob <jai8.jacob@gmail.com>
2026-07-21 23:30:29 +05:30
Paul Holzinger 4be46f8661 podman-remote: do not check for cgroupv2
With the remote client on linux we should not check for cgroups and hard
fail if it is not v2. Only the server side matters not the client.

The problem can be reproduced with:
unshare -rm sh -c "mount -t tmpfs none /sys/fs/cgroup  && ./bin/podman --remote ps"

I did not add a regression test as it does not seem to fit well into a
test suite, over mounting cgroups seems like not a good idea.

Fixes: #29241

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-21 18:13:11 +02:00
Jan Rodák f2ad52c492 Merge pull request #28713 from simek-m/test/api-chunked-pullprogress
test: Add API test for partial pull with pullProgress flag
2026-07-21 16:24:50 +02:00