Commit Graph

25 Commits

Author SHA1 Message Date
John Gardiner Myers 4e997e98b1 Trim e2e skip regexes for Cilium 2023-08-07 20:32:38 -07:00
John Gardiner Myers f4260f3087 Fix missed field rename 2022-12-02 19:19:59 -08:00
John Gardiner Myers d39ba74bd7 Change the control-plane IG role to "ControlPlane" in v1alpha3 API 2022-11-22 17:05:29 -08:00
Ole Markus With c307d3fc7b Use runpath for the kubectl binary 2022-08-28 08:05:32 +02:00
Ole Markus With fad50f6aa6 Test the aws ebs csi driver in e2e if installed 2022-08-06 12:49:38 +02:00
Ole Markus With ba544eacce Add control-plane taint as kubetest2 non-blocking taint and fix OS tests 2022-04-18 13:56:13 +02:00
Ole Markus With f10ec875ab Skip upstream e2e log dump 2022-03-30 08:52:35 +02:00
John Gardiner Myers cac727c357 Make cloudProvider a struct in v1alpha3 API 2022-03-02 21:59:49 -08:00
Peter Rifel 7474a727e8
kubetest2 - Use the same binary path and env when fetching instance groups
The GetInstanceGroup function was used in kubetest2-tester-kops which has the desired `kops` set in PATH and KOPS_STATE_STORE already set.
Now that we're using GetInstanceGroups in kubetest2-kops (the deployer) we need to override these to the values that the deployer determines.
2021-12-20 20:34:48 -06:00
justinsb 57f14f4d23 e2e: fix test flakes where we specify a non-schedulable zone
If we specify a zone to the e2e tests, it will try to pre-provision
volumes into it for the inline tests.  We then will be unable to
attach a volume to test pods if we don't have (normal) nodes in that
zone.

Pick a zone that is schedulable for test pods.
2021-12-10 12:56:23 -05:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
Peter Rifel cfdfb65e04
Allow api-server taint in e2e tests 2021-09-27 10:12:40 -05:00
Peter Rifel 6f00d07192
Kubetest2 - set --node-os-arch flag instead of skipping kubectl test on arm64 2021-06-27 23:16:56 -04:00
Peter Rifel 5f13d2d945
Kubetest2 - Add --skip-regex logic
This will move the logic from build_jobs.py into kubetest2 itself.
This way we can rely on this logic from scenario scripts and other places that arent directly set by build_jobs.py.
2021-06-22 08:23:44 -05:00
srikiz 7e366ff678 use create-args for specifying additional argments for kops create cluster command
Add create-args parameter only once with spaces separating multiple arguments

Add kops state store

Another fix to check if environment variable are used correctly

Add state store for digital ocean

Add env variables for do related job

check if env is empty

tmp check 1

Revert changes

Use a smaller droplet size

Update make file

Add SSH key for DO

Add private key path

update ssh user

Another fix

try with v1.18

use 1.20

Rebase with master

Fix merge issues

Add DO droplet dump support

I'm hoping this allows our e2e tests to dump system logs into the job artifacts for easier troubleshooting

Use root ssh user

use 2 nodes to reduce cost

another minor fix

Skip services test

Increase master size

Skip flaky tests

Remove pod status test that belongs to v1.20

Add do test file and revert changes to make file

Update make file

Include DigitalOcean in the supported provider flags

incorporate review comments

Update tests/e2e/pkg/tester/tester.go

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>

Fix formatting

Add higher resource master and nodes for running e2e tests

Revert back to use lower size masters
2021-05-08 12:54:18 +05:30
Peter Rifel 038baef420
Set --gce-project flag too 2021-04-27 10:12:34 -05:00
Peter Rifel 7f09dcab06
Add more cloud provider flags to e2e.test 2021-04-27 10:12:33 -05:00
Justin SB b21df766fc
kubetest2: Infer the provider and zones from the kops cluster
This means we don't need to pass these flags explicitly.
2021-04-27 10:12:31 -05:00
Justin SB f4dfb43993 kubetest2: Call Test, not Execute
Execute will reparse the flags; we want to reuse the test execution
but not the flag setup.
2021-02-14 21:03:55 -05:00
Justin SB 9ab363dfb8 kubetest2: Add --host argument
This argument was required for the tests to pass prior to 1.18, so we
should still pass it if we want these tests to pass.

We can infer it from kubeconfig (that is the fix that was introduced in 1.18)
2021-02-13 18:16:13 -05:00
Peter Rifel f671acc5d6
Use anonymous struct for wrapping ginkgo.Tester 2021-01-10 18:41:40 -06:00
Peter Rifel 720dcb6428
Add troubleshooting statements 2021-01-10 18:41:40 -06:00
Peter Rifel 5074f327a2
Ensure pretestSetup is ran
I was wrapping the ginkgo tester functions in a way that pretestSetup was never actually being called
2021-01-10 11:34:40 -06:00
Peter Rifel 1ffc565526
Fix kubectl PATH element, add logging verbosity 2021-01-10 11:18:38 -06:00
Peter Rifel 17468d496f
Kubetest2 - use our own tester that wraps kubetest2's ginkgo tester
This allows us to share tester flags (package version and bucket) for downloading kubectl while passing them to the ginkgo tester
2021-01-09 23:44:26 -06:00