Commit Graph

24046 Commits

Author SHA1 Message Date
openshift-merge-bot[bot] ecaf9bf515
Merge pull request #24525 from Luap99/lint
update golangci-lint to v1.62.0
2024-11-13 21:47:38 +00:00
openshift-merge-bot[bot] c348367453
Merge pull request #24491 from lsm5/main-540-bump
[CI:ALL] Bump main to v5.4.0-dev
2024-11-13 17:14:31 +00:00
openshift-merge-bot[bot] a52061cba1
Merge pull request #24552 from M5oul/main
doc: fix words repetitions
2024-11-13 17:00:46 +00:00
Maël Azimi 6809bf1d90 doc: fix words repetitions
Signed-off-by: Maël Azimi <mael.azimi@moul.re>
2024-11-13 15:21:40 +01:00
openshift-merge-bot[bot] 77e67e7a54
Merge pull request #24554 from mheon/update_release_notes_53
Update release notes on main for v5.3.0
2024-11-13 13:37:16 +00:00
Matt Heon d2d2e4a605 Update release notes on main for v5.3.0
We haven't done this in a while, so include all the missing
updates from v5.1.x and v5.2.x as well.

Signed-off-by: Matt Heon <mheon@redhat.com>
2024-11-13 08:16:22 -05:00
openshift-merge-bot[bot] 6a6e890553
Merge pull request #24553 from containers/renovate/setuptools-75.x
chore(deps): update dependency setuptools to ~=75.5.0
2024-11-13 12:47:43 +00:00
openshift-merge-bot[bot] e3ecc59914
Merge pull request #24549 from edsantiago/parallel-010
CI: system tests: parallelize 010
2024-11-13 12:16:15 +00:00
renovate[bot] 590fcafc2b
chore(deps): update dependency setuptools to ~=75.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 12:01:33 +00:00
Ed Santiago 1c77ee6fc5 CI: system tests: parallelize 010
Final cleanup. Has been working fine in #23257 for weeks.
Not much gain here, but every little bit helps.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-11-13 04:14:57 -07:00
openshift-merge-bot[bot] 8f2d5011f2
Merge pull request #24532 from mheon/subpath
Add subpath support to volumes in `--mount` option
2024-11-12 21:46:58 +00:00
openshift-merge-bot[bot] 3f10c91e0b
Merge pull request #24534 from containers/renovate/github.com-moby-sys-capability-0.x
fix(deps): update module github.com/moby/sys/capability to v0.4.0
2024-11-12 16:55:45 +00:00
openshift-merge-bot[bot] 5f5783d54b
Merge pull request #24547 from giuseppe/clamp-limits-userns
spec: clamp rlimits in a userns
2024-11-12 16:30:46 +00:00
Giuseppe Scrivano 0a69aefa41
spec: clamp rlimits in a userns
commit 5ebba75dbd implemented this
behaviour for rootless users, but the same limitation exists for any
user in a user namespace.  Change the check to use the clamp to the
current values anytime podman runs in a user namespace.

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

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-11-12 16:44:33 +01:00
openshift-merge-bot[bot] f41eab21de
Merge pull request #24540 from Luap99/vendor
vendor containers projects to tagged versions
2024-11-12 15:00:03 +00:00
openshift-merge-bot[bot] da8995658b
Merge pull request #24542 from ksw2000/refactor-linuxns-string
refactor: simplify LinuxNS type definition and String method
2024-11-12 14:18:31 +00:00
Matt Heon 8a192c8403 Add subpath support to volumes in `--mount` option
All the backend work was done a while back for image volumes, so
this is effectively just plumbing the option in for volumes in
the parser logic. We do need to change the return type of the
volume parser as it only worked on spec.Mount before (which does
not have subpath support, so we'd have to pass it as an option
and parse it again) but that is cleaner than the alternative.

Fixes #20661

Signed-off-by: Matt Heon <mheon@redhat.com>
2024-11-12 09:13:16 -05:00
openshift-merge-bot[bot] 2bcbffa186
Merge pull request #24531 from containers/renovate/setuptools-75.x
chore(deps): update dependency setuptools to ~=75.4.0
2024-11-12 12:39:16 +00:00
Kashiwa da6404ba16 refactor: simplify LinuxNS type definition and String method
Signed-off-by: Kashiwa <13825170+ksw2000@users.noreply.github.com>
2024-11-12 11:46:47 +00:00
Paul Holzinger 0a1363d8eb
test/e2e: remove FIPS test
First, creating a global file /etc/system-fips was never a good idea for
testing as it affects other running tests at the same time.
And as of a recent change to FIPS mounts[1] we no longer use the file so
the test breaks with c/common v0.61. Instead it uses the kernel file
/proc/sys/crypto/fips_enabled which requires the real fips mode to be
activated and that in turn requires a reboot. As such this is not
somthing that can be tested in upstream CI like that.

[1] https://github.com/containers/common/pull/2174

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-12 10:59:04 +01:00
Paul Holzinger 42e8322532
vendor containers projects to tagged versions
Updates:
 - c/storage v1.56.0
 - c/image v5.33.0
 - c/common v0.61.0
 - c/buildah v1.38.0
 - c/libhvee v0.9.0
 - github.com/crc-org/crc/v2 v2.43.0

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-12 10:51:22 +01:00
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
renovate[bot] ca7703643b
chore(deps): update dependency setuptools to ~=75.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 19:10:38 +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
Paul Holzinger 9eca92d625
update golangci-lint to v1.62.0
- fix issues found by recvcheck
- skip k8s files from recvcheck
- remove two removed linters gomnd and execinquery

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-11 14:21:17 +01: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