File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -108,16 +108,22 @@ jobs:
108108 git worktree add --detach "$base_wt" "$BASE_SHA"
109109 git worktree add --detach "$head_wt" "$HEAD_SHA"
110110
111- (cd "$base_wt" && make ebpf)
111+ (cd "$base_wt" && git submodule update --init --recursive && make ebpf) > tdd-artifacts/bench/base-prepare.log 2>&1
112112 base_prep_status=$?
113- (cd "$head_wt" && make ebpf)
113+ (cd "$head_wt" && git submodule update --init --recursive && make ebpf) > tdd-artifacts/bench/head-prepare.log 2>&1
114114 head_prep_status=$?
115115
116116 bench_failed=0
117117
118118 if [[ $base_prep_status -ne 0 || $head_prep_status -ne 0 ]]; then
119119 bench_failed=1
120- echo "Benchmark prepare failed: base=$base_prep_status head=$head_prep_status" > tdd-artifacts/bench/error.log
120+ {
121+ echo "Benchmark prepare failed: base=$base_prep_status head=$head_prep_status"
122+ echo "--- base prepare log (tail) ---"
123+ tail -n 120 tdd-artifacts/bench/base-prepare.log || true
124+ echo "--- head prepare log (tail) ---"
125+ tail -n 120 tdd-artifacts/bench/head-prepare.log || true
126+ } > tdd-artifacts/bench/error.log
121127 else
122128 suites=(
123129 "udp_taskpool_core|BenchmarkUdpTaskPool$"
You can’t perform that action at this time.
0 commit comments