Bootstrap uses stage 1 artifacts in a stage 2 cross testing context #118918
Labels
A-bootstrap-stages
Area: issues with the meaning of stage numbers
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
I'm building a cross toolchain hosted on x86_64 Linux targeting AArch64 Linux. In order to test this toolchain, I am using the
remote-test-{client,server}
tools to run tests on a remote board. Everything runs fine except for one issue.I noticed that despite running the tests with
--stage 2
, bootstrap (I suppose it's bootstrap doing this) builds stage 1 artifacts and pushes those to the remote test server instead of the stage 2 artifacts.Here is the output of the test command to illustrate:
I know the
localhost
in the test device address is confusing, I'm using a SSH tunnel to access the remote board, it's still running on AArch64 Linux. 😅On the server side I can see that it is indeed the stage 1 artifacts that are being pushed (hashes are the same):
Thing is, I would like to validate the stage 2 artifacts. Any idea how to correct this behavior? Is this a bug in bootstrap (or any of the tools)?
The text was updated successfully, but these errors were encountered: