Skip to content

Instantly share code, notes, and snippets.

@feuGeneA
Created September 25, 2019 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feuGeneA/f99579f7d2382aec0ff5b22819c0cabc to your computer and use it in GitHub Desktop.
Save feuGeneA/f99579f7d2382aec0ff5b22819c0cabc to your computer and use it in GitHub Desktop.
0x-mesh V3 test failures
25Sep09:43:38 ~/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 1.061s
ok github.com/0x-mesh/db 1.809s
time="2019-09-25T09:44:13-04:00" level=info msg="ether batch balance check failed" addresses="[[110 203 225 219 158 247 41 203 233 114 200 63 184 134 36 118 145 251 107 235] [227 110 167 144 188 157 122 183 12 85 38 12 102 213 43 30 202 152 95 132] [232 52 236 67 77 171 165 56 205 27 159 225 88 32 82 184 128 189 126 99] [6 206 248 230 102 118 140 196 12 199 140 249 61 150 17 1 157 220 182 40] [116 87 213 224 33 151 72 13 182 129 211 253 242 86 199 172 162 27 220 18] [84 9 237 2 29 146 153 191 104 20 39 154 106 20 17 167 232 102 166 49] [168 221 168 215 245 49 14 74 158 36 248 235 167 126 9 26 194 100 248 114] [68 4 172 139 216 249 97 141 39 173 47 20 133 170 27 44 253 130 72 45] [145 201 135 191 98 210 89 69 219 81 123 218 168 64 166 198 97 55 68 2]]" error="no contract code at given address"
--- FAIL: TestAddingAddressesToETHWatcher (0.10s)
eth_watcher_test.go:71:
Error Trace: eth_watcher_test.go:71
Error: "[n��۞�)��r�?��$v��k� �n����z�
U&
f�+ʘ_� �4�CM��8���X R���~c ���fv��
�����VǬ�� T ����h'�j��f�1 �ݨ��1J�$���~ �d�r D����a�'�/��,��H- �ɇ�b�YE�Q{ڨ@��a7D]" should have 0 item(s), but has 9
Test: TestAddingAddressesToETHWatcher
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{}
Diff:
--- Expected
+++ Actual
@@ -1,11 +1,2 @@
-(map[common.Address]*big.Int) (len=9) {
- (common.Address) (len=20) 0x06cEf8E666768cC40Cc78CF93d9611019dDcB628: (*big.Int)(100000000000000000000),
- (common.Address) (len=20) 0x4404ac8bd8F9618D27Ad2f1485AA1B2cFD82482D: (*big.Int)(100000000000000000000),
- (common.Address) (len=20) 0x5409ED021D9299bf6814279A6A1411A7e866A631: (*big.Int)(99927235154000000000),
- (common.Address) (len=20) 0x6Ecbe1DB9EF729CBe972C83Fb886247691Fb6beb: (*big.Int)(100000000000000000000),
- (common.Address) (len=20) 0x7457d5E02197480Db681D3fdF256c7acA21bDc12: (*big.Int)(100000000000000000000),
- (common.Address) (len=20) 0x91c987bf62D25945dB517BDAa840A6c661374402: (*big.Int)(100000000000000000000),
- (common.Address) (len=20) 0xA8dDa8d7F5310E4A9E24F8eBA77E091Ac264f872: (*big.Int)(100000000000000000000),
- (common.Address) (len=20) 0xE36Ea790bc9d7AB70C55260C66D52b1eca985f84: (*big.Int)(100000000000000000000),
- (common.Address) (len=20) 0xE834EC434DABA538cd1b9Fe1582052B880BD7e63: (*big.Int)(100000000000000000000)
+(map[common.Address]*big.Int) {
}
Test: TestAddingAddressesToETHWatcher
--- FAIL: TestEthRPCSigner (0.01s)
require.go:794:
Error Trace: sign_test.go:29
Error: Received unexpected error:
cannot sign data; no private key
Test: TestEthRPCSigner
FAIL
FAIL github.com/0x-mesh/ethereum 0.155s
ok github.com/0x-mesh/ethereum/blockwatch 1.450s
ok github.com/0x-mesh/ethereum/dbstack 1.097s
? github.com/0x-mesh/ethereum/miniheader [no test files]
? github.com/0x-mesh/ethereum/wrappers [no test files]
ok github.com/0x-mesh/expirationwatch 1.141s
ok github.com/0x-mesh/integration-tests 1.060s
ok github.com/0x-mesh/keys 1.730s
ok github.com/0x-mesh/loghooks 1.015s
ok github.com/0x-mesh/meshdb 1.101s
ok github.com/0x-mesh/p2p 7.906s
ok github.com/0x-mesh/rpc 1.144s
? github.com/0x-mesh/scenario [no test files]
ok github.com/0x-mesh/zeroex 1.042s
time="2019-09-25T09:44:20-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=0 error="no contract code at given address" numOrders=1
time="2019-09-25T09:44:21-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=1 error="no contract code at given address" numOrders=1
time="2019-09-25T09:44:21-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=2 error="no contract code at given address" numOrders=1
time="2019-09-25T09:44:22-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=3 error="no contract code at given address" numOrders=1
time="2019-09-25T09:44:24-04:00" level=info msg="GetOrderRelevantStates request failed" attempt=4 error="no contract code at given address" numOrders=1
time="2019-09-25T09:44:24-04:00" level=warning msg="Gave up on GetOrderRelevantStates request after backoff limit reached" error="no contract code at given address" numOrders=1
--- FAIL: TestBatchValidateSignatureInvalid (3.89s)
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-25T09:44:24-04:00" level=info msg="GetCoordinatorEndpoint request failed" error="no contract code at given address" feeRecipientAddress="[120 220 93 45 115 150 6 211 21 9 195 29 101 64 86 164 81 133 236 182]"
--- FAIL: TestBatchValidateUnregisteredCoordinatorSoftCancels (0.09s)
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-25T09:44:24-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] 1569591860 1548619145450 0xc0003aa060} [28 81 99 59 34 229 27 187 143 86 146 243 62 89 186 26 137 173 225 200 222 206 160 149 209 43 9 123 164 10 58 13 33 118 188 137 9 137 22 127 173 245 66 74 127 98 240 209 96 201 132 104 45 94 251 83 47 77 26 101 12 235 199 31 83 3]}"
FAIL
FAIL github.com/0x-mesh/zeroex/ordervalidator 4.573s
ok github.com/0x-mesh/zeroex/orderwatch 1.114s
ok github.com/0x-mesh/zeroex/orderwatch/decoder 1.106s
Makefile:45: recipe for target 'test-go-parallel' failed
make: *** [test-go-parallel] Error 1
25Sep09:44:24 rc=2 ~/go/src/github.com/0x-mesh[0xV3 *=]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment