Skip to content

Commit

Permalink
Add DENYLIST for RC tier
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
danobi committed Aug 6, 2024
1 parent 49c339c commit 1b2a147
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/vmtest/configs/DENYLIST.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
send_signal/send_signal_nmi # PMU events configure correctly but don't trigger NMI's for some reason (AMD nested virt)
send_signal/send_signal_nmi_thread # Same as above
token/obj_priv_implicit_token_envvar # Unknown root cause, but reliably fails
2 changes: 2 additions & 0 deletions ci/vmtest/vmtest_selftests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set -euo pipefail
source "$(cd "$(dirname "$0")" && pwd)/helpers.sh"

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

STATUS_FILE=/mnt/vmtest/exitstatus
OUTPUT_DIR=/mnt/vmtest
Expand All @@ -34,6 +35,7 @@ DENYLIST=$(read_lists \
"$BPF_SELFTESTS_DIR/DENYLIST.${ARCH}" \
"$VMTEST_CONFIGS_PATH/DENYLIST" \
"$VMTEST_CONFIGS_PATH/DENYLIST.${ARCH}" \
"$VMTEST_CONFIGS_PATH/DENYLIST.${DEPLOYMENT}" \
)
ALLOWLIST=$(read_lists \
"$BPF_SELFTESTS_DIR/ALLOWLIST" \
Expand Down

0 comments on commit 1b2a147

Please sign in to comment.