Skip to content

Commit ab513cd

Browse files
authored
Merge pull request #11710 from dmcgowan/backport-11707
[release/2.0] Disable criu test on arm64
2 parents ea7be04 + 58b715a commit ab513cd

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,9 @@ jobs:
405405
script/setup/install-critools
406406
script/setup/install-failpoint-binaries
407407
408-
- name: Install criu
408+
# Disable criu testing on arm64 until we can solve the consistent failures of restore testing
409+
- if: matrix.os != 'ubuntu-24.04-arm'
410+
name: Install criu
409411
run: |
410412
sudo add-apt-repository -y ppa:criu/ppa
411413
sudo apt-get update
@@ -486,8 +488,12 @@ jobs:
486488
TEST_RUNTIME: ${{ matrix.runtime }}
487489
CGROUP_DRIVER: ${{ matrix.cgroup_driver }}
488490
run: |
491+
# skipping the ipv6 test till https://github.com/actions/runner-images/issues/11985 is fixed
492+
if [[ ${{matrix.os}} == "ubuntu-22.04" ]]; then
493+
skip_test="runtime should support port mapping with host port and container port"
494+
fi
489495
env
490-
sudo -E PATH=$PATH ./script/critest.sh "${{github.workspace}}/report"
496+
sudo -E PATH=$PATH SKIP_TEST="$skip_test" ./script/critest.sh "${{github.workspace}}/report"
491497
492498
# Log the status of this VM to investigate issues like
493499
# https://github.com/containerd/containerd/issues/4969

script/critest.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ if [ ! -z "$CGROUP_DRIVER" ] && [ "$CGROUP_DRIVER" = "systemd" ];then
7070
EOF
7171
fi
7272

73+
GINKGO_SKIP_TEST=()
74+
if [ ! -z "$SKIP_TEST" ]; then
75+
GINKGO_SKIP_TEST+=("--ginkgo.skip" "$SKIP_TEST")
76+
fi
77+
7378
ls /etc/cni/net.d
7479

7580
/usr/local/bin/containerd \
@@ -85,4 +90,4 @@ do
8590
crictl --runtime-endpoint ${BDIR}/c.sock info && break || sleep 1
8691
done
8792

88-
critest --report-dir "$report_dir" --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8 "${EXTRA_CRITEST_OPTIONS:-""}"
93+
critest --report-dir "$report_dir" --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8 "${GINKGO_SKIP_TEST[@]}" "${EXTRA_CRITEST_OPTIONS:-""}"

0 commit comments

Comments
 (0)