Commit graph

206 commits

Author SHA1 Message Date
Derek Nola
b33bb61a72 Fix rootless test to work with -local flag
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-26 08:38:14 -08:00
Derek Nola
4dcd2723e3 Fix support for E2E commit installs
Signed-off-by: Derek Nola <derek.nola@suse.com>
2026-02-26 08:38:14 -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
d337570de1 Fix inconsistent curl flags in tests
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
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
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
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
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
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
e47c497a3e Bump containerd to v2.1.4
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-08-26 10:15:38 -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
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
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
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
Derek Nola
4e8d85a2e4
Split E2E Drone pipeline into matrix (#12086)
* Split drone e2e into multiple blocks, explicit virsh cleanup

* Create multiple registries once and reuse as long as they exist

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-04-14 13:44:48 -07:00
Brad Davidson
08c6c7423b Silence vagrant progress output
Add --no-tty flag to all `vagrant up` commands to silence the printing of box loading progress

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-04-08 15:28:41 -07:00
Derek Nola
1d7ec2276d
Fix flaky rootless E2E test (#11899)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-03-10 09:43:12 -07:00
Derek Nola
a764989931 Move away from docker e2e images, use gcr and ghcr
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-28 08:46:10 -08:00
Derek Nola
a61e581cb3 Migrate svcpolicies E2E test to docker
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-28 08:46:10 -08:00
Derek Nola
380a70ac7e Expand E2E test matrix to cover all possible tests that fit on GHA
Fix rootless test

Fix svc firewall E2E test, broken by #11711

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-28 08:46:10 -08:00
Derek Nola
9865ab1f6e Replace e2e.ParseNodes function with general ParseNodes and NodesReady test functions
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-28 08:46:10 -08:00
Derek Nola
f2f3c93ea7 Add E2E AllNodes helper function
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-28 08:46:10 -08:00
Brad Davidson
f710d4900c e2e: wait for deployments before getting logs
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-02-20 16:46:58 -08:00
Brad Davidson
67cbe75c84 e2e: Fix curl test timeouts
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-02-20 16:46:58 -08:00
Derek Nola
d0a1e94392 Migrate E2E autoimport to Docker test
Simplify DockerNode structs
Remove autoimport from E2E
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-12 14:27:26 -08:00
Derek Nola
2724f08be8 Fix various E2E test function names and descriptions
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-12 14:27:26 -08:00
Derek Nola
538131b685 Migrate E2E Token test into a Docker Token test
Remove E2E token test

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-12 14:27:26 -08:00
Derek Nola
1d86e39780 Align docker and e2e variable spelling
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-12 14:27:26 -08:00
Brad Davidson
45dbc43bd4 Fix e2e ingress IP helper
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-02-10 10:44:48 -08:00
Brad Davidson
04ed6c0996 Fix wasm ingress test
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-02-07 07:47:32 -08:00
Derek Nola
34ae4da57e
Convert docker conformance test to go test framework (#11643)
* Migrate conformance docker test

Switch to hydrophone from sonobuoy
Support serial conformance

* Replace docker tests with go version on arm32 Drone pipeline
* Support multiple DB, push hydrophone logs to test output
* Replace  etcd and sqlite conformance tests with golang versions
* Retry on flaky btrfs section
* Fix db cleanup for sqlite, be explicit on the dbtype

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-06 13:39:50 -08:00
Derek Nola
bb79c2b350
Consolidate test utility functions into top level package (#11711)
* [e2e] Convert RunCmdOnNode to method
* Consolidate e2e variables into TestConfig struct
* Consolidate docker and integration test helper functions
* E2E: Directly count daemonsets, not their pods
* Add missing Context levels for E2E tests
* Migrate e2e.ParsePods to new tests client package
* Run the go test compile test on their respective architectures

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-02-04 17:23:18 -08:00
Derek Nola
031c11d369 Convert snapshotrestore from E2E to Docker test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-01-27 11:30:42 -08:00
Vitor Savian
7e18c69254
Add auto import images for containerd image store
* Add auto import images

Signed-off-by: Vitor Savian <vitor.savian@suse.com>

* Fix EOF error log when importing tarball files

Signed-off-by: Vitor Savian <vitor.savian@suse.com>

* Delaying queue

Signed-off-by: Vitor Savian <vitor.savian@suse.com>

* Add parse for images

Signed-off-by: Vitor Savian <vitor.savian@suse.com>
2025-01-09 13:15:27 -03:00
Derek Nola
2f432a1cde
Upload E2E logs on failure as GHA artifacts (#11514)
* Upload E2E journald logs as artifacts in GHA

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

* Improve fork information for parent extraction

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

---------

Signed-off-by: Derek Nola <derek.nola@suse.com>
2025-01-07 09:50:39 -08:00