Race in frostfs-adm morph test #600

Closed
opened 2023-08-11 08:59:59 +00:00 by ale64bit · 0 comments
Collaborator

Repro:

go test -race -count 1000 -timeout 1h git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph

Result:

size: 4
alphabet-wallets: /tmp/TestGenerateAlphabet3242624329/001
wallet[0]: 0
wallet[1]: 1
wallet[2]: 2
wallet[3]: 3
panic: sync: negative WaitGroup counter

goroutine 85 [running]:
sync.(*WaitGroup).Add(0xc0002fabe0, 0xffffffffffffffff)
	/usr/local/go/src/sync/waitgroup.go:62 +0x1eb
sync.(*WaitGroup).Done(0x11ebc32?)
	/usr/local/go/src/sync/waitgroup.go:87 +0x36
git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph.TestGenerateAlphabet.func5()
	/home/alopez/src/frostfs-node/cmd/frostfs-adm/internal/modules/morph/generate_test.go:97 +0x58f
created by git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph.TestGenerateAlphabet
	/home/alopez/src/frostfs-node/cmd/frostfs-adm/internal/modules/morph/generate_test.go:78 +0x845
FAIL	git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph	75.051s
Repro: ```sh go test -race -count 1000 -timeout 1h git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph ``` Result: ``` size: 4 alphabet-wallets: /tmp/TestGenerateAlphabet3242624329/001 wallet[0]: 0 wallet[1]: 1 wallet[2]: 2 wallet[3]: 3 panic: sync: negative WaitGroup counter goroutine 85 [running]: sync.(*WaitGroup).Add(0xc0002fabe0, 0xffffffffffffffff) /usr/local/go/src/sync/waitgroup.go:62 +0x1eb sync.(*WaitGroup).Done(0x11ebc32?) /usr/local/go/src/sync/waitgroup.go:87 +0x36 git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph.TestGenerateAlphabet.func5() /home/alopez/src/frostfs-node/cmd/frostfs-adm/internal/modules/morph/generate_test.go:97 +0x58f created by git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph.TestGenerateAlphabet /home/alopez/src/frostfs-node/cmd/frostfs-adm/internal/modules/morph/generate_test.go:78 +0x845 FAIL git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-adm/internal/modules/morph 75.051s ```
ale64bit added the
bug
frostfs-adm
triage
labels 2023-08-11 08:59:59 +00:00
fyrchik self-assigned this 2023-08-11 09:09:27 +00:00
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: TrueCloudLab/frostfs-node#600
There is no content yet.