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: Add pipeline level error and its handling #72945

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PerMac
Copy link
Member

@PerMac PerMac commented May 17, 2024

If a pipeline crashes from an error that is not handled anywhere else, a "Pipeline error" is reported. New log file is added for this level of errors and it has priority when dumped into a report as a reason of failure.

@PerMac
Copy link
Member Author

PerMac commented May 17, 2024

One can try this PR by adding e.g. raise BufferError somewhere in the process, e.g. in https://github.com/zephyrproject-rtos/zephyr/blob/main/scripts/pylib/twister/twisterlib/runner.py#L676

If a pipeline crashes from an error that is not handled
anywhere else, a "Pipeline error" is reported. New log file
is added for this level of errors and it has priority when
dumped into a report as a reason of failure.

Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
@nashif
Copy link
Member

nashif commented Jun 4, 2024

do we still need that?

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.

None yet

4 participants