Merge pull request #9920 from AkihiroSuda/cri-tools-20240304

critools-version: v1.30.0
This commit is contained in:
Akihiro Suda 2024-05-07 21:27:53 +00:00 committed by GitHub
commit bfdc224861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 2 deletions

View File

@ -479,10 +479,17 @@ jobs:
run: | run: |
CONTAINERD_RUNTIME=$TEST_RUNTIME make cri-integration 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 - name: cri-tools critest
env: env:
TEST_RUNTIME: ${{ matrix.runtime }} TEST_RUNTIME: ${{ matrix.runtime }}
run: | run: |
env
sudo -E PATH=$PATH ./script/critest.sh "${{github.workspace}}/report" sudo -E PATH=$PATH ./script/critest.sh "${{github.workspace}}/report"
# Log the status of this VM to investigate issues like # Log the status of this VM to investigate issues like

View File

@ -35,6 +35,13 @@ cat > ${BDIR}/config.toml <<EOF
version = 2 version = 2
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
runtime_type = "${TEST_RUNTIME}" 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 EOF
ls /etc/cni/net.d ls /etc/cni/net.d
@ -51,4 +58,4 @@ do
crictl --runtime-endpoint ${BDIR}/c.sock info && break || sleep 1 crictl --runtime-endpoint ${BDIR}/c.sock info && break || sleep 1
done 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:-""}"

View File

@ -1 +1 @@
v1.29.0 v1.30.0