Commit Graph

24022 Commits

Author SHA1 Message Date
renovate[bot]
fa335f99e0 fix(deps): update module github.com/moby/sys/capability to v0.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 21:45:04 +00:00
openshift-merge-bot[bot]
7a3e8da8ea Merge pull request #24515 from edsantiago/kube-template
system tests: safer install_kube_template()
2024-11-11 20:51:21 +00:00
Ed Santiago
969417711d system tests: safer install_kube_template()
Previous version was badly broken: it relied on 'make'
rebuilding a file under cwd, which is a no-no; and, in
the case where we don't have a source directory, just
blindly hoped that there'd be a system-installed .service
file with the correct path to podman.

Solution:
  . if running in source directory, run sed directly into
    destination service file in $UNIT_DIR. This is ugly
    duplication of a line in Makefile.

  . if NOT running in a source directory, check $PODMAN:
    . if it's /usr/bin/podman, continue. Include a warning
      that will be shown only on test failure.
    . otherwise skip, because we don't know what we're testing

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-11 10:44:32 -07:00
openshift-merge-bot[bot]
50714d2455 Merge pull request #24526 from edsantiago/buildah-vendor-update
Buildah treadmill tweaks
2024-11-11 16:10:52 +00:00
Ed Santiago
33398ebc1e Buildah treadmill tweaks
* treadmill script: handle an obscure corner case
  wherein the script would bail because it thought
  there were no buildah-vendor changes.

* two new test skips

* update the diffs; line-number changes due to buildah
  PRs touching helpers.bash

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-11 07:04:39 -07:00
openshift-merge-bot[bot]
b5d953e23c Merge pull request #24511 from containers/renovate/golang.org-x-net-0.x
fix(deps): update module golang.org/x/net to v0.31.0
2024-11-11 13:25:52 +00:00
openshift-merge-bot[bot]
9ffe01de2d Merge pull request #24513 from containers/renovate/golang.org-x-tools-0.x
fix(deps): update module golang.org/x/tools to v0.27.0
2024-11-11 11:13:53 +00:00
renovate[bot]
8d8b98b64d fix(deps): update module golang.org/x/net to v0.31.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:21:16 +00:00
renovate[bot]
e1a6c53909 fix(deps): update module golang.org/x/tools to v0.27.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:19:25 +00:00
openshift-merge-bot[bot]
483a1327d1 Merge pull request #24507 from Luap99/machine-deadcode
pkg/machine/e2e: remove dead code
2024-11-08 16:15:07 +00:00
openshift-merge-bot[bot]
ee5b8de70d Merge pull request #24413 from giuseppe/add-test-zstd-chunked
tests: add basic zstd:chunked system test
2024-11-08 14:36:06 +00:00
openshift-merge-bot[bot]
90042ea09c Merge pull request #24500 from edsantiago/kernel-6
Yet another bump, to fixed f41 kernel
2024-11-08 14:14:06 +00:00
openshift-merge-bot[bot]
a1c1ae62e7 Merge pull request #24340 from l0rd/ssh-knownhosts-test
New `system connection add` test
2024-11-08 13:24:46 +00:00
Ed Santiago
e39ddde709 Revert "Reapply "CI: test nftables driver on fedora""
This reverts commit 0e66a793bc.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-08 05:09:54 -07:00
Ed Santiago
b5c9fe948c Yet another bump, f41 with fixed kernel
6.11.6 on f41 and f41-aws. Also, pasta 2024-10-30 on f40.

Built in https://github.com/containers/automation_images/pull/393

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-08 04:58:06 -07:00
Giuseppe Scrivano
30a82cad7a test: add zstd:chunked system tests
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-11-08 12:39:07 +01:00
openshift-merge-bot[bot]
1e9705779b Merge pull request #24501 from containers/renovate/golang.org-x-crypto-0.x
fix(deps): update module golang.org/x/crypto to v0.29.0
2024-11-08 11:04:22 +00:00
Paul Holzinger
40534d352e pkg/machine/e2e: remove dead code
This function is not used, we pull actual container images for testing
now. This allows us to remove github.com/coreos/stream-metadata-go.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-08 12:02:37 +01:00
renovate[bot]
e1fe4b4b95 fix(deps): update module golang.org/x/crypto to v0.29.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 00:02:29 +00:00
openshift-merge-bot[bot]
b109a2b59d Merge pull request #24496 from edsantiago/sigint-flake
kube SIGINT system test: fix race in timeout handling
2024-11-07 20:05:08 +00:00
Ed Santiago
fbbfd07463 kube SIGINT system test: fix race in timeout handling
Up to now this test has been run using:

    PODMAN_TIMEOUT=2 run_podman kube play ...

...and this gives podman time to start the pod before getting
the signal.

When run in parallel, under heavy load, the above command seems
to time out before podman has gotten its act together. Weird
things happen, like weird exit status and (most crucially)
zombie containers.

Solution: wait for container to actually start before we kill it.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-07 11:01:08 -07:00
Mario Loriedo
b20960b860 New system connection add tests
These tests verify that podman successfully adds (or
fails to add) a connection to an SSH server based on
the entries in the `~/.ssh/known_hosts` file.

In particular `system connection add` should succeed if:
- there is no `know_hosts` file
- `known_hosts` has an entry that matches the first protocol/key returned
  by the SSH server
- `known_hosts` has an entry that matches the first protocol/key returned
  by the SSH server
- `known_hosts` has an entry for another SSH server, not for the target server

It should fail if the `known_host` file has an entry for
the target server that matches the protocol but not the key.

Depends on containers/common#2212
Fixes #23575

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-11-07 17:48:27 +01:00
Mario Loriedo
62c9627d7a Update codespell to v2.3.0
Version 2.3.0 of codespell allows using inline
comments to ignore some spelling errors.

https://github.com/codespell-project/codespell/pull/2400

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-11-07 17:48:27 +01:00
Mario Loriedo
cbf1d7fcae Avoid printing PR text to stdout in system test
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-11-07 17:48:27 +01:00
openshift-merge-bot[bot]
e3770f5d85 Merge pull request #24490 from l0rd/pre-commit-fix-for-windows
Excluse symlink from pre-commit end-of-file-fixer
2024-11-07 16:03:07 +00:00
Mario Loriedo
d49497ce6c Exclude symlink from pre-commit end-of-file-fixer
Git on Windows clones the symlink `test/python/requirements.txt`
as a regular file. That's not a big deal except that `pre-commit`,
executed by `winmake.ps1 lint`, complains because there is no new
line at end of the file.

To fix `winmake.ps1 lint` we exclude the symlink in `pre-commit`
hook `end-of-file-fixer` configuration.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-11-07 16:36:57 +01:00
openshift-merge-bot[bot]
6598a36e6b Merge pull request #24447 from Luap99/vendor
vendor latest c/{buildah,common,image,storage}
2024-11-07 13:20:46 +00:00
openshift-merge-bot[bot]
f8ac02d44e Merge pull request #24277 from mi4r/dev/mi4r/ImagesImportFix
api: Move close function in condition body
2024-11-07 13:18:24 +00:00
openshift-merge-bot[bot]
cbb5d7f14b Merge pull request #24394 from vyasgun/pr/gvproxy080
Update gvproxy to v0.8.0 and disable ssh port forwarding on wsl
2024-11-07 12:20:14 +00:00
Tigran Sogomonian
9f5bbecb95 api: Add error check
Add error check during tmpfile close.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Tigran Sogomonian <tsogomonian@astralinux.ru>
2024-11-07 14:53:15 +03:00
Paul Holzinger
22152a2f9c test/buildah-bud: build new inet helper
Added in https://github.com/containers/buildah/pull/5783

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-07 10:39:15 +01:00
Paul Holzinger
fb3a0e93a8 test/system: add regression test for TZDIR local issue
Regression test for #23550. Setting the TZDIR env should make no
difference for the local timezone as this is not a real timezone name
that is resolved from that directory.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-07 10:39:15 +01:00
Paul Holzinger
f6af35c695 vendor latest c/{buildah,common,image,storage}
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-07 10:39:15 +01:00
openshift-merge-bot[bot]
b209474d66 Merge pull request #24485 from edsantiago/test-f41
CI VMs: bump to f41
2024-11-06 23:21:59 +00:00
openshift-merge-bot[bot]
aac206e9c5 Merge pull request #24412 from Sativarsainath-26/network-events
Fix: To print create and remove network in podman events
2024-11-06 18:33:18 +00:00
Ed Santiago
0e66a793bc Reapply "CI: test nftables driver on fedora"
Temporary, until we get CI VMs with kernel 6.11.6.

