Commit Graph

17 Commits (ae87c281a8e7fc2b75b51b9613ab89640fed3216)

Author SHA1 Message Date
Nir Soffer ce0ab00360 Update Kubernetes versions
We use constants.OldestKubernetesVersion for testing the oldest version
and limiting --kubernetes-version when starting the clusters. Our
tradition is testing 6 releases back from current version, but we were
testing 14 release back (1.20.0).

For upgrading containerd to latest version (v2.1.4) we need to upgrade
to a newer release. Upgrade constants.OldestKubernetesVersion to 1.28.0
which seems to pass all tests.

legacyVersion() used in version_upgrade_test.go was 1.26.0. The comment
in file mention that this should be release from the last 6 month. We do
see failures in the relevant tests (TestRunningBinaryUpgrade) in many
builds so I bumped it as well to 1.32.0 (2 releases back from current).

In preload_test.go we tested --kubernetes-version=1.24.4 which is not
compatible with containerd v2. Use legacyVersion() instead so we don't
need to maintain another version.

We had many example of --kubernetes-version in the docs using older
version which are not supported. Replace all example with current
version to minimize future maintenance. We need to automated this later
so updating the version in minikube will also update the examples.

With this change we have 2 places to update kubernetes versions:
- constants.*KubernetesVersion
- legacyVersion()
2025-09-04 20:42:12 +03:00
Predrag Rogic 4da3cedc84
Fix KVM driver (tests) timeouts (#20852)
* Fix KVM driver tests timeouts

Rewrite KVM driver waiting logic for domain start, getting ip address
and shutting domain down. Add more config/state outputs to aid future
debugging.

Bump go/libvirt to v1.11002.0 and set the minimum memory required for
running all tests to 3GB to avoid some really weird system behaviour.

* revert reduction of timelimit for TestCert tests run

* set memory and debug output in TestNoKubernetes tests

* extend kvm waitForStaticIP timeout

* add console log to debug output

* Updating ISO to v1.36.0-1748823857-20852

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-06-03 15:07:48 -07:00
Steven Powell f78b0cbe6a TestPreload: Fix image list with cri-o CRI 2023-06-08 12:31:13 -07:00
Predrag Rogic f040f00199
tweak tests 2023-01-05 00:52:57 +00:00
Predrag Rogic f3b3d4e07c
try to fix couple of more things 2022-12-27 04:27:48 +00:00
Steven Powell 113d61471a enable TestPreload for arm64 2022-10-04 09:59:38 -07:00
Steven Powell 1aa1f04e9b remove old build tags 2022-03-30 16:43:29 -07:00
Steven Powell 0482478665 use minikube's own busybox image 2021-12-21 11:58:24 -08:00
Steven Powell 145f9fc9ab run `go fmt` 2021-09-13 11:58:43 -07:00
Sharif Elgamal 0ed5b13995 add docs for all integration tests and generate docs with them 2021-04-16 13:42:41 -07:00
Priya Wadhwa 74161d674b Fix TestPreload on containerd 2021-02-09 11:20:21 -08:00
Ilya Zuyev 61157c0e56 Add GH issue link to output if a test is skipped on arm64 2021-01-14 11:50:56 -08:00
Ilya Zuyev d11149d7f6 make Arm64Platform private 2021-01-14 10:51:57 -08:00
Ilya Zuyev 05bc271ef8 Fix arch related checks 2020-12-16 18:13:13 -08:00
Thomas Stromberg 2868c7981b Run 'minikube logs' when sub-tests fail, remove some extraneous logging 2020-05-08 13:12:30 -07:00
Priya Wadhwa e3b6ba06e1 fix lint 2020-04-17 11:59:27 -07:00
Priya Wadhwa 9319a6a3a2 Move preload tests into preload_test.go for better organization 2020-04-16 12:30:41 -07:00