Skip to content

[pull] main from containerd:main#307

Open
pull[bot] wants to merge 1279 commits into
fahedouch:mainfrom
containerd:main
Open

[pull] main from containerd:main#307
pull[bot] wants to merge 1279 commits into
fahedouch:mainfrom
containerd:main

Conversation

@pull

@pull pull Bot commented May 10, 2025

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot added the ⤵️ pull label May 10, 2025
AkihiroSuda and others added 29 commits May 31, 2026 02:26
…x-tigron-clean

refactor: migrate login_linux_test.go to nerdtest.Setup
Migrates the non-flaky compose run tests to nerdtest.Setup():
- TestComposeRunWithEnv
- TestComposeRunWithUser
- TestComposeRunWithArgs
- TestComposeRunWithEntrypoint
- TestComposeRunWithLabel (uses nerdtest.InspectContainer)
- TestComposeRunWithVolume (uses nerdtest.InspectContainer)

Replaces the unbuffer(1) pty wrapper with cmd.WithPseudoTTY(), and
uses expect.ExitCodeSuccess instead of literal 0 for exit codes.

TestComposeRunWithServicePorts, TestComposeRunWithPublish, and
TestComposePushAndPullWithCosignVerify are intentionally left on the
legacy framework for now (flaky / complex).

Signed-off-by: sathiraumesh <sathiraumesh@gmail.com>
fix(healthcheck): release exec process resources after probe
Signed-off-by: Park jungtae <jtpark1957@gmail.com>
…_test_4613

Refactor compose_run_linux_test
…linux_test.go

test: refactor container_run_restart_linux_test.go to use Tigron
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@de0fac2...df4cb1c)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](opencontainers/selinux@v1.15.0...v1.15.1)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
  dependency-version: 1.15.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Ofek Lev <ofekmeister@gmail.com>
Bumps the docker group with 2 updates: [github.com/docker/cli](https://github.com/docker/cli) and [github.com/moby/moby/v2](https://github.com/moby/moby).


Updates `github.com/docker/cli` from 29.5.2+incompatible to 29.5.3+incompatible
- [Commits](docker/cli@v29.5.2...v29.5.3)

Updates `github.com/moby/moby/v2` from 2.0.0-beta.15 to 2.0.0-beta.16
- [Release notes](https://github.com/moby/moby/releases)
- [Commits](moby/moby@v2.0.0-beta.15...v2.0.0-beta.16)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-version: 29.5.3+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker
- dependency-name: github.com/moby/moby/v2
  dependency-version: 2.0.0-beta.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: immanuwell <pchpr.00@list.ru>
Signed-off-by: immanuwell <pchpr.00@list.ru>
…patibility

In the current implementation, when specifying `/` as the destination of the
`-v` option in the nerdctl run command, the following error occurs but the
container is created.

```bash
> sudo nerdctl run -d --name nginx -v ./:/ nginx
FATA[0000] failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: open /proc/thread-self/attr/exec: no such file or directory

> sudo nerdctl ps -a
CONTAINER ID    IMAGE                             COMMAND                   CREATED          STATUS     PORTS    NAMES
0f880e0e68f8    docker.io/library/nginx:latest    "/docker-entrypoint.…"    5 seconds ago    Created             nginx
```

However, in the same situation, Docker fails to create the container.

```bash
$ docker run -d --name stop -v ./:/ nginx
docker: Error response from daemon: invalid volume specification: '/Users/haytok/workspace:/': invalid mount config for type "bind": invalid specification: destination can't be '/'

$ docker ps -a
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
```

Therefore, this commit fixes the behavior so that the container creation
fails when `/` is specified as the destination of the `-v` option for
compatibility with Docker.

Signed-off-by: Hayato Kiwata <dev@haytok.jp>
…-0dd8a76685

build(deps): bump the docker group with 2 updates
….com/opencontainers/selinux-1.15.1

build(deps): bump github.com/opencontainers/selinux from 1.15.0 to 1.15.1
…tions/checkout-6.0.3

build(deps): bump actions/checkout from 6.0.2 to 6.0.3
Update Windows installation section in README.md
When a container has a large number of volume mounts, storing the
marshaled JSON metadata inside a containerd label (`nerdctl/mounts`)
exceeds the 4096-byte protocol buffer limit, causing container
creation to fail.

The current patch addresses this by storing all mounts individually as
separate key value pairs to avoid any buffer limit and is returned as a
JSON string while fetching mount metadata

Unit tests have been added accordingly

Signed-off-by: Naveen <snaveenbharath2005@gmail.com>
formatter: make ellipsis unicode safe
…syslog-test

refactor: migrate container_run_log_driver_syslog_test.go to nerdtest.Setup
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
fix(container): chunk mounts metadata to prevent max label size crash
Migrate TestCreateWithLabel, TestCreateWithMACAddress,
TestCreateWithTty, and TestCreateFromOCIArchive from
testutil.NewBase to the Tigron-based nerdtest.Setup pattern.

Also fix TestUsernsMappingCreateCmd which called nerdtest.Setup()
without using its return value; now uses the returned *test.Case
directly.

Helper function removeUsernsConfig updated to accept tig.T instead
of *testing.T to align with the rest of the Tigron-based test
infrastructure.

Part of #4613.

Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com>
With -t, the container's output goes through a pseudoTTY. Attaching
via "start -a" does not reliably forward PTY output through Tigron's
subprocess pipe, causing the stty check to fail on certain containerd
versions (e.g. v1.7.30).

Match the original test's approach: start the container without -a,
then read its output via "nerdctl logs" which goes through the log
driver and is always available after the container exits.

Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com>
Replace hardcoded exit code literals (0, 1) in Tigron test.Expected
structs with the named constants from the expect package:
ExitCodeSuccess, ExitCodeGenericFail.

Existing ExitCodeNoCheck usages were already correct.

Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com>
Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com>
Capture the start -a output and assert the passed MAC is absent for the
none-network case, instead of only checking the exit code.

Use data.Temp().Save for the Dockerfile instead of os.WriteFile, and drop
the manual builder prune --all --force which the Build requirement
deliberately omits to keep build tests parallelizable.

Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com>
CI: replace Vagrant with Lima for FreeBSD tests
Bumps the golang-x group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.52.0` | `0.53.0` |
| [golang.org/x/sync](https://github.com/golang/sync) | `0.20.0` | `0.21.0` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.45.0` | `0.46.0` |
| [golang.org/x/term](https://github.com/golang/term) | `0.43.0` | `0.44.0` |
| [golang.org/x/text](https://github.com/golang/text) | `0.37.0` | `0.38.0` |


Updates `golang.org/x/crypto` from 0.52.0 to 0.53.0
- [Commits](golang/crypto@v0.52.0...v0.53.0)

Updates `golang.org/x/sync` from 0.20.0 to 0.21.0
- [Commits](golang/sync@v0.20.0...v0.21.0)

Updates `golang.org/x/sys` from 0.45.0 to 0.46.0
- [Commits](golang/sys@v0.45.0...v0.46.0)

Updates `golang.org/x/term` from 0.43.0 to 0.44.0
- [Commits](golang/term@v0.43.0...v0.44.0)

Updates `golang.org/x/text` from 0.37.0 to 0.38.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
- dependency-name: golang.org/x/sync
  dependency-version: 0.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
- dependency-name: golang.org/x/sys
  dependency-version: 0.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
- dependency-name: golang.org/x/term
  dependency-version: 0.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
- dependency-name: golang.org/x/text
  dependency-version: 0.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
...

Signed-off-by: dependabot[bot] <support@github.com>
AkihiroSuda and others added 30 commits July 17, 2026 19:44
Allocate a free host port from the range for a single container port
update: fix --cpus writing cpuset instead of quota/period
….com/mattn/go-isatty-0.0.23

bump github.com/mattn/go-isatty from 0.0.22 to 0.0.23
Bumps the docker group with 1 update in the / directory: [github.com/docker/cli](https://github.com/docker/cli).


Updates `github.com/docker/cli` from 29.6.1+incompatible to 29.6.2+incompatible
- [Commits](docker/cli@v29.6.1...v29.6.2)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-version: 29.6.2+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <support@github.com>
…-fb01a5fc3c

build(deps): bump github.com/docker/cli from 29.6.1+incompatible to 29.6.2+incompatible in the docker group across 1 directory
…unt-windows-test

Refractor `container_run_mount_windows_test.go` to use Tigron
…-test-to-tigron

test: refactor container_cp_linux_test.go to use Tigron
…-assert-panic

compose: guard x-nerdctl-* extension type assertions
…ux-test-to-tigron

test: refactor container_list_linux_test.go to use Tigron
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
The rootless variant was using Ubuntu 24.04

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Daniel Benjamin <benjamindaniel706@gmail.com>
…x-test-to-tigron

test: refactor container_run_linux_test.go to use Tigron
Signed-off-by: Daniel Benjamin <benjamindaniel706@gmail.com>
CI: ipv6: consistently use Ubuntu 26.04
…up-linux-test-to-tigron

test: refactor container_run_cgroup_linux_test.go to use Tigron
Signed-off-by: Daniel Benjamin <benjamindaniel706@gmail.com>
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>

Co-authored-by: microness <youjungho92@naver.com>
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
…x-test-to-tigron-2

test: convert TestRunCustomRootfs to Tigron framework
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@9c091bb...3d3c42e)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](klauspost/compress@v1.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-version: 1.19.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/checkout-7.0.1

build(deps): bump actions/checkout from 7.0.0 to 7.0.1
Refactor `container_kill_linux_test.go` to use Tigron
Refactor container_run_network_linux_test.go to use Tigron
Bumps [github.com/containerd/imgcrypt/v2](https://github.com/containerd/imgcrypt) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/containerd/imgcrypt/releases)
- [Changelog](https://github.com/containerd/imgcrypt/blob/main/CHANGES)
- [Commits](containerd/imgcrypt@v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: github.com/containerd/imgcrypt/v2
  dependency-version: 2.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
….com/klauspost/compress-1.19.1

build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1
….com/containerd/imgcrypt/v2-2.0.3

build(deps): bump github.com/containerd/imgcrypt/v2 from 2.0.2 to 2.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.