Skip to content

Fix: Ungracefull error handling of benchmark run failures - #569

Merged
rli9 merged 1 commit into
intel:masterfrom
Suneeth-D:graceful_exit
Sep 29, 2026
Merged

rli9 merged 1 commit into
intel:masterfrom
Suneeth-D:graceful_exit

Conversation

@Suneeth-D

@Suneeth-D Suneeth-D commented Sep 28, 2026 •

Copy link
Copy Markdown

Few microbenchmarks when fails to run because of unmet machine requirements exit without running, but lkp just exits without handling it gracefully.

With this patch lkp returns a non-zero exit status on such scenarios and handle gracefully with appropiate error messages.

Before the patch:

$ lkp run ./autonuma-benchmark-8x-numa02SMT_numa01THREAD_ALLOC.yaml
2026-09-28 06:09:48 cd /lkp/benchmarks/autonuma-benchmark
Abort: This machine has less than 2 nodes.
Autonuma run failed, check result log
$echo $?
0

After the patch:

$ lkp run ./autonuma-benchmark-8x-numa02SMT_numa01THREAD_ALLOC.yaml
2026-09-28 06:12:36 cd /lkp/benchmarks/autonuma-benchmark
Abort: This machine has less than 2 nodes.
Autonuma run failed, check result log
$echo $?
99

Few microbenchmarks when fails to run because of unmet machine
requirements exit without running, but lkp just exits without handling
it gracefully.

With this patch lkp returns a non-zero exit status on such scenarios and
handle gracefully with appropiate error messages.

Signed-off-by: Suneeth D <Suneeth.D@amd.com>
@rli9
rli9 merged commit af1168d into intel:master Sep 29, 2026
@rli9

rli9 commented Sep 29, 2026

Copy link
Copy Markdown

Thanks for the patch

@Suneeth-D
Suneeth-D deleted the graceful_exit branch September 29, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants