-
Notifications
You must be signed in to change notification settings - Fork 609
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
[BACKPORT][v1.6.3][BUG] Fix longhorn-manager TestCleanupRedundantInstanceManagers
#8670
Comments
Pre Ready-For-Testing Checklist
Run
|
Verified on v1.6.x-head 20240905
The test steps Result Passed
ryao@ryao-laptop:~/Desktop/longhorn-manager/controller> go test -check.f TestCleanupRedundantInstanceManagers --count 20go: downloading go1.22.2 (linux/amd64)
W0905 18:25:50.766945 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
W0905 18:25:50.767672 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
W0905 18:25:50.768362 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
W0905 18:25:50.768918 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
W0905 18:25:50.770136 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
W0905 18:25:50.770766 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
W0905 18:25:50.771335 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
W0905 18:25:50.771860 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
W0905 18:25:50.772404 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
W0905 18:25:50.772880 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
W0905 18:25:50.773488 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
W0905 18:25:50.774078 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
W0905 18:25:50.774863 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
W0905 18:25:50.776040 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
W0905 18:25:50.776665 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
W0905 18:25:50.777230 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
W0905 18:25:50.777860 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
W0905 18:25:50.778446 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
W0905 18:25:50.779033 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
W0905 18:25:50.779599 350 shared_informer.go:565] The specified resyncPeriod 30s is invalid because this shared informer doesn't support resyncing
INFO[0000] Cron is changed from to 0 0 */7 * *. Next snapshot check job will be executed at 2024-09-08 00:00:00 +0800 CST controller=longhorn-node monitor="snapshot monitor"
OK: 1 passed
testing size update smaller than threshold, 50 GiB volume
testing size update smaller than threshold, 150 GiB volume
testing no field changed
testing arbitrary field changed
testing size update larger than threshold, 1 GiB volume
testing size update larger than threshold, 50 GiB volume
testing size update larger than threshold, 150 GiB volume
testing size update smaller than threshold, 1 GiB volume
PASS
ok github.com/longhorn/longhorn-manager/controller 0.032s |
Remove the |
backport #8658
The text was updated successfully, but these errors were encountered: