-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustdoc-ui is failing for my local (stage1) build (was: "I cannot tell which test suites the CI will run") #86366
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
Comments
@jyn514 reports to me that the CI definitely is running tests against The reason I don't see rust/src/ci/docker/host-x86_64/x86_64-gnu-llvm-10/Dockerfile Lines 35 to 52 in 8daad74
So maybe my request for automatically-maintained info in a per-test-suite README is overkill. (But at the same time, it doesn't seem absurd for us to provide it.) |
Can you please post what failure you're seeing? |
I've long wanted us to collect and track which test suites are run on each builder, but we don't currently do that. It would not be too hard to start, but definitely represents a good amount of time investment on the design and implementation. |
Pasted in: https://gist.github.com/pnkfelix/99e0203960c48994c2bf93064b0344c2 Many of the failures seem to be caused by the actual output omitting the expected text "compile fail". @jyn514 hypothesized on Zulip that maybe the test suite has a bug that is causing the wrong binary to be invoked. |
The issue is that the default for I'm not sure how that is usually handled. Maybe add I'm kinda surprised more people haven't reported this, I would assume some people are running these tests locally? EDIT: Oh, and since bootstrap will be bumped soon, it's probably not worth making any changes for these specific errors. |
Almost everyone on the rustdoc team uses |
I am surprised as well! As a data point, I ran into this yesterday naively running |
The |
I saw some local failures when I ran
x.py test src/test/rustdoc-ui
, running against an unmodified checkout.From this, I infer that our CI is not testing that directory, at least not on a x86_64 Linux host.
There are other test suites in a somewhat similar situation, such as
src/test/debuginfo
, where I think we are not testing againstlldb
anywhere in CI (though I do think those tests are exercised againstgdb
, so that's not quite as bad).Anyway, if there is information about which test suites are exercised by the CI and which ones are not, I could not immediately find it.
And it probably would be good to have some way to double-check such things. E.g. a README in each test suite directory that includes some section that says if it not run by CI (and, maybe, for extra credit, if it is run by CI, then list the CI configs that will run that test suite. And then have the bors leave a comment when the entries go stale -- I don't think such a scenario warrants blocking PRs, but nagging comments seem reasonable).
The text was updated successfully, but these errors were encountered: