Skip to content

Commit

Permalink
Merge pull request #9920 from AkihiroSuda/cri-tools-20240304
Browse files Browse the repository at this point in the history
critools-version: v1.30.0
  • Loading branch information
AkihiroSuda committed May 7, 2024
2 parents a993add + 3b065cd commit bfdc224
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -479,10 +479,17 @@ jobs:
run: |
CONTAINERD_RUNTIME=$TEST_RUNTIME make cri-integration
- name: Fix up for actuated
# https://github.com/containerd/containerd/pull/9920#issuecomment-2024823587
if: ${{ (matrix.os == 'actuated-arm64-4cpu-16gb') && (matrix.runc == 'crun') }}
run: |
echo "EXTRA_CRITEST_OPTIONS=--ginkgo.skip=runtime should support NamespaceMode_POD" >> $GITHUB_ENV
- name: cri-tools critest
env:
TEST_RUNTIME: ${{ matrix.runtime }}
run: |
env
sudo -E PATH=$PATH ./script/critest.sh "${{github.workspace}}/report"
# Log the status of this VM to investigate issues like
Expand Down
9 changes: 8 additions & 1 deletion script/critest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ cat > ${BDIR}/config.toml <<EOF
version = 2
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
runtime_type = "${TEST_RUNTIME}"
[plugins."io.containerd.snapshotter.v1.overlayfs"]
# slow_chown is needed to avoid an error with kernel < 5.19:
# > "snapshotter \"overlayfs\" doesn't support idmap mounts on this host,
# > configure \`slow_chown\` to allow a slower and expensive fallback"
# https://github.com/containerd/containerd/pull/9920#issuecomment-1978901454
# This is safely ignored for kernel >= 5.19.
slow_chown = true
EOF
ls /etc/cni/net.d

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

critest --report-dir "$report_dir" --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8
critest --report-dir "$report_dir" --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8 "${EXTRA_CRITEST_OPTIONS:-""}"
2 changes: 1 addition & 1 deletion script/setup/critools-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.29.0
v1.30.0

0 comments on commit bfdc224

Please sign in to comment.