Derek Nola
786c9bd5c4
Fix deploy latest commit on E2E tests ( #10725 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-09-04 13:55:54 -07:00
ShylajaDevadiga
951aec3488
Fix e2e tests ( #10061 )
...
Signed-off-by: ShylajaDevadiga <shylaja.devadiga@suse.com >
Co-authored-by: ShylajaDevadiga <shylaja.devadiga@suse.com >
2024-09-04 13:55:54 -07:00
Derek Nola
e60399b858
Fix caching name for e2e vagrant box ( #10695 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-09-04 13:55:54 -07:00
Derek Nola
c4ff3019f4
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-09-04 13:55:54 -07:00
Derek Nola
6f0e2b74b2
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-08-06 08:51:24 -07:00
Brad Davidson
409fec9778
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 >
(cherry picked from commit c36db53e54 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-07-15 10:14:40 -07:00
Vitor Savian
afe4c37e5a
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 19:41:49 -03:00
Brad Davidson
0e1c565c97
Fix embedded mirror blocked by SAR RBAC and re-enable test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-05-31 09:17:13 -07:00
dependabot[bot]
065627a88e
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 >
(cherry picked from commit 4cb4542c3a )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-05-31 09:17:13 -07:00
Nikos Pitsillos
7b8f0e1bfc
Improve tailscale test & add extra log in e2e tests
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2024-05-28 22:24:20 +02:00
Manuel Buil
f5dc8e762f
Replace deprecated ruby function
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2024-05-23 11:54:37 +02:00
Derek Nola
40210132f3
Set release channel for e2e upgrade test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-05-15 11:11:54 -07:00
Derek Nola
f7c8b6ea24
Bump E2E opensuse leap to 15.6, fix btrfs test ( #10057 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-05-15 11:11:54 -07:00
Brad Davidson
48b30e269b
Fix on-demand snapshots not honoring folder
...
Also fix etcd s3 tests to actually check that the files are saved to s3 🙃
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 5b431ca531 )
2024-04-22 11:24:51 -07:00
Brad Davidson
8b089a4ffb
Move etcd snapshot management CLI to request/response
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit fe465cc832 )
2024-04-11 10:01:16 -07:00
Brad Davidson
29667f317b
Add supervisor cert/key to rotate list
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 60248c42de )
2024-04-11 10:01:16 -07:00
Vitor Savian
70bd37793f
Add tls for kine
...
* Bump kine
* Add integration tests for kine with tls
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
2024-04-02 11:41:35 -03:00
Derek Nola
ae8f23b7ae
Fix embeddedmirror test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:36 -07:00
Derek Nola
53d1f50413
E2E setup: Only install jq when we need it
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:36 -07:00
Derek Nola
3096cf4886
Add wasm test to e2e matrix
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:36 -07:00
Derek Nola
e5b0dbbd38
Move to ubuntu 23.10 for E2E tests ( #9755 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:36 -07:00
Vitor Savian
88df9583ca
Add a new error when kine is with disable apiserver or disable etcd
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
2024-03-28 09:37:12 -03:00
Derek Nola
31ee8501ea
Fix flaky check in btrfs test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:14:14 -08:00
Derek Nola
1438a7d57b
Improve E2E Aftersuite cleanup
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:14:14 -08:00
ShylajaDevadiga
1a07661b9c
update s3 e2e test ( #9025 )
...
Signed-off-by: ShylajaDevadiga <shylaja.devadiga@suse.com >
Co-authored-by: ShylajaDevadiga <shylaja.devadiga@suse.com >
2024-03-08 11:14:14 -08:00
Derek Nola
4f9483b8ae
Move to ubuntu 2204 for all E2E tests
...
Simplify node roles
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:14:14 -08:00
Derek Nola
79dacbd877
Convert snapshotter test in e2e test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:14:14 -08:00
Derek Nola
24ba387375
Migrate E2E tests to GitHub Actions
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:14:14 -08:00
Derek Nola
1075b3ca5a
Move docker tests into tests folder ( #9555 )
...
* Move docker tests into tests folder
* Remove old test certs
* Update TESTING.md with docker test inf
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:14:14 -08:00
Flavio Castelli
ed5de70dd0
e2e tests: cover WebAssembly integration
...
Add a e2e test that runs some demo WebAssembly applications
using the dedicated containerd shims.
Note: this is not an integration test because we need to install some
binaries (the special containerd shims) on the host.
Signed-off-by: Flavio Castelli <fcastelli@suse.com >
(cherry picked from commit f82d438f39 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:36:56 -08:00
Manuel Buil
0726758c6c
Improve tailscale e2e test
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2024-03-06 13:06:13 +01:00
Derek Nola
f92bce4769
Reenable Install and Snapshotter Testing ( #9601 )
...
* Use regular ubuntu runners for install and snapshotter tests
* Workaround for vagrant box caching
* Update testing readme
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-04 14:44:05 -08:00
Derek Nola
15c13739b8
Update install test OS matrix ( #9480 )
...
* Remove old cgroupsv2 test
* Consolidate install test clauses into functions
* Unpin vagrant-k3s plugin version, run latest
* Add ubuntu-2204 as install test, remove ubuntu-focal
* Update nightly install matrix
* Move to Leap 15.5
* Consolidate vagrant box caching key to improve cache hits on all VM testing
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-04 14:44:05 -08:00
Manuel Buil
e4fc6743bf
Add an integration test for flannel-backend=none
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2024-03-04 11:53:21 +01:00
Derek Nola
16ad3bc39c
Change default number of etcd nodes in E2E splitserver test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-02-21 13:26:08 -08:00
Hussein Galal
034ee89344
Update flannel to v0.24.0 and remove multiclustercidr flag ( #9075 )
...
* update flannel to v0.24.0
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* remove multiclustercidr flag
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2024-02-09 09:20:39 +01:00
Brad Davidson
bda4b73493
Add e2e test for embedded registry mirror
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 6072476432 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-01-11 16:29:20 -08:00
Manuel Buil
d34550fb2f
Fix overlapping address range
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2023-12-08 17:17:23 +01:00
Brad Davidson
96ebb96317
Fix flakey dynamic-cert.json in cert rotation e2e test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-11-17 19:46:11 -08:00
Brad Davidson
b8dc95539b
Fix CloudDualStackNodeIPs feature-gate inconsistency
...
Enable the feature-gate for both kubelet and cloud-controller-manager. Enabling it on only one side breaks RKE2, where feature-gates are not shared due to running in different processes.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-17 10:40:12 -07:00
Roberto Bonafiglia
1ffb4603cd
Use IPv6 in case is the first configured IP with dualstack
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com >
2023-10-13 10:23:31 +02:00
Brad Davidson
7c5b69ca1d
Fix etcd snapshot integration tests
...
Snapshot delete/prune tests were only working because the delete command
would report success even when deleting a snapshot that didn't exist,
and the test regex was finding the snapshot name multiple times in
the list output and deleting it twice.
Snapshot restore tests seem to have expected the deployment to be rolled out
immediately, which is not a reasonable expectation.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-12 15:04:45 -07:00
Brad Davidson
5cd4f69bfa
Move snapshot delete into local/s3 functions
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-12 15:04:45 -07:00
Brad Davidson
9bb1ce1253
Bump busybox to v1.36.1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-12 15:00:45 -07:00
Derek Nola
dface01de8
Server Token Rotation ( #8265 )
...
* Consolidate NewCertCommands
* Add support for user defined new token
* Add E2E testlets
Signed-off-by: Derek Nola <derek.nola@suse.com >
* Ensure agent token also changes
Signed-off-by: Derek Nola <derek.nola@suse.com >
2023-10-09 10:58:49 -07:00
Manuel Buil
d4a487d83f
Fix spellcheck problem (boostrap ==> bootstrap)
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2023-09-29 12:45:23 +02:00
Vitor Savian
d349c9db6c
Added cluster reset from non bootstrap nodes on snapshot restore e2e test
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
2023-09-26 08:48:25 -03:00
Vitor Savian
d0ab4ef26b
Added advertise address integration test
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
2023-09-26 08:47:25 -03:00
Derek Nola
42c2ac95e2
CLI + Backend for Secrets Encryption v3
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2023-08-25 14:17:00 -06:00
Derek Nola
e45a674457
Add new encryption test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2023-08-25 14:17:00 -06:00