Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Upgrade Hunter#5506

Merged
chfast merged 1 commit intomasterfrom
hunter
May 29, 2019
Merged

Upgrade Hunter#5506
chfast merged 1 commit intomasterfrom
hunter

Conversation

@chfast
Copy link
Copy Markdown
Member

@chfast chfast commented Feb 26, 2019

Upgrades Hunter to v0.23.178.
This upgrades following packages:

  • leveldb to 1.22, it now builds natively on Windows,
  • Crypto++ to 8.2.0.

The ethash stays at version 0.4.4, the current default version in Hunter.

@chfast chfast requested a review from halfalicious February 26, 2019 17:48
Copy link
Copy Markdown
Contributor

@halfalicious halfalicious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix test failures and maybe include ethash version

@halfalicious
Copy link
Copy Markdown
Contributor

How did the appveyor configs change? Are these builds still for Windows?

@chfast
Copy link
Copy Markdown
Member Author

chfast commented Mar 5, 2019

How did the appveyor configs change? Are these builds still for Windows?

I restarted AppVeyor build. It usually times out because with first build after Hunter upgrade it has to build and cache dependencies.

@chfast
Copy link
Copy Markdown
Member Author

chfast commented Mar 5, 2019

Hey @halfalicious, after Windows build restart there are some blockchain tests failures. Can you check maybe on Windows yourself?

@halfalicious
Copy link
Copy Markdown
Contributor

Hey @halfalicious, after Windows build restart there are some blockchain tests failures. Can you check maybe on Windows yourself?

Sure, will build overnight and run tests tomorrow.

@halfalicious
Copy link
Copy Markdown
Contributor

Hey @halfalicious, after Windows build restart there are some blockchain tests failures. Can you check maybe on Windows yourself?

Sure, will build overnight and run tests tomorrow.

Getting failures and the stsstoretest appears to have hung (I let the tests run all day and it was still going when I got back) - console output:

C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(926): error: in "TransitionTests/bcByzantiumToConstantinopleFix": blockHeader field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(931): error: in "TransitionTests/bcByzantiumToConstantinopleFix": transactions field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(936): error: in "TransitionTests/bcByzantiumToConstantinopleFix": uncleHeaders field is found in the should-be invalid block. filename: C:\Users\nilse\Documents\Code\aleth\test\jsontests\src\BlockchainTestsFiller\TransitionTests\bcByzantiumToConstantinopleFix\ConstantinopleFixTransitionFiller.json testname: ConstantinopleTransition
C:/Users/nilse/Documents/Code/aleth/test/tools/jsontests/BlockChainTests.cpp(593): error: in "TransitionTests/bcByzantiumToConstantinopleFix": ConstantinopleTransitionBoost check: lastblockhash does not match 0x6af1d4c0719e870a89e0e4efee43472a473c060b682461b73d4e1f2b95074c11 expected: 0x6d6864b70c7edfb8a5a57dc4afffb8f657df2199e9c3d3aabb0a097df5c0686a
C:/Users/nilse/Documents/Code/aleth/test/tools/libtesteth/ImportTest.cpp(561): error: in "TransitionTests/bcByzantiumToConstantinopleFix": ConstantinopleTransition Compare States: 1cde5374fce5edbc8e2a8697c15331677e6ebf0b missing expected address!
C:/Users/nilse/Documents/Code/aleth/test/tools/libtesteth/ImportTest.cpp(561): error: in "TransitionTests/bcByzantiumToConstantinopleFix": ConstantinopleTransition Compare States: 1cde5374fce5edbc8e2a8697c15331677e6ebf0b missing expected address!
Test Case "invalidRLPtest":
Test Case "rlptest":
Test Case "rlpRandom":
Test Case "stCallCodes":
24%...
48%...
72%...
96%...
100%
Test Case "stCallCreateCallCodeTest":
23%...
46%...
69%...
92%...
100%
Test Case "stExample":
100%
Test Case "stInitCodeTest":
22%...
44%...
66%...
88%...
100%
Test Case "stLogTests":
23%...
47%...
71%...
95%...
100%
Test Case "stMemoryTest":
23%...
47%...
71%...
95%...
100%
Test Case "stPreCompiledContracts":
25%...
50%...
75%...
100%
Test Case "stPreCompiledContracts2":
24%...
49%...
74%...
98%...
100%
Test Case "stRandom":
24%...
49%...
74%...
99%...
100%
Test Case "stRandom2":
24%...
49%...
74%...
98%...
100%
Test Case "stRecursiveCreate":
50%...
100%
Test Case "stRefundTest":
21%...
42%...
63%...
84%...
100%
Test Case "stSolidityTest":
25%...
50%...
75%...
100%
Test Case "stSpecialTest":
21%...
42%...
64%...
85%...
100%
Test Case "stSystemOperationsTest":
23%...
47%...
71%...
95%...
100%
Test Case "stTransactionTest":
25%...
50%...
75%...
100%
Test Case "stTransitionTest":
22%...
44%...
66%...
88%...
100%
Test Case "stWalletTest":
23%...
47%...
71%...
95%...
100%
Test Case "stCallDelegateCodesCallCodeHomestead":
24%...
48%...
72%...
96%...
100%
Test Case "stCallDelegateCodesHomestead":
24%...
48%...
72%...
96%...
100%
Test Case "stHomesteadSpecific":
20%...
40%...
60%...
80%...
100%
Test Case "stDelegatecallTestHomestead":
23%...
47%...
70%...
94%...
100%
Test Case "stChangedEIP150":
23%...
46%...
70%...
93%...
100%
Test Case "stEIP150singleCodeGasPrices":
23%...
46%...
70%...
93%...
100%
Test Case "stMemExpandingEIP150Calls":
25%...
50%...
75%...
100%
Test Case "stEIP150Specific":
23%...
46%...
69%...
92%...
100%
Test Case "stEIP158Specific":
14%...
28%...
42%...
57%...
71%...
85%...
100%
Test Case "stNonZeroCallsTest":
25%...
50%...
75%...
100%
Test Case "stZeroCallsTest":
25%...
50%...
75%...
100%
Test Case "stZeroCallsRevert":
25%...
50%...
75%...
100%
Test Case "stCodeSizeLimit":
33%...
66%...
100%
Test Case "stCreateTest":
23%...
46%...
70%...
93%...
100%
Test Case "stRevertTest":
25%...
50%...
75%...
100%
Test Case "stStackTests":
14%...
28%...
42%...
57%...
71%...
85%...
100%
Test Case "stStaticCall":
25%...
50%...
75%...
100%
Test Case "stReturnDataTest":
23%...
47%...
71%...
94%...
100%
Test Case "stZeroKnowledge":
24%...
49%...
74%...
99%...
100%
Test Case "stZeroKnowledge2":
24%...
49%...
73%...
98%...
100%
Test Case "stCodeCopyTest":
50%...
100%
Test Case "stBugs":
25%...
50%...
75%...
100%
Test Case "stShift":
24%...
48%...
73%...
97%...
100%
Test Case "stCreate2":
25%...
50%...
75%...
100%
Test Case "stExtCodeHash":
25%...
50%...
75%...
100%
Test Case "stSStoreTest":
24%...
48%...

@chfast
Copy link
Copy Markdown
Member Author

chfast commented Mar 7, 2019

Bad news @halfalicious, the stSStoreTest tests run extremely slow. Did you use Debug build?

@halfalicious
Copy link
Copy Markdown
Contributor

Bad news @halfalicious, the stSStoreTest tests run extremely slow. Did you use Debug build?

I did but the test was running for a good few hours, I’d expect it to have completed? I can try running a release build if you’d like.

@halfalicious
Copy link
Copy Markdown
Contributor

halfalicious commented Mar 9, 2019

Bad news @halfalicious, the stSStoreTest tests run extremely slow. Did you use Debug build?

I did but the test was running for a good few hours, I’d expect it to have completed? I can try running a release build if you’d like.

Re-ran the tests using a release build, still get a failure and a test hang (tests were running for at least 8 hours so I think "BlockhashDoesntNeedLastHashesInExperimental" is hung):

Test Case "rescue":
BlockChainMainNetworkSuite/rescue test - failure is expected
Rescuing database...
Finding last likely block number...
  lowest is 1
Checking validity of 1 (2c607fba602739154725a7d912a8bdd3153ca88a6c07274ab7e3b6b582db1277)...block...extras...state...OK.
C:/Users/nilse/Documents/Code/aleth/test/unittests/libethereum/BlockChain.cpp(359): error: in "BlockChainMainNetworkSuite/rescue": check bcRef.number() == 3 has failed [1 != 3]
Test Case "updateStats":
Test Case "invalidJsonThrows":
Test Case "unknownFieldThrows":
Unexpected field 'usuallyNotThere' in config: ChainParams::loadConfig
{
    "usuallyNotThere" : "unknown"
}
Test Case "bcBasicInsert":
Test Case "BlockQueueImport":
Test Case "blocks":
Test Case "ClientTest_setChainParamsAuthor":
Test Case "BlockhashOutOfBoundsRetunsZero":
Test Case "BlockhashBeforeExperimentalReliesOnLastHashes":
Test Case "BlockhashDoesntNeedLastHashesInExperimental":

Upgrades Hunter to v0.23.178.
This upgrades following packages:
- leveldb to 1.22, it now builds natively on Windows,
- Crypto++ to 8.2.0.

The ethash stays at version 0.4.4, the current default version in Hunter.
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #5506 into master will decrease coverage by 0.53%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5506      +/-   ##
=========================================
- Coverage   62.43%   61.9%   -0.54%     
=========================================
  Files         350     345       -5     
  Lines       29548   28713     -835     
  Branches     3326    3264      -62     
=========================================
- Hits        18448   17774     -674     
+ Misses       9898    9773     -125     
+ Partials     1202    1166      -36

@chfast chfast changed the title Hunter / Boost / ethash upgrade Upgrade Hunter May 28, 2019
@chfast chfast mentioned this pull request May 28, 2019
@chfast chfast requested review from gumb0 and halfalicious May 28, 2019 21:18
@chfast chfast merged commit 8912c1b into master May 29, 2019
@chfast chfast deleted the hunter branch May 29, 2019 09:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants