Consider data race in FetcherCancel test #11

Closed
opened 2024-07-22 12:24:10 +00:00 by alexvanin · 0 comments
Owner
--- FAIL: TestFetcherCancel (0.00s)
    logger.go:146: 2024-07-22T10:34:50.351Z	INFO	fetcher: trigger epoch, cancel previous fetch	{"epoch": 1}
    logger.go:146: 2024-07-22T10:34:50.351Z	INFO	job provider stopped because of epoch channel is closed
    logger.go:146: 2024-07-22T10:34:50.351Z	INFO	found user containers	{"user": "NdHqRXKzDP463Fba5qxqLh3TVtSyqBxczB", "containers": 3}
    logger.go:146: 2024-07-22T10:34:50.351Z	WARN	failed to handle user	{"address": "NdHqRXKzDP463Fba5qxqLh3TVtSyqBxczB", "error": "context canceled"}
    fetcher_test.go:241: 
        	Error Trace:	/workspace/TrueCloudLab/frostfs-s3-lifecycler/internal/lifecycle/fetcher_test.go:241
        	Error:      	"[{4u9v5xNYfV3LSWwqHaRH8pVkQPCQuYUhW9ULPbDitMRx 1c1a38e2d17f073bedd540faa2c01f49fc7244e2d322da56e0ff42dbf63fb0e6 0xc0000d7a00 1} {7CAfAvDWYgpfBtHpWc1UbtYXWhiJZrQeGejzW8xomE6v 1c1a38e2d17f073bedd540faa2c01f49fc7244e2d322da56e0ff42dbf63fb0e6 0xc0000d7a80 1}]" should have 1 item(s), but has 2
        	Test:       	TestFetcherCancel
FAIL

Probably some data race bug. I've restarted test runner.

Originally posted by @alexvanin in /TrueCloudLab/frostfs-s3-lifecycler/pulls/9#issuecomment-44801

``` --- FAIL: TestFetcherCancel (0.00s) logger.go:146: 2024-07-22T10:34:50.351Z INFO fetcher: trigger epoch, cancel previous fetch {"epoch": 1} logger.go:146: 2024-07-22T10:34:50.351Z INFO job provider stopped because of epoch channel is closed logger.go:146: 2024-07-22T10:34:50.351Z INFO found user containers {"user": "NdHqRXKzDP463Fba5qxqLh3TVtSyqBxczB", "containers": 3} logger.go:146: 2024-07-22T10:34:50.351Z WARN failed to handle user {"address": "NdHqRXKzDP463Fba5qxqLh3TVtSyqBxczB", "error": "context canceled"} fetcher_test.go:241: Error Trace: /workspace/TrueCloudLab/frostfs-s3-lifecycler/internal/lifecycle/fetcher_test.go:241 Error: "[{4u9v5xNYfV3LSWwqHaRH8pVkQPCQuYUhW9ULPbDitMRx 1c1a38e2d17f073bedd540faa2c01f49fc7244e2d322da56e0ff42dbf63fb0e6 0xc0000d7a00 1} {7CAfAvDWYgpfBtHpWc1UbtYXWhiJZrQeGejzW8xomE6v 1c1a38e2d17f073bedd540faa2c01f49fc7244e2d322da56e0ff42dbf63fb0e6 0xc0000d7a80 1}]" should have 1 item(s), but has 2 Test: TestFetcherCancel FAIL ``` Probably some data race bug. I've restarted test runner. _Originally posted by @alexvanin in /TrueCloudLab/frostfs-s3-lifecycler/pulls/9#issuecomment-44801_
alexvanin added the
bug
label 2024-07-22 12:24:16 +00:00
Sign in to join this conversation.
No description provided.