Skip to content

Disable aws-lc-sys jitter entropy to avoid startup SIGABRT - #6776

Merged
blp merged 1 commit into
mainfrom
disable-jitter-entropy
Jul 31, 2026
Merged

Disable aws-lc-sys jitter entropy to avoid startup SIGABRT#6776
blp merged 1 commit into
mainfrom
disable-jitter-entropy

Conversation

@blp

@blp blp commented Jul 30, 2026

Copy link
Copy Markdown
Member

CPU Jitter Entropy's health check can fail on freshly-started VMs/containers (timing signal too regular in the first seconds of process life), which aws-lc treats as fatal and abort()s with no stderr output. This has been crashing pipelines and coordinators seconds after startup during the first TLS handshake, matching aws-lc-rs#1072.

Set AWS_LC_SYS_NO_JITTER_ENTROPY=1 in .cargo/config.toml for CI/local builds, and explicitly in the pipeline compiler's cargo invocation, which env_clear()s and needs it forwarded separately since it builds the pipeline binary that actually hits the abort.

Fixes: https://github.com/feldera/cloud/issues/1845

CPU Jitter Entropy's health check can fail on freshly-started VMs/containers
(timing signal too regular in the first seconds of process life), which
aws-lc treats as fatal and abort()s with no stderr output. This has been
crashing pipelines and coordinators seconds after startup during the first
TLS handshake (#1845), matching aws-lc-rs#1072.

Set AWS_LC_SYS_NO_JITTER_ENTROPY=1 in .cargo/config.toml for CI/local builds,
and explicitly in the pipeline compiler's cargo invocation, which env_clear()s
and needs it forwarded separately since it builds the pipeline binary that
actually hits the abort.

Fixes: feldera/cloud#1845

Signed-off-by: Ben Pfaff <blp@feldera.com>
@blp
blp requested a review from gz July 30, 2026 22:46
@blp blp self-assigned this Jul 30, 2026
@blp blp added bug Something isn't working CI/CD labels Jul 30, 2026
@blp
blp added this pull request to the merge queue Jul 30, 2026
@gz

gz commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

thanks this makes sense, I was thinking we should also try to upgrade since the latest fips module finally can be linked dynamically so we dont need to build it ourselves we can do it in a follow up PR

@blp

blp commented Jul 30, 2026

Copy link
Copy Markdown
Member Author

thanks this makes sense

It doesn't make sense that Amazon, a company that famously rents VMs, would build a library that tends to fail in VMs

@mythical-fred mythical-fred left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Merged via the queue into main with commit 6e8ecec Jul 31, 2026
1 check passed
@blp
blp deleted the disable-jitter-entropy branch July 31, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants