-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
testsystem: original error lost if a worker response results in a deserialization error on node 1 #20230
Comments
this isn't a new problem, so while it sucks it's not release-blocking |
Closing this as #20276 handled the primary concern. Please reopen if anyone feels we should still print errors on the workers in any case. |
What does this look like now, is it still an undefvarerror just now without deserialization issues? I do think it would be worth showing better error info here than an undefvarerror. |
When a test fails, we should be able to see exactly what failed and exactly where it failed. Until both of those are true there's still work to do here. |
It actually shows the actual exception type and call stack from the remote node. Not the exception object itself since that couldn't be deserialized.
The resultant UndefVarError on the calling node is available too. If you wrap the above call in a try-block, the error can be retrieved from |
what does the remotecall stacktrace equivalent look like when it comes from a test failure? 20277 is more general, this issue is about the testsystem consequences |
If a testset executed on a worker captures an exception which, in turn has an embedded type not available on node 1, then the original error and stacktrace is lost. This will also happen if the remote worker happens to throw a custom exception not available in Base. This is because deserialization of the testset result throws an UndefVar error on node 1 and testset result deserialization is aborted.
It may be better to print any errors in the testset on the worker itself. CI logs will then at least have a record of the original error.
Ref : #20027 (comment)
The text was updated successfully, but these errors were encountered: