-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to ethereumjs-testing v1.3.1 (pre-Berlin HF release) / Fix test runs #743
Conversation
Codecov Report
@@ Coverage Diff @@
## master #743 +/- ##
=======================================
Coverage 92.02% 92.03%
=======================================
Files 46 47 +1
Lines 2998 3001 +3
Branches 469 469
=======================================
+ Hits 2759 2762 +3
Misses 144 144
Partials 95 95
Continue to review full report at Codecov.
|
Ok, |
54 Some example failures: ok 42921 last block hash
ok 42922 correct header block
# file: bcInvalidRLPTest_BLOCK_ test: BLOCK_HeaderLargerThanRLP_1_Istanbul
ok 42923 correct pre stateRoot
ok 42924 correct genesis RLP
not ok 42925 Error: invalid rlp: total length is larger than the data
---
operator: fail
at: replenish (/home/runner/work/ethereumjs-vm/ethereumjs-vm/packages/vm/node_modules/async/dist/async.js:440:21)
...
ok 42981 last block hash
ok 42982 correct header block
# file: bcInvalidRLPTest_BLOCK_ test: BLOCK_WrongCharAtRLP_0_Istanbul
ok 42983 correct pre stateRoot
ok 42984 correct genesis RLP
not ok 42985 Error: invalid rlp: total length is larger than the data
---
operator: fail
at: replenish (/home/runner/work/ethereumjs-vm/ethereumjs-vm/packages/vm/node_modules/async/dist/async.js:440:21)
...
ok 43031 last block hash
ok 43032 correct header block
# file: bcInvalidRLPTest_BLOCK_ test: BLOCK_ZeroByteAtRLP_0_Istanbul
ok 43033 correct pre stateRoot
ok 43034 correct genesis RLP
not ok 43035 Error: invalid remainder
---
operator: fail
at: replenish (/home/runner/work/ethereumjs-vm/ethereumjs-vm/packages/vm/node_modules/async/dist/async.js:440:21)
...
Note: debugging instructions can be found in the VM developer documentation. |
@holgerd77 are these Istanbul tests new? |
Ok, have written together some release notes for a current-state release over on the @ryanio Generally Generally there are actually A LOT of changes done since the last tests release. We might want to have a closer look on various updates separately here (just one significant but not too exposed example: VMtests have been integrated into the general BlockchainTests suite, would assume we don't run these yet due to the folder structure, not confirmed though). We might also want to have a closer look regarding the updates from the release notes if all CURRENT tests are still executed in full extend on the updated test suite, sometimes it happens that CI runs still pass but there are actually significantly less (or - on the extreme - no) tests run in total (spontaneous thought: eventually we can simply add some hardcoded threshold number here to check if "> NUM_TEST_CASES" are actually run). So: enough work here. 😄 |
Last test file from ts-node ./tests/tester --blockchain --file='bcInvalidRLPTest_BLOCK_' |
Rebased this to see how this behaves on top of the refactored test runner changes from #752. |
State tests still pass, 77 blockchain tests fail (see raw log and do a fulltext search for "not ok"). The Simplest check here is to add a |
We can actually change the semantics from this PR and directly work here to fix the test runs, so everyone with a fix can do PRs towards this branch. |
(have updated the PR title accordingly) |
There seem to be two naming conventions present to indicate an exception present on all HFs in the Have pushed a fix and re-triggered the test run. |
…lockchain test runner
Failing:
All of these cases have the starting balance below and list transactions that include
ethereum/test 690 asks about why these balance values are expected to overflow when sent to in the quadratic cost tests and it's possible these are failing because of #720. There's a PR to reduce the sha3 test balances in ethereum/test 688 |
@cgewecke Ok, thanks! Have added the |
This is a test run of the updated v1.3.1 consensus tests referencing a state of
ethereum/tests
in a pre-Berlin HF state. Check is mainly for a first impression on how the tests behave.See v7.0.0 pre-Berlin HF release PR ethereum/tests#687 on the
ethereum/tests
repo for hints on what has changed there and what tests have been added.[ DO NOT MERGE ]