CASSANDRA-21523 jenkins shouldn't retry on fail-fast exceptions#4939
Open
michaelsembwever wants to merge 1 commit into
Open
CASSANDRA-21523 jenkins shouldn't retry on fail-fast exceptions#4939michaelsembwever wants to merge 1 commit into
michaelsembwever wants to merge 1 commit into
Conversation
To jenkins k8s add ephemeral-storage limits to agents and log peak disk usage Agents were being evicted at the node level due to missing ephemeral-storage requests/limits and no sizeLimit on the /var/lib/docker emptyDir. Also extract inline sh blocks to functions for readability
netudima
reviewed
Jul 15, 2026
|
|
||
| def wait_for_jenkins_http(ip: str, timeout: int = 300): | ||
| host, port = (ip.rsplit(":", 1)[0], int(ip.rsplit(":", 1)[1])) if ":" in ip else (ip, 80) | ||
| spin_while(f"Waiting for Jenkins HTTP at {host}:{port}… ", lambda: _tcp_connect_ok(host, port)) |
Contributor
There was a problem hiding this comment.
nit: it looks like we do not use a timeout, so technically it can be an infinite loop
Member
Author
There was a problem hiding this comment.
yes. not perfect, but better than what it was. it can hang for legitimate failures, so ctl-c is not unusual here anyway…
netudima
approved these changes
Jul 16, 2026
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.
https://issues.apache.org/jira/browse/CASSANDRA-21523
To jenkins k8s add ephemeral-storage limits to agents and log peak disk usage
Agents were being evicted at the node level due to missing ephemeral-storage requests/limits and no sizeLimit on the /var/lib/docker emptyDir.
Also extract inline sh blocks to functions for readability