-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Remote builds randomly timeout: hit 27s timeout running '/usr/bin/git fetch --depth=1 origin master' #3742
Comments
@VackarAfzal this is the code that does this -- may be an opportunity to add in a PR to override this cause its suboptimal to not be able to override it. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-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. |
Adding |
@daxmc99 how to specify this timeout variable. can you please give a sample example? |
This is an Airbyte example, where the apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/airbytehq/airbyte.git/kube/overlays/stable?ref=master&timeout=90s |
Cloning https://github.com/stolostron/multicloud-operators-foundation.git during `kubectl apply --kustomize` can fail with a timeout when using slow network: $ kubectl apply -k test/addons/ocm-controller --context hub error: accumulating resources: accumulation err='accumulating resources from 'https://github.com/stolostron/multicloud-operators-foundation.git/deploy/foundation/hub/overlays/ocm-controller?ref=main': URL is a git repository': hit 27s timeout running '/usr/bin/git fetch --depth=1 https://github.com/stolostron/multicloud-operators-foundation.git main' Turns out that the way to increase the timeout is to add a `timeout` query parameter[1]. Use 300 seconds to avoid random failures when using poor network. [1] kubernetes-sigs/kustomize#3742 Signed-off-by: Nir Soffer <nsoffer@redhat.com>
When running a build on an overlay containing multiple remote components, I randomly get timeouts
Expected output
Should build the overlay as expected
Actual output
Sometimes builds, but sometimes fails with this error message
Kustomize version
Platform
Additional context
I upgraded from 2.x to 4.x then saw this behaviour appear
The text was updated successfully, but these errors were encountered: