tokamak-network/plasma-evm

pls package test failed, even all test code successfully done.

sifnoc opened this issue · 1 comments

test pls package got failed even all test code well run in most of the times.

In the same condition.

Fail : https://app.circleci.com/pipelines/github/sifnoc/plasma-evm/91/workflows/eac48142-d481-4e1d-8d05-b8e5e0b257c7/jobs/209
Pass : https://app.circleci.com/pipelines/github/sifnoc/plasma-evm/91/workflows/b461c836-3fd3-46be-9986-dad01c41ea86/jobs/213

System information

Geth version: geth 1.10
OS & Version: go1.13 & Linux
Commit hash : edb61b2

Expected behavior

Pass test TestInvalidExit

Actual behaviour

Sometimes Fail, even all test procedures done.

DEBUG[04-10|16:12:19.003|rpc/server.go:123]                  RPC server shutting down 
INFO [04-10|16:12:19.003|core/blockchain.go:911]             Writing cached state to disk             block=19 hash=3d3d22…552ff4 root=fc9a7e…87c2d6
DEBUG[04-10|16:12:19.003|rpc/client.go:555]                  RPC connection read error                err="io: read/write on closed pipe"
DEBUG[04-10|16:12:19.003|rpc/client.go:555]                  RPC connection read error                err=EOF
INFO [04-10|16:12:19.003|trie/database.go:748]               Persisted trie from memory database      nodes=22 size=6.20KiB   time=237.91µs gcnodes=0 gcsize=0.00B gctime=0s livenodes=58 livesize=11.40KiB
INFO [04-10|16:12:19.003|core/blockchain.go:911]             Writing cached state to disk             block=18 hash=d8ea08…2c7a21 root=120432…e7754a
INFO [04-10|16:12:19.003|trie/database.go:748]               Persisted trie from memory database      nodes=3  size=659.00B   time=32.911µs gcnodes=0 gcsize=0.00B gctime=0s livenodes=55 livesize=10.75KiB
INFO [04-10|16:12:19.003|tx/manager.go:681]                  Transaction is confirmed                 addr=0xb79749F25Ef64F9AC277A4705887101D3311A0F4 caption="submitNRE(13: [16-17])"
DEBUG[04-10|16:12:19.003|tx/manager.go:675]                  check raw is confirmed                   addr=0xb79749F25Ef64F9AC277A4705887101D3311A0F4 caption="submitNRE(15: [18-19])"
DEBUG[04-10|16:12:19.003|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=595.00B   time=6.624µs  gcnodes=3 gcsize=595.00B gctime=6.351µs livenodes=52 livesize=10.17KiB
DEBUG[04-10|16:12:19.003|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=595.00B   time=3.714µs  gcnodes=6 gcsize=1.16KiB gctime=9.955µs livenodes=49 livesize=9.59KiB
DEBUG[04-10|16:12:19.003|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=595.00B   time=3.308µs  gcnodes=9 gcsize=1.74KiB gctime=13.182µs livenodes=46 livesize=9.01KiB
DEBUG[04-10|16:12:19.003|trie/database.go:526]               Dereferenced trie from memory database   nodes=4  size=677.00B   time=6.732µs  gcnodes=13 gcsize=2.40KiB gctime=19.78µs  livenodes=42 livesize=8.35KiB
DEBUG[04-10|16:12:19.003|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=3.546µs  gcnodes=16 gcsize=3.05KiB gctime=23.232µs livenodes=39 livesize=7.70KiB
DEBUG[04-10|16:12:19.003|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=4.799µs  gcnodes=19 gcsize=3.69KiB gctime=27.921µs livenodes=36 livesize=7.06KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=5  size=863.00B   time=6.22µs   gcnodes=24 gcsize=4.53KiB gctime=34.033µs livenodes=31 livesize=6.22KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=5.791µs  gcnodes=27 gcsize=5.18KiB gctime=39.72µs  livenodes=28 livesize=5.57KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=4.214µs  gcnodes=30 gcsize=5.82KiB gctime=43.84µs  livenodes=25 livesize=4.93KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=4.155µs  gcnodes=33 gcsize=6.46KiB gctime=47.896µs livenodes=22 livesize=4.29KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=4.768µs  gcnodes=36 gcsize=7.11KiB gctime=52.558µs livenodes=19 livesize=3.64KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=634.00B   time=3.89µs   gcnodes=39 gcsize=7.73KiB gctime=56.343µs livenodes=16 livesize=3.02KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=4.103µs  gcnodes=42 gcsize=8.37KiB gctime=60.337µs livenodes=13 livesize=2.38KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=3.934µs  gcnodes=45 gcsize=9.01KiB gctime=64.17µs  livenodes=10 livesize=1.74KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=3.832µs  gcnodes=48 gcsize=9.66KiB gctime=67.906µs livenodes=7  livesize=1.09KiB
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=4.616µs  gcnodes=51 gcsize=10.30KiB gctime=72.428µs livenodes=4  livesize=461.00B
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=3  size=659.00B   time=3.235µs  gcnodes=54 gcsize=10.95KiB gctime=75.584µs livenodes=1  livesize=-198.00B
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=0  size=0.00B     time=544ns    gcnodes=54 gcsize=10.95KiB gctime=76.036µs livenodes=1  livesize=-198.00B
DEBUG[04-10|16:12:19.004|trie/database.go:526]               Dereferenced trie from memory database   nodes=0  size=0.00B     time=499ns    gcnodes=54 gcsize=10.95KiB gctime=76.456µs livenodes=1  livesize=-198.00B
INFO [04-10|16:12:19.004|core/blockchain.go:924]             Blockchain manager stopped 
INFO [04-10|16:12:19.004|pls/handler.go:265]                 Stopping Plasma protocol 
INFO [04-10|16:12:19.004|pls/handler.go:286]                 Plasma protocol stopped 
INFO [04-10|16:12:19.004|core/tx_pool.go:424]                Transaction pool stopped 
DEBUG[04-10|16:12:19.004|pls/downloader/downloader.go:578]   Reset ancient limit to zero 
CRIT [04-10|16:12:19.004|tx/rawdb.go:207]                    Failed to store number of raw transactions err="database closed"
FAIL	github.com/Onther-Tech/plasma-evm/pls	299.623s
FAIL

More details in : https://app.circleci.com/pipelines/github/sifnoc/plasma-evm/94/workflows/fb8e2e37-51a6-440c-9b77-7ef640694630/jobs/223

Steps to reproduce the behavior

Configuration is here

Reproduced this issue without checking tm.quit channel.
https://bit.ly/2xpQQb3