Closed rjl493456442 closed 1 month ago
Found a new flaky test TestDisable
from https://ci.appveyor.com/project/ethereum/go-ethereum/builds/49926124/job/2nw6ofdur8xt4ox6
Will draft a PR to fix it.
Update: Larger maxDiffLayers
causes a higher probability of failing. If maxDiffLayers = 7
, it always fails
Found a new flaky test
TestDisable
from https://ci.appveyor.com/project/ethereum/go-ethereum/builds/49926124/job/2nw6ofdur8xt4ox6Will draft a PR to fix it.
Update: Larger
maxDiffLayers
causes a higher probability of failing. IfmaxDiffLayers = 7
, it always fails
@rjl493456442 Hi sir, here for PR #29901
@rjl493456442 Found TestUpdatedKeyfileContents
is still flaky. I don't think #29867 fixed the issue.
--- FAIL: TestUpdatedKeyfileContents (2.11s)
account_cache_test.go:399: Emptying account file failed
account_cache_test.go:400: wasn't notified of new accounts
FAIL
Following is the stress test output:
5s: 48 runs so far, 0 failures
10s: 96 runs so far, 0 failures
15s: 155 runs so far, 0 failures
20s: 216 runs so far, 0 failures
25s: 264 runs so far, 0 failures
30s: 323 runs so far, 0 failures
35s: 384 runs so far, 0 failures
40s: 432 runs so far, 0 failures
45s: 488 runs so far, 0 failures
50s: 552 runs so far, 0 failures
55s: 600 runs so far, 0 failures
1m0s: 650 runs so far, 0 failures
1m5s: 718 runs so far, 0 failures
1m10s: 768 runs so far, 0 failures
1m15s: 816 runs so far, 0 failures
1m20s: 885 runs so far, 0 failures
1m25s: 936 runs so far, 0 failures
1m30s: 984 runs so far, 0 failures
1m35s: 1052 runs so far, 0 failures
/tmp/go-stress-20240623T160258-2662963029
--- FAIL: TestUpdatedKeyfileContents (2.11s)
account_cache_test.go:399: Emptying account file failed
account_cache_test.go:400: wasn't notified of new accounts
FAIL
ERROR: exit status 1
1m40s: 1103 runs so far, 1 failures (0.09%)
1m45s: 1152 runs so far, 1 failures (0.09%)
1m50s: 1210 runs so far, 1 failures (0.08%)
/tmp/go-stress-20240623T160258-3255354051
--- FAIL: TestUpdatedKeyfileContents (2.21s)
account_cache_test.go:399: Emptying account file failed
account_cache_test.go:400: wasn't notified of new accounts
FAIL
ERROR: exit status 1
1m55s: 1269 runs so far, 2 failures (0.16%)
/tmp/go-stress-20240623T160258-645289654
--- FAIL: TestUpdatedKeyfileContents (2.21s)
account_cache_test.go:399: Emptying account file failed
account_cache_test.go:400: wasn't notified of new accounts
FAIL
ERROR: exit status 1
Seems like TestHTTPWriteTimeout
is also flaky: https://ci.appveyor.com/project/ethereum/go-ethereum/builds/50081925/job/eg9afjcao7qspxss
This issue is a bit sprawling. It was a good intent, to collect the info in one place. But now it's just a lot of work to figure out if the particular things listed here is still flaky, or if they have been fixed.
Let's close this, and then open a new one with fresh info
You may choose any flaky test to fix if you are interested, but be aware that some flaky tests could be complicated.
If you want to investigate the failure, you could add
in the test to stream out the logs.
Besides, you could use
stress
tool to verify if your fix is correct, instructions as follow:go test -c
stress ./<package-name>.test <your test>