-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Unix tests' core-cracking script looks in the wrong place for core dumps #55702
Comments
Tagging subscribers to this area: @tommcdon Issue DetailsEg., from a crash in a unit test run on Linux:
The script we use to run unit tests tries to find any core dump, crack it with gdb, dump all threads' stacks, then make a copy in case it's useful. This is broken, because it's looking in the current directory for the dump, and it's nowadays found in /home/helixbot/dotnetbuild/dumps/. It needs to read core_pattern so it knows to look there. Note, Helix gathers the dump just fine because it uses core_pattern (in fact it set that). It would be nice to fix this so that we also dump some free info in the log. cc fyi @MattGal
|
I think that the most of the RunnerTemplate logic for Unix is outdated and can probably be removed. At least the parts here and the other ones at the bottom of the script. |
Really none of this need be repo specific right? Arcade spoils have any dump cracking logic. |
Exactly. I don't think any of that logic is important for local testing either. |
Would you perhaps be able to open an issue in Arcade pointing to where the logic should go? |
The way dotnet/runtime, more specifically libraries, execute tests is still very much repo specific. I don't think it makes sense to move this into Arcade. IMO we can just remove parts of that code and no one will notice. |
Eg., from a crash in a unit test run on Linux:
The script we use to run unit tests tries to find any core dump, crack it with gdb, dump all threads' stacks, then make a copy in case it's useful. This is broken, because it's looking in the current directory for the dump, and it's nowadays found in /home/helixbot/dotnetbuild/dumps/. It needs to read core_pattern so it knows to look there.
Note, Helix gathers the dump just fine because it uses core_pattern (in fact it set that). It would be nice to fix this so that we also dump some free info in the log.
cc fyi @MattGal
The text was updated successfully, but these errors were encountered: