Repository navigation
Use sipHash128 instead of MD5 to derive attach UUIDs in test 04401 (fails in FIPS builds) - #116023
Merged
Merged
Conversation
`MD5` throws `SUPPORT_IS_DISABLED` ("Function MD5 is not available in FIPS mode")
in OpenSSL FIPS builds, so `attach_uuid` returned an empty string and every
`ATTACH TABLE ... UUID ''` in `04401_url_engine_s3_dispatch_engine_grant` failed
with `CANNOT_PARSE_UUID`. `sipHash128` also returns `FixedString(16)` and is
available in FIPS builds.
Co-Authored-By: Claude Fable 5 <[email protected]>
Contributor
|
Workflow [PR], commit [44f38a6] Summary: ✅ AI ReviewSummaryThis PR replaces Final Verdict
|
This was referenced Oct 12, 2026
alexey-milovidov
pushed a commit
to comino/ClickHouse
that referenced
this pull request
Oct 16, 2026
The test builds the opaque `checksum` string of its Parquet `FILE` tuples with `MD5`, which throws `SUPPORT_IS_DISABLED` at analysis when OpenSSL FIPS mode is enabled. The inserts that write the test files then fail and the whole test fails in the FIPS job, on master too. `sipHash128` has no OpenSSL dependency and no FIPS check and also returns `FixedString(16)`, so the value stays a 32-char hex string. The label prefix is renamed with it. Only the three checksum values in the reference change. Same substitution as ClickHouse#116023. Reported on ClickHouse#123788. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Use
sipHash128instead ofMD5to derive attach UUIDs in the stateless test04401_url_engine_s3_dispatch_engine_grant.The test's
attach_uuidhelper derives deterministic table UUIDs viaSELECT reinterpretAsUUID(MD5(...)). In OpenSSL FIPS buildsMD5throwsSUPPORT_IS_DISABLED("Function MD5 is not available in FIPS mode"), so the helper returns an empty string and everyATTACH TABLE ... UUID ''fails withCANNOT_PARSE_UUID— the test fails deterministically in the FIPS stateless job (which only runs in the private repository's CI, so upstream CI never exercises this path; observed as aCH Inc syncfailure, e.g. on #115286).sipHash128also returnsFixedString(16)and is available in FIPS builds.Related: #115914
Related: #115286
Workflow [PR]
Sync PR [sync-upstream/pr/116023]
Version info
26.9.1.41(included in26.9and later)