Shaman unit test TestGarbageCollect is unstable #104218

Closed
opened 2023-05-31 12:08:45 +02:00 by Sybren A. Stüvel · 0 comments

System Information
Operating System(s): Windows 10, but seen on Linux as well

Flamenco Version
Is Broken: Flamenco 3.3-alpha (16da14479bf5bd11a585f0941f9adeb4d5301190); likely all 3.x releases.
Worked OK: Not sure if this ever worked 100%

Short description of error

The Shaman TestGarbageCollect unit test sometimes fails.

Exact steps for others to reproduce the error

$ go test ./pkg/shaman/... -test.count 1

If this doesn't trigger the error, repeat until it does. The -test.count 1 forces the test to be re-run (instead of caching the result).

The error:

--- FAIL: TestGarbageCollect (0.04s)
    cleanup_test.go:220:
                Error Trace:    cleanup_test.go:220
                Error:          Should be true
                Test:           TestGarbageCollect
                Messages:       file C:\Users\Sybren\AppData\Local\Temp\shaman-test-2921007643\file-store\stored\30\928ffced04c7008f3324fded86d133effea50828f5ad896196f2a2e190ac7e\6001.blob should NOT exist 
after GC
**System Information** Operating System(s): Windows 10, but seen on Linux as well **Flamenco Version** Is Broken: Flamenco 3.3-alpha (`16da14479bf5bd11a585f0941f9adeb4d5301190`); likely all 3.x releases. Worked OK: Not sure if this ever worked 100% **Short description of error** The Shaman `TestGarbageCollect` unit test sometimes fails. **Exact steps for others to reproduce the error** ```bash $ go test ./pkg/shaman/... -test.count 1 ``` If this doesn't trigger the error, repeat until it does. The `-test.count 1` forces the test to be re-run (instead of caching the result). The error: ``` --- FAIL: TestGarbageCollect (0.04s) cleanup_test.go:220: Error Trace: cleanup_test.go:220 Error: Should be true Test: TestGarbageCollect Messages: file C:\Users\Sybren\AppData\Local\Temp\shaman-test-2921007643\file-store\stored\30\928ffced04c7008f3324fded86d133effea50828f5ad896196f2a2e190ac7e\6001.blob should NOT exist after GC ```
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#104218
No description provided.