Commit graph

362 commits

Author SHA1 Message Date
Derek Nola
380be5ab3b
Support commit builds via GHA artifacts (#13559)
* Support commit builds via GHA artifacts
* Removed old STORAGE_URL, Fix undefined == sh behavior

Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-06 08:29:23 -08:00
Derek Nola
253f2a91f3
Update install tests with new images, add alma10 (#13489)
Some checks failed
Install Script / build (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Install Script / Smoke Test (push) Has been cancelled
* 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-01-23 13:14:51 -08:00
Brad Davidson
9587f67dd1 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>
2026-01-09 10:40:31 -08:00
Brad Davidson
ae59cd0173 Add tests for etcd local reconcile
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Install Script / build (push) Has been cancelled
Install Script / Smoke Test (push) Has been cancelled
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2026-01-05 09:59:29 -08:00
Derek Nola
a8b4befa6d
Use Get, not Head for channel page (#13402)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-01-05 09:35:06 -08:00
Derek Nola
fd48cd6233 Allow k3s secrets-encrypt enable on existing clusters
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
- Places an identity provider as a setup to enable later encryption
- Update secrets-encryption test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-30 10:34:23 -08:00
Derek Nola
7ece08a0dc Bump rancher/systemd-node to v0.0.7 (SLES 16.0)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-30 10:34:23 -08:00
Derek Nola
e91afa8cec Replace legacy ReplicationController with Deployment
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-18 10:53:35 -08:00
Derek Nola
f6a3f0c8b5 Expand docker upgrade test, sunset E2E upgrade test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-18 10:53:35 -08:00
Brad Davidson
6840e435cd Fix event strings
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-18 07:22:48 -08:00
Brad Davidson
d337570de1 Fix inconsistent curl flags in tests
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-08 12:53:10 -08:00
Brad Davidson
c3ca02aa75 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>
2025-12-08 12:53:10 -08:00
Brad Davidson
ec3cc04214 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>
2025-12-08 12:53:10 -08:00
Derek Nola
0d39c86b5c Move from ranchertest to mirrored-busybox
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-08 09:09:40 -08:00
Derek Nola
cd08e731f6 Fix naming convention for docker test import
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-08 09:09:40 -08:00
Derek Nola
572cc8e2bf Consolidate RunCommand between Docker and E2E tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-12-08 09:09:40 -08:00
Xelus22
8e0676ad46
update busybox image version to 1.37.0 (#13237)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Signed-off-by: Xelus22 <xelus22@gmail.com>
Co-authored-by: Xelus22 <xelus22@gmail.com>
2025-11-25 11:55:06 -08:00
Brad Davidson
96ed4393c1 Remove remaining references to drone
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-11-24 11:23:49 -08:00
thomasferrandiz
46cca2402f
Merge pull request #13216 from thomasferrandiz/add-multus-test-2
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Add multus e2e test
2025-11-24 09:29:56 +01:00
Brad Davidson
74088f5175 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>
2025-11-21 09:25:00 -08:00
Brad Davidson
af441c29a0 Add test for sharing imported images by digest
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-11-21 09:25:00 -08:00
Thomas Ferrandiz
871094b5c6 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-21 13:05:52 +00:00
Derek Nola
b8f6f958c8
Streamline E2E startup test (#13137)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
* Streamline E2E startup test

- Remove ineffective testlet on prefer-bundled-bin
- Minimize waiting for kubeconfig testlet
- Only kill docker containers for cri-dockerd testlet
* Migrate bad token testlet from E2E to Integration test

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-11-03 09:03:07 -08:00
Brad Davidson
d8790220ff Move node password secrets into dedicated controller
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
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>
2025-10-27 15:06:45 -07:00
Derek Nola
cfcc9ef65e
Add docker dualstack test (#13070)
Some checks are pending
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-10-22 10:38:21 -07:00
Derek Nola
517df31f65
Fix postgres DB container args for nightly conformance (#13069)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-10-16 09:00:47 -07:00
Brad Davidson
a26fd3ba4d Disable metrics test pending resolution of upstream issue
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-09-24 09:55:04 -07:00
Brad Davidson
1026725896 Enable debug logs for embedded mirror e2e
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-09-24 09:55:04 -07:00
Ben
ade82387f7
Inclusive naming proposal (issue: #12110, Orlin Vasiliev) (#12383)
* Inclusive naming proposal (issue: #12110, Orlin Vasiliev)

Basic renaming from 'master' to 'main' as primary branch according to https://github.com/cncf/foundation/blob/main/code-of-conduct.md#our-standards

Signed-off-by: Andrea Benini <andreabenini@gmail.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>

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

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

---------

Signed-off-by: Andrea Benini <andreabenini@gmail.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
2025-09-24 08:52:28 -07:00
Brad Davidson
5b19165e9e 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>
2025-09-18 16:31:15 -07:00
Brad Davidson
a0ce2aaeaf Add sequential split-server test
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-09-18 16:31:15 -07:00
Brad Davidson
4974fc7c24 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>
2025-09-17 09:37:08 -07:00
Derek Nola
07d0711e5a
Update hardened script for cis-1.11 (#12912)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-09-16 11:02:28 -07:00
Brad Davidson
4d1f1affcb
Fix caceertrotation test; add kine to matrix
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-09-05 17:07:43 +00:00
Brad Davidson
1ae5ec3d74 Upload integration test logs on failure
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-09-03 09:52:51 -07:00
Brad Davidson
e47c497a3e Bump containerd to v2.1.4
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-26 10:15:38 -07:00
Derek Nola
ff6abe8a84
Fix pid tracking for conformance tests (#12714)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-08-06 09:15:51 -07:00
Brad Davidson
be729fc98f Fix completion command in e2e
Current syntax is incorrect, and while it doesn't break the test it is throwing an error in the logs

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-01 08:51:33 -07:00
Vitor Savian
a238f33cdd
Add retention flag specific for s3
* Add retention flag specific for s3
* Add retention for the unit tests:

Signed-off-by: Vitor Savian <vitor.savian@suse.com>
2025-07-28 13:42:09 -03:00
Derek Nola
3b06d9d6e2
Add retry around common timeout for hardened docker test (#12601)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-07-11 09:31:47 -07:00
bo.jiang
aa18062f2e docs: Fix broken links in markdown documentation
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
2025-06-26 10:57:17 +02:00
ERIK
be35453220 Add etcdmigration e2e test
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
2025-06-24 12:34:13 -07:00
Derek Nola
eb6fa3a230 Correctly track conformance test pids
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-06-18 09:19:18 -07:00
Brad Davidson
c40bb449ba Fix rootless e2e test
The install script was starting the service, and then the test itself was restarting it immediately thereafter, which caused frequent flakes.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-12 17:17:49 -07:00
Derek Nola
8e27803cea
Fix conformance labeling on CI, no tty (#12450)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-06-06 09:35:16 -07:00
Derek Nola
b33b71371a
Convert all nightly conformance to golang test framework (#12422)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-06-02 14:48:19 -07:00
Derek Nola
1797b5abc1 Remove unused scripts files
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-05-30 10:59:49 -07:00
Brad Davidson
8d8d1f43bd Fix e2e startup test
Do more cleanup between runs, collect more logs on failure.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-16 09:39:27 -07:00
Derek Nola
edfe8c6618
Better logging on E2E tests around metrics availability (#12198)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-05-02 10:31:23 -07:00
Derek Nola
0226ea511c
Address top flaky tests (#12163)
* ExternalIP E2E test: Improve clientIP checking
* E2E: Better top node error logs
* Skew test: increase deployment timeout

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-04-17 15:10:55 -07:00