23188 Commits

Author SHA1 Message Date
53ae4ea927 Update module golang.org/x/net to v0.28.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 19:12:49 +00:00
128fde1734 Merge pull request #23518 from Luap99/test-new-vms
Update CI images
2024-08-06 13:44:58 +00:00
029f9b38cc CI: fix broken libkrun test
Same issues as in the volume ops test, the libkrun volume is not working
properly (#23296).

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-08-06 14:45:52 +02:00
3275fd2dda Merge pull request #23512 from rhatdan/mount
Remove another race condition when mounting containers or images
2024-08-06 11:41:10 +00:00
69862b7251 Merge pull request #23460 from Luap99/cleanup-term
libpod: inhibit SIGTERM during cleanup()
2024-08-06 11:38:27 +00:00
1912dd4bf6 test/e2e: work around for pasta issue
Use network slirp4netns for the registry container to work around a
pasta regression (#23517). This should be revert once it is fixed in
pasta and included in our CI images.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-08-06 13:16:34 +02:00
71bcd25ab6 test/e2e: fix missing exit code checks
Both push commands didn't check the exit code so make sure they actually
work.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-08-06 13:16:34 +02:00
082650b68f Test new CI images
Source: https://github.com/containers/automation_images/pull/371

Signed-off-by: Ed Santiago <santiago@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-08-06 13:15:53 +02:00
abd586cb1c Remove another race condition when mounting containers or images
Fixes: https://github.com/containers/podman/issues/23507

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-08-06 06:23:13 -04:00
b1d111c770 Merge pull request #23391 from l0rd/build-contexts
Convert additional build context paths on Windows
2024-08-06 10:18:41 +00:00
7e469996b1 Merge pull request #23513 from containers/renovate/common-image-and-storage-deps
fix(deps): update github.com/containers/common digest to c0cc6b7
2024-08-06 08:31:27 +00:00
91b3fdbba3 fix(deps): update github.com/containers/common digest to c0cc6b7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 00:10:39 +00:00
7c38ee7565 Merge pull request #23509 from l0rd/fix-23502
Change Windows installer MajorUpgrade Schedule
2024-08-06 00:08:10 +00:00
01d739a65e Change Windows installer MajorUpgrade Schedule
Use Schedule "afterInstallExecute" (instead of the
default "afterInstallValidate") in the Windows
installer MajorUpgrade element. That avoid
overriding eventual users changes to the podman
machine configuration file created by the
installer.

Fixes #23502

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-08-05 21:52:58 +02:00
0bd43f4e12 Merge pull request #23461 from edsantiago/ci-machine-nocache
CI: podman-machine: do not use cache registry
2024-08-05 15:49:24 +00:00
5ca337d2e8 Merge pull request #23494 from rhatdan/VENDOR
Remove runc edit to lock to specific version
2024-08-05 14:34:38 +00:00
63ec8293ee Merge pull request #23493 from rhatdan/buildah
Ignore missing containers when calling GetExternalContainerLists
2024-08-05 13:08:40 +00:00
9742b4ad6f Merge pull request #23500 from containers/renovate/golang.org-x-sys-0.x
fix(deps): update module golang.org/x/sys to v0.23.0
2024-08-05 12:43:53 +00:00
d628e14355 Ignore missing containers when calling GetExternalContainerLists
Race condition between listing containers and figuring out if it
is a buildah container.

Fixe: https://github.com/containers/podman/issues/23492

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-08-05 08:18:57 -04:00
37226e2e93 Remove runc edit to lock to specific version
Fixes: https://github.com/containers/podman/issues/19795

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-08-05 08:08:04 -04:00
43a077db87 Merge pull request #23484 from edsantiago/safename-600
CI: completion system test: use safename
2024-08-05 11:56:06 +00:00
67ce828152 fix(deps): update module golang.org/x/sys to v0.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 11:26:07 +00:00
87dad1caef CI: podman-machine: do not use cache registry
It's too difficult to keep the podman-machine image up-to-date.
And, we can't use the cache on Mac/Windows, so if quay is down
we're hosed no matter what.

Add a "nocache" mechanism to install_test_configs() and use that
in machine test setup.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-08-05 05:12:36 -06:00
bfb42b3b15 CI: completion system test: use safename
Ongoing efforts to make system tests parallel-safe

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-08-05 05:09:19 -06:00
44604e9941 Merge pull request #23501 from l0rd/disable-win-installer-test
Temporarily disable failing Windows Installer CI test
2024-08-05 11:06:33 +00:00
e429160e5b Temporarly disable failing Windows Installer CI test
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-08-05 11:51:46 +02:00
69a5b28e6e Merge pull request #23455 from lsm5/main-5.3-bump
Version: bump to v5.3.0-dev
2024-08-03 02:20:30 +00:00
0bc073941a Merge pull request #23290 from cevich/add_libkrun_task
Add libkrun Mac task
2024-08-02 09:30:01 +00:00
93338226cb Merge pull request #23476 from giuseppe/idmap-volume-copyup
libpod: fix volume copyup with idmap
2024-08-02 08:43:15 +00:00
3ae1568933 libpod: fix volume copyup with idmap
if idmap is specified for a volume, reverse the mappings when copying
up from the container, so that the original permissions are maintained.

Closes: https://github.com/containers/podman/issues/23467

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-08-01 22:49:27 +02:00
61def05cd9 libpod: avoid hang on errors
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-08-01 22:49:27 +02:00
457c64564a Temp. disable PM basic Volume ops test
Issue 23296

Signed-off-by: Chris Evich <cevich@redhat.com>
2024-08-01 15:01:46 -04:00
029a9aa34e Add libkrun Mac task
Signed-off-by: Chris Evich <cevich@redhat.com>
2024-08-01 15:01:45 -04:00
dfab16e94e Merge pull request #23474 from l0rd/release-workflow-always-checkout
Never skip checkout step in release workflow
2024-08-01 15:04:35 +00:00
014b7af4f3 Never skip checkout step in release workflow
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-08-01 16:09:03 +02:00
bb079937bc Merge pull request #23451 from edsantiago/leak-test-cleanup
System tests: leak_test: readable output
2024-08-01 12:52:34 +00:00
3e43c402ac Merge pull request #23456 from giuseppe/update-c-common-31-7-24
vendor: bump c/common
2024-08-01 12:47:00 +00:00
83e90a2f5b System tests: leak_test: readable output
BATS teardown logs are unreadable, making it almost impossible
to see tiny "Leaked this-or-that" messages.

Solution: new _run_podman_quiet() helper, replaces run_podman
in a small number of cases within teardown. Clunky, and
duplicative, sorry.

New helper for leak_check, basically spits out warnings (and
bumps error count) if it sees any output whatsoever from
individual "podman XXX ls" commands.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-08-01 05:39:50 -06:00
7c4b1f7aa7 Merge pull request #23431 from edsantiago/clean-up-stray-external
CI: kube test: fix broken external-storage test
2024-08-01 11:30:00 +00:00
803ef5c16f Merge pull request #23384 from edsantiago/root-namespace
CI: enable root user namespaces
2024-08-01 10:32:16 +00:00
5d10f77da5 Merge pull request #23466 from containers/renovate/github.com-docker-go-plugins-helpers-digest
fix(deps): update github.com/docker/go-plugins-helpers digest to 45e2431
2024-08-01 08:56:01 +00:00
f446f59d71 fix(deps): update github.com/docker/go-plugins-helpers digest to 45e2431
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 04:17:44 +00:00
75a316aae4 vendor: bump c/common
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-07-31 21:55:28 +02:00
737c08224e Merge pull request #23458 from TomSweeneyRedHat/dev/tsweeney/fixvers
Tweak versions in register_images.go
2024-07-31 14:35:24 -04:00
96eb6377d5 Merge pull request #23457 from Luap99/play-kube-cleanup
fix network cleanup flake in play kube
2024-07-31 14:35:13 -04:00
fcf7cd7d5c Version: bump to v5.3.0-dev
We have v5.2 branch now.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2024-07-31 13:30:35 -04:00
7610cedc80 libpod: inhibit SIGTERM during cleanup()
The network cleanup can handle it when it is killed half way through as
it spits out a bunch of error in that case on the next cleanup attempt.
Try to avoid getting into such a state and ignore sigterm during this
section.

Of course we stil can get SIGKILL so we should work on fixing the
underlying problems in network cleanup but let's see if this helps us
with the CI flakes in the meantime.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-07-31 19:00:16 +02:00
2550a7290a Tweak versions in register_images.go
Fix up a couple of versions in comments in the
pkg/api/server/register_images.go file.  Based on comments
from #23440

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2024-07-31 11:13:57 -04:00
4c3531a1a4 fix network cleanup flake in play kube
When using service containers and play kube we create a complicated set
of dependencies.

First in a pod all conmon/container cgroups are part of one slice, that
slice will be removed when the entire pod is stopped resulting in
systemd killing all processes that were part in it.

Now the issue here is around the working of stopPodIfNeeded() and
stopIfOnlyInfraRemains(), once a container is cleaned up it will check
if the pod should be stopped depending on the pod ExitPolicy. If this is
the case it wil stop all containers in that pod. However in our flaky
test we calle podman pod kill which logically killed all containers
already. Thus the logic now thinks on cleanup it must stop the pod and
calls into pod.stopWithTimeout(). Then there we try to stop but because
all containers are already stopped it just throws errors and never gets
to the point were it would call Cleanup(). So the code does not do
cleanup and eventually calls removePodCgroup() which will cause all
conmon and other podman cleanup processes of this pod to be killed.

Thus the podman container cleanup process was likely killed while
actually trying to the the proper cleanup which leaves us in a bad
state.

Following commands such as podman pod rm will try to the cleanup again
as they see it was not completed but then fail as they are unable to
recover from the partial cleanup state.

Long term network cleanup needs to be more robust and ideally should be
idempotent to handle cases were cleanup was killed in the middle.

Fixes #21569

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-07-31 16:59:43 +02:00
ebc7debbb0 Merge pull request #23440 from TomSweeneyRedHat/dev/tsweeney/compat-volumes
Bump to Buildah v1.37.0 and wire in --compat-volumes option
2024-07-31 14:29:54 +00:00