This updates RapidCheck to the latest version available from https://github.com/emil-e/rapidcheck.
RapidCheck now uses the new RC_INSTALL_ALL_EXTRAS
option, to install the extra boost_test
packages, which should unblock progress in #14430.
This updates RapidCheck to the latest version available from https://github.com/emil-e/rapidcheck.
RapidCheck now uses the new RC_INSTALL_ALL_EXTRAS
option, to install the extra boost_test
packages, which should unblock progress in #14430.
Apologies for the push
spam. Looks like rapidcheck testing on Travis is still failing with the same memory access violation error as #14171. I’ll leave the build log up for now if anyone else wants to investigate, otherwise, the second commit here could be dropped.
0Running tests: versionbits_tests from test/versionbits_tests.cpp
1Running tests: key_properties from test/key_properties.cpp
2Running 4 test cases...
3Test cases order is shuffled using seed: 1462083212
4Entering test module "Bitcoin Test Suite"
5test/key_properties.cpp(22): Entering test suite "key_properties"
6test/key_properties.cpp(38): Entering test case "key_set_symmetry"
7Using configuration: seed=1143137297392740439
8unknown location(0): fatal error: in "key_properties/key_set_symmetry": memory access violation at address: 0x00000020: no mapping at fault address
9test/key_properties.cpp(38): last checkpoint: "key_set_symmetry" entry.
10Test is aborted
11test/key_properties.cpp(38): Leaving test case "key_set_symmetry"; testing time: 19607us
12Test is aborted
13test/key_properties.cpp(22): Leaving test suite "key_properties"; testing time: 19671us
14Test is aborted
15Leaving test module "Bitcoin Test Suite"; testing time: 19889us
Managed to get a backtrace in what should have been an equivalent environment. cc @Christewart
0Thread 1 (Thread 0x7ffff7fe5780 (LWP 72946)):
1[#0](/bitcoin-bitcoin/0/) 0x00005555561fe58f in rc::Shrinkable<rc::detail::Any>::value() const ()
2[#1](/bitcoin-bitcoin/1/) 0x000055555623abe6 in rc::gen::detail::ExecHandler::onGenerate(rc::Gen<rc::detail::Any> const&) ()
3[#2](/bitcoin-bitcoin/2/) 0x00005555559b418e in rc::Gen<std::tuple<CKey, CKey> >::operator*() const ()
4[#3](/bitcoin-bitcoin/3/) 0x00005555559b45a5 in std::pair<rc::detail::FunctionTraitsImpl<std::decay<rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)> >::type>::ReturnType, rc::gen::detail::Recipe> rc::gen::detail::execWithRecipe<rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)> >(rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)>, rc::gen::detail::Recipe) ()
5[#4](/bitcoin-bitcoin/4/) 0x00005555559b4a03 in rc::Shrinkable<std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe> >::ShrinkableImpl<rc::shrinkable::detail::JustShrinkShrinkable<rc::Shrinkable<std::pair<rc::detail::FunctionTraitsImpl<std::decay<rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)> >::type>::ReturnType, rc::gen::detail::Recipe> > rc::gen::detail::shrinkableWithRecipe<rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)> >(rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)>, rc::gen::detail::Recipe)::{lambda()#1}, rc::Shrinkable<std::pair<rc::detail::FunctionTraitsImpl<std::decay<rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)> >::type>::ReturnType, rc::gen::detail::Recipe> > rc::gen::detail::shrinkableWithRecipe<rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)> >(rc::detail::PropertyAdapter<void (*)(CKey const&, CKey const&), void (CKey const&, CKey const&)>, rc::gen::detail::Recipe)::{lambda(std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe>&&)#2}> >::value() const ()
6[#5](/bitcoin-bitcoin/5/) 0x0000555556203b21 in rc::Shrinkable<std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe> >::value() const ()
7[#6](/bitcoin-bitcoin/6/) 0x00005555561fdad3 in rc::shrinkable::detail::MapShrinkable<std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe>, rc::detail::mapToCaseDescription(rc::Gen<std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe> >)::{lambda(std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe>&&)#1}>::value() const ()
8[#7](/bitcoin-bitcoin/7/) 0x00005555561fd982 in rc::Shrinkable<rc::detail::CaseDescription>::ShrinkableImpl<rc::shrinkable::detail::MapShrinkable<std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe>, rc::detail::mapToCaseDescription(rc::Gen<std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe> >)::{lambda(std::pair<rc::detail::TaggedResult, rc::gen::detail::Recipe>&&)#1}> >::value() const ()
9[#8](/bitcoin-bitcoin/8/) 0x000055555621055b in rc::Shrinkable<rc::detail::CaseDescription>::value() const ()
10[#9](/bitcoin-bitcoin/9/) 0x000055555620f036 in rc::detail::searchProperty(rc::Gen<rc::detail::CaseDescription> const&, rc::detail::TestParams const&, rc::detail::TestListener&) ()
11[#10](/bitcoin-bitcoin/10/) 0x000055555620f66b in rc::detail::(anonymous namespace)::doTestProperty(rc::Gen<rc::detail::CaseDescription> const&, rc::detail::TestParams const&, rc::detail::TestListener&) ()
12[#11](/bitcoin-bitcoin/11/) 0x000055555620fb8c in rc::detail::testProperty(rc::Gen<rc::detail::CaseDescription> const&, rc::detail::TestMetadata const&, rc::detail::TestParams const&, rc::detail::TestListener&) ()
13[#12](/bitcoin-bitcoin/12/) 0x00005555561ec0ce in rc::detail::checkProperty(rc::Gen<rc::detail::CaseDescription> const&, rc::detail::TestMetadata const&, rc::detail::TestParams const&, rc::detail::TestListener&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, rc::detail::Reproduce, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, rc::detail::Reproduce> > > const&) ()
14[#13](/bitcoin-bitcoin/13/) 0x00005555561ec2be in rc::detail::checkProperty(rc::Gen<rc::detail::CaseDescription> const&, rc::detail::TestMetadata const&, rc::detail::TestParams const&, rc::detail::TestListener&) ()
15[#14](/bitcoin-bitcoin/14/) 0x00005555561ec322 in rc::detail::checkProperty(rc::Gen<rc::detail::CaseDescription> const&, rc::detail::TestMetadata const&, rc::detail::TestParams const&) ()
16[#15](/bitcoin-bitcoin/15/) 0x00005555561ec37b in rc::detail::checkProperty(rc::Gen<rc::detail::CaseDescription> const&, rc::detail::TestMetadata const&) ()
17[#16](/bitcoin-bitcoin/16/) 0x00005555559af306 in void rc::detail::checkBoostTest<void (*)(CKey const&, CKey const&)>(void (*&&)(CKey const&, CKey const&)) ()
18[#17](/bitcoin-bitcoin/17/) 0x00005555559a7763 in key_properties::key_uniqueness_invoker() ()
19[#18](/bitcoin-bitcoin/18/) 0x000055555601a5d1 in boost::function0<void>::operator() (this=0x555556a41058) at ./boost/function/function_template.hpp:759
20[#19](/bitcoin-bitcoin/19/) 0x0000555556019cb1 in boost::detail::forward::operator() (this=0x7fffffffd1b8) at ./boost/test/impl/execution_monitor.ipp:1300
21[#20](/bitcoin-bitcoin/20/) 0x000055555601a9dc in boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke (function_obj_ptr=...)
22 at ./boost/function/function_template.hpp:138
23[#21](/bitcoin-bitcoin/21/) 0x000055555601a7b9 in boost::function0<int>::operator() (this=0x7fffffffd1b0) at ./boost/function/function_template.hpp:760
24[#22](/bitcoin-bitcoin/22/) 0x0000555556019f61 in boost::detail::do_invoke<boost::shared_ptr<boost::detail::translator_holder_base>, boost::function<int ()> >(boost::shared_ptr<boost::detail::translator_holder_base> const&, boost::function<int ()> const&) (tr=..., F=...) at ./boost/test/impl/execution_monitor.ipp:281
25[#23](/bitcoin-bitcoin/23/) 0x00005555560188b2 in boost::execution_monitor::catch_signals(boost::function<int ()> const&) (
26 this=0x5555569ee100 <boost::unit_test::singleton<boost::unit_test::unit_test_monitor_t>::instance()::the_inst>, F=...)
27 at ./boost/test/impl/execution_monitor.ipp:864
28[#24](/bitcoin-bitcoin/24/) 0x0000555556018a36 in boost::execution_monitor::execute(boost::function<int ()> const&) (
29 this=0x5555569ee100 <boost::unit_test::singleton<boost::unit_test::unit_test_monitor_t>::instance()::the_inst>, F=...)
30 at ./boost/test/impl/execution_monitor.ipp:1203
31[#25](/bitcoin-bitcoin/25/) 0x00005555560196b0 in boost::execution_monitor::vexecute(boost::function<void ()> const&) (
32 this=0x5555569ee100 <boost::unit_test::singleton<boost::unit_test::unit_test_monitor_t>::instance()::the_inst>, F=...)
33 at ./boost/test/impl/execution_monitor.ipp:1309
34[#26](/bitcoin-bitcoin/26/) 0x0000555555fb5d84 in boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::function<void ()> const&, unsigned int) (
35 this=0x5555569ee100 <boost::unit_test::singleton<boost::unit_test::unit_test_monitor_t>::instance()::the_inst>, func=..., timeout=0)
36 at ./boost/test/impl/unit_test_monitor.ipp:46
37[#27](/bitcoin-bitcoin/27/) 0x0000555555f6c445 in boost::unit_test::framework::state::execute_test_tree (
38 this=0x5555569edf20 <boost::unit_test::framework::impl::(anonymous namespace)::s_frk_state()::the_inst>, tu_id=65838, timeout=0,
39 p_random_generator=0x0) at ./boost/test/impl/framework.ipp:717
40[#28](/bitcoin-bitcoin/28/) 0x0000555555f6bdb1 in boost::unit_test::framework::state::execute_test_tree (
41 this=0x5555569edf20 <boost::unit_test::framework::impl::(anonymous namespace)::s_frk_state()::the_inst>, tu_id=68, timeout=0,
42 p_random_generator=0x0) at ./boost/test/impl/framework.ipp:666
43[#29](/bitcoin-bitcoin/29/) 0x0000555555f6bdb1 in boost::unit_test::framework::state::execute_test_tree (
44 this=0x5555569edf20 <boost::unit_test::framework::impl::(anonymous namespace)::s_frk_state()::the_inst>, tu_id=1, timeout=0, p_random_generator=0x0)
45 at ./boost/test/impl/framework.ipp:666
46[#30](/bitcoin-bitcoin/30/) 0x0000555555f650ce in boost::unit_test::framework::run (id=1, continue_test=true) at ./boost/test/impl/framework.ipp:1442
47[#31](/bitcoin-bitcoin/31/) 0x0000555555fb2287 in boost::unit_test::unit_test_main (init_func=0x55555567bbd0 <init_unit_test_suite(int, char**)>, argc=3, argv=0x7fffffffe708)
48 at ./boost/test/impl/unit_test_main.ipp:231
49[#32](/bitcoin-bitcoin/32/) 0x0000555555fb2588 in main (argc=3, argv=0x7fffffffe708) at ./boost/test/impl/unit_test_main.ipp:286
Gitian builds for commit 7b13c646457980f44599412f243694fa682a1abf (master):
4f78895ec6af482e4f2076d902d79aba...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gzf6e1b636a1f14b7b74dafeca7b288aad...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gzbdd396e51fd211e7ae6978081fd80534...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gz6bda652fb95d1dbc0a7de0fb5bca25ca...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gz4ac97f744c2cb8e30a7c51f03a9cd399...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gzdc8aad2b49d5af8a5bbd55954d51f675...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gzf007fca585745aae6106f242c657715d...
bitcoin-0.18.99-osx-unsigned.dmg7761ef2852707751c1bb2d94ca42136d...
bitcoin-0.18.99-osx64.tar.gz45c5877a4e8253fc3d9c7e52b0d26aa7...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz0bb71a7848f96eaa3c20ad4178f27e11...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz33972e602f6c68f2d97795a71c7b1626...
bitcoin-0.18.99-win32-debug.zip657642242318697dc7db55d7e2db7c00...
bitcoin-0.18.99-win32-setup-unsigned.exe0848f56e7983961e93c1ab26a8923eeb...
bitcoin-0.18.99-win32.zip8b9b03eec62fba194784347510efed2b...
bitcoin-0.18.99-win64-debug.zipfa6d55bd44c047796f4622d584afa71b...
bitcoin-0.18.99-win64-setup-unsigned.execf4437f868cde361df90164787a3b98e...
bitcoin-0.18.99-win64.zip63ae828070c1e3bd8aedceadb2d427de...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gz622159fc615d8bfe04f22cc6b9cffcc1...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gzd21f4a40ace15642c04ea3698171675e...
bitcoin-0.18.99.tar.gz78231cf6502926e213d5ee7be15674f0...
bitcoin-core-linux-0.19-res.ymld2107f5b5b1afcf6c1235cc72ae38e3c...
bitcoin-core-osx-0.19-res.yml218b5cfc88ec9dc9d2ca4305f7b63f48...
bitcoin-core-win-0.19-res.ymlf73d980174667d19b3023b22242ec66b...
bitcoin-linux-build.log2d308259dbc176c6c2efd077e49540a5...
bitcoin-osx-build.log5ae70a0860884f3998e7111a312dbd22...
bitcoin-win-build.logGitian builds for commit b7c9b7cb20b8c748e14e6c3f9b6d90ce4b05b857 (master and this pull):
d163812549e46263ca9ebc660a6ccbc1...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gz4517632aaa196ac314f696c04bf92c26...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gz1fc4d172765d33d8b2e944213d8bb60e...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gzeadfc397f09f382cd544bb26d8f658e9...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gz6266a6c857ae915a7ba4257b52ee4f51...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gz06a1a1e334224e7bb8566e55f920b077...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gz31a7b5f6a638aaf5f57144a31a83f86c...
bitcoin-0.18.99-osx-unsigned.dmg0ec2c38ecd730d3f0823ac8bb843c13a...
bitcoin-0.18.99-osx64.tar.gzc25d24f718fae784558d39a6e63e0e1c...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz36c4a3f488e75fcb9a3609eb81c4e783...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz62871c8a472a0c44df0c974f8d8fe676...
bitcoin-0.18.99-win32-debug.zipd2960e49f7fb2815b2f6f1292e623153...
bitcoin-0.18.99-win32-setup-unsigned.exe4399b9f88f8f23fb566c35da426f9d36...
bitcoin-0.18.99-win32.zipaf1b22875d8a9580fcc1f0a96b5ff3e1...
bitcoin-0.18.99-win64-debug.zipf8a57265498bbdde337682929758d7a4...
bitcoin-0.18.99-win64-setup-unsigned.exed7ea1ea97741f85473dc6a26cc8c2993...
bitcoin-0.18.99-win64.zipcd40b2bf0c4fd42d5f567f7ed1b4eac5...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gzd9d521d47c0bbbbc535a04f5b157b40b...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gz0120d05de1595ffa978f0e87645436ca...
bitcoin-0.18.99.tar.gz0790e9d7ddb48cfced4d7199dd45d201...
bitcoin-core-linux-0.19-res.yml7df6b10809102fd6acb7649706d5a898...
bitcoin-core-osx-0.19-res.yml6ef9b8d4e64fcf7aab0e68a3d32ada3d...
bitcoin-core-win-0.19-res.ymlcf05df959e4492e3374b5716921babe7...
bitcoin-linux-build.log5c4797be275f7352166db976120c7a03...
bitcoin-osx-build.log4b820b050a25da1979cb1800d40bdaf6...
bitcoin-win-build.log0@@ -1,18 +1,17 @@
1 package=rapidcheck
2-$(package)_version=10fc0cb
3-$(package)_download_path=https://github.com/MarcoFalke/rapidcheck/archive
4-$(package)_file_name=$(package)-$($(package)_version).tar.gz
5-$(package)_sha256_hash=9640926223c00af45bce4c7df8b756b5458a89b2ba74cfe3e404467f13ce26df
6+$(package)_version=3eb9b4ff69f4ff2d9932e8f852c2b2a61d7c20d3
7+$(package)_download_path=https://github.com/emil-e/rapidcheck/archive