Skip to content

Explore adding a reproducibility test to rust test infrastructure.#139793

Open
biabbas wants to merge 3 commits intorust-lang:mainfrom
biabbas:reproducible
Open

Explore adding a reproducibility test to rust test infrastructure.#139793
biabbas wants to merge 3 commits intorust-lang:mainfrom
biabbas:reproducible

Conversation

@biabbas
Copy link
Copy Markdown
Contributor

@biabbas biabbas commented Apr 14, 2025

Fixes #75362
Trying to add a reproducibility check on rust infrastructure itself to detect reproducibility issues.
These were the issues encountered till now:

  1. On ci only nightly build is supported because of an issue here: https://github.com/rust-lang/rust/blob/master/src/build_helper/src/git.rs#L143
  2. Because this is a nightly build, llvm is built from sources. So space was an issue. This was resolved by deleting the copy of source and all build contents except for stage1 artifacts.

Questions:

  1. The check takes about 5hours to complete for now. Is this sustainable for each pr?
  2. Can we add this as a post merge workflow?
    This is also related to issue: Rust reproducibility issue - Finding the proper fix #134589

Zulip discussion thread:
#t-infra > Add reproducibility check to detect reproducibility issues

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI for deterministic / reproducible builds

6 participants