-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display init container error message #5645
Comments
/assign @cugykw |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'm having this issue and I can't figure out how to resolve it, sometimes my jobs fail because something happened in the init container steps and the only output I get is "build failed for unspecified reasons". Is this fixed in fewer issues or is there a workaround? |
@AeroNotix I'm sorry to hear you're experiencing this issue. |
Using v0.33.2. Aware this isn't the absolute latest but I want to avoid just blindly updating things unless I know it is actually going to improve any thing. |
Sure, I understand. Do you have a reproducer for the issue that could be tried on a more recent version, to check if the issue still exists? We would not be able to produce a fix for that version, but if the issue still exists, it could be fixed on a newer version. See which versions we support: https://github.com/tektoncd/pipeline/blob/main/releases.md |
I don't particularly have a task spec that I can hand that will reproduce this but the job runs successfully 999 times out of 1000, except when we attempt to launch several tasks concurrently. Typically this task is ran on-demand by humans however we have automation which launches this same task with varying parameters without human intervention. For whatever reason it is only these tasks which fail, when attempting to launch the task again manually with the exact same parameters - it fails with the above error. |
Expected Behavior
When an error occurs in the init container in the pod associated with taskrun, the error message can be clearly displayed.
Actual Behavior
An error occurred in the init container injected by webhook, causing the pod to end. TaskRun
status shows a message
build failed for unspecified reasons
.taskrun status:
pod status:
Steps to Reproduce the Problem
1.Inject a failing init container into the pod associated with taskrun.
Additional Info
kubernetes: 1.21.3
pipeline version: 0.37.3
The text was updated successfully, but these errors were encountered: