TestFunctional/parallel/License broken during release
Author: nirsCreated Sep 2, 2026Updated Sep 9, 2026
Labelsarea/build-release
This test is always broken during a release since the licenses tarball does is generated by the release job, but we have many steps before the release jobs that create PRs. These PRs always fail the tests during the release.
=== NAME TestFunctional/parallel/License
functional_test.go:2425: (dbg) Non-zero exit: ./minikube-linux-amd64 license: exit status 40 (271.513792ms)
-- stdout --
-- /stdout --
** stderr **
X Exiting due to INET_LICENSES: Failed to download licenses: download request to https://storage.googleapis.com/minikube/releases/v1.39.0/licenses.tar.gz did not return a 200, received: 404
*
╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
│ https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ * Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue. │
│ * Please also attach the following file to the GitHub issue: │
│ * - /tmp/minikube_license_2ca1d638eed7050fab3f25e44b8b061d529be7de_0.log │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
** /stderr **
functional_test.go:2426: command "\n\n" failed: exit status 40
The release flow:
- Build image, create PR to update image version: fail all functional tests
- Build iso, create PR to update iso version: fail all functional tests
- Update version, create PR: fail all functional tests
- Create release, upload licenses tarball: test pass
Testing the license command is important so we don't want to skip the test if the licenses tarball is missing.
Seems that the right way to fix it is to fix the release process so kicbase and iso images are not rebuilt but retagged from latest tested build, and no PR is needed to do the release, so no test can fail during the release.
Source: kubernetes/minikube