Xun Jiang/Bruce Jiang
ad11b38468
Remove PVC node selection E2E test case. ( #9405 )
...
Run the E2E test on kind / get-go-version (push) Failing after 53s
Run the E2E test on kind / build (push) Has been skipped
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / get-go-version (push) Successful in 9s
Main CI / Build (push) Failing after 1m25s
Close stale issues and PRs / stale (push) Successful in 9s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 6m3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m58s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m40s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 13m59s
According to #7904 , remove the corresponding E2E case.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-11-11 13:04:47 -05:00
Xun Jiang
8e1c4a7dc5
Add E2E cases for node-agent-configmap.
...
Run the E2E test on kind / build (push) Failing after 11s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Fix the default BackupRepoConfig setting issue.
Delete PriorityClass in migration case clean stage.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-09-02 15:03:20 +08:00
Xun Jiang
996d2a025f
Add E2E test cases for repository maintenance job configuration.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-08-28 20:06:15 +08:00
Xun Jiang
2178d36d14
Change the CreateFileToPod function's OS parameter as the E2E pass-in value.
...
Run the E2E test on kind / build (push) Failing after 9s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Fix GetResourceWithLabel's bug: labels were not applied.
Add workOS for deployment and pod creationg.
Add OS label for select node.
Enlarge the context timeout to 10 minutes. 5 min is not enough for Windows.
Enlarge the Kibishii test context to 15 minutes for Windows.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-08-21 09:34:06 +08:00
Xun Jiang/Bruce Jiang
5d9ea761d4
Change the CreateFileToPod function's OS parameter as the E2E pass-in value. ( #9188 )
...
Run the E2E test on kind / build (push) Failing after 4s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 4s
Close stale issues and PRs / stale (push) Successful in 13s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 6s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 3s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 4s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 4s
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-08-18 09:52:17 -04:00
Xun Jiang
ce09996854
Fix [Basic][Snapshot] failure on AddintionalBSL case.
...
It failed with fetching the wrong VolumeInfo. Correct it.
Add AdditionalBSL label for applied cases.
Remove not needed default BSL kibishii test for additional bsl case.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-08-08 19:43:43 +08:00
Priyansh Choudhary
ff8a070dd3
Refactor Snapshot Checkpoint in E2E Tests ( #9083 )
...
Run the E2E test on kind / build (push) Failing after 8m19s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Successful in 21s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m54s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m25s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m33s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m26s
* Refactor backup volume info retrieval and snapshot checkpoint building in e2e tests
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
log backup volume info retrieval and snapshot checkpoint building
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
Add error handling for volume info retrieval in backup tests
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
Add error handling for volume info retrieval in backup tests
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Update snapshot checkpoint building to use DefaultKibishiiWorkerCounts
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
---------
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-07-21 20:22:55 +05:30
Priyansh Choudhary
bd09744b2d
Add provision for labels and annotations in E2E tests. ( #9043 )
...
Run the E2E test on kind / build (push) Failing after 6m44s
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 59s
* Add support for pod labels and service account annotations in Velero configuration
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
* Refactor Velero configuration to use string types for pod labels and service account annotations
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-06-26 21:00:01 -04:00
Priyansh Choudhary
f0f7b08265
Typo Fix
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-06-25 15:44:10 +05:30
Priyansh Choudhary
a73587c016
Update README.md
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-06-25 15:42:15 +05:30
Priyansh Choudhary
a4f024992b
Typo Fix
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-06-25 15:35:48 +05:30
Priyansh Choudhary
5b537120c6
add image registry proxy option to E2E test configuration
...
Signed-off-by: Priyansh Choudhary <im1706@gmail.com >
2025-06-25 15:26:50 +05:30
Xun Jiang
e736376d69
Add Velero-installed namespace to exlucde list for scale test.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-28 17:00:14 +08:00
Xun Jiang
a18fe55585
Support Windows E2E.
...
* Please notice only Kibishii workload support Windows test,
because the other work loads use busybox image, and not support Windows.
* Refactor CreateFileToPod to support Windows.
* Add skip logic for migration test if the version is under 1.16.
* Add main in semver check.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-20 15:58:15 +08:00
Xun Jiang
14e1055a9a
Support using image registry proxy in more cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-14 08:47:00 +08:00
Xun Jiang
d3e8e9a9c2
Remove pushing images to GCR.
...
Remove dependency with GCR.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-08 20:42:21 +08:00
Matthieu MOREL
c6a420bd3a
chore: define common aliases for k8s packages ( #8672 )
...
Run the E2E test on kind / build (push) Failing after 6m48s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 35s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m11s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 47s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 43s
* lchore: define common alias for k8s packages
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-04-22 06:14:47 -04:00
Xun Jiang/Bruce Jiang
54907a03fe
E2E support sets the --item-block-worker-count. ( #8836 )
...
Run the E2E test on kind / build (push) Failing after 6m51s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 39s
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-04-08 20:30:51 -04:00
Xun Jiang
6a0c6d5b75
Fix the non data mover migration failure.
...
Migration cases use the Kibishii as the workload, and SC mapping
ConfigMap was needed for all scenarios, because standby cluster
doesn't have the Kibishii SC after setting up.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-03-27 18:35:30 +08:00
Matthieu MOREL
6a6a237ba7
Bump golangci-lint from v1.57.2 to v1.64.5 ( #8641 )
...
Run the E2E test on kind / build (push) Failing after 5m43s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
build-image / Build (push) Failing after 8s
Main CI / Build (push) Failing after 33s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-03-04 13:55:29 +05:30
Matthieu MOREL
cbba3bdde7
chore: enable use-any from revive
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-17 07:58:10 +01:00
Xun Jiang
938dd3c661
Modify the Init logic to fix the migration case error.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-12-24 11:00:42 +08:00
Xun Jiang
8fcb6de323
Refactor the migration cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-26 11:04:54 +08:00
Xun Jiang
226d50d9cb
Modify the schedule cases.
...
* Modify the OrderResource case's verification code.
* Simplify the Periodical case.
* Simplify the InProgess case.
* Prettify the code.
* Replace math/rand with crypto/rand
* Replace PollUnitl with PollUntilContextTimeout
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-21 15:16:50 +08:00
Xun Jiang
e5354e123b
Modify the StorageClass install and delete code.
...
* Only install and uninstall SC and VSC once for default cluster.
* Install and uninstall SC and VSC for standby cluster on migration case.
* Refactor the StorageClass and VolumeSnapshotClass YAMLs.
* Prettify the e2e_suite_test.go
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-19 11:10:50 +08:00
Xun Jiang
bebea4d278
Modify upgrade and migration cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-13 23:11:20 +08:00
Xun Jiang
bcb60ed783
Modify other cases to support VKS environment.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-12 23:25:50 +08:00
Xun Jiang
b02fc1da96
E2E supports VKS data mover environment.
...
* Add new flag HAS_VSPHERE_PLUGIN for E2E test.
* Modify the E2E README for the new parameter.
* Add the VolumeSnapshotClass for VKS.
* Modify the plugin install logic.
* Modify the cases to support data mover case in VKS.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-11-12 23:25:28 +08:00
Xun Jiang
29d84feb10
Refactor the code to get the plugin images for migration cases.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-10-30 15:53:44 +08:00
Xun Jiang
6a1d8dfc6c
Fix the context choosing error after migration case.
...
Change the FAIL_FAST default value to false.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-10-15 13:49:32 +08:00
Xun Jiang
1ba78b83bf
Skip uninstall and resource cleanup when fail-fast is enabled.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-23 20:24:14 +08:00
Xun Jiang
af62dd4b3e
Modify E2E and perf test result output directory.
...
Add LongTime label to more E2E cases.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-08-20 10:58:32 +08:00
Xun Jiang
71c75d6dcb
Set the Ginkgo timeout to 5 hours.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-07-24 22:39:45 +08:00
Xun Jiang
e862b976a4
Use labels instead of regex to filter E2E test cases.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-07-24 15:33:06 +08:00
Xun Jiang
afca7dd6fe
Replace RunSpecsWithDefaultAndCustomReporters with RunSpecs.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-07-22 15:58:00 +08:00
lyndon-li
55e027897c
Merge pull request #8010 from blackpiglet/7961_fix
...
Bump Ginkgo to v2.
2024-07-17 17:19:08 +08:00
Xun Jiang
7a3b947961
Bump Ginkgo to v2.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-07-17 15:31:23 +08:00
Matthieu MOREL
917b55e107
golangci-lint(unconvert): fix test files ( #7608 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-07-16 09:27:15 -04:00
Xun Jiang
9b7dd663c3
Skip parallel files upload and download test for Restic case.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-06-13 11:28:12 +08:00
Matthieu MOREL
75fe761061
golangci-lint: fix gosimple linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-17 07:31:03 +00:00
qiuming
7563a453fb
Merge pull request #7701 from qiuming-best/merge-makefile
...
Merge makefile for e2e perf test
2024-05-09 15:28:13 +08:00
qiuming
b8a48c0ef8
Merge pull request #7691 from qiuming-best/e2e-parallel-upload-download
...
Add E2E test for parallel files upload and download
2024-05-09 15:27:06 +08:00
Ming Qiu
a628cb525f
Add E2E test for parallel files upload and download
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-05-09 03:04:04 +00:00
danfengl
61c4d7b148
Add checkpoint for FS backup deletion test
...
As per PR #7281 , if repository count is more than 1, then snapshots deletion is achieved with a fast way, then we should have more than 1 FS backup repository per backup.
Signed-off-by: danfengl <danfengl@vmware.com >
2024-05-07 07:52:46 +00:00
danfengl
82fc557bd1
Add checkpoint of VSC for data movement migration test
...
1. In data movement scenario, volumesnapshotcontent by Velero backup will be deleted instead of retained in CSI scenaito, so add
a checkpoint for data movement scenario to verify no volumesnapshotcontent left after Velero backup;
2. Fix global context varaible issue, context varaible is not effective due to it's initialized right after the very beginning of
all tests instead of beginning of each test, so if someone script a new E2E test and did not overwrite it in the test body, then it
will fail the test if it was triggerd one hour later;
3. Due to CSI plugin is deprecated, it breaked down migration tests, because v1.13 still needs to install CSI plugin for the test.
Signed-off-by: danfengl <danfengl@vmware.com >
2024-04-28 09:47:08 +00:00
danfengl
8a3f2f41e4
Fix 1.14 nightly issues
...
1. Add sleep for native snapshot tests when using test.go interface;
2. Add --confirm for velero plugin add CLI as new feature introduced.
Signed-off-by: danfengl <danfengl@vmware.com >
2024-04-23 05:45:40 +00:00
danfengl
a3bd26acd9
Remove CSI plugin in E2E test
...
Signed-off-by: danfengl <danfengl@vmware.com >
2024-04-22 07:13:40 +00:00
Ming Qiu
a0fb7398cf
Merge makefile for e2e perf test
...
Signed-off-by: Ming Qiu <ming.qiu@broadcom.com >
2024-04-19 02:15:30 +00:00
eveneast
d0350960b6
Fix some comments
...
Signed-off-by: eveneast <qcqs@foxmail.com >
2024-04-15 14:48:20 +08:00
Xun Jiang
59eeec268b
Update CSI document. Remove the CSI plugin verifier.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-12 13:51:20 +08:00