-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] System restore with backing image could fail due to backing image checksum mismatch #9041
Comments
cc @ChanYiLin |
it is quite weird, the testing image should be parrot.raw and when doing backup the correct config should be like following
It seems the test use wrong backing image in the backup store |
Can we make sure all other backing images are thoroughly cleaned up before executing the test? |
According to my discussion with @roger-ryao before about this issue
|
Yes, we can clean up all the backup backing image before running the tests |
Oh I see |
Pre Ready-For-Testing Checklist
PRs: |
Verified on master-head/v1.7.x 20230723 The test steps Result passed After longhorn/longhorn-tests#1989 and longhorn/longhorn-tests#1990 were merged, the
|
Describe the bug
Recently, test case
test_system_backup_and_restore_volume_with_backingimage
has been failing on bothv1.7.x-head
andmaster-head
from time to time:https://ci.longhorn.io/job/public/job/master/job/sles/job/amd64/job/longhorn-tests-sles-amd64/973/testReport/junit/tests/test_system_backup_restore/test_system_backup_and_restore_volume_with_backingimage_nfs_/
https://ci.longhorn.io/job/public/job/v1.7.x/job/v1.7.x-longhorn-tests-sles-amd64/4/testReport/junit/tests/test_system_backup_restore/test_system_backup_and_restore_volume_with_backingimage_s3_/
https://ci.longhorn.io/job/public/job/v1.7.x/job/v1.7.x-longhorn-upgrade-tests-sles-amd64/5/testReport/junit/tests/test_system_backup_restore/test_system_backup_and_restore_volume_with_backingimage_s3_/
It could remain stuck in system restoration indefinitely:
Probably because the restored backing image checksum mismatch. The
Current SHA512 Checksum
isbd79ab9e6d45abf4f3f0adf552a868074dd235c4698ce7258d521160e0ad79ffe555b94e7d4007add6e1a25f4526885eb25c53ce38f7d344dd4925b9f2cb5d3b
, but theExpected SHA512 Checksum
is304f3ed30ca6878e9056ee6f1b02b328239f0d0c2c1272840998212f9734b196371560b3b939037e4f4c2884ce457c2cbc9f0621f4f5d1ca983983c8cdf8cd9a
:I've also checked the backing image backup in the backup store, and the checksum is not correct as well:
To Reproduce
Run test case
test_system_backup_and_restore_volume_with_backingimage
repeatedly.Expected behavior
Support bundle for troubleshooting
supportbundle_3802211e-5fd7-4e15-8a9b-e95b927fbf11_2024-07-19T01-42-43Z.zip
Environment
Additional context
The text was updated successfully, but these errors were encountered: