Skip to content

CASSANDRA-21523 jenkins shouldn't retry on fail-fast exceptions#4939

Open
michaelsembwever wants to merge 1 commit into
apache:cassandra-5.0from
thelastpickle:mck/jenkins-fail-fast-dont-retry/5.0
Open

CASSANDRA-21523 jenkins shouldn't retry on fail-fast exceptions#4939
michaelsembwever wants to merge 1 commit into
apache:cassandra-5.0from
thelastpickle:mck/jenkins-fail-fast-dont-retry/5.0

Conversation

@michaelsembwever

@michaelsembwever michaelsembwever commented Jul 15, 2026

Copy link
Copy Markdown
Member

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

 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
@michaelsembwever michaelsembwever changed the title jenkins shouldn't retry on fail-fast exceptions CASSANDRA-21523 jenkins shouldn't retry on fail-fast exceptions Jul 15, 2026
Comment thread .build/run-ci

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))

@netudima netudima Jul 15, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: it looks like we do not use a timeout, so technically it can be an infinite loop

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes.  not perfect, but better than what it was.  it can hang for legitimate failures, so ctl-c is not unusual here anyway…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants