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

Params: better error logging on constructor #29954

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Params: better error logging on constructor #29954

merged 3 commits into from
Sep 18, 2023

Conversation

jnewb1
Copy link
Contributor

@jnewb1 jnewb1 commented Sep 17, 2023

Seems like the recent CI unittest failures are something with the nonblocking params write. Unclear what the exact cause is, but this will at least allow us to see the errors. Currently if you get an exception in the C params implementation, it causes a fatal python error that seems to totally break pytest and causes the timeout

Before this change: fatal python error on runtime error:
https://github.com/commaai/openpilot/actions/runs/6216166456/job/16869754995#step:5:80

After: doesn't crash pytest and cause a timeout anymore, just shows a failed test:
https://github.com/jnewb1/openpilot/actions/runs/6210296847/job/16860422338#step:5:161

@jnewb1 jnewb1 changed the title Params: better error logging Params: better error logging on constructor Sep 17, 2023
@jnewb1 jnewb1 marked this pull request as ready for review September 18, 2023 00:09
@adeebshihadeh adeebshihadeh merged commit 8aad975 into commaai:master Sep 18, 2023
@jnewb1 jnewb1 deleted the params-except-handle branch September 19, 2023 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants