Skip to content

Add a timeout at the pod level to prevent it running forever #1296

@ravanelli

Description

@ravanelli

Jobs can run indefinitely and block other releases when the cosa pod fails to start or hangs. We recently had a release job running for ~5 days, requiring manual intervention to unblock the pipeline. We should introduce a timeout mechanism to prevent this issue to happen again.

We should add a timeout argument to cosaPod (default: 24h).
https://github.com/coreos/coreos-ci-lib/blob/main/vars/cosaPod.groovy
Override the timeout for debugpod jobs, which may legitimately need longer execution times.

Metadata

Metadata

Assignees

Labels

jiraFor syncing to JIRA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions