Commit Graph

16127 Commits

Author SHA1 Message Date
Wei Fu
c3ba452cf0 script/critest.sh: always skip OOMKilled on systemd cgroup
Skip the OOMKilled test when running with systemd cgroups, regardless of the
user-provided ginkgo skip list, to avoid this known issue.

```
critest '--ginkgo.skip=should prefer new apparmor field|should support apparmor field|should support deprecated apparmor_profile field|should support unsafe sysctls|should support safe sysctls|should allow privilege escalation when false'

Jan 23 08:55:25 c48dfdc00254 bash[130]: Summarizing 1 Failure:
Jan 23 08:55:25 c48dfdc00254 bash[130]:   [FAIL] [k8s.io] Container OOM runtime should output OOMKilled reason [It] should terminate with exitCode 137 and reason OOMKilled
Jan 23 08:55:25 c48dfdc00254 bash[130]:
sigs.k8s.io/cri-tools/pkg/validate/container_linux.go:165
```

REF: https://github.com/containerd/containerd/actions/runs/21280114724/job/61248062856

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2026-01-31 20:47:01 -05:00
Akihiro Suda
317286ac00 Merge pull request #12581 from ticpu/fix-12549-ctr-image-mount-fails-no-such-device
Fix ctr image mount failing with no such device
2026-01-28 02:50:36 +00:00
Samuel Karp
652f41f37e Merge pull request #12826 from aadhar-agarwal/aadagarwal/erofs-mkfs-logs-fix
erofs: Log mkfs command at Debug level
2026-01-28 00:16:44 +00:00
Aadhar Agarwal
220108e1cf erofs: Log mkfs command at Debug level
Change the mkfs.erofs command logging to Debug level in both
ConvertTarErofs and GenerateTarIndexAndAppendTar. This keeps
Info level quiet as intended per project conventions while
still making the commands visible for debugging.

Signed-off-by: Aadhar Agarwal <aadagarwal@microsoft.com>
2026-01-27 21:38:16 +00:00
Maksym Pavlenko
1ca5809178 Merge pull request #12827 from AkihiroSuda/ci-almalinux-10
CI: add almalinux/10
2026-01-27 18:24:22 +00:00
Akihiro Suda
ff0c2d1729 CI: add almalinux/10
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2026-01-27 16:47:46 +09:00
Phil Estes
883ac7a263 Merge pull request #12818 from fuweid/fix-12580
.github: re-enable windows image pull/list tests
2026-01-26 17:20:52 +00:00
Wei Fu
ce9f3ad8e4 .github: re-enable windows image pull/list tests
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2026-01-25 21:21:12 -05:00
Mike Brown
816a845410 Merge pull request #12787 from avin3sh/avin3sh-fix-populate-image-id-cri-field
cri: populate ImageId field in container status
2026-01-24 20:08:05 +00:00
Maksym Pavlenko
c6d6c8af75 Merge pull request #12815 from dmcgowan/proto-build-publish
Generate api/next.txtpb and name module
2026-01-24 06:10:10 +00:00
Derek McGowan
472e0a8e7a Generate next.txtpb to replace next.pb.txt
buf will generate the protobuf text file which can be used for viewing
all protobuf changes in one file and quickly diffing changes.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2026-01-23 17:17:47 -08:00
Derek McGowan
f58dbbda0b Add buf.build repository name for publishing API
Signed-off-by: Derek McGowan <derek@mcg.dev>
2026-01-23 16:03:51 -08:00
Maksym Pavlenko
f496ee86e4 Merge pull request #12789 from mxpv/replace
Fix go mod replace and sync with latest api changes
2026-01-23 20:45:45 +00:00
Avinesh Singh
2470af56e4 Update TestToCRIContainer test
Signed-off-by: Avinesh Singh <Avinesh.Singh@deshaw.com>
2026-01-23 11:30:02 -05:00
Avinesh Singh
b8c76199d1 cri: populate ImageId field in container status
The CRI ImageId field was added in kubernetes/kubernetes#123508 to provide a unique image identifier on the node, separate from ImageRef which contains the manifest list digest for multi-arch images.

Previously, ImageId was not populated, leaving it empty in the CRI response. This change populates ImageId with the platform-specific image config digest (stored in container.ImageRef during container creation).

The ImageRef field continues to return the manifest list digest for backwards compatibility.

Signed-off-by: Avinesh Singh <Avinesh.Singh@deshaw.com>
2026-01-23 11:30:02 -05:00
Fu Wei
ece659c90f Merge pull request #12205 from azr/multipart-fetch-stability
stability: multipart fetch pool
2026-01-23 15:38:51 +00:00
Adrien Delorme
e86523ecdb multipart fetch stability fixes
Signed-off-by: Adrien Delorme <azr@users.noreply.github.com>
2026-01-23 09:45:04 +01:00
Fu Wei
10cf3c8bc6 Merge pull request #12782 from aadhar-agarwal/aadagarwal/fix-uuid
erofs-differ: use same UUID append style in tar index mode as tar conversion mode
2026-01-21 15:21:59 +00:00
Fu Wei
1544bfbbfa Merge pull request #12807 from lujinda/errofs_remove_fix
erofs: Move immutable file handling before storage.Remove
2026-01-21 15:11:29 +00:00
jinda.ljd
cf7cb3c35e erofs: Move immutable file handling before storage.Remove
The layer blob immutable flag clearing logic was moved before
storage.Remove() call to ensure that immutable files can be properly
removed even if subsequent operations fail after storage.Remove().

The previous order had storage.Remove() called first, which meant if
any subsequent operations failed, there would be no opportunity to
remove the immutable flag on the layer blob files.

Signed-off-by: jinda.ljd <jinda.ljd@alibaba-inc.com>
2026-01-21 19:34:35 +08:00
Maksym Pavlenko
207bf2b57c Merge pull request #12801 from aadhar-agarwal/aadagarwal/sanitize-grpc-error-5453
fix: sanitize error before gRPC return to prevent credential leak in pod events
2026-01-21 05:09:49 +00:00
Aadhar Agarwal
7b11d6cae4 fix: sanitize error before gRPC return to prevent credential leak in pod events
PR #12491 fixed credential leaks in containerd logs but the gRPC error
returned to kubelet still contained sensitive information. This was
visible in Kubernetes pod events via `kubectl describe pod`.

The issue was that SanitizeError was called inside the defer block,
but errgrpc.ToGRPC(err) was evaluated before the defer ran, so the
gRPC message contained the original unsanitized error.

Move SanitizeError before the return statement so both the logged
error and the gRPC error are sanitized.

Ref: #5453
Signed-off-by: Aadhar Agarwal <aadagarwal@microsoft.com>
2026-01-20 22:18:44 +00:00
Maksym Pavlenko
6a0a7e3287 Merge pull request #12797 from containerd/dependabot/go_modules/github.com/klauspost/compress-1.18.3
build(deps): bump github.com/klauspost/compress from 1.18.2 to 1.18.3
2026-01-20 18:44:50 +00:00
Maksym Pavlenko
ab75372ebc Merge pull request #12798 from containerd/dependabot/github_actions/actions/cache-5.0.2
build(deps): bump actions/cache from 5.0.1 to 5.0.2
2026-01-20 18:44:35 +00:00
Fu Wei
f6f9f8697e Merge pull request #12799 from containerd/dependabot/go_modules/github.com/sirupsen/logrus-1.9.4
build(deps): bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4
2026-01-20 15:57:10 +00:00
Fu Wei
4fb4c9d94a Merge pull request #12783 from ChengyuZhu6/mount
plugins/mount/erofs: use fsmount API to avoid PAGE_SIZE limit
2026-01-20 15:11:31 +00:00
dependabot[bot]
94de254cbc build(deps): bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.3...v1.9.4)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-version: 1.9.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 23:59:21 +00:00
dependabot[bot]
7a0c8d906e build(deps): bump actions/cache from 5.0.1 to 5.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](9255dc7a25...8b402f58fb)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 23:59:18 +00:00
dependabot[bot]
92955bf4c3 build(deps): bump github.com/klauspost/compress from 1.18.2 to 1.18.3
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.18.2 to 1.18.3.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Commits](https://github.com/klauspost/compress/compare/v1.18.2...v1.18.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 23:59:16 +00:00
Maksym Pavlenko
669ddc4003 Merge pull request #12795 from NAM-MAN/fix-typo
fix: typo in comment
2026-01-19 19:33:36 +00:00
Yohei Yamamoto
e066861ac7 fix: typo in comment
Signed-off-by: Yohei Yamamoto <yhymmt123@gmail.com>
2026-01-18 01:27:51 +09:00
ChengyuZhu6
f873e4d3c2 plugins/mount/erofs: use fsmount API to avoid PAGE_SIZE limit
The traditional mount() syscall has a PAGE_SIZE (typically 4KB) limit
for mount options. Use the new mount API (fsopen/fsconfig/fsmount/
move_mount) introduced in Linux 5.2 to bypass this limitation.

Fixed: #12662

Signed-off-by: ChengyuZhu6 <hudson@cyzhu.com>
2026-01-17 16:02:09 +08:00
Maksym Pavlenko
fb805016c4 Merge pull request #12773 from mxpv/podsandbox
cri/podsandbox: reduce dependencies to internal CRI APIs
2026-01-17 07:04:37 +00:00
Maksym Pavlenko
992597bfe9 Fix TTRPC prefix
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-15 13:06:50 -08:00
Maksym Pavlenko
8c782cd197 Revendor latest api changes
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-15 12:50:34 -08:00
Maksym Pavlenko
c895e1ed40 Remove check-api-descriptors target
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-15 10:14:55 -08:00
Maksym Pavlenko
ce045ca2f5 Fix go mod replace
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-15 10:09:42 -08:00
Aadhar Agarwal
52a92e83f0 erofs-differ: use same UUID append style in tar index mode as tar conversion mode
Use the same approach for appending UUID arguments in GenerateTarIndexAndAppendTar
as done in ConvertTarErofs for consistency between the two modes.

Signed-off-by: Aadhar Agarwal <aadagarwal@microsoft.com>
2026-01-14 05:29:13 +00:00
Samuel Karp
cb15e731a1 Merge pull request #12732 from pauloappbr/fix/12683-go124-symlink-resolution
fix(oci): handle absolute symlinks in rootfs user lookup
2026-01-14 00:28:45 +00:00
Samuel Karp
9cd2e74431 Merge pull request #12748 from ningmingxiao/fix_args
command: show help and exit on unknown positional arguments
2026-01-14 00:19:47 +00:00
Paulo Oliveira
9bbb1309f0 test(oci): use fstest and mock fs for better symlink coverage
Signed-off-by: Paulo Oliveira <paulo.hco47@gmail.com>
2026-01-13 20:00:34 -03:00
Fu Wei
f0e04e581c Merge pull request #12416 from ningmingxiao/fix_content_dir
content: ensure root directory exists before checking fs-verity support
2026-01-13 19:55:15 +00:00
Fu Wei
bb12a6cd34 Merge pull request #12755 from aledbf/aledbf/snapshot-parent
snapshotservice: add WithParent handling for Commit + tests
2026-01-13 19:52:16 +00:00
Maksym Pavlenko
87a16b2695 Merge pull request #12769 from klihub/devel/main/nri-input/container-user
cri,nri: pass container user (uid, gids) to plugins.
2026-01-13 19:42:42 +00:00
Fu Wei
704a2ff7eb Merge pull request #12763 from ningmingxiao/chekpoint_2
cri: fix create container panic if originalAnnotations is nil
2026-01-13 19:42:05 +00:00
Maksym Pavlenko
7ef50acccf Reduce ImageService interface dependencies
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-13 09:05:08 -08:00
Mike Brown
e9dc15b7a5 Merge pull request #12776 from mxpv/breaking
Detect breaking API changes in proto files
2026-01-13 14:08:53 +00:00
Krisztian Litkey
b0bd04b046 cri,nri: pass container user (uid, gids) to plugins.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2026-01-13 07:59:37 -06:00
Akihiro Suda
4ef0e722f2 Merge pull request #12778 from containerd/dependabot/go_modules/golang-x-c601d64063
build(deps): bump the golang-x group with 2 updates
2026-01-13 11:07:12 +00:00
Akihiro Suda
f7ecfc5396 Merge pull request #12779 from containerd/dependabot/github_actions/github/codeql-action-4.31.10
build(deps): bump github/codeql-action from 4.31.9 to 4.31.10
2026-01-13 11:06:55 +00:00