Skip to content

Commit

Permalink
run-vmtest: set SELFTESTS_BPF for veristat
Browse files Browse the repository at this point in the history
Also:
* DENYLIST: remove uprobe_multi_test/consumers as it is supposed to
  pass now on bpf-next
* kernel-test: remove img action input passed to run-vmtest

Signed-off-by: Ihor Solodrai <[email protected]>
  • Loading branch information
theihor committed Nov 20, 2024
1 parent 09ddb33 commit 825b986
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/kernel-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
timeout-minutes: ${{ inputs.timeout_minutes }}
with:
arch: ${{ inputs.arch }}
img: '/tmp/root.img'
vmlinuz: '${{ github.workspace }}/vmlinuz'
kernel-root: ${{ env.REPO_ROOT }}
max-cpu: 8
Expand Down
1 change: 0 additions & 1 deletion ci/vmtest/configs/DENYLIST
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ xdp_bonding/xdp_bonding_features # started failing after net merge from 359e
tc_redirect/tc_redirect_dtime # uapi breakage after net-next commit 885c36e59f46 ("net: Re-use and set mono_delivery_time bit for userspace tstamp packets")
migrate_reuseport/IPv4 TCP_NEW_SYN_RECV reqsk_timer_handler # flaky, under investigation
migrate_reuseport/IPv6 TCP_NEW_SYN_RECV reqsk_timer_handler # flaky, under investigation
uprobe_multi_test/consumers
4 changes: 2 additions & 2 deletions ci/vmtest/configs/run_veristat.kernel.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERISTAT_OBJECTS_DIR="${BPF_SELFTESTS_DIR}"
VERISTAT_OBJECTS_DIR="${SELFTESTS_BPF}"
VERISTAT_OBJECTS_GLOB="*.bpf.o"
VERISTAT_CFG_FILE="${BPF_SELFTESTS_DIR}/veristat.cfg"
VERISTAT_CFG_FILE="${SELFTESTS_BPF}/veristat.cfg"
VERISTAT_OUTPUT="veristat-kernel"
5 changes: 3 additions & 2 deletions run-vmtest/run-bpf-selftests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ source "$(cd "$(dirname "$0")" && pwd)/helpers.sh"

ARCH=$(uname -m)

SELFTESTS_BPF=${SELFTESTS_BPF:-/mnt/vmtest/selftests/bpf}
export SELFTESTS_BPF=${SELFTESTS_BPF:-/mnt/vmtest/selftests/bpf}

STATUS_FILE=${STATUS_FILE:-/mnt/vmtest/exitstatus}
OUTPUT_DIR=${OUTPUT_DIR:-/mnt/vmtest}

Expand Down Expand Up @@ -100,7 +101,7 @@ run_veristat_helper() {
source "${VERISTAT_CONFIGS}/run_veristat.${mode}.cfg"
pushd "${VERISTAT_OBJECTS_DIR}"

"${BPF_SELFTESTS_DIR}/veristat" -o csv -q -e file,prog,verdict,states ${VERISTAT_OBJECTS_GLOB} > \
"${SELFTESTS_BPF}/veristat" -o csv -q -e file,prog,verdict,states ${VERISTAT_OBJECTS_GLOB} > \
"${OUTPUT_DIR}/${VERISTAT_OUTPUT}"

echo "run_veristat_${mode}:$?" >> ${STATUS_FILE}
Expand Down

0 comments on commit 825b986

Please sign in to comment.