Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lava_callback.py: Handle failed jobs properly #423

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

nuclearcat
Copy link
Member

As mentioned in kernelci/kernelci-api#474, even if job failed, node still registered as pass, and trying to upload non-existing log file. Fix that, if job is not completed, set node status to incomplete and do not upload log file.

Fixes: kernelci/kernelci-api#474

Depends on: kernelci/kernelci-core#2363

@nuclearcat nuclearcat force-pushed the fix-lava-callback-bad-jobs branch from 24b996b to cd5d35b Compare February 9, 2024 09:13
As mentioned in kernelci/kernelci-api#474,
even if job failed, node still registered as pass, and trying to
upload non-existing log file. Fix that, if job is not completed,
set node status to incomplete and do not upload log file.

Fixes: kernelci/kernelci-api#474

Depends on: kernelci/kernelci-core#2363

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
@nuclearcat nuclearcat force-pushed the fix-lava-callback-bad-jobs branch from cd5d35b to c0ce87f Compare February 9, 2024 09:24
@nuclearcat
Copy link
Member Author

@nuclearcat nuclearcat added this pull request to the merge queue Feb 12, 2024
Merged via the queue into kernelci:main with commit 8b50bf2 Feb 12, 2024
3 checks passed
@nuclearcat nuclearcat deleted the fix-lava-callback-bad-jobs branch February 12, 2024 10:28
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.

Empty test logs, test failures caused by problems in template/job generation
1 participant