Bug: Pull Request failing testing kabanero 0.2.0 with CouldntGetResource
Closed this issue · 12 comments
Describe the bug
Testing pipe line runs for kabanero 0.2.0. I have a webhook generated in tekton console.
I modified an app to cause a pipeline run to start.
In the tekton console the pipeline run fails with :
Unable to load PipelineRun details: CouldntGetResource
PipelineRun kabanero/web-mon-1571161246 can't be Run; it tries to bind Resources that don't exist: Couldn't retrieve PipelineResource: couldn't retrieve referenced input PipelineResource "web-mon-git-source-1571161246": pipelineresource.tekton.dev "web-mon-git-source-1571161246" not found
If I say rebuild in the tekton console for the failed run the request works and the app gets deployed.
Others have seen this problem also . I don't know if is a timing issue.
We also see the webhook get a 503 and if we redeliver the webhook gets created successfully also.
Not sure if these are related.
To Reproduce
Steps to reproduce the behavior:
Install kabanero.
Create webhook to github.ibm.com.
Cause pull request to happen to create pipeline run.
Pipeline fails sometimes with the resource not found problem.
Expected behavior
Should not be a failure in the run .
--
@tseelbach or @kvijai82 Could one of you take a look and work with Shelton to determine how serious this might be. Three testers have hit this issue in their recent testing.
I discussed with Adam from the Tekton team a couple of weeks back and this was something they were not able to consistently reproduce. It seemed like a timing issue where the pipelinerun did not wait for the resources to be created fully. I thought I saw an update mentioned in the issue saying they might have put in a potential fix for this recently though. We won't be getting the fix in 0.2 though. I can add this to our pipeline troubleshooting guide.
This is the issue in Tekton: tektoncd/experimental#240
@gecock - you can remove the label release-0.2 if you are in agreement.
Yep I agree with Vijai. @kvijai82 Please add it to the troubleshooting guide for now until this gets addressed by Tekton and we can pull it in.
@tseelbach - I have added the labels to get us all to assess the issue with SVT and thereafter we can remove any unnecessary label. SVT would like to get more info on this issue.
@gecock Created a PR for the update to the doc here: kabanero-io/kabanero-pipelines#92
@kvijai82 - Is tektoncd/experimental#240 a dependency required to be completed before we can complete this issue?
tektoncd/experimental#240 fix has a pre-requisite for Tekton pipeline 0.8.0 so will not be merged until after move to the newer version of the pipeline.
Moving it to next release when we can hopefully pick up tekton 0.8.
Issue moved to kabanero-io/kabanero-pipelines #108 via ZenHub