Skip to content

Commit bfdc224

Browse files
authored
Merge pull request containerd#9920 from AkihiroSuda/cri-tools-20240304
critools-version: v1.30.0
2 parents a993add + 3b065cd commit bfdc224

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,17 @@ jobs:
479479
run: |
480480
CONTAINERD_RUNTIME=$TEST_RUNTIME make cri-integration
481481
482+
- name: Fix up for actuated
483+
# https://github.com/containerd/containerd/pull/9920#issuecomment-2024823587
484+
if: ${{ (matrix.os == 'actuated-arm64-4cpu-16gb') && (matrix.runc == 'crun') }}
485+
run: |
486+
echo "EXTRA_CRITEST_OPTIONS=--ginkgo.skip=runtime should support NamespaceMode_POD" >> $GITHUB_ENV
487+
482488
- name: cri-tools critest
483489
env:
484490
TEST_RUNTIME: ${{ matrix.runtime }}
485491
run: |
492+
env
486493
sudo -E PATH=$PATH ./script/critest.sh "${{github.workspace}}/report"
487494
488495
# Log the status of this VM to investigate issues like

script/critest.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ cat > ${BDIR}/config.toml <<EOF
3535
version = 2
3636
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
3737
runtime_type = "${TEST_RUNTIME}"
38+
[plugins."io.containerd.snapshotter.v1.overlayfs"]
39+
# slow_chown is needed to avoid an error with kernel < 5.19:
40+
# > "snapshotter \"overlayfs\" doesn't support idmap mounts on this host,
41+
# > configure \`slow_chown\` to allow a slower and expensive fallback"
42+
# https://github.com/containerd/containerd/pull/9920#issuecomment-1978901454
43+
# This is safely ignored for kernel >= 5.19.
44+
slow_chown = true
3845
EOF
3946
ls /etc/cni/net.d
4047

@@ -51,4 +58,4 @@ do
5158
crictl --runtime-endpoint ${BDIR}/c.sock info && break || sleep 1
5259
done
5360

54-
critest --report-dir "$report_dir" --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8
61+
critest --report-dir "$report_dir" --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8 "${EXTRA_CRITEST_OPTIONS:-""}"

script/setup/critools-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.29.0
1+
v1.30.0

0 commit comments

Comments
 (0)