I've lost track of where this is being discussed.

This reverts commit 7f836df303.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-06 11:03:35 -07:00
Ed Santiago
d770069062 Revert "cirrus: test only on f40/rawhide"
This reverts commit d03e8ffc56.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-06 11:03:35 -07:00
Ed Santiago
ba5ce49c10 test f41 VMs
Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-06 11:03:35 -07:00
openshift-merge-bot[bot]
e0cd12ea8c Merge pull request #24473 from rhatdan/kube
AdditionalSupport for SubPath volume mounts
2024-11-06 15:42:41 +00:00
openshift-merge-bot[bot]
5cbb630523 Merge pull request #24479 from Luap99/volume-ls-race
volume ls: fix race that caused it to fail
2024-11-06 15:23:37 +00:00
Daniel J Walsh
6346a11b09 AdditionalSupport for SubPath volume mounts
Add support for inspecting Mounts which include SubPaths.

Handle SubPaths for kubernetes image volumes.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-11-06 10:10:26 -05:00
Gunjan Vyas
4e8d2dd726 wsl-e2e: Add a test to ensure port 2222 is free with usermode networking
Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
2024-11-06 18:40:25 +05:30
Gunjan Vyas
6cf3cb1bfc winmake.ps1: Fix the syntax of the function call Win-SSHProxy
Add missing end of line in test/python/requirements.txt

Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
2024-11-06 18:40:19 +05:30
Paul Holzinger
9a0c0b2eef volume ls: fix race that caused it to fail
If volume ls was called while another volume was removed at the right
time it could have failed with "no such volume" as we did not ignore
such error during listing. As we list things and this no longer exists
the correct thing is to ignore the error and continue like we do with
containers, pods, etc...

This was pretty easy to reproduce with these two commands running in
different terminals:
while :; do bin/podman volume create test && bin/podman volume rm test || break; done
while :; do bin/podman volume ls || break ; done

I have a slight feeling that this might solve #23913 but I am not to
sure there so I am not adding a Fixes here.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-06 12:28:52 +01:00
Gunjan Vyas
9cb80d1856 gvproxy: Disable port-forwarding on WSL
This commit disables ssh port forwarding on WSL by passing -1 to the -ssh-port flag of gvproxy. Port forwarding is not required on WSL and disabling it prevents port conflict with CRC.

Fixes: https://github.com/containers/podman/issues/20327

Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
2024-11-06 15:44:13 +05:30
Gunjan Vyas
52caa0fbb9 build: update gvisor-tap-vsock to 0.8.0
Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
2024-11-06 15:27:23 +05:30
openshift-merge-bot[bot]
c0e24c6b60 Merge pull request #24460 from baude/roadmap
podman: update roadmap
2024-11-05 20:09:48 +00:00
openshift-merge-bot[bot]
a6c74779e5 Merge pull request #24469 from Luap99/journal-thread
libpod: journald do not lock thread
2024-11-05 16:25:42 +00:00
openshift-merge-bot[bot]
a358d83ce9 Merge pull request #24437 from lambinoo/feat-split-pod-container-start-24401
Add key to control if a container can get started by its pod
2024-11-05 15:04:16 +00:00
Brent Baude
10309bfb45 podman: update roadmap
move the podman roadmap into a separate file and began a feature
development log. also, small statements on our process of feature
prioritization.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2024-11-05 08:15:52 -06:00