-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Consider (re?)enabling parallelism for debuginfo tests. #72719
Comments
The other thing I've noticed before but I wasn't sure about, is that there seems to be no skipping of previously-passing tests. |
src/tools/compiletest/src/main.rs says:
This dates back to 2014 (and maybe before but I didn't dig any deeper):
Maybe such old versions of lldb aren't relevant any more. |
Removing that line sure seems to help. The question then is whether it can be removed. @michaelwoerister - you added that, do you recall? I don't know anything about skipping already-passed tests. |
As far as I remember, back in 2014 LLDB tests failed reliably when run in parallel. That was the only reason why we made them run one at a time. If that's not a problem anymore, we should run them in parallel, yes. For GDB and CDB tests are already running in parallel, right? |
I believe so. |
Debuginfo tests are serialized due to some older version of LLDB. However, that comment was last touched in 2014, so presumably these older versions are long since obsolete. Partially fixes bug rust-lang#72719.
Re-enable parallel debuginfo tests Debuginfo tests are serialized due to some older version of LLDB. However, that comment was last touched in 2014, so presumably these older versions are long since obsolete. Partially fixes bug rust-lang#72719.
I think this already happens, since I see this
|
I think I fixed this back in #68391 (the spurious hash mismatch mentioned in the pull request description). |
Re-enable parallel debuginfo tests Debuginfo tests are serialized due to some older version of LLDB. However, that comment was last touched in 2014, so presumably these older versions are long since obsolete. Partially fixes bug rust-lang#72719.
I think this is fixed now. |
AFAICT debuginfo tests are way slower than other kinds of tests due to being executed sequentially (I haven't properly checked the source but I couldn't see many threads in
htop
and it looked sequential).This is especially noticeable on machines with 16 or more hardware threads, where other test suites make visible progress at significantly faster rates.
The text was updated successfully, but these errors were encountered: