Skip to content

CI failed : The command "go test ./gemmill/... -coverprofile=coverage.txt -covermode=atomic" exited with 1. #81

@needkane

Description

@needkane

The command "make test" exited with 0.
28.11s$ go test ./gemmill/... -coverprofile=coverage.txt -covermode=atomic
? github.com/dappledger/AnnChain/gemmill [no test files]
? github.com/dappledger/AnnChain/gemmill/archive [no test files]
ok github.com/dappledger/AnnChain/gemmill/blockchain 2.267s coverage: 25.8% of statements
ok github.com/dappledger/AnnChain/gemmill/config 0.004s coverage: 16.9% of statements
? github.com/dappledger/AnnChain/gemmill/consensus [no test files]
? github.com/dappledger/AnnChain/gemmill/consensus/pbft [no test files]
? github.com/dappledger/AnnChain/gemmill/consensus/raft [no test files]
ok github.com/dappledger/AnnChain/gemmill/ed25519 0.043s coverage: 95.8% of statements
? github.com/dappledger/AnnChain/gemmill/ed25519/edwards25519 [no test files]
ok github.com/dappledger/AnnChain/gemmill/ed25519/extra25519 0.148s coverage: 99.5% of statements
ok github.com/dappledger/AnnChain/gemmill/go-crypto 0.288s coverage: 42.6% of statements
? github.com/dappledger/AnnChain/gemmill/go-crypto/bcrypt [no test files]
? github.com/dappledger/AnnChain/gemmill/go-hash [no test files]
ok github.com/dappledger/AnnChain/gemmill/go-utils 0.002s coverage: 5.2% of statements
ok github.com/dappledger/AnnChain/gemmill/go-wire 0.363s coverage: 56.7% of statements
? github.com/dappledger/AnnChain/gemmill/go-wire/cmd/wire [no test files]
ok github.com/dappledger/AnnChain/gemmill/go-wire/expr 0.014s coverage: 61.5% of statements
? github.com/dappledger/AnnChain/gemmill/mempool [no test files]
ok github.com/dappledger/AnnChain/gemmill/modules/go-autofile 0.140s coverage: 71.5% of statements
ok github.com/dappledger/AnnChain/gemmill/modules/go-clist 2.470s coverage: 70.7% of statements
ok github.com/dappledger/AnnChain/gemmill/modules/go-common 0.005s coverage: 21.5% of statements
ok github.com/dappledger/AnnChain/gemmill/modules/go-db 0.003s coverage: 8.0% of statements [no tests to run]
ok github.com/dappledger/AnnChain/gemmill/modules/go-events 0.012s coverage: 85.7% of statements
--- FAIL: TestReader (0.46s)
io_test.go:108: r.Status(1) expected {true 2019-12-31 09:27:36.1 +0000 UTC 100ms 0s 10 1 100 100 100 100 0 0s 0.000%}; got {true 2019-12-31 09:27:36.1 +0000 UTC 120ms 0s 10 1 83 83 83 83 0 0s 0.000%}
io_test.go:108: r.Status(2) expected {true 2019-12-31 09:27:36.1 +0000 UTC 200ms 100ms 20 2 100 100 100 100 0 0s 0.000%}; got {true 2019-12-31 09:27:36.1 +0000 UTC 220ms 100ms 20 2 100 85 91 100 0 0s 0.000%}
io_test.go:108: r.Status(3) expected {true 2019-12-31 09:27:36.1 +0000 UTC 300ms 200ms 20 3 0 90 67 100 0 0s 0.000%}; got {true 2019-12-31 09:27:36.1 +0000 UTC 320ms 200ms 20 3 0 77 63 100 0 0s 0.000%}
io_test.go:108: r.Status(4) expected {false 2019-12-31 09:27:36.1 +0000 UTC 300ms 0s 20 3 0 0 67 100 0 0s 0.000%}; got {false 2019-12-31 09:27:36.1 +0000 UTC 320ms 0s 20 3 0 0 63 100 0 0s 0.000%}
io_test.go:108: r.Status(5) expected {false 2019-12-31 09:27:36.1 +0000 UTC 300ms 0s 20 3 0 0 67 100 0 0s 0.000%}; got {false 2019-12-31 09:27:36.1 +0000 UTC 320ms 0s 20 3 0 0 63 100 0 0s 0.000%}
FAIL
coverage: 81.6% of statements
FAIL github.com/dappledger/AnnChain/gemmill/modules/go-flowrate/flowrate 0.948s
ok github.com/dappledger/AnnChain/gemmill/modules/go-log 0.003s coverage: 16.5% of statements
ok github.com/dappledger/AnnChain/gemmill/modules/go-merkle 1.726s coverage: 79.0% of statements
? github.com/dappledger/AnnChain/gemmill/modules/go-merkle/scripts [no test files]
ok github.com/dappledger/AnnChain/gemmill/p2p 0.040s coverage: 29.8% of statements
? github.com/dappledger/AnnChain/gemmill/p2p/upnp [no test files]
? github.com/dappledger/AnnChain/gemmill/plugin [no test files]
ok github.com/dappledger/AnnChain/gemmill/refuse_list 0.018s coverage: 85.7% of statements
? github.com/dappledger/AnnChain/gemmill/rpc [no test files]
? github.com/dappledger/AnnChain/gemmill/rpc/client [no test files]
ok github.com/dappledger/AnnChain/gemmill/rpc/server 0.005s coverage: 13.5% of statements
? github.com/dappledger/AnnChain/gemmill/rpc/types [no test files]
ok github.com/dappledger/AnnChain/gemmill/state 10.585s coverage: 7.0% of statements
? github.com/dappledger/AnnChain/gemmill/trace [no test files]
ok github.com/dappledger/AnnChain/gemmill/types 0.486s coverage: 28.7% of statements
ok github.com/dappledger/AnnChain/gemmill/utils 0.002s coverage: 15.3% of statements
ok github.com/dappledger/AnnChain/gemmill/utils/zip 0.003s coverage: 68.2% of statements
The command "go test ./gemmill/... -coverprofile=coverage.txt -covermode=atomic" exited with 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions