-
Currently, running separate CI tasks at the same time may intermittently fail, because they race to read/write
/tmp/env
. Fix this by adding$CONTAINER_NAME
to the file name. -
Also, add
$USER
, while touching the line, to allow different users to run the same CI task at the same time. -
Also, skip the git install if there is no need.
ci: Avoid CI failures from temp env file reuse #29441
pull maflcko wants to merge 2 commits into bitcoin:master from maflcko:2402-ci-bugfix- changing 2 files +7 −5-
maflcko commented at 3:16 pm on February 16, 2024: member
-
ci: vary /tmp/env c65fde4831
-
ci: Skip git install if it is already installed
This also avoids the sudo requirement for self-hosted CI runners.
-
DrahtBot commented at 3:16 pm on February 16, 2024: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage
For detailed information about the code coverage, see the test coverage report.
Reviews
See the guideline for information on the review process.
Type Reviewers ACK Sjors, BrandonOdiwuor, hebasto If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
-
DrahtBot added the label Tests on Feb 16, 2024
-
maflcko requested review from Sjors on Feb 16, 2024
-
Sjors approved
-
Sjors commented at 4:07 pm on February 16, 2024: memberACK fa91bf2559d2e839592bf1dc1d423d5fb1c3573e
-
BrandonOdiwuor approved
-
BrandonOdiwuor commented at 6:36 pm on February 16, 2024: contributor
ACK fa91bf2559d2e839592bf1dc1d423d5fb1c3573e
Looks good to me
-
maflcko added this to the milestone 27.0 on Feb 17, 2024
-
in .cirrus.yml:57 in fa91bf2559
54@@ -55,7 +55,7 @@ base_template: &BASE_TEMPLATE 55 << : *FILTER_TEMPLATE 56 merge_base_script: 57 # Unconditionally install git (used in fingerprint_script).
hebasto commented at 3:25 pm on February 19, 2024:This comment got outdated, no?
maflcko commented at 3:42 pm on February 19, 2024:git
is still installed unconditionally, otherwise, it wouldn’t be present, no?Might replace “install” with “require” if I re-touch, or in a follow-up?
hebasto approvedhebasto commented at 3:44 pm on February 19, 2024: memberACK fa91bf2559d2e839592bf1dc1d423d5fb1c3573e.maflcko commented at 9:00 am on February 20, 2024: memberrfm? :)fanquake merged this on Feb 20, 2024fanquake closed this on Feb 20, 2024
maflcko deleted the branch on Feb 20, 2024m3dwards commented at 12:02 pm on February 21, 2024: nonePost merge ACK https://github.com/bitcoin/bitcoin/commit/fa91bf2559d2e839592bf1dc1d423d5fb1c3573e.
I ran multiple CI jobs at the same time and observed the nicer naming in the /tmp directory.
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-24 03:12 UTC
More mirrored repositories can be found on mirror.b10c.me