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

twister: exception handling for FileNotFoundError when running binary #72892

Closed
wants to merge 1 commit into from

Conversation

PerMac
Copy link
Member

@PerMac PerMac commented May 16, 2024

If the binary is not existing twister won't report such case as error. This patch fixes this.

fixes: #72807

If the binary is not existing twister won't report such case as error.
This patch fixes this.

fixes: zephyrproject-rtos#72807

Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
@arbrauns
Copy link
Contributor

I don't think this is a solid solution. Anything that completely kills the runner should result in an error, not just an exception in this specific place. Where was the stack trace being emitted in this case? That's where e.g. an exit status should be set accordingly.

@PerMac
Copy link
Member Author

PerMac commented May 17, 2024

closed in favor of #72893

@PerMac PerMac closed this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lots of twister errors in CI that don't get reported as failures
4 participants