Skip to content

feat: add envtest script locally#833

Merged
shubham-sumo merged 5 commits into
mainfrom
envtest-fix
Feb 23, 2026
Merged

feat: add envtest script locally#833
shubham-sumo merged 5 commits into
mainfrom
envtest-fix

Conversation

@shubham-sumo

Copy link
Copy Markdown
Contributor

Summary

Fixes intermittent test failures in CI caused by deprecated envtest binary downloads from Google Cloud Storage.

Problem

Since late January 2026, the operator tests have been failing intermittently with:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Root Cause:
The Makefile was downloading envtest tools from Google Cloud Storage URLs that were deprecated:
https://storage.googleapis.com/kubebuilder-tools/kubebuilder-tools-1.16.4-linux-amd64.tar.gz

Solution

Updated the Makefile to use the local helper/setup-envtest.sh script which:

References

This issue is affecting the entire Kubernetes ecosystem:

@shubham-sumo shubham-sumo requested a review from a team as a code owner February 22, 2026 06:25
@shubham-sumo shubham-sumo merged commit 5988950 into main Feb 23, 2026
8 checks passed
@shubham-sumo shubham-sumo deleted the envtest-fix branch February 23, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants