Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

Evicted builds can be retried #274

Open
smarterclayton opened this issue Feb 19, 2019 · 1 comment
Open

Evicted builds can be retried #274

smarterclayton opened this issue Feb 19, 2019 · 1 comment

Comments

@smarterclayton
Copy link
Contributor

If a build fails with:

status:
  message: 'Pod The node was low on resource: [DiskPressure]. '
  phase: Failed
  reason: Evicted
  startTime: 2019-02-19T02:02:50Z

the build can be restarted by the next caller. It does not currently.

@smarterclayton
Copy link
Contributor Author

We can also report that the pod was evicted by looking at the pod reason

2019/02/19 05:36:53 Build hypershift failed, printing logs:
2019/02/19 05:36:53 error: Unable to retrieve logs from failed build: build hypershift is in an error state. No logs are available.
2019/02/19 05:36:54 Build hyperkube failed, printing logs:
2019/02/19 05:36:54 error: Unable to retrieve logs from failed build: build hyperkube is in an error state. No logs are available.
2019/02/19 05:36:54 Build cli failed, printing logs:
2019/02/19 05:36:54 error: Unable to retrieve logs from failed build: build cli is in an error state. No logs are available.
2019/02/19 05:36:56 Build node failed, printing logs:
2019/02/19 05:36:56 error: Unable to retrieve logs from failed build: build node is in an error state. No logs are available.
2019/02/19 05:36:56 Build template-service-broker failed, printing logs:
2019/02/19 05:36:56 error: Unable to retrieve logs from failed build: build template-service-broker is in an error state. No logs are available.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant