-
Notifications
You must be signed in to change notification settings - Fork 4k
roachtest: do not build arm64 and fips if probabilitiy is 0 #157158
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
Conversation
…ies are 0 Previously, even when the probabilities for arm64 and fips builds were set to 0, the nightly roachtest script would still build those variants, which is unnecessary and wasteful. This change modifies the script to skip building arm64 and fips variants when their respective probabilities are set to 0. Epic: none Release note: none
DarrylWong
left a comment
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.
This seems like a fine optimization to make, although I imagine only a very small percentage of runs even touch the default probabilities.
|
Oh I see, I didn't realize the pgo script called the nightly script. SGTM then! |
yeah, it saves almost 2 hours there (building twice). |
|
bors r=DarrylWong |
155872: changefeedccl: fix timestamp for desc fetches during planning r=andyyang890,aerfrei a=log-head When a changefeed is planned and executed, there are several places where target table descriptors are fetched. With a db-level changefeed, the set of tables can change during changefeed startup. Now, the timestamp is set to the schema timestamp for retrieving table descriptors. Adding a schema_ts to the protobuf for ChangeAggregatorSpec and ChangeFrontierSpec. Fixes: #154549 Epic: CRDB-1421 Release note: None 157144: sql: add `ALTER TABLE ... SET/ADD IDENTITY` to the declarative schema… r=shghasemi a=shghasemi … changer This change adds support for `ALTER TABLE ... SET/ADD IDENTITY` to the declarative schema changer. This schema change operation runs using the legacy schema changer in versions older than 26.1. Epic: CRDB-31283 Fixes #142918 Release note (sql change): `ALTER TABLE ... SET/ADD GENERATED AS IDENTITY` is supported by the declerative schema changer in 26.1 or later. 157158: roachtest: do not build arm64 and fips if probabilitiy is 0 r=DarrylWong a=rail Previously, even when the probabilities for arm64 and fips builds were set to 0, the nightly roachtest script would still build those variants, which is unnecessary. This change modifies the script to skip building arm64 and fips variants when their respective probabilities are set to 0. Epic: none Release note: none Co-authored-by: Matthew Lougheed <[email protected]> Co-authored-by: Shadi Ghasemitaheri <[email protected]> Co-authored-by: Rail Aliiev <[email protected]>
|
Build failed (retrying...): |
PR cockroachdb#157158 introduced a conditional build for ARM64 and FIPS architectures based on the metamorphic probability flags. The initial implementation used `bc` to compare floating point, but the command is not available on the TeamCity agents. This patch uses `awk` in place of `bc`. Epic: none Release note: None
157759: roachtest: fix conditional build for arm64 and fips r=herkolategan a=golgeek PR #157158 introduced a conditional build for ARM64 and FIPS architectures based on the metamorphic probability flags. The initial implementation used `bc` to compare floating point, but the command is not available on the TeamCity agents: ``` build/teamcity/cockroach/nightlies/roachtest_nightly_impl.sh: line 39: bc: command not found ``` This patch uses `awk` in place of `bc`. Epic: none Release note: None Co-authored-by: Ludovic Leroux <[email protected]>
Previously, even when the probabilities for arm64 and fips builds were set to 0, the nightly roachtest script would still build those variants, which is unnecessary. This change modifies the script to skip building arm64 and fips variants when their respective probabilities are set to 0.
Epic: none
Release note: none