cosmos-sdk
cosmos-sdk copied to clipboard
Get TestIntegrationTestSuite passing w/ Optimint
Should be a child of https://github.com/celestiaorg/cosmos-sdk/issues/17
As a step towards Evmos being functional we should attempt to have Optimint match the functionality of Tendermint.
Starting with the IntegrationTestSuite lets us get a summary of things not working with:
go test -run TestIntegrationTestSuite ./... -v
There are 4 failing services
- [ ]
github.com/cosmos/cosmos-sdk/client/grpc/tmservice - [ ]
github.com/cosmos/cosmos-sdk/client/rpc - [ ]
github.com/cosmos/cosmos-sdk/x/auth/tx - [ ]
github.com/cosmos/cosmos-sdk/x/distribution/client/rest
Failing tests in github.com/cosmos/cosmos-sdk/client/grpc/tmservice
=== RUN TestIntegrationTestSuite
service_test.go:29: setting up integration test suite
network.go:171: acquiring test network lock
network.go:176: created temporary directory: /tmp/TestIntegrationTestSuite166486839/001/chain-H110az1406545646
network.go:185: preparing test network...
network.go:373: starting test network...
badger 2022/02/24 00:37:57 INFO: All 0 tables opened in 0s
badger 2022/02/24 00:37:57 INFO: Discard stats nextEmptySlot: 0
badger 2022/02/24 00:37:57 INFO: Set nextTxnTs to 0
network.go:378: started test network
=== RUN TestIntegrationTestSuite/TestLatestValidatorSet_GRPC
=== RUN TestIntegrationTestSuite/TestLatestValidatorSet_GRPC/nil_request
=== RUN TestIntegrationTestSuite/TestLatestValidatorSet_GRPC/no_pagination
service_test.go:154:
Error Trace: service_test.go:154
suite.go:77
Error: Received unexpected error:
rpc error: code = InvalidArgument desc = failed to load validators for height 8571: fromProto: validatorSet proposer error: nil validator: invalid request
Test: TestIntegrationTestSuite/TestLatestValidatorSet_GRPC/no_pagination
=== RUN TestIntegrationTestSuite/TestLatestValidatorSet_GRPC/with_pagination
service_test.go:154:
Error Trace: service_test.go:154
suite.go:77
Error: Received unexpected error:
rpc error: code = InvalidArgument desc = failed to load validators for height 8571: fromProto: validatorSet proposer error: nil validator: invalid request
Test: TestIntegrationTestSuite/TestLatestValidatorSet_GRPC/with_pagination
=== RUN TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway
=== RUN TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway/no_pagination
service_test.go:187:
Error Trace: service_test.go:187
suite.go:77
Error: Received unexpected error:
unknown field "code" in tmservice.GetLatestValidatorSetResponse
Test: TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway/no_pagination
=== RUN TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway/pagination_invalid_fields
=== RUN TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway/with_pagination
service_test.go:187:
Error Trace: service_test.go:187
suite.go:77
Error: Received unexpected error:
unknown field "code" in tmservice.GetLatestValidatorSetResponse
Test: TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway/with_pagination
=== RUN TestIntegrationTestSuite/TestQueryBlockByHeight
=== RUN TestIntegrationTestSuite/TestQueryLatestBlock
=== RUN TestIntegrationTestSuite/TestQueryLatestValidatorSet
service_test.go:106:
Error Trace: service_test.go:106
Error: Received unexpected error:
rpc error: code = InvalidArgument desc = failed to load validators for height 8576: fromProto: validatorSet proposer error: nil validator: invalid request
Test: TestIntegrationTestSuite/TestQueryLatestValidatorSet
=== RUN TestIntegrationTestSuite/TestQueryNodeInfo
=== RUN TestIntegrationTestSuite/TestQuerySyncing
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/nil_request
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/empty_request
service_test.go:216:
Error Trace: service_test.go:216
suite.go:77
Error: "rpc error: code = InvalidArgument desc = failed to load validators for height 0: key not found: invalid request" does not contain "height must be greater than 0"
Test: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/empty_request
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/no_pagination
service_test.go:218:
Error Trace: service_test.go:218
suite.go:77
Error: Received unexpected error:
rpc error: code = InvalidArgument desc = failed to load validators for height 1: fromProto: validatorSet proposer error: nil validator: invalid request
Test: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/no_pagination
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/with_pagination
service_test.go:218:
Error Trace: service_test.go:218
suite.go:77
Error: Received unexpected error:
rpc error: code = InvalidArgument desc = failed to load validators for height 1: fromProto: validatorSet proposer error: nil validator: invalid request
Test: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/with_pagination
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/invalid_height
service_test.go:245:
Error Trace: service_test.go:245
suite.go:77
Error: "{\n \"code\": 3,\n \"message\": \"failed to load validators for height 18446744073709551615: key not found: invalid request\",\n \"details\": [\n ]\n}" does not contain "height must be greater than 0"
Test: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/invalid_height
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/no_pagination
service_test.go:249:
Error Trace: service_test.go:249
suite.go:77
Error: Received unexpected error:
unknown field "message" in tmservice.GetValidatorSetByHeightResponse
Test: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/no_pagination
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/pagination_invalid_fields
=== RUN TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/with_pagination
service_test.go:249:
Error Trace: service_test.go:249
suite.go:77
Error: Received unexpected error:
unknown field "message" in tmservice.GetValidatorSetByHeightResponse
Test: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/with_pagination
=== CONT TestIntegrationTestSuite
service_test.go:46: tearing down integration test suite
network.go:465: cleaning up test network...
network.go:488: finished cleaning up test network
network.go:462: released test network lock
--- FAIL: TestIntegrationTestSuite (16.11s)
--- FAIL: TestIntegrationTestSuite/TestLatestValidatorSet_GRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestLatestValidatorSet_GRPC/nil_request (0.00s)
--- FAIL: TestIntegrationTestSuite/TestLatestValidatorSet_GRPC/no_pagination (0.00s)
--- FAIL: TestIntegrationTestSuite/TestLatestValidatorSet_GRPC/with_pagination (0.00s)
--- FAIL: TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway (0.00s)
--- FAIL: TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway/no_pagination (0.00s)
--- PASS: TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway/pagination_invalid_fields (0.00s)
--- FAIL: TestIntegrationTestSuite/TestLatestValidatorSet_GRPCGateway/with_pagination (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryBlockByHeight (0.01s)
--- PASS: TestIntegrationTestSuite/TestQueryLatestBlock (0.01s)
--- FAIL: TestIntegrationTestSuite/TestQueryLatestValidatorSet (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryNodeInfo (0.01s)
--- PASS: TestIntegrationTestSuite/TestQuerySyncing (0.00s)
--- FAIL: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/nil_request (0.00s)
--- FAIL: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/empty_request (0.00s)
--- FAIL: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/no_pagination (0.00s)
--- FAIL: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPC/with_pagination (0.00s)
--- FAIL: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway (0.01s)
--- FAIL: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/invalid_height (0.00s)
--- FAIL: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/no_pagination (0.00s)
--- PASS: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/pagination_invalid_fields (0.00s)
--- FAIL: TestIntegrationTestSuite/TestValidatorSetByHeight_GRPCGateway/with_pagination (0.00s)
FAIL
Failing tests in github.com/cosmos/cosmos-sdk/client/rpc
=== RUN TestIntegrationTestSuite
rpc_test.go:24: setting up integration test suite
network.go:171: acquiring test network lock
network.go:176: created temporary directory: /tmp/TestIntegrationTestSuite3460973990/001/chain-Tt5vN11965872143
network.go:185: preparing test network...
network.go:373: starting test network...
badger 2022/02/24 00:37:58 INFO: All 0 tables opened in 0s
badger 2022/02/24 00:37:58 INFO: Discard stats nextEmptySlot: 0
badger 2022/02/24 00:37:58 INFO: Set nextTxnTs to 0
badger 2022/02/24 00:38:13 INFO: All 0 tables opened in 0s
badger 2022/02/24 00:38:13 INFO: Discard stats nextEmptySlot: 0
badger 2022/02/24 00:38:13 INFO: Set nextTxnTs to 0
badger 2022/02/24 00:38:13 INFO: All 0 tables opened in 0s
badger 2022/02/24 00:38:13 INFO: Discard stats nextEmptySlot: 0
badger 2022/02/24 00:38:13 INFO: Set nextTxnTs to 0
badger 2022/02/24 00:38:13 INFO: All 0 tables opened in 0s
badger 2022/02/24 00:38:13 INFO: Discard stats nextEmptySlot: 0
badger 2022/02/24 00:38:13 INFO: Set nextTxnTs to 0
network.go:378: started test network
=== RUN TestIntegrationTestSuite/TestLatestBlocks
=== RUN TestIntegrationTestSuite/TestStatusCommand
rpc_test.go:42:
Error Trace: rpc_test.go:42
Error: Received unexpected error:
toproto: key type <nil> is not supported
Test: TestIntegrationTestSuite/TestStatusCommand
=== CONT TestIntegrationTestSuite
rpc_test.go:33: tearing down integration test suite
network.go:465: cleaning up test network...
network.go:488: finished cleaning up test network
network.go:462: released test network lock
--- FAIL: TestIntegrationTestSuite (16.49s)
--- PASS: TestIntegrationTestSuite/TestLatestBlocks (0.00s)
--- FAIL: TestIntegrationTestSuite/TestStatusCommand (0.00s)
FAIL
FAIL github.com/cosmos/cosmos-sdk/client/rpc 16.641s
Failing tests in github.com/cosmos/cosmos-sdk/x/auth/tx
=== RUN TestIntegrationTestSuite
service_test.go:48: setting up integration test suite
network.go:171: acquiring test network lock
network.go:176: created temporary directory: /tmp/TestIntegrationTestSuite3177001872/001/chain-35Bcta3367258575
network.go:185: preparing test network...
network.go:373: starting test network...
badger 2022/02/24 00:38:13 INFO: All 0 tables opened in 0s
badger 2022/02/24 00:38:13 INFO: Discard stats nextEmptySlot: 0
badger 2022/02/24 00:38:13 INFO: Set nextTxnTs to 0
network.go:378: started test network
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPC
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPC/nil_request
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPC/empty_request
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPC/no_mode
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPC/valid_request
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPCGateway
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPCGateway/empty_request
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPCGateway/no_mode
=== RUN TestIntegrationTestSuite/TestBroadcastTx_GRPCGateway/valid_request
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPC
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPC/nil_request
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPC/empty_request
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPC/request_with_dummy_event
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPC/request_with_order-by
assertion_compare.go:323:
Error Trace: service_test.go:238
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPC/request_with_order-by
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPC/without_pagination
assertion_compare.go:323:
Error Trace: service_test.go:238
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPC/without_pagination
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPC/with_pagination
assertion_compare.go:323:
Error Trace: service_test.go:238
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPC/with_pagination
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPC/with_multi_events
assertion_compare.go:323:
Error Trace: service_test.go:238
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPC/with_multi_events
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/empty_params
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/without_pagination
assertion_compare.go:323:
Error Trace: service_test.go:318
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/without_pagination
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/with_pagination
assertion_compare.go:323:
Error Trace: service_test.go:318
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/with_pagination
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/valid_request:_order_by_asc
assertion_compare.go:323:
Error Trace: service_test.go:318
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/valid_request:_order_by_asc
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/valid_request:_order_by_desc
assertion_compare.go:323:
Error Trace: service_test.go:318
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/valid_request:_order_by_desc
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/invalid_request:_invalid_order_by
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/expect_pass_with_multiple-events
assertion_compare.go:323:
Error Trace: service_test.go:318
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/expect_pass_with_multiple-events
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/expect_pass_with_escape_event
assertion_compare.go:323:
Error Trace: service_test.go:318
suite.go:77
Error: "0" is not greater than or equal to "1"
Test: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/expect_pass_with_escape_event
Messages: []
=== RUN TestIntegrationTestSuite/TestGetTx_GRPC
=== RUN TestIntegrationTestSuite/TestGetTx_GRPC/nil_request
=== RUN TestIntegrationTestSuite/TestGetTx_GRPC/empty_request
=== RUN TestIntegrationTestSuite/TestGetTx_GRPC/request_with_dummy_hash
service_test.go:344:
Error Trace: service_test.go:344
suite.go:77
Error: "rpc error: code = Unknown desc = panic message redacted to hide potentially sensitive system info: panic" does not contain "tx (DEADBEEF) not found"
Test: TestIntegrationTestSuite/TestGetTx_GRPC/request_with_dummy_hash
=== RUN TestIntegrationTestSuite/TestGetTx_GRPC/good_request
service_test.go:346:
Error Trace: service_test.go:346
suite.go:77
Error: Received unexpected error:
rpc error: code = Unknown desc = panic message redacted to hide potentially sensitive system info: panic
Test: TestIntegrationTestSuite/TestGetTx_GRPC/good_request
=== RUN TestIntegrationTestSuite/TestGetTx_GRPCGateway
=== RUN TestIntegrationTestSuite/TestGetTx_GRPCGateway/empty_params
=== RUN TestIntegrationTestSuite/TestGetTx_GRPCGateway/dummy_hash
service_test.go:382:
Error Trace: service_test.go:382
suite.go:77
Error: "{\n \"code\": 2,\n \"message\": \"panic message redacted to hide potentially sensitive system info: panic\",\n \"details\": [\n ]\n}" does not contain "tx (DEADBEEF) not found"
Test: TestIntegrationTestSuite/TestGetTx_GRPCGateway/dummy_hash
=== RUN TestIntegrationTestSuite/TestGetTx_GRPCGateway/good_hash
service_test.go:386:
Error Trace: service_test.go:386
suite.go:77
Error: Received unexpected error:
unknown field "code" in tx.GetTxResponse
Test: TestIntegrationTestSuite/TestGetTx_GRPCGateway/good_hash
=== RUN TestIntegrationTestSuite/TestSimMultiSigTx
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPC
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPC/nil_request
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPC/empty_request
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPC/valid_request_with_proto_tx_(deprecated)
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPC/valid_request_with_tx_bytes
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPCGateway
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPCGateway/empty_request
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPCGateway/valid_request_with_proto_tx_(deprecated)
=== RUN TestIntegrationTestSuite/TestSimulateTx_GRPCGateway/valid_request_with_tx_bytes
=== CONT TestIntegrationTestSuite
service_test.go:86: tearing down integration test suite
network.go:465: cleaning up test network...
network.go:488: finished cleaning up test network
network.go:462: released test network lock
--- FAIL: TestIntegrationTestSuite (24.54s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPC (1.02s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPC/nil_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPC/empty_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPC/no_mode (0.00s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPC/valid_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPCGateway (1.05s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPCGateway/empty_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPCGateway/no_mode (0.00s)
--- PASS: TestIntegrationTestSuite/TestBroadcastTx_GRPCGateway/valid_request (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestGetTxEvents_GRPC/nil_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestGetTxEvents_GRPC/empty_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestGetTxEvents_GRPC/request_with_dummy_event (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPC/request_with_order-by (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPC/without_pagination (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPC/with_pagination (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPC/with_multi_events (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway (0.01s)
--- PASS: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/empty_params (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/without_pagination (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/with_pagination (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/valid_request:_order_by_asc (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/valid_request:_order_by_desc (0.00s)
--- PASS: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/invalid_request:_invalid_order_by (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/expect_pass_with_multiple-events (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTxEvents_GRPCGateway/expect_pass_with_escape_event (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTx_GRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestGetTx_GRPC/nil_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestGetTx_GRPC/empty_request (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTx_GRPC/request_with_dummy_hash (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTx_GRPC/good_request (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTx_GRPCGateway (0.01s)
--- PASS: TestIntegrationTestSuite/TestGetTx_GRPCGateway/empty_params (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTx_GRPCGateway/dummy_hash (0.00s)
--- FAIL: TestIntegrationTestSuite/TestGetTx_GRPCGateway/good_hash (0.00s)
--- PASS: TestIntegrationTestSuite/TestSimMultiSigTx (3.25s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPC (1.03s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPC/nil_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPC/empty_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPC/valid_request_with_proto_tx_(deprecated) (0.00s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPC/valid_request_with_tx_bytes (0.00s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPCGateway (1.03s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPCGateway/empty_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPCGateway/valid_request_with_proto_tx_(deprecated) (0.00s)
--- PASS: TestIntegrationTestSuite/TestSimulateTx_GRPCGateway/valid_request_with_tx_bytes (0.00s)
FAIL
FAIL github.com/cosmos/cosmos-sdk/x/auth/tx 24.653s
Failing tests in github.com/cosmos/cosmos-sdk/x/distribution/client/rest
=== RUN TestIntegrationTestSuite
grpc_query_test.go:27: setting up integration test suite
network.go:171: acquiring test network lock
network.go:176: created temporary directory: /tmp/TestIntegrationTestSuite889536721/001/chain-yXtkQl617506117
network.go:185: preparing test network...
network.go:373: starting test network...
badger 2022/02/24 00:38:21 INFO: All 0 tables opened in 0s
badger 2022/02/24 00:38:21 INFO: Discard stats nextEmptySlot: 0
badger 2022/02/24 00:38:21 INFO: Set nextTxnTs to 0
network.go:378: started test network
=== RUN TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC
=== RUN TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/wrong_delegator_address
=== RUN TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/valid_request
grpc_query_test.go:307:
Error Trace: grpc_query_test.go:307
suite.go:77
Error: Not equal:
expected: "rewards:<validator_address:\"cosmosvaloper1aamu4422sssdgj7z2ajzt75gmm5kh4r8mxylum\" reward:<denom:\"stake\" amount:\"9800000000000000000\" > > total:<denom:\"stake\" amount:\"9800000000000000000\" > "
actual : "rewards:<validator_address:\"cosmosvaloper1aamu4422sssdgj7z2ajzt75gmm5kh4r8mxylum\" > "
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-rewards:<validator_address:"cosmosvaloper1aamu4422sssdgj7z2ajzt75gmm5kh4r8mxylum" reward:<denom:"stake" amount:"9800000000000000000" > > total:<denom:"stake" amount:"9800000000000000000" >
+rewards:<validator_address:"cosmosvaloper1aamu4422sssdgj7z2ajzt75gmm5kh4r8mxylum" >
Test: TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/valid_request
=== RUN TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/wrong_validator_address(specific_validator_rewards)
=== RUN TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/valid_request(specific_validator_rewards)
grpc_query_test.go:307:
Error Trace: grpc_query_test.go:307
suite.go:77
Error: Not equal:
expected: "rewards:<denom:\"stake\" amount:\"9800000000000000000\" > "
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-rewards:<denom:"stake" amount:"9800000000000000000" >
+
Test: TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/valid_request(specific_validator_rewards)
=== RUN TestIntegrationTestSuite/TestQueryDelegatorValidatorsGRPC
=== RUN TestIntegrationTestSuite/TestQueryDelegatorValidatorsGRPC/empty_delegator_address
=== RUN TestIntegrationTestSuite/TestQueryDelegatorValidatorsGRPC/wrong_delegator_address
=== RUN TestIntegrationTestSuite/TestQueryDelegatorValidatorsGRPC/valid_request
=== RUN TestIntegrationTestSuite/TestQueryOutstandingRewardsGRPC
=== RUN TestIntegrationTestSuite/TestQueryOutstandingRewardsGRPC/gRPC_request_params_with_wrong_validator_address
=== RUN TestIntegrationTestSuite/TestQueryOutstandingRewardsGRPC/gRPC_request_params_valid_address
grpc_query_test.go:118:
Error Trace: grpc_query_test.go:118
suite.go:77
Error: Not equal:
expected: "rewards:<rewards:<denom:\"stake\" amount:\"19600000000000000000\" > > "
actual : "rewards:<> "
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-rewards:<rewards:<denom:"stake" amount:"19600000000000000000" > >
+rewards:<>
Test: TestIntegrationTestSuite/TestQueryOutstandingRewardsGRPC/gRPC_request_params_valid_address
=== RUN TestIntegrationTestSuite/TestQueryParamsGRPC
=== RUN TestIntegrationTestSuite/TestQueryParamsGRPC/gRPC_request_params
=== RUN TestIntegrationTestSuite/TestQuerySlashesGRPC
=== RUN TestIntegrationTestSuite/TestQuerySlashesGRPC/invalid_validator_address
=== RUN TestIntegrationTestSuite/TestQuerySlashesGRPC/invalid_start_height
=== RUN TestIntegrationTestSuite/TestQuerySlashesGRPC/invalid_start_height#01
=== RUN TestIntegrationTestSuite/TestQuerySlashesGRPC/valid_request_get_slashes
=== RUN TestIntegrationTestSuite/TestQueryValidatorCommissionGRPC
=== RUN TestIntegrationTestSuite/TestQueryValidatorCommissionGRPC/gRPC_request_params_with_wrong_validator_address
=== RUN TestIntegrationTestSuite/TestQueryValidatorCommissionGRPC/gRPC_request_params_valid_address
grpc_query_test.go:172:
Error Trace: grpc_query_test.go:172
suite.go:77
Error: Not equal:
expected: "commission:<commission:<denom:\"stake\" amount:\"9800000000000000000\" > > "
actual : "commission:<> "
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-commission:<commission:<denom:"stake" amount:"9800000000000000000" > >
+commission:<>
Test: TestIntegrationTestSuite/TestQueryValidatorCommissionGRPC/gRPC_request_params_valid_address
=== RUN TestIntegrationTestSuite/TestQueryValidatorCommunityPoolGRPC
=== RUN TestIntegrationTestSuite/TestQueryValidatorCommunityPoolGRPC/gRPC_request_params_with_wrong_validator_address
grpc_query_test.go:456:
Error Trace: grpc_query_test.go:456
suite.go:77
Error: Not equal:
expected: "pool:<denom:\"stake\" amount:\"400000000000000000\" > "
actual : "pool:<denom:\"stake\" amount:\"20000000000000000000\" > "
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-pool:<denom:"stake" amount:"400000000000000000" >
+pool:<denom:"stake" amount:"20000000000000000000" >
Test: TestIntegrationTestSuite/TestQueryValidatorCommunityPoolGRPC/gRPC_request_params_with_wrong_validator_address
=== RUN TestIntegrationTestSuite/TestQueryWithdrawAddressGRPC
=== RUN TestIntegrationTestSuite/TestQueryWithdrawAddressGRPC/empty_delegator_address
=== RUN TestIntegrationTestSuite/TestQueryWithdrawAddressGRPC/wrong_delegator_address
=== RUN TestIntegrationTestSuite/TestQueryWithdrawAddressGRPC/valid_request
--- FAIL: TestIntegrationTestSuite (16.12s)
--- FAIL: TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC (0.01s)
--- PASS: TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/wrong_delegator_address (0.00s)
--- FAIL: TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/valid_request (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/wrong_validator_address(specific_validator_rewards) (0.00s)
--- FAIL: TestIntegrationTestSuite/TestQueryDelegatorRewardsGRPC/valid_request(specific_validator_rewards) (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryDelegatorValidatorsGRPC (0.01s)
--- PASS: TestIntegrationTestSuite/TestQueryDelegatorValidatorsGRPC/empty_delegator_address (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryDelegatorValidatorsGRPC/wrong_delegator_address (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryDelegatorValidatorsGRPC/valid_request (0.00s)
--- FAIL: TestIntegrationTestSuite/TestQueryOutstandingRewardsGRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryOutstandingRewardsGRPC/gRPC_request_params_with_wrong_validator_address (0.00s)
--- FAIL: TestIntegrationTestSuite/TestQueryOutstandingRewardsGRPC/gRPC_request_params_valid_address (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryParamsGRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryParamsGRPC/gRPC_request_params (0.00s)
--- PASS: TestIntegrationTestSuite/TestQuerySlashesGRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestQuerySlashesGRPC/invalid_validator_address (0.00s)
--- PASS: TestIntegrationTestSuite/TestQuerySlashesGRPC/invalid_start_height (0.00s)
--- PASS: TestIntegrationTestSuite/TestQuerySlashesGRPC/invalid_start_height#01 (0.00s)
--- PASS: TestIntegrationTestSuite/TestQuerySlashesGRPC/valid_request_get_slashes (0.00s)
--- FAIL: TestIntegrationTestSuite/TestQueryValidatorCommissionGRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryValidatorCommissionGRPC/gRPC_request_params_with_wrong_validator_address (0.00s)
--- FAIL: TestIntegrationTestSuite/TestQueryValidatorCommissionGRPC/gRPC_request_params_valid_address (0.00s)
--- FAIL: TestIntegrationTestSuite/TestQueryValidatorCommunityPoolGRPC (0.00s)
--- FAIL: TestIntegrationTestSuite/TestQueryValidatorCommunityPoolGRPC/gRPC_request_params_with_wrong_validator_address (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryWithdrawAddressGRPC (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryWithdrawAddressGRPC/empty_delegator_address (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryWithdrawAddressGRPC/wrong_delegator_address (0.00s)
--- PASS: TestIntegrationTestSuite/TestQueryWithdrawAddressGRPC/valid_request (0.00s)
FAIL
FAIL github.com/cosmos/cosmos-sdk/x/distribution/client/rest 16.267s