Repository navigation
Conversation
The FIPS tests copied clickhouse-operator and metrics-exporter out of the image and ran them on the host. That works only on a Linux amd64 host. They now run in a container of the same image, on the host network, with the directories they read mounted at the same paths, so the tests pass on macOS too. GODEBUG goes to the container only: the image sets GODEBUG=fips140=off, and the docker CLI itself panics under fips140=only. The .go.fipsinfo offset is read in Python instead of readelf. Co-Authored-By: Claude Opus 5.5 <noreply 8000 @anthropic.com>
Under a parallel run the first output line was not always the header, so the header 'name' became a pod name. Use --no-headers and keep only lines that can be names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Slach
added a commit
that referenced
this pull request
Nov 27, 2026
Also proposed in #2175. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The image runs as nobody and cannot read the 0700 temp dir of the test, so the binary failed with permission denied on Linux runners. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
The FIPS e2e tests (030001, 030011, 030015, 030017) copied
clickhouse-operatorandmetrics-exporterout of the image and ran them on the host. That works only on a Linux amd64 host.Changes in
tests/e2e/steps_fips.py:fips_binary_argvruns an extracted binary in a container of the operator image, on the host network, with the directories it reads mounted at the same paths.GODEBUG=fips140=off, so it is emptied unless the test sets it. The docker CLI itself panics underfips140=only, so it is not given that env..go.fipsinfooffset is read in Python instead ofreadelf.Tested locally on macOS (OrbStack,
--native): 030001, 030008, 030011, 030015, 030017 pass.🤖 Generated with Claude Code