Closed altergui closed 1 year ago
another occurence today https://github.com/vocdoni/vocdoni-node/actions/runs/3378377462/jobs/5608502898#step:5:1039
--- FAIL: TestAPIaccount (6.73s)
api.go:70: address: http://127.0.0.1:46695/
vochain.go:248: starting vochain scrutinizer
apiclient.go:35: querying http://127.0.0.1:46695/chain/info
apiclient.go:35: querying http://127.0.0.1:46695/account
apiclient.go:35: querying http://127.0.0.1:46695/chain/info
testing.go:1312: race detected during execution of test
FAIL
FAIL go.vocdoni.io/dvote/test 20.208s
This was fixed with #678; they were duplicates.
https://github.com/vocdoni/vocdoni-node/actions/runs/3369212615/jobs/5588984598#step:5:1039
data race
``` ================== WARNING: DATA RACE Write at 0x00c00e8f5930 by goroutine 830: go.vocdoni.io/dvote/vochain/scrutinizer.(*Scrutinizer).Rollback() /__w/vocdoni-node/vocdoni-node/vochain/scrutinizer/scrutinizer.go:489 +0x21c go.vocdoni.io/dvote/vochain.(*State).Rollback() /__w/vocdoni-node/vocdoni-node/vochain/state.go:1084 +0x29a go.vocdoni.io/dvote/vochain.(*BaseApplication).BeginBlock() /__w/vocdoni-node/vocdoni-node/vochain/app.go:453 +0x48 github.com/tendermint/tendermint/abci/client.(*localClient).BeginBlockSync() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/abci/client/local_client.go:285 +0x174 github.com/tendermint/tendermint/internal/proxy.(*appConnConsensus).BeginBlockSync() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/proxy/app_conn.go:93 +0x28b github.com/tendermint/tendermint/internal/state.execBlockOnProxyApp() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/state/execution.go:343 +0x5ab github.com/tendermint/tendermint/internal/state.(*BlockExecutor).ApplyBlock() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/state/execution.go:161 +0x20d github.com/tendermint/tendermint/internal/consensus.(*State).finalizeCommit() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/consensus/state.go:1722 +0xf7c github.com/tendermint/tendermint/internal/consensus.(*State).tryFinalizeCommit() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/consensus/state.go:1636 +0x46d github.com/tendermint/tendermint/internal/consensus.(*State).enterCommit.func1() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/consensus/state.go:1570 +0x10a runtime.deferreturn() /usr/local/go/src/runtime/panic.go:436 +0x32 github.com/tendermint/tendermint/internal/consensus.(*State).addVote() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/consensus/state.go:2204 +0x1292 github.com/tendermint/tendermint/internal/consensus.(*State).tryAddVote() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/consensus/state.go:2002 +0x77 github.com/tendermint/tendermint/internal/consensus.(*State).handleMsg() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/consensus/state.go:918 +0x65c github.com/tendermint/tendermint/internal/consensus.(*State).receiveRoutine() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/consensus/state.go:845 +0x6f6 github.com/tendermint/tendermint/internal/consensus.(*State).OnStart.func1() /go/pkg/mod/github.com/tendermint/tendermint@v0.35.9/internal/consensus/state.go:417 +0x3b Previous write at 0x00c00e8f5930 by goroutine 953: go.vocdoni.io/dvote/vochain/scrutinizer.(*Scrutinizer).OnNewTx() /__w/vocdoni-node/vocdoni-node/vochain/scrutinizer/transaction.go:43 +0x1c5 go.vocdoni.io/dvote/vochain.(*BaseApplication).DeliverTx() /__w/vocdoni-node/vocdoni-node/vochain/app.go:519 +0x73b go.vocdoni.io/dvote/vochain.(*BaseApplication).SetTestingMethods.func3() /__w/vocdoni-node/vocdoni-node/vochain/app.go:203 +0x1c4 go.vocdoni.io/dvote/vochain.(*BaseApplication).SendTx() /__w/vocdoni-node/vocdoni-node/vochain/app.go:339 +0x84 go.vocdoni.io/dvote/api.(*API).accountSetHandler() /__w/vocdoni-node/vocdoni-node/api/account.go:87 +0x408 go.vocdoni.io/dvote/api.(*API).accountSetHandler-fm()