Open vdemeester opened 6 months ago
It works, always.
Sometimes, especially when creating a PR, it can fail with the following:
[clone-coverage-upload : clone] {"level":"error","ts":1711581650.6748326,"caller":"git/git.go:54","msg":"Error running git [fetch --recurse-submodules=yes origin --update-head-ok --force refs/heads/main:refs/heads/main refs/pull/7808/head:refs/batch/refs/pull/7808/head]: exit status 128\nremote: Repository not found.\nfatal: repository 'https://github.com/$(tasks.split-full-repo-name.results.repoOwner)/$(tasks.split-full-repo-name.results.repoName).git/' not found\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:54\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:145\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:52\nruntime.main\n\truntime/proc.go:204"} [clone-coverage-upload : clone] {"level":"fatal","ts":1711581650.6749718,"caller":"git-init/main.go:53","msg":"Error fetching git repository: failed to fetch [refs/heads/main:refs/heads/main refs/pull/7808/head:refs/batch/refs/pull/7808/head]: exit status 128","stacktrace":"main.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:53\nruntime.main\n\truntime/proc.go:204"}
It doesn't happen consistently so it is probably a race or something in how results are handled. As TaskRun seem
TaskRun
tektoncd/pipeline
See https://github.com/tektoncd/pipeline/pull/7808#issuecomment-2025396683
This might be an issue in tektoncd/pipeline itself, but wanted to track something here as well.
Kubernetes version:
Output of kubectl version:
kubectl version
(paste your output here)
Tekton Pipeline version:
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
tkn version
kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
There is also some report issue (https://github.com/tektoncd/pipeline/pull/8047#issuecomment-2175190268)
Expected Behavior
It works, always.
Actual Behavior
Sometimes, especially when creating a PR, it can fail with the following:
It doesn't happen consistently so it is probably a race or something in how results are handled. As
TaskRun
seemSteps to Reproduce the Problem
tektoncd/pipeline
See https://github.com/tektoncd/pipeline/pull/7808#issuecomment-2025396683
This might be an issue in
tektoncd/pipeline
itself, but wanted to track something here as well.Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'