You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a workflow attempts to use an image that does not exist or that the workflow does not have access to it prints out a generic error "Executing the custom container implementation failed. Please contact your self hosted runner administrator." This error is not descriptive enough for users without additional logs from the runners.
This PR updates the error messages in these cases. If the container failed due to a container error it outputs the error.
+1 — we hit this. Users running into private-registry-403 or non-existent-tag see only:
##[error]Error: pod failed to come online with error: <timeout>
##[error]Executing the custom container implementation failed. Please contact your self hosted runner administrator.
The actual containerStatuses[].state.waiting.{reason,message} (carrying ImagePullBackOff and the upstream daemon's 403 / manifest-not-found body) is invisible until an operator runs kubectl describe against a pod that's usually already been pruned. This PR is the right shape and would close that gap.
(For pod-events-driven failures like FailedScheduling: Too many pods — a different K8s resource — I'm filing a separate issue: a sibling enrichment in waitForPodPhases's timeout path. Linked once filed.)
Would be great to have this improvement , the info is a key to help user self-solve the failed workflow when provided a wrong image @nikola-jokic please
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
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.
When a workflow attempts to use an image that does not exist or that the workflow does not have access to it prints out a generic error "Executing the custom container implementation failed. Please contact your self hosted runner administrator." This error is not descriptive enough for users without additional logs from the runners.
This PR updates the error messages in these cases. If the container failed due to a container error it outputs the error.