qiuming
9b705033b2
Merge pull request #7567 from danfengliu/debug-ns-deletion-hung-issue
...
Delete ns using kubectl
2024-04-01 13:31:55 +08:00
danfengl
b605f9dbd5
Delete ns using kubectl
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-04-01 02:40:26 +00:00
Matthieu MOREL
3d6dab0708
lint(ginkgolinter): expect (not)to HaveOccurred ( #7565 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-29 10:05:48 -04:00
Matthieu MOREL
ef04ef6361
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 20:17:34 +00:00
danfengl
7c50c3cb8c
using zfs for vanilla cluster test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-02-27 06:39:33 +00:00
Xun Jiang
ef5c2ed805
Modify according to comments.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-02-22 19:03:20 +08:00
Xun Jiang
effbcba521
Add E2E test cases for backup VolumeInfo feature.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-02-22 16:18:55 +08:00
danfengl
c9ba808bf1
Fix wrong usage of global velerocfg var, further PR
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-02-07 02:32:20 +00:00
danfengl
b0956322b9
Fix wrong usage of global varaible VeleroCfg
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-02-07 02:32:20 +00:00
Tiger Kaovilai
b1d95cf2aa
Set GOBIN so Makefile don't modify $PATH on go install Fix realPath resolving when cloud credentials is prefixed by ~ for home dir Use ~/.docker/config.json if REGISTRY_CREDENTIAL_FILE not defined and skip step if does not exists since it is optional
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Set `GOBIN` so Makefile don't modify $PATH on `go install`
Fix realPath resolving when cloud credentials is prefixed by `~` for home dir
Use `~/.docker/config.json` if REGISTRY_CREDENTIAL_FILE not defined and skip step if does not exists since it is optional
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add kind testdata storageclass
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add kind testdata storageclass
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
log `Start to install Azure VolumeSnapshotClass ...` only on azure when csi is enabled
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add BSL_CONFIG example and notes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Makefile: Set `GOBIN` for `_output/...`
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
README spacing
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
StandbyClusterObjectStoreProvider typo
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Specify velero namespace during get/delete command
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Use object stores rather than cloudProvider for bucket queries
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove debug print
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
simplify NS get changes, add velero NS to `DeleteBackupResource`
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Skip file system backups on kind which uses hostPath volumes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add StorageClass change test to PR kind e2e
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add more tests to pr
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add NS mapping to PR e2e
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add `SKIP_KIND` to some jobs containing volumes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove kind from kibishii tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Label volume resource policies as restic, skip restic/snapshot tests, add more tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
TTLTest is a snapshot test
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove non working tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Resolve https://github.com/vmware-tanzu/velero/pull/7353#issuecomment-1925660077
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
address https://github.com/vmware-tanzu/velero/pull/7353/files#r1477218762
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Address https://github.com/vmware-tanzu/velero/pull/7353#issuecomment-1923414840
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-04 22:17:37 -05:00
danfengl
df585053e7
Add a new EKS pipeline with IRSA as credential
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-01-26 02:17:21 +00:00
danfengl
b25578d6e1
Add sleep to avoid snapshot limitation issue and skip retain PV on vSphere pipeline
...
1. Add sleep to avoid snapshot limitation issue https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html#:~:text=SnapshotCreationPerVolumeRateExceeded ;
2. Move InstallVelero variable out of struct of Veleroconfig as a global one since it's not for controlling any individual case;
3. Unskip migration test case on AWS pipeline, because we added a new EKS pipeline and deleted TKG AWS pipline in internal E2E test, so this restriction for TKG AWS pipline is no long existed;
4. Skip retainPV test on vSphere pipeline due to PV longtime bounding issue;
5. Fix failing get snapshot by CSI from EC2 issue, snapshot by CSI has no label of backup name.
Signed-off-by: danfengl <danfengl@vmware.com >
2024-01-02 05:53:03 +00:00
danfengl
55a465a941
Add E2E test for taking CSI snapshot to PV with retain reclaim policy
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-11-21 07:11:22 +00:00
danfengl
15be42f47b
monitor velero logs and fix E2E issues
...
1. Capture Velero pod log and K8S cluster event;
2. Fix wrong path of storageclass yaml file issue caused by pert test;
3. Fix change storageclass test issue that no sc named 'default' in EKS cluster;
4. Support AWS credential as config format;
5. Support more E2E script input parameters like standy cluster plugins and provider.
Signed-off-by: danfengl <danfengl@vmware.com >
2023-08-28 05:53:32 +00:00
danfengl
172166749e
Replace pod with deployment in E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-08-18 01:57:43 +00:00
Ming
f890033ee8
Merge branch 'main' of https://github.com/qiuming-best/velero into perf-test
2023-08-15 07:57:01 +00:00
Ming Qiu
3b45830012
Add performance E2E test
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-08-15 01:46:36 +00:00
danfengl
c637057dab
The minimum worker node count of wowrkload cluster should be 2
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-08-06 08:35:38 +00:00
yanggang
bcc69f33f9
delete io/ioutil package as it is deprecated
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-07-21 15:18:31 +08:00
danfengl
bc8742566b
Install plugin for datamover pipeline
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-07-10 02:02:50 +00:00
Ming
2f6899e5a7
Optimize Velero install
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-06-01 07:09:38 +00:00
Ming
54d6cffb45
Adjust E2E context
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-05-17 14:05:15 +00:00
Ming
a16c17b1e3
Adjust E2E test codes
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-05-15 03:28:56 +00:00
danfengl
5f5db2eaca
Fix context issues for several E2E tests
...
1. Fix context issues produced by previous PR, increase timeout or add case scpoed global timeout param to make backup/restore command timeout configurable.
2. Add global param for storage class name using by test cases;
3. Fix param DefaultVolumesToFsBackup usage issue: set DefaultVolumesToFsBackup to false in backup CLI in case it was set to true in install CLI.
4. Make namespace names of each namespace mapping test unique from being interfered by each other.
Signed-off-by: danfengl <danfengl@vmware.com >
2023-05-05 02:09:21 +00:00
Xun Jiang/Bruce Jiang
980106dc39
Merge pull request #6154 from kaovilai/govet
...
fix go vet warnings
2023-04-25 09:24:30 +08:00
qiuming
b38ee8ad41
Optimize APIGroup E2E test case ( #6174 )
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-04-24 17:38:30 -04:00
Tiger Kaovilai
d6848ffb16
Self contain context in each high level function rather than passing around in structs
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-04-16 14:22:04 -04:00
Tiger Kaovilai
da0f5d5850
Field labels for Duration, Time, client.ObjectKey, KibishiiData, VeleroCLI2Version
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-04-16 12:34:28 -04:00
danfengl
504b1cba30
Add E2E test for schedule backup creation principle
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-04-12 10:31:20 +00:00
danfengl
112775f924
Add changing PVC selected node E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-03-29 01:36:45 +00:00
danfengl
8c7363d6a7
Add E2E test of changing PV and PVC can be changed during restores
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-02-24 09:54:55 +00:00
danfengl
beed887eeb
Add snapshotvolumes default behavior E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-02-19 09:05:20 +00:00
danfengl
897a5e0bd8
Add sleep before backing up new born CRD
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-11-30 02:24:45 +00:00
danfengl
3c3f041bc1
Add verification for CRD installation
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-11-25 03:28:50 +00:00
danfengl
cf32cabddd
fix-ctx-issue
...
1. Fix issue of kubectl client and server mismatch version in GitAction E2E job, refer to https://github.com/elastic/cloud-on-k8s/issues/4737 ;
2. Adapt to the changing of keyword for involing Kpoia as fs backupper, new installtion breaked upgrade and migration tests;
3. Accept multi-labels of Ginkgo focus as input of E2E make command;
4. Distinguish workload namespace from each tests;
5. Fix issues of not using Velero util to perform Velero commands;
6. Add snapshot test case for NamespaceMapping E2E test;
7. Collect debug bundle after catching error of Velero backup or restore command;
Signed-off-by: danfengl <danfengl@vmware.com >
2022-10-16 13:18:39 +00:00
danfengl
e699a3e9f2
Fix issues of E2E test for API group, migration and pv opt-out backup
...
1. One of API group test failed due to other PR with fix for treat PartiallyFailed as failure to collect debugbundle without wrap the origin error;
2. Fix migration test issue of wrong velero cli for backup commmand;
3. Fix wrong pararmeter name issue for pv opt-out backup test.
Signed-off-by: danfengl <danfengl@vmware.com >
2022-09-29 13:53:42 +00:00
danfengliu
5631c7c9df
Merge pull request #5331 from danfengliu/add-opt-in-opt-out-pv-to-e2e-test
...
Add backup opt-in/opt-out E2E test
2022-09-26 21:43:59 +08:00
danfengl
09240a269b
Add Kopia support for Velero installation in E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-09-24 04:27:24 +00:00
danfengl
081b70d0eb
Add backup opt-in/opt-out E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-09-23 09:29:32 +00:00
lyndon
c81f0db886
rename pvbr param ( #5370 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2022-09-23 09:13:36 +08:00
danfengl
e6c94af358
Add enable API group on k8s resources E2E test upon issue #5146
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-08-29 09:44:17 +00:00
danfengl
6e8061266c
Clean backups after each test and fix exlude label test issue
...
1. Clean backups after each test to avoid exceeding limitation of storage capability during E2E test;
2. Fix exlude label test issue that namespace should not be included and excluded at the same time no matter by which way to config.
Signed-off-by: danfengl <danfengl@vmware.com >
2022-08-19 01:24:06 +00:00
danfengl
c8544ea212
Add namespace- mappping E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-08-11 13:24:51 +00:00
danfengl
fb445b3c0d
Add migration E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-08-09 08:31:39 +00:00
Ming
56f72797db
Fix nightly running failure
...
Signed-off-by: Ming <mqiu@vmware.com >
2022-06-06 06:47:01 +00:00
danfengl
18621a0e13
Add setting TTL in backup E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-05-13 06:52:47 +00:00
danfengl
33bf59a910
Add snapshot checkpoint for CSI E2E test and fix CSI snapshot name issue
...
1. Add checkpoint in snapshot E2E test to verify snapshot CR should be created and snapshot should be created in cloud side after backup completion;
2. Fix snapshot name issue that CSI snapshot name in cloud side is not the same with other non-CSI cloud snapshots;
Signed-off-by: danfengl <danfengl@vmware.com >
2022-05-07 08:49:34 +00:00
danfengl
7b35f94f84
Add debug switcher for E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-04-06 06:50:47 +00:00
danfengl
658699636d
Support CSI plugin in E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-04-01 11:26:26 +00:00
danfengl
09cdf41d97
Add E2E test of bsl deletion
...
Signed-off-by: danfengl <danfengl@vmware.com >
2022-03-15 02:27:09 +00:00