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
Brad Davidson
68fbd1a6b5
Fix snapshot flake
...
Avoid "snapshot save already in progress" flake when snapshot reconcile from previous save is still in progress.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-12-20 14:41:40 -08:00
Brad Davidson
f83cce95cf
Add test for kubelet config-dir
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-12-20 14:41:40 -08:00
Brad Davidson
e143e0fa12
Add hidden flag/var for supervisor/apiserver listen config
...
Add flags supervisor and apiserver ports and bind address so that we can add an e2e to cover supervisor and apiserver on separate ports, as used by rke2
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-12-10 09:31:18 -08:00
Brad Davidson
e9cf3a7ab5
Tail journald logs into report on suite failure
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-12-06 11:45:34 -08:00
Brad Davidson
45195e2654
Fix integration test failure message
...
The error message should be printf style, not just concatenated. The
current message is garbled if the command or result contains things that
look like formatting directives:
`Internal error occurred: error sending request: Post "https://10.10.10.102:10250/exec/default/volume-test/volume-test?command=sh&command=-c&command=echo+local-path-test+%!!(MISSING)E(MISSING)+%!!(MISSING)F(MISSING)data%!!(MISSING)F(MISSING)test&error=1&output=1 ": proxy error from 127.0.0.1:6443 while dialing 10.10.10.102:10250, code 502: 502 Bad Gateway`
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-12-06 11:45:34 -08:00
Brad Davidson
81dda9d626
Add command output to test failure message
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-12-06 11:45:34 -08:00
Derek Nola
183f0c8d09
Fix secrets-encrypt reencrypt timeout error ( #11385 )
...
* Add missing default OS for split server test
Signed-off-by: Derek Nola <derek.nola@suse.com >
* Launch go routine and return for k3s secrets-encrypt reencrypt
Signed-off-by: Derek Nola <derek.nola@suse.com >
---------
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-12-05 09:11:22 -08:00
Brad Davidson
5bb3d82e27
Add rewrite test to privateregistry e2e
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-12-03 11:58:51 -08:00
manuelbuil
4ec261733e
If no etcd was deployed, fail etcd-snapshot with a useful error
...
Signed-off-by: manuelbuil <mbuil@suse.com >
2024-11-28 09:40:42 +01:00
Vitor Savian
9bd48b1a3f
Add ubuntu 24.04 apt command for e2e test
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
2024-11-26 11:45:04 -03:00
Derek Nola
c3eece6071
Fix GenKubeConfigFile, move from "cat" command to "scp"
...
Remove CI fog warnings from RunCmdOnNode output
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-11-12 15:54:37 -08:00
Derek Nola
9be40761d7
Reduce the number of GH api request for E2E nightly ( #11148 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-10-23 09:36:06 -07:00
Derek Nola
c0d661b334
Check the last 10 commits for upgrade E2E test ( #11086 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-10-16 12:22:38 -07:00
manuelbuil
e475ba70b8
Add e2e test for advanced fields in services
...
Signed-off-by: manuelbuil <mbuil@suse.com >
2024-10-09 12:32:27 +02:00
Robert Silén
40eda6a823
Add MariaDB to E2E ( #10724 )
...
* add mariadb to Validate and Upgrade E2E tests
Signed-off-by: robertsilen <robert.silen@iki.fi >
Signed-off-by: Robert Silén <robert.silen@iki.fi >
Co-authored-by: Derek Nola <derek.nola@suse.com >
2024-09-19 08:40:02 -07:00
Derek Nola
36282dc39b
Launch private registry with init so the container can be killed on cleanup ( #10822 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-09-04 16:22:24 -07:00
Derek Nola
fc2eb49e38
Fix deploy latest commit on E2E tests ( #10725 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-08-26 08:22:42 -07:00
Derek Nola
ac247d29cf
Update to newer OS images for install testing ( #10681 )
...
* Update to newer OS images for install testing
* Update vagrant images used for E2E
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-08-12 09:26:19 -07:00
Derek Nola
ecff337e00
Enhance E2E Hardened option ( #10558 )
...
* Remove unnecessary hardened arguments
Signed-off-by: Derek Nola <derek.nola@suse.com >
* slim down hardened arguments
Signed-off-by: Derek Nola <derek.nola@suse.com >
---------
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-07-25 09:37:03 -07:00
Brad Davidson
c36db53e54
Add etcd s3 config secret implementation
...
* Move snapshot structs and functions into pkg/etcd/snapshot
* Move s3 client code and functions into pkg/etcd/s3
* Refactor pkg/etcd to track snapshot and s3 moves
* Add support for reading s3 client config from secret
* Add minio client cache, since S3 client configuration can now be
changed at runtime by modifying the secret, and don't want to have to
create a new minio client every time we read config.
* Add tests for pkg/etcd/s3
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-07-10 13:13:55 -07:00
Vitor Savian
d9b8ba8d71
Add snapshot retention etcd-s3-folder fix
...
* Add snapshot retention folder fix
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
* Add snapshot retention E2E test
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
---------
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
2024-06-06 17:31:01 -03:00
Brad Davidson
f9130d537d
Fix embedded mirror blocked by SAR RBAC and re-enable test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-05-31 08:33:18 -07:00
dependabot[bot]
4cb4542c3a
Bump ubuntu from 22.04 to 24.04 in /tests/e2e/scripts
...
Bumps ubuntu from 22.04 to 24.04.
---
updated-dependencies:
- dependency-name: ubuntu
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-28 20:12:14 -07:00
Manuel Buil
3f62ec3207
Add extra log in e2e tests
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2024-05-27 16:11:12 +02:00
Nikos Pitsillos
99f543a2d4
fix: use absolute path
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com >
2024-05-27 16:10:57 +02:00
Nikos Pitsillos
86b2554772
test: copy vpn-auth-file to guest
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com >
2024-05-27 16:10:57 +02:00
Nikos Pitsillos
b8f101fd89
test: increment agentCount
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com >
2024-05-27 16:10:57 +02:00
Nikos Pitsillos
ab29054887
test: use absolute path to auth file
...
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com >
2024-05-27 16:10:57 +02:00