-
Notifications
You must be signed in to change notification settings - Fork 36.4k
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
ci: Start with clean env #27976
ci: Start with clean env #27976
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Concept ACK |
fa76512
to
fa19161
Compare
Approach ACK |
Split out an easy-to-test bugfix: #28138 . So please review that one first. |
8ec89e0
to
3ebfafb
Compare
No need to have a larger scope than needed. Can be reviewed with --color-moved=dimmed-zebra
This should help to avoid non-determinism.
This fails with: "Error: determining starting point for build: no FROM statement found"
Is this pull just a doc change? This doesn't look like it actually changes anything to start with a clean env. |
Yes, it changes the doc to recommend
|
Oh, was your question "Why didn't you modify ./ci/test_run_all.sh to clear the env?" If yes, the answer would be, to still allow the user to set any or all env vars that can be modified. For example, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK fa15f7e
fa15f7e ci: Remove no longer applicable section (MarcoFalke) fa378be ci: Start with clean env (MarcoFalke) fa8c250 ci: Limit scope of some env vars (MarcoFalke) Pull request description: Starting with a clean `env` should help to avoid non-determinism, such as the one fixed in bitcoin#27739 (comment) ACKs for top commit: dergoegge: utACK fa15f7e Tree-SHA512: 716b264217557b6524dab92d5a2a8d61ecb982dff475bd0cf5a763070b4c5916cd5995e764eb5d67d9cf2428c29d5fc2f42b32941b54c7c3053123ce448171e5
Starting with a clean
env
should help to avoid non-determinism, such as the one fixed in #27739 (comment)