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
./bin/setup-envtest use never completes and is stuck while trying to fetch some yaml. The regression might have occurred recently (after 23rd May).
Repro Steps:
The steps are typically the same as present in the Makefile of Kubebuilder
OS: Have tested on both darwin AARCH 64 (Mac M1) and Linux AMD64 (Ubuntu VM). The issue reproes in both OS-CPU.
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
setup-envtest use 1.30.0 -v debug
And, step 2 never completes. Debug logs below:
$./bin/setup-envtest use 1.30.0 -v debug
2024-05-25T21:11:38.806+0530 DEBUG setup [email protected]/main.go:89 using binaries directory {"dir": "/Users/nascarsayan/Library/Application Support/io.kubebuilder.envtest"}
2024-05-25T21:11:38.807+0530 DEBUG setup [email protected]/main.go:104 using HTTP client {"index": "https://raw.githubusercontent.com/kubernetes-sigs/controller-tools/HEAD/envtest-releases.yaml"}
2024-05-25T21:11:38.807+0530 DEBUG use store/store.go:76 ensuring base binaries dir exists
2024-05-25T21:11:38.807+0530 DEBUG storage-client remote/http_client.go:187 listing versions {"index": "https://raw.githubusercontent.com/kubernetes-sigs/controller-tools/HEAD/envtest-releases.yaml"}
2024-05-25T21:11:38.966+0530 DEBUG fetch env/env.go:300 writing downloaded archive {"path": "/var/folders/dk/sqxhj3w101l3l1fmss9thqvr0000gn/T/540023570-envtest-v1.30.0-darwin-arm64.tar.gz"}
2024-05-25T21:11:38.966+0530 DEBUG storage-client remote/http_client.go:187 listing versions {"index": "https://raw.githubusercontent.com/kubernetes-sigs/controller-tools/HEAD/envtest-releases.yaml"}
The text was updated successfully, but these errors were encountered:
nascarsayan
changed the title
setup-envtest is stuck and fails to download any envtest version
setup-envtest is stuck and fails to download any k8s version
May 25, 2024
Hi @sbueringer , it looks like an intermittent network connectivity issue that I had encountered at that point of time. I had tried from several different networks, but it was getting stuck while downloading the file. It looks to be working now.
Issue:
./bin/setup-envtest use
never completes and is stuck while trying to fetch some yaml. The regression might have occurred recently (after 23rd May).Repro Steps:
The steps are typically the same as present in the Makefile of Kubebuilder
OS: Have tested on both darwin AARCH 64 (Mac M1) and Linux AMD64 (Ubuntu VM). The issue reproes in both OS-CPU.
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
setup-envtest use 1.30.0 -v debug
And, step 2 never completes. Debug logs below:
The text was updated successfully, but these errors were encountered: