Derek Nola
3b650c974d
[Release-1.24] August Test Backports ( #8128 )
...
* Unit test for MustFindString (#8013 )
* Consolidate CopyFile functions (#8079 )
* Remove unnecessary E2E envs
Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-08-04 11:40:14 -07:00
Derek Nola
807d800e1e
Don't use zgrep in `check-config` if apparmor porfile is enforced ( #7955 )
...
* Don't use zgrep if apparmor is enforced for it
* Bump e2e se timeouts for reencryption time
Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-07-13 09:13:17 -07:00
Manuel Buil
d74fa4f478
Fix validatecluster e2e test
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2023-06-13 15:51:02 +02:00
Manuel Buil
5070ee5681
Remove useless libvirt config
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2023-06-13 08:19:21 +02:00
Manuel Buil
d38189d042
Merge pull request #7742 from manuelbuil/revertVPN124
...
[Release 1.24] Revert "VPN integration"
2023-06-12 18:09:58 +02:00
Manuel Buil
4e0cb88d39
Fix spelling check
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2023-06-12 15:45:19 +02:00
Manuel Buil
cf4bbc26c5
Revert "VPN integration"
...
This reverts commit 19f86eb080
.
Signed-off-by: Manuel Buil <mbuil@suse.com>
2023-06-12 11:24:29 +02:00
Manuel Buil
71a47fb2e2
Merge pull request #7729 from manuelbuil/tailscale124
...
[Release 1.24] VPN integration
2023-06-12 11:04:44 +02:00
Manuel Buil
19f86eb080
VPN integration
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2023-06-12 10:19:25 +02:00
Derek Nola
2105147ce7
Remove unnecessary daemonset addition/deletion
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-06-09 17:08:19 -07:00
Derek Nola
d273f7efce
E2E: Use sudo for all RunCmdOnNode
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-06-09 17:08:19 -07:00
Esteban Esquivel Alvarado
872789caeb
Add Rotation certification Check ( #7097 )
...
* Add Certification Test to Validate Cluster
Signed-off-by: est-suse <esteban.esquivel@suse.com>
* Fix to stop/start for k3s certificate rotation
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: est-suse <esteban.esquivel@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: est-suse <esteban.esquivel@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-06-09 17:08:19 -07:00
Brad Davidson
4634d157de
Fix token startup test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit c98137ddca
)
2023-05-10 15:02:29 -07:00
Brad Davidson
d91e676072
Fail to validate server tokens that use bootstrap id/secret format
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit cf9ebb3259
)
2023-05-10 15:02:29 -07:00
Brad Davidson
c30137e88c
Add e2e test for --disable-agent
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 1ca035accc
)
2023-05-10 15:02:29 -07:00
Derek Nola
8f27774e8b
[Release-1.24] Add E2E testing in Drone ( #7376 )
...
* Initial drone vagrant pipeline
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Build e2e test image
* Add ci flag to secretsencryption
* Fix vagrant log on secretsencryption
* Add cron conformance pipeline
* Add string output for nodes
* Switch snapshot restore for upgrade cluster
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Added IPv6 check and agent restart on e2e test utils
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
* Drone: Cleanup E2E VMs on test panic (#7104 )
* Cleanup leftover VMs in E2E pipeline
* Clean E2E VMs before testing (#7109 )
* Cleanup VMs proper
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Dont run most pipelines on nightly cron
* Improve RunCmdOnNode error
* Pin upgradecluster to v1.24
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
Co-authored-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
2023-05-01 14:14:28 -07:00
Brad Davidson
a2e8484e67
Add e2e tests for CA cert rotation
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit be7f751863
)
2023-02-10 09:34:10 -08:00
Derek Nola
3052853988
[Release-1.24] Consolidate E2E tests ( #6888 )
...
* Consolidate E2E tests and GH Actions (#6772 )
* Consolidate cluster reset and snapshot E2E tests
* Add more context to secrets-encryption test
* Reuse build workflow
* Convert updatecli to job level permissions
* Remove dweomer microos from E2E and install testing
Signed-off-by: Derek Nola <derek.nola@suse.com>
* E2E: Consoldiate docker and prefer bundled tests into new startup test (#6851 )
* Convert docker E2E to startup E2E
* Move preferedbundled into the e2e startup test
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-02-07 09:25:27 -08:00
dependabot[bot]
5141a5b0f5
Bump ubuntu from 20.04 to 22.04 in /tests/e2e/scripts ( #6686 )
...
Bumps ubuntu from 20.04 to 22.04.
---
updated-dependencies:
- dependency-name: ubuntu
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit d85952d6a0
)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2023-01-18 09:17:39 -08:00
Derek Nola
6a2db7fe21
[Release-1.24] Backport missing E2E test commits ( #6616 )
...
* Backport PR 6131
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Add cluster reset test to nightly builds
* Add journalctl logs to E2E tests
* Expand nightly E2E tests (#6354 )
* Add snapshot restore e2e test (#6396 )
* Convert test output to JSON format (#6410 )
* Fix E2E test for prefer-bundled-bin
* Fix external ip test
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-01-03 14:25:11 -08:00
Derek Nola
bec4ff182f
Add `prefer-bundled-bin` as an agent flag ( #6545 )
...
* Add prefer-bundled-bin as an agent flag
* Add E2E test for prefer-bundled-bin
Signed-off-by: Derek Nola <derek.nola@suse.com>
(cherry picked from commit 614da78e43
)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-12-02 00:20:37 -08:00
Sakala Venkata Krishna Rohit
467a456c31
Switch from Google Buckets to AWS S3 Buckets ( #6497 )
...
* Add python pip pakacge to install aws cli
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
* Upload build artifacts to aws s3 instead of gcp bucket
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
* Upload logs to aws s3 instead of google buckets
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
* Replace gcloud auth with aws credentials for artifact uploading to buckets
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
* Replace usage of google bucket with aws s3 buckets
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
Signed-off-by: Venkata Krishna Rohit Sakala <rohitsakala@gmail.com>
(cherry picked from commit 4e2e91e089
)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-28 15:22:25 -08:00
Derek Nola
7461ae457d
Add info on libvirt ubuntu 22.04 ( #6316 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-03 20:54:07 -07:00
Manuel Buil
75c6895bb2
Add test for node-external-ip config parameter
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-31 07:34:53 +01:00
Manuel Buil
c6884a2378
Merge pull request #6348 from manuelbuil/netpolTest124
...
[Release 1.24] Add a netpol test for podSelector & ingress type
2022-10-27 09:39:43 +02:00
Manuel Buil
3f1766e0ab
Add a netpol test for podSelector & ingress type
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-26 13:58:20 +02:00
Manuel Buil
b93d14c630
Add the gateway parameter in netplan
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-26 11:55:26 +02:00
Manuel Buil
0751b6052e
Fix dualStack test
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-10 17:27:05 +02:00
Derek Nola
519f13e34d
[Release-1.24] Replace deprecated ioutil package ( #6235 )
...
* Replace ioutil package
* check integration test null pointer
* Remove rotate retries
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-10-07 19:03:46 -07:00
Derek Nola
cf684c74a3
[Release-1.24] Bulk Backport of Testing Changes
...
* Expand startup integration test
* add new data-dir subtest
* Added node flag subtest
* Fix to E2E tests
* Convert existing test to new server logging
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Convert nightly install to v1.24 channel
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-06 09:04:30 -07:00
ShylajaDevadiga
79bb7bccd9
Fix e2e tests ( #6018 )
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2022-08-26 11:42:04 -07:00
Manuel Buil
4c9ad2546c
Fix dualStack test and change ipv6 network ( #6023 )
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-08-26 10:03:32 -07:00
Derek Nola
f81138402e
E2E: Add support for CentOS 7 and Rocky 8 ( #6015 )
...
* Add e2e support for centos7 and rocky8
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-08-26 09:36:13 -07:00
Derek Nola
035c03cfaa
Remove codespell from Drone, add to GH Actions ( #6004 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-08-18 09:21:56 -07:00
Derek Nola
75f8cfb6ea
E2E: Local cluster testing ( #5977 )
...
* Cleanup validatecluster printout
* remove deprecated kubectl exec format
* Implement CreateLocalCluster function
* Update testing documentation
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-08-15 15:00:22 -07:00
ShylajaDevadiga
30fc909581
Update run scripts ( #5979 )
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2022-08-10 15:30:57 -07:00
ShylajaDevadiga
6b7b9c5aa9
Add scripts to run e2e test using ansible ( #5134 )
...
Signed-off-by: Shylaja Devadiga <shylaja.devadiga@suse.com>
2022-08-05 09:16:10 -07:00
Brad Davidson
db3c569b7f
Add docker e2e test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-08-05 02:39:25 -07:00
Derek Nola
3f9010683e
Add alternate scripts location ( #5692 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-06-14 17:50:11 -07:00
Derek Nola
12695cea15
E2E: Dualstack test ( #5617 )
...
* E2E dualstack test
* Improve testing documentation
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-06-14 08:40:29 -07:00
Derek Nola
efab09bc1f
E2E Improvements and groundwork for test-pad tool ( #5593 )
...
* Add rancher install sript, taints to cp/etcd roles
* Revert back to generic/ubuntu2004, libvirt networking is unreliable on opensuse
* Added support for alpine
* Rancher deployment script
* Refactor installType into function
* Cleanup splitserver test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-06-13 13:36:26 -07:00
Brad Davidson
bac8cf45cb
Add apparmor-parser to OpenSUSE/SLE Micro test VMs
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-05-11 14:39:07 -07:00
Derek Nola
3307d53f8f
E2E Validation Improvements ( #5444 )
...
* Add basic none option EXTERNAL_DB, uses internal sqlite
* Move to Leap as default
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-04-18 09:41:43 -07:00
Derek Nola
809f0cf05b
Added option to deploy hardened k3s ( #5415 )
...
Added option to deploy hardened k3s
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-04-14 15:00:48 -07:00
Derek Nola
4eed971289
E2E Split Server Test ( #5286 )
...
* Simplify role in existing tests
* Update other tests to output vagrant log on failure
* go test for split server
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-03-17 16:56:10 -07:00
Derek Nola
1f7abe5dbb
Testing directory and documentation rework. ( #5256 )
...
* Removed vagrant folder
* Fix comments around E2E ENVs
* Eliminate testutil folder
* Convert flock integration test to unit test
* Point to other READMEs
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-03-15 10:29:56 -07:00
Luther Monson
9a849b1bb7
[master] changing package to k3s-io ( #4846 )
...
* changing package to k3s-io
Signed-off-by: Luther Monson <luther.monson@gmail.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
2022-03-02 15:47:27 -08:00
Derek Nola
38ed1a6750
E2E Add external DB options to ValidateCluster test ( #5157 )
...
* Initial mysql, postgres external db
* Convert test options to env variables
* Add explicit ETCD option and bump memory for docker node
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-03-02 12:42:55 -08:00
Derek Nola
6e397aa42e
E2E secrets encryption test ( #5144 )
...
* Dump vagrant log on creation failure
* Update RunCmdOnNode to add quotes
* secrets encryption e2e test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-03-01 11:28:39 -08:00
Derek Nola
830c330aad
E2E Test Improvements ( #5102 )
...
* Fix infinite while loop on failure, reduce upgradecluster
* DRY code
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-02-10 09:27:00 -08:00