Commit graph

372 commits

Author SHA1 Message Date
Derek Nola
eb991b23eb
Bump mirrored-pause to 3.10.2 (#14339) (#14392)
* Bump to 3.10.2

---------

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-10 14:42:16 -07:00
Derek Nola
6c4d31d5ce Provide GOCOVERDIR to kubectl for E2E tests on GHA host
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-07-06 12:11:25 -07:00
Derek Nola
b1a9339db2 Bump timeout on split-role etcd startup
Some checks failed
govulncheck / govulncheck (push) Has been cancelled
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
e40ea68d0c update supported E2E linux OSes
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
34bea5ca72 Make spegel test dualstack
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Derek Nola
f2f3527c01 Add docker scale test for large CNCF runners
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-10 16:11:02 -07:00
Amaan Ul Haq Siddiqui
7f0f2f2a97 test(kubeflags): add K3sCleanup between server restarts to fix flake
Signed-off-by: Amaan Ul Haq Siddiqui <amaanulhaq.s@outlook.com>
(cherry picked from commit ddf4dc023a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-10 15:20:09 -07:00
Brad Davidson
4ae508e031 Add T4 tests
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit b5bddd5689)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-03 14:52:45 -07:00
Derek Nola
846958b504 Fix postgres DB container args for nightly conformance (#13069)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-06-03 14:52:45 -07:00
Brad Davidson
69ba464e00 Fix kine metrics registration
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit ad2fa9df0c)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-03 14:52:45 -07:00
Elysia
6a2fed179f Fix token delete argument handling
Signed-off-by: Elysia <148540043+elysia090@users.noreply.github.com>
(cherry picked from commit decbab618f)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-03 14:52:45 -07:00
Eran Markus
d480847f4e Use 0600 permissions for compressed etcd snapshots
Signed-off-by: Eran Markus <eran132@gmail.com>
(cherry picked from commit 7d638a23fa)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-06-03 14:52:45 -07:00
Brad Davidson
35e4874312 Fix docker dualstack test
Wait for nodes and pods to be ready before checking IPs

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit d8637ff8df)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-05-13 15:44:07 -07:00
Brad Davidson
fa6e2c6de9 Fix embedded excutor VPN config injection
Allow the executor to modify node config before certs are generated, and use this to add VPN node IPs to kubelet serving cert

(cherry picked from commit f891548e32)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-04-15 11:20:38 -07:00
Brad Davidson
c6174920a1 Fix S3 test
Also pin the s3mock version to avoid future unexpected breaking changes

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit aaf780aaf5)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-04-15 11:20:38 -07:00
Brad Davidson
5381978123 Update packages to remove dep on archived github.com/pkg/errors
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 3acf8db8f2)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-03-11 18:07:57 -07:00
Ada
fdcc754e72 Add nix-snapshotter integration test
Docker-based integration test that verifies nix-snapshotter works
with k3s. The test builds a nix hello image, starts k3s with
--snapshotter nix, pulls the image via nix:0 ref, and runs it as
a pod, verifying "Hello, world!" output.

Signed-off-by: Ada <ada@6bit.com>
Co-Authored-By: Joshua Perry <josh@6bit.com>
Signed-off-by: Ada <ada@6bit.com>
(cherry picked from commit 20c02eda5a)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-03-11 18:07:57 -07:00
Brad Davidson
58c8edf69e Improve resilience of datastore bootstrap reconcile from etcd
Some checks are pending
govulncheck / govulncheck (push) Waiting to run
* Add store tests with fixtures
* Try connecting to local etcd first, if it is available
* Handle panics from etcd backend code
* Don't try to read WAL and restore v3 snapshots as they almost never exist

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit d300004f29)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-02-26 13:14:02 -08:00
Derek Nola
79bb336a5d Fix rootless test to work with -local flag
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-26 13:02:02 -08:00
Derek Nola
b06994d6be Bump rancher/systemd-node version for docker tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-26 13:02:02 -08:00
Derek Nola
346c832a18 Fix support for E2E commit installs
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-26 13:02:02 -08:00
Derek Nola
1c29661143 Update install tests with new images, add alma10 (#13489)
* Update install tests with new images, add alma10

Signed-off-by: Derek Nola <derek.nola@suse.com>

* Stop running each provisioning step individually for install tests

Signed-off-by: Derek Nola <derek.nola@suse.com>

---------

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-05 13:39:23 -08:00
Brad Davidson
c302ad3839 Update longhorn version in integration test from v1.4.0 to v1.10.1
Manifest from https://raw.githubusercontent.com/longhorn/longhorn/v1.10.1/deploy/longhorn.yaml - with modifications to use rancher-mirrored images to avoid image pull rate limits, and allow operation on a node with fewer resources.

Also adds more log dumping on integration test failure.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 9587f67dd1)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-09 22:36:23 -08:00
Brad Davidson
3c291d0976 Add tests for etcd local reconcile
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit ae59cd0173)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-09 22:36:23 -08:00
Derek Nola
edbb1390be Fix upgrade test eventually
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-01-05 13:47:59 -08:00
Derek Nola
109c809ec9 Allow k3s secrets-encrypt enable on existing clusters
- Places an identity provider as a setup to enable later encryption
- Update secrets-encryption test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-01-05 13:47:59 -08:00
Derek Nola
7f4b545b2c Bump rancher/systemd-node to v0.0.7 (SLES 16.0)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-01-05 13:47:59 -08:00
Derek Nola
aae99fc7f4 Use Get, not Head for channel page
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-30 10:22:55 -08:00
Derek Nola
6d23fb9a23 Replace legacy ReplicationController with Deployment
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-30 10:22:55 -08:00
Derek Nola
26e4aa7d89 Expand docker upgrade test, sunset E2E upgrade test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-30 10:22:55 -08:00
Brad Davidson
5d5253d26c Fix inconsistent curl flags in tests
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit d337570de1)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Brad Davidson
2112c436c0 Move embed into separate package from executor
Better isolates the K3s implementation from the interface, and aligns
the package path with other projects executors. This should also remove
the indirect flannel dep from other projects that don't use the embedded
executor.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit c3ca02aa75)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Brad Davidson
bfea08f73e Move CNI execution into executor
Allows properly delegating CNI startup to executor, so that it can be plugged in as platform and distro specific implimentation without relying on cli flag hacks

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit ec3cc04214)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Derek Nola
002eb284e9 Move from ranchertest to mirrored-busybox
Signed-off-by: Derek Nola <derek.nola@suse.com>
(cherry picked from commit 0d39c86b5c)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Derek Nola
434dbdc7f7 Fix naming convention for docker test import
Signed-off-by: Derek Nola <derek.nola@suse.com>
(cherry picked from commit cd08e731f6)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Derek Nola
3543a6ed49 Consolidate RunCommand between Docker and E2E tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
(cherry picked from commit 572cc8e2bf)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Brad Davidson
6a09e80a3e Remove remaining references to drone
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 96ed4393c1)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Brad Davidson
010fdfc9a7 Use docker containerd snapshotter for stable image digests
The legacy Docker snapshotter flattens application/vnd.docker.distribution.manifest.v2+json manifests to application/vnd.oci.image.manifest.v1+json when saving. Switching to the containerd snapshotter allows us to keep the original manifest digest when pulling and saving image tarballs.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 74088f5175)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Brad Davidson
5e223db567 Add test for sharing imported images by digest
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit af441c29a0)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Derek Nola
e3254d1d40 Add docker dualstack test (#13070)
Signed-off-by: Derek Nola <derek.nola@suse.com>
(cherry picked from commit cfcc9ef65e)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:51:26 -08:00
Thomas Ferrandiz
f5699c47ff Add multus e2e test
We test that a basic deployment of the latest multus chart works
correctly.

Signed-off-by: Thomas Ferrandiz <thomas.ferrandiz@suse.com>
2025-11-26 09:39:21 +00:00
Xelus22
939b5410d1
update busybox image version to 1.37.0 (#13240)
Signed-off-by: Xelus22 <xelus22@gmail.com>
Co-authored-by: Xelus22 <xelus22@gmail.com>
2025-11-25 11:55:12 -08:00
Derek Nola
29b9a7ba7a
Inclusive naming proposal (#13133)
Basic renaming from 'master' to 'main' as primary branch according to https://github.com/cncf/foundation/blob/main/code-of-conduct.md#our-standards

* Additional replacement of master with main in E2E testing, Github Action workflows

Signed-off-by: Andrea Benini <andreabenini@gmail.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Ben <andreabenini@users.noreply.github.com>
2025-10-30 21:48:20 -07:00
Brad Davidson
0e232f68bc Move node password secrets into dedicated controller
Move the node password secret cleanup into its own dedicated controller
that also handles auth. We now use a filtered cache of only
node-password secrets, instead of using the wrangler secret cache,
which stores all secrets from all namespaces.

The coredns node-hosts controller also now uses a single-resource
watch cache on the coredns configmap, instead of reading it from
the apiserver every time a node changes.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit d8790220ff)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-10-30 11:12:21 -07:00
Brad Davidson
497f79b28f Disable metrics test pending resolution of upstream issue
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit a26fd3ba4d)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-10-10 12:08:50 -07:00
Brad Davidson
b25c2ad898 Enable debug logs for embedded mirror e2e
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 1026725896)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-10-10 12:08:50 -07:00
Brad Davidson
92ff6d727c Fix pods readiness tests
Test should not succeed when there are no pods, or when helm-install
pods are still running.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 5b19165e9e)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-10-10 12:08:50 -07:00
Brad Davidson
7cc26a3b7f Add sequential split-server test
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit a0ce2aaeaf)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-10-10 12:08:50 -07:00
Brad Davidson
58bb9f417c Use sync.WaitGroup to avoid exiting before components have shut down
Currently only waits on etcd and kine, as other components
are stateless and do not need to shut down cleanly.

Terminal but non-fatal errors now request shutdown via context
cancellation, instead of just logging a fatal error.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 4974fc7c24)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-10-10 12:08:50 -07:00
Brad Davidson
955b520756 Fix caceertrotation test; add kine to matrix
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 4d1f1affcb)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-09-08 15:51:29 -07:00