-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Bootstrap test ci_rustc_if_unchanged_logic fails locally #138239
Comments
The error message is pretty clear and it should never trigger when you have changes on compiler or library tree. I tried to reproduce it by adding dummy commit on compiler tree but |
Hm, the following exact steps fail for me:
Does that not fail for you? |
That failed, yeah. I think the reason is that we allow using ci-rustc in non-CI environments when the library changes but the compiler doesn't (to make library development easier). I will stabilize the test and send a fix PR in couple minutes. |
If you can confirm that #138245 fixes this issue, that would be great. |
Yea, that works, thanks! |
…eyouxu stabilize `ci_rustc_if_unchanged_logic` test for local environments Fixes rust-lang#138239
…eyouxu stabilize `ci_rustc_if_unchanged_logic` test for local environments Fixes rust-lang#138239
…eyouxu stabilize `ci_rustc_if_unchanged_logic` test for local environments Fixes rust-lang#138239
…eyouxu stabilize `ci_rustc_if_unchanged_logic` test for local environments Fixes rust-lang#138239
…eyouxu stabilize `ci_rustc_if_unchanged_logic` test for local environments Fixes rust-lang#138239
Summary
The test
ci_rustc_if_unchanged_logic
fails if you are working on a branch that has any changes to library or compiler with:This makes it difficult to run tests locally. For example, running the
x86_64-gnu
docker image fails with this message.I'm not entirely clear how this test works in CI, but it would be helpful if it didn't fail for local testing.
Command used
./x test bootstrap
or
Expected behaviour
Command should pass.
Actual behaviour
Test fails.
Bootstrap configuration (config.toml)
No config (use all defaults), or use the config in the x86_64-gnu image.
Operating system
Any
HEAD
39d5d92
The text was updated successfully, but these errors were encountered: