Skip to content

src/timeout: fix logic marking nodes as "incomplete" #1254

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

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

JenySadadia
Copy link
Collaborator

Do not mark timed-out node as "incomplete" if the result is set to "fail" or "skip".

Fixes: fe42dd5 ("src: timeout: make state transitions more predictable")

Do not mark timed-out node as "incomplete" if the result
is set to "fail" or "skip".

Fixes: fe42dd5 ("src: timeout: make state transitions more predictable")

Signed-off-by: Jeny Sadadia <[email protected]>
@JenySadadia JenySadadia requested a review from a-wai July 15, 2025 09:16
@JenySadadia
Copy link
Collaborator Author

I was investigating baseline jobs with infra issue and came to a scenario where its setup node and child nodes of setup were marked as fail initially, but then the timeout service changed them to "incomplete".

Job node: https://api.kernelci.org/viewer?node_id=686dabcc34612746bbb7c727
Job link: https://lava.ciplatform.org/scheduler/job/1289216

Here are the logs stating setup was in fail state:

INFO:     Callback data uploaded to https://files.kernelci.org/baseline-x86-cip-686dabcc34612746bbb7c727/lava_callback.json.gz
DEBUG: Setup failed for 686dabcc34612746bbb7c727. Transitting job node result: incomplete -> fail

I fixed this in the timeout service.

Copy link
Contributor

@a-wai a-wai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@JenySadadia JenySadadia added this pull request to the merge queue Jul 15, 2025
Merged via the queue into kernelci:main with commit c9e83ac Jul 15, 2025
4 checks passed
@JenySadadia JenySadadia deleted the fix-timeout-service branch July 15, 2025 10:53
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