Skip to content

fatalError in swift_tests executed in RBE produce a trace/BPT trap and no logs right now #1500

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

Open
ed-irl opened this issue Mar 13, 2025 · 0 comments

Comments

@ed-irl
Copy link

ed-irl commented Mar 13, 2025

If a test fatalErrors, it will kill the whole test runner without any logs. Bazel does correctly report a non-0 exit code at least.

In an RBE like BuildBuddy, this produces almost no useful output.

It would be good to wrap the test runner to handle a test process that exits unexpectedly in order to provide log output and other relevant debugging information from the failed test.

There's been a lot of work on the test runner code in rules_swift lately; I'd be interested in working on this but its not clear how such a change would align to the current work in this area. If anyone can give pointers on a design I'd appreciate the feedback.

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

No branches or pull requests

1 participant