Commit Graph

21445 Commits

Author SHA1 Message Date
OpenShift Merge Robot c11ac807f9
Merge pull request #19759 from rhatdan/docs
[CI:DOCS] Some distros do not default to docker.io for shortname searches
2023-09-06 22:04:38 +02:00
Daniel J Walsh 27495981ce
Some distros do not default to docker.io for shortname searches
Fixes: #18910

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-09-06 13:37:08 -04:00
OpenShift Merge Robot af17ddaeed
Merge pull request #19871 from giuseppe/accept-empty-capabilities
security: accept empty capabilities list
2023-09-06 17:16:52 +02:00
OpenShift Merge Robot 2806378c1a
Merge pull request #19872 from edsantiago/systest_fix_eaddrinuse
systests: random_free_port: fix EADDRINUSE flake
2023-09-06 16:06:49 +02:00
OpenShift Merge Robot 74a7d61f5c
Merge pull request #19869 from containers/renovate/github.com-cyphar-filepath-securejoin-0.x
fix(deps): update module github.com/cyphar/filepath-securejoin to v0.2.4
2023-09-06 16:04:17 +02:00
Giuseppe Scrivano 30abd7f1af
security: accept empty capabilities list
allow the image to specify an empty list of capabilities, currently
podman chokes when the io.containers.capabilities specified in an
image does not contain at least one capability.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-06 14:55:28 +02:00
Ed Santiago c32cfb1d01 systests: random_free_port: fix EADDRINUSE flake
Fixes infrequent but annoying flake in which system tests
call random_free_port(), get a nice-looking port, then
fail with "bind: address already in use".

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-09-06 06:10:40 -06:00
OpenShift Merge Robot 3e5b28b1d4
Merge pull request #19867 from siretart/siretart/tests/fcos
Restrict fcos_test to amd64, arm64
2023-09-06 11:05:22 +02:00
OpenShift Merge Robot f14360f707
Merge pull request #19863 from mheon/fix_18874
Ignore spurious container-removal errors
2023-09-06 10:18:52 +02:00
OpenShift Merge Robot d7b7b20831
Merge pull request #19866 from containers/renovate/github.com-containers-libhvee-digest
fix(deps): update github.com/containers/libhvee digest to 56fb235
2023-09-06 10:11:22 +02:00
OpenShift Merge Robot 3c0728df30
Merge pull request #19865 from containers/renovate/github.com-docker-docker-24.x
fix(deps): update module github.com/docker/docker to v24.0.6+incompatible
2023-09-06 10:08:28 +02:00
OpenShift Merge Robot 1004f53d04
Merge pull request #19864 from containers/renovate/golang.org-x-tools-0.x
fix(deps): update module golang.org/x/tools to v0.13.0
2023-09-06 10:05:44 +02:00
renovate[bot] a5798e9f5a
fix(deps): update module github.com/cyphar/filepath-securejoin to v0.2.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 08:04:39 +00:00
OpenShift Merge Robot 14735f1724
Merge pull request #19862 from containers/renovate/golang.org-x-net-0.x
fix(deps): update module golang.org/x/net to v0.15.0
2023-09-06 10:02:55 +02:00
Reinhard Tartler dbfc3e7e00 Restrict fcos_test to amd64, arm64
Allows tests to pass on i386 again

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2023-09-05 21:50:52 -04:00
renovate[bot] 7b2fc5f8d0
fix(deps): update github.com/containers/libhvee digest to 56fb235
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 01:06:39 +00:00
OpenShift Merge Robot 2aec77f1fe
Merge pull request #19861 from edsantiago/manifest_test_cleanup
systests: manifest zstd test: lots of tiny cleanups
2023-09-06 01:04:35 +02:00
renovate[bot] 0a913d578d
fix(deps): update module github.com/docker/docker to v24.0.6+incompatible
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 22:18:41 +00:00
renovate[bot] f9fd402210
fix(deps): update module golang.org/x/tools to v0.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 20:48:58 +00:00
OpenShift Merge Robot 52e1acf86c
Merge pull request #19850 from containers/renovate/actions-checkout-4.x
[skip-ci] Update actions/checkout action to v4
2023-09-05 22:48:08 +02:00
Matt Heon 71549c642f Ignore spurious container-removal errors
When removing a container's dependency, getting an error that the
container has already been removed (ErrNoSuchCtr and
ErrCtrRemoved) should not be fatal. We wanted the container gone,
it's gone, no need to error out.

[NO NEW TESTS NEEDED] This is a race and thus hard to test for.

Fixes #18874

Signed-off-by: Matt Heon <mheon@redhat.com>
2023-09-05 14:35:37 -04:00
renovate[bot] e5bf0f96d7
fix(deps): update module golang.org/x/net to v0.15.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 18:05:34 +00:00
Ed Santiago fdf694fcff systests: manifest zstd test: lots of tiny cleanups
Primarily, build test images FROM scratch, not alpine, to
avoid image pulls and network flakes and potential pull-
the-rug-out errors if the base alpine image changes.

This was much more complicated than it should've been,
because creating unique arch-specific FROM-scratch images
triggered a weird manifest bug, filed as #19860.

Also:
- add a teardown() to clean up manifests
- remove test for skopeo (skopeo is required for sys tests)
- remove unnecessary intermediate tmpdir
- deduplicate, by looping over amd+arm
- fix indentation
- and, finally, clean up dangling images (this was the initial
  reason behind my diving in here. Such a simple thing, I thought.)

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-09-05 11:36:29 -06:00
OpenShift Merge Robot 0e3b492faa
Merge pull request #19849 from giuseppe/increase-inotify-watchers
machine: increase max number of inotify instances
2023-09-05 05:24:11 +02:00
OpenShift Merge Robot 8914caf476
Merge pull request #19843 from giuseppe/clamp-oom-score-adj
linux, rootless: clamp oom_score_adj if it is too low
2023-09-05 01:27:22 +02:00
OpenShift Merge Robot 203c2b815a
Merge pull request #19854 from giuseppe/bump-runc-to-main
vendor: update github.com/opencontainers/runc to main
2023-09-05 01:24:41 +02:00
Giuseppe Scrivano 9730c03735
vendor: update github.com/opencontainers/runc to main
it is not possible yet to drop the override since the latest released
version has an indirect dependency on github.com/cilium/ebpf that
causes the binary to grow by ~1MB.  Once there is a new runc version,
we can drop the override.

For now just bump to the latest version on main, since we are using a
year old version at this point.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-04 15:58:23 +02:00
renovate[bot] e825bd5d5e
[skip-ci] Update actions/checkout action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-04 12:51:33 +00:00
Giuseppe Scrivano 8b4a79a744
linux, rootless: clamp oom_score_adj if it is too low
when running rootless, if the specified oom_score_adj for the
container process is lower than the current value, clamp it to the
current value and print a warning.

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

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-04 14:44:14 +02:00
Giuseppe Scrivano 681b6db3f3
machine: increase max number of inotify instances
increase the number of inotify instances to 524288 instead of using
the default value of 128.

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

[NO NEW TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-04 14:02:57 +02:00
OpenShift Merge Robot 9bcab496e7
Merge pull request #19835 from Juneezee/refactor/redundant-nil-check
Remove redundant nil checks in system connection remove
2023-09-04 08:48:13 +02:00
OpenShift Merge Robot 8f7453f9c8
Merge pull request #19840 from containers/renovate/golang.org-x-term-0.x
fix(deps): update module golang.org/x/term to v0.12.0
2023-09-04 08:43:05 +02:00
renovate[bot] 302d153347
fix(deps): update module golang.org/x/term to v0.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-03 17:23:15 +00:00
OpenShift Merge Robot d58fe4e68e
Merge pull request #19837 from containers/renovate/golang.org-x-text-0.x
fix(deps): update module golang.org/x/text to v0.13.0
2023-09-03 15:36:10 +02:00
OpenShift Merge Robot d6b538a794
Merge pull request #19836 from containers/renovate/golang.org-x-sys-0.x
fix(deps): update module golang.org/x/sys to v0.12.0
2023-09-03 15:32:45 +02:00
OpenShift Merge Robot 6f43c9f10d
Merge pull request #19833 from containers/renovate/github.com-containers-libhvee-digest
fix(deps): update github.com/containers/libhvee digest to 2bf7930
2023-09-03 15:27:36 +02:00
Eng Zer Jun f094884c1b
Remove redundant nil checks in system connection remove
From the Go specification:

  "3. If the map is nil, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[NO NEW TESTS NEEDED]

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-03 15:42:41 +08:00
renovate[bot] 17037af48f
fix(deps): update module golang.org/x/text to v0.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 14:20:51 +00:00
OpenShift Merge Robot 1361fa2304
Merge pull request #19820 from ashley-cui/gvproxytest
Add port forwarding and gvproxy machine test
2023-09-02 16:19:21 +02:00
renovate[bot] 1d51cd14a9
fix(deps): update module golang.org/x/sys to v0.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 13:48:35 +00:00
renovate[bot] f542d21a76
fix(deps): update github.com/containers/libhvee digest to 2bf7930
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 01:29:09 +00:00
OpenShift Merge Robot ab579a90a8
Merge pull request #19831 from noritada/fix/readme-broken-link
[CI:DOCS] Fix a broken link in README
2023-09-01 22:12:40 +02:00
OpenShift Merge Robot 7cde6ab521
Merge pull request #19477 from lsm5/copr-rpm-fcos
[CI:BUILD] Podman FCOS image from main
2023-09-01 20:35:49 +02:00
Noritada Kobayashi d4fedb288c docs(readme): fix a broken link
The destination `pkg/hooks/README.md` has been moved to a separate
project.

Fixes: ffe5da20a0 ("pkg,libpod: remove pkg/hooks and use hooks from c/common")
Signed-off-by: Noritada Kobayashi <noritada.kobayashi@gmail.com>
2023-09-01 23:07:28 +09:00
Lokesh Mandvekar 50cd072bf6
[CI:BUILD] Podman FCOS image from main
Fixes: #19446, #19447, #19448

[NO NEW TESTS NEEDED]

Co-authored-by: Chris Evich <cevich@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-09-01 09:50:59 -04:00
OpenShift Merge Robot 99a5347c6d
Merge pull request #19816 from giuseppe/fix-parsing-base
libpod: do not parse --hostuser in base 8
2023-09-01 08:55:28 +02:00
OpenShift Merge Robot 3033f1e9e2
Merge pull request #19826 from containers/renovate/golang.org-x-exp-digest
Update golang.org/x/exp digest to d852ddb
2023-09-01 08:39:56 +02:00
renovate[bot] 58a0b7ac82
Update golang.org/x/exp digest to d852ddb
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-01 02:19:27 +00:00
OpenShift Merge Robot 66fa48af42
Merge pull request #19804 from nishipy/ja_index
[CI:DOCS] Add Japanese locale and translation of index
2023-08-31 22:47:37 +02:00
Ashley Cui fe7bafb83c Add port forwarding and gvproxy machine test
Added a test that checks that gvproxy properly starts and stops when running podman machine, and that containers properly forward ports to the host when running podman using machine.

Signed-off-by: Ashley Cui <acui@redhat.com>
2023-08-31 10:19:35 -04:00