Skip to content

Commit 1b2a147

Browse files
committed
Add DENYLIST for RC tier
Production CI runs on bare-metal self hosted runners. RC CI runs on nested virt GH hosted runners. The difference in platform causes issues with some selftests. So add a DENYLIST to skip tests that are too difficult to debug. Signed-off-by: Daniel Xu <[email protected]>
1 parent 49c339c commit 1b2a147

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

ci/vmtest/configs/DENYLIST.rc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
send_signal/send_signal_nmi # PMU events configure correctly but don't trigger NMI's for some reason (AMD nested virt)
2+
send_signal/send_signal_nmi_thread # Same as above
3+
token/obj_priv_implicit_token_envvar # Unknown root cause, but reliably fails

ci/vmtest/vmtest_selftests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ set -euo pipefail
1313
source "$(cd "$(dirname "$0")" && pwd)/helpers.sh"
1414

1515
ARCH=$(uname -m)
16+
DEPLOYMENT=$(if [[ "$GITHUB_REPOSITORY" == *"-rc" ]]; then echo "rc"; else echo "prod"; fi)
1617

1718
STATUS_FILE=/mnt/vmtest/exitstatus
1819
OUTPUT_DIR=/mnt/vmtest
@@ -34,6 +35,7 @@ DENYLIST=$(read_lists \
3435
"$BPF_SELFTESTS_DIR/DENYLIST.${ARCH}" \
3536
"$VMTEST_CONFIGS_PATH/DENYLIST" \
3637
"$VMTEST_CONFIGS_PATH/DENYLIST.${ARCH}" \
38+
"$VMTEST_CONFIGS_PATH/DENYLIST.${DEPLOYMENT}" \
3739
)
3840
ALLOWLIST=$(read_lists \
3941
"$BPF_SELFTESTS_DIR/ALLOWLIST" \

0 commit comments

Comments
 (0)