Created
September 25, 2019 14:39
-
-
Save feuGeneA/f6601851e944b539340058d48e519072 to your computer and use it in GitHub Desktop.
0x-mesh V3 test results, with Ganache using the proper mnemonic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25Sep09:44:24 rc=2 ~/go/src/github.com/0x-mesh[0xV3 *=]$ make test-all | |
go test ./... -race -timeout 30s | |
? github.com/0x-mesh/browser/scripts [no test files] | |
? github.com/0x-mesh/cmd/add_peer [no test files] | |
? github.com/0x-mesh/cmd/cut-release [no test files] | |
? github.com/0x-mesh/cmd/db-integrity-check [no test files] | |
? github.com/0x-mesh/cmd/demo/add_order [no test files] | |
? github.com/0x-mesh/cmd/demo/subscribe_to_orders [no test files] | |
? github.com/0x-mesh/cmd/mesh [no test files] | |
? github.com/0x-mesh/cmd/mesh-bootstrap [no test files] | |
? github.com/0x-mesh/cmd/mesh-keygen [no test files] | |
? github.com/0x-mesh/constants [no test files] | |
ok github.com/0x-mesh/core (cached) | |
ok github.com/0x-mesh/db (cached) | |
--- FAIL: TestAddingAddressesToETHWatcher (0.15s) | |
eth_watcher_test.go:72: | |
Error Trace: eth_watcher_test.go:72 | |
Error: Not equal: | |
expected: map[common.Address]*big.Int{[6 206 248 230 102 118 140 196 12 199 140 249 61 150 17 1 157 220 182 40]:100000000000000000000, [68 4 172 139 216 249 97 141 39 173 47 20 133 170 27 44 253 130 72 45]:100000000000000000000, [84 9 237 2 29 146 153 191 104 20 39 154 106 20 17 167 232 102 166 49]:99927235154000000000, [110 203 225 219 158 247 41 203 233 114 200 63 184 134 36 118 145 251 107 235]:100000000000000000000, [116 87 213 224 33 151 72 13 182 129 211 253 242 86 199 172 162 27 220 18]:100000000000000000000, [145 201 135 191 98 210 89 69 219 81 123 218 168 64 166 198 97 55 68 2]:100000000000000000000, [168 221 168 215 245 49 14 74 158 36 248 235 167 126 9 26 194 100 248 114]:100000000000000000000, [227 110 167 144 188 157 122 183 12 85 38 12 102 213 43 30 202 152 95 132]:100000000000000000000, [232 52 236 67 77 171 165 56 205 27 159 225 88 32 82 184 128 189 126 99]:100000000000000000000} | |
actual : map[common.Address]*big.Int{[6 206 248 230 102 118 140 196 12 199 140 249 61 150 17 1 157 220 182 40]:100000000000000000000, [68 4 172 139 216 249 97 141 39 173 47 20 133 170 27 44 253 130 72 45]:100000000000000000000, [84 9 237 2 29 146 153 191 104 20 39 154 106 20 17 167 232 102 166 49]:99921242712000000000, [110 203 225 219 158 247 41 203 233 114 200 63 184 134 36 118 145 251 107 235]:100000000000000000000, [116 87 213 224 33 151 72 13 182 129 211 253 242 86 199 172 162 27 220 18]:100000000000000000000, [145 201 135 191 98 210 89 69 219 81 123 218 168 64 166 198 97 55 68 2]:100000000000000000000, [168 221 168 215 245 49 14 74 158 36 248 235 167 126 9 26 194 100 248 114]:100000000000000000000, [227 110 167 144 188 157 122 183 12 85 38 12 102 213 43 30 202 152 95 132]:100000000000000000000, [232 52 236 67 77 171 165 56 205 27 159 225 88 32 82 184 128 189 126 99]:100000000000000000000} | |
Diff: | |
--- Expected | |
+++ Actual | |
@@ -3,3 +3,3 @@ | |
(common.Address) (len=20) 0x4404ac8bd8F9618D27Ad2f1485AA1B2cFD82482D: (*big.Int)(100000000000000000000), | |
- (common.Address) (len=20) 0x5409ED021D9299bf6814279A6A1411A7e866A631: (*big.Int)(99927235154000000000), | |
+ (common.Address) (len=20) 0x5409ED021D9299bf6814279A6A1411A7e866A631: (*big.Int)(99921242712000000000), | |
(common.Address) (len=20) 0x6Ecbe1DB9EF729CBe972C83Fb886247691Fb6beb: (*big.Int)(100000000000000000000), | |
Test: TestAddingAddressesToETHWatcher | |
FAIL | |
FAIL github.com/0x-mesh/ethereum 0.200s | |
ok github.com/0x-mesh/ethereum/blockwatch (cached) | |
ok github.com/0x-mesh/ethereum/dbstack (cached) | |
? github.com/0x-mesh/ethereum/miniheader [no test files] | |
? github.com/0x-mesh/ethereum/wrappers [no test files] | |
ok github.com/0x-mesh/expirationwatch (cached) | |
ok github.com/0x-mesh/integration-tests (cached) | |
ok github.com/0x-mesh/keys (cached) | |
ok github.com/0x-mesh/loghooks (cached) | |
ok github.com/0x-mesh/meshdb (cached) | |
ok github.com/0x-mesh/p2p (cached) | |
ok github.com/0x-mesh/rpc (cached) | |
? github.com/0x-mesh/scenario [no test files] | |
ok github.com/0x-mesh/zeroex (cached) | |
time="2019-09-25T10:38:15-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=0 error="Post http://localhost:8545: EOF" numOrders=1 | |
time="2019-09-25T10:38:15-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=1 error="Post http://localhost:8545: dial tcp [::1]:8545: connect: connection refused" numOrders=1 | |
time="2019-09-25T10:38:16-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=2 error="Post http://localhost:8545: dial tcp [::1]:8545: connect: connection refused" numOrders=1 | |
time="2019-09-25T10:38:17-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=3 error="Post http://localhost:8545: dial tcp [::1]:8545: connect: connection refused" numOrders=1 | |
time="2019-09-25T10:38:19-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=4 error="Post http://localhost:8545: dial tcp [::1]:8545: connect: connection refused" numOrders=1 | |
time="2019-09-25T10:38:19-04:00" level=warning msg="Gave up on GetOrderRelevantStates request after backoff limit reached" error="Post http://localhost:8545: dial tcp [::1]:8545: connect: connection refused" numOrders=1 | |
--- FAIL: TestBatchValidateSignatureInvalid (4.01s) | |
order_validator_test.go:208: | |
Error Trace: order_validator_test.go:208 | |
Error: Not equal: | |
expected: ordervalidator.RejectedOrderStatus{Code:"OrderHasInvalidSignature", Message:"order signature must be valid"} | |
actual : ordervalidator.RejectedOrderStatus{Code:"EthRPCRequestFailed", Message:"network request to Ethereum RPC endpoint failed"} | |
Diff: | |
--- Expected | |
+++ Actual | |
@@ -1,4 +1,4 @@ | |
(ordervalidator.RejectedOrderStatus) { | |
- Code: (string) (len=24) "OrderHasInvalidSignature", | |
- Message: (string) (len=29) "order signature must be valid" | |
+ Code: (string) (len=19) "EthRPCRequestFailed", | |
+ Message: (string) (len=47) "network request to Ethereum RPC endpoint failed" | |
} | |
Test: TestBatchValidateSignatureInvalid | |
time="2019-09-25T10:38:19-04:00" level=info msg="GetCoordinatorEndpoint request failed" error="Post http://localhost:8545: dial tcp [::1]:8545: connect: connection refused" feeRecipientAddress="[120 220 93 45 115 150 6 211 21 9 195 29 101 64 86 164 81 133 236 182]" | |
--- FAIL: TestBatchValidateUnregisteredCoordinatorSoftCancels (0.07s) | |
order_validator_test.go:234: | |
Error Trace: order_validator_test.go:234 | |
Error: Not equal: | |
expected: ordervalidator.RejectedOrderStatus{Code:"CoordinatorEndpointNotFound", Message:"corresponding coordinator endpoint not found in CoordinatorRegistry contract"} | |
actual : ordervalidator.RejectedOrderStatus{Code:"EthRPCRequestFailed", Message:"network request to Ethereum RPC endpoint failed"} | |
Diff: | |
--- Expected | |
+++ Actual | |
@@ -1,4 +1,4 @@ | |
(ordervalidator.RejectedOrderStatus) { | |
- Code: (string) (len=27) "CoordinatorEndpointNotFound", | |
- Message: (string) (len=76) "corresponding coordinator endpoint not found in CoordinatorRegistry contract" | |
+ Code: (string) (len=19) "EthRPCRequestFailed", | |
+ Message: (string) (len=47) "network request to Ethereum RPC endpoint failed" | |
} | |
Test: TestBatchValidateUnregisteredCoordinatorSoftCancels | |
time="2019-09-25T10:38:19-04:00" level=panic msg="EthereumRPCMaxContentLength is set so low, a single 0x order cannot fit beneath the payload limit" signedOrder="&{{[110 203 225 219 158 247 41 203 233 114 200 63 184 134 36 118 145 251 107 235] [244 114 97 176 0 0 0 0 0 0 0 0 0 0 0 0 135 29 215 194 180 178 94 26 161 135 40 233 213 242 175 76 78 67 31 92] [] 1000 0 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [244 114 97 176 0 0 0 0 0 0 0 0 0 0 0 0 11 27 160 175 131 45 124 5 253 100 22 30 13 183 142 133 151 142 128 130] [] 2000 0 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [112 43 3 205 184 26 172 90 224 42 52 56 239 61 253 74 74 215 197 196 47 89 104 176 171 186 192 42 87 37 183 29] [232 52 236 67 77 171 165 56 205 27 159 225 88 32 82 184 128 189 126 99] 1569595094 1548619145450 0xc0000a2300} [28 47 56 229 219 183 230 215 240 3 143 5 79 164 127 7 245 191 110 189 217 153 155 205 166 15 82 32 163 71 131 69 80 1 53 210 248 242 103 162 152 5 174 126 121 11 53 238 4 2 145 193 139 242 63 230 133 74 250 244 167 90 235 91 221 3]}" | |
FAIL | |
FAIL github.com/0x-mesh/zeroex/ordervalidator 4.605s | |
ok github.com/0x-mesh/zeroex/orderwatch (cached) | |
ok github.com/0x-mesh/zeroex/orderwatch/decoder (cached) | |
Makefile:45: recipe for target 'test-go-parallel' failed | |
make: *** [test-go-parallel] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment