Closed blackpiglet closed 1 year ago
There are several issues:
Another issue found during E2E test is: [Basic] test case occasionally fails on the namespace annotation case. The error says cannot find the created backup on S3. After clear backup directory on S3 bucket used by BSL, the test case passes again.
After getting help from Danfeng, I removed test case [Backups][Deletion], due to not applicable for GCP environment, and modified the out-of-date AWS secret info. Then all case should pass
[Basic] namespace with annotation case failure is reproduced. Log is https://gist.github.com/blackpiglet/58dad656717365e364fed7863d639fd3
In log, the error is fail to find created backup, but, after test completed, install velero and retrieve backup list, the missed backup can be found in the list.
velero install --provider gcp --plugins velero/velero-plugin-for-gcp:main --image velero/velero:main --bucket jxun --secret-file /root/credentials-velero
velero backup get
NAME STATUS ERRORS WARNINGS CREATED EXPIRES STORAGE LOCATION SELECTOR
backup-0c6157ab-9c92-4608-ace2-087f904dfa55 Completed 0 0 2022-01-08 05:19:03 +0000 UTC 29d default
I don't quite understand why this error happens, let's see if it can be reproduced.
Then I ran two more times. Both of them have some unexpected result.
What steps did you take and what happened:
CREDS_FILE=/root/credentials-velero \ BSL_BUCKET=jxun \ CLOUD_PROVIDER=gcp \ VELERO_CLI=/usr/local/bin/velero \ VELERO_VERSION=main \ VELERO_IMAGE=velero/velero:main \ VELERO_NAMESPACE=velero \ REGISTRY_CREDENTIAL_FILE=/root/docker-config.json \ ADDITIONAL_OBJECT_STORE_PROVIDER=aws \ ADDITIONAL_CREDS_FILE=/root/aws_credentials \ ADDITIONAL_BSL_BUCKET=mqiu-bucket \ GINKGO_SKIP=Restic \ nohup make test-e2e &
Test failed with 4 cases not passed.
What did you expect to happen: Test pass without failed case.
The following information will help us better understand what's going on:
E2E tes log: https://gist.github.com/blackpiglet/5d21e0cde12ddb294d7bae8eb6e7bf7f
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
velero version
): mainvelero client config get features
): nonekubectl version
): v1.22/etc/os-release
): LinuxVote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.