OS: Microsoft Windows 10 Pro Version: 10.0.19042 Build 19042 Compiler: Microsoft Visual Studio Community 2019 Version 16.11.7 VisualStudio.16.Release/16.11.7+31911.196 Microsoft .NET Framework Version 4.8.04084
Running into a fatal error while launching test_bitcoin.exe from the “x64 Native Tools Command Prompt for VS 2019”. All unit tests pass except system_tests.cpp Followed the work around found here however it did work for me
Expected behavior
*** No errors detected
Actual behavior
Unit Test failure: Using test_bitcoin.exe –run_test=system_tests Running 2 test cases... unknown location(0): fatal error: in "system_tests/run_command": struct boost::process::process_error: CreateProcess failed: The system cannot find the file specified. C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(57): last checkpoint
*** 1 failure is detected in the test module "Bitcoin Core Test Suite"
To reproduce
After successfully building bitcoin, using the Visual Studio instructions, and using the recommended qt installation found here. Launch test_bitcoin.exe from the command prompt it said “Running 480 test cases…” It gets to about 70% progress and then raises the following error: unknown location(0): fatal error: in "system_tests/run_command": struct boost::process::process_error: CreateProcess failed: The system cannot find the file specified. C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(57): last checkpoint
System information
Bitcoin Core version v22.99.0-unk (release build) Microsoft Windows 10 Pro Version: 10.0.19042 Build 19042 Processor Intel(R) Core(TM) i9-10980HK CPU @ 2.40GHz 3.10 GHz Installed RAM 32.0 GB (31.8 GB usable) System type 64-bit operating system, x64-based processor
Got the following log using test_bitcoin.exe --log_level=all --run_test=system_tests -- DEBUG_LOG_OUT C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(20): Entering test suite "system_tests" C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(24): Entering test case "dummy" 2021-12-14T18:15:23Z Seed: Setting random seed for current tests to RANDOM_CTX_SEED=6dc868e8ff757d5e7085cea6f6549936c30016d1bb4d5103f4a9996ae8422ba4 2021-12-14T18:15:23.779590Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\init\common.cpp:165] [LogPackageVersion] Bitcoin Core version v22.99.0-unk (release build) 2021-12-14T18:15:23.780011Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\init.cpp:908] [AppInitParameterInteraction] Assuming ancestors of block 00000000000000000008a89e854d57e5667df88f1cdef6fde2fbca1de5b639ad have valid signatures. 2021-12-14T18:15:23.780033Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\init.cpp:921] [AppInitParameterInteraction] Setting nMinimumChainWork=00000000000000000000000000000000000000001fa4663bbbe19f82de910280 2021-12-14T18:15:23.793752Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\script\sigcache.cpp:102] [InitSignatureCache] Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2021-12-14T18:15:23.802791Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\validation.cpp:1336] [InitScriptExecutionCache] Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements C:/Users/Luis/Documents/GitHub/bitcoin/src/test/system_tests.cpp(26): info: check true has passed C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(24): Leaving test case "dummy"; testing time: 27542us C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(53): Entering test case "run_command" 2021-12-14T18:15:23.807676Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\test\util\setup_common.cpp:68] [Seed] Seed: Setting random seed for current tests to RANDOM_CTX_SEED=6dc868e8ff757d5e7085cea6f6549936c30016d1bb4d5103f4a9996ae8422ba4 2021-12-14T18:15:23.807847Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\init\common.cpp:165] [LogPackageVersion] Bitcoin Core version v22.99.0-unk (release build) 2021-12-14T18:15:23.808225Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\init.cpp:908] [AppInitParameterInteraction] Assuming ancestors of block 00000000000000000008a89e854d57e5667df88f1cdef6fde2fbca1de5b639ad have valid signatures. 2021-12-14T18:15:23.808246Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\init.cpp:921] [AppInitParameterInteraction] Setting nMinimumChainWork=00000000000000000000000000000000000000001fa4663bbbe19f82de910280 2021-12-14T18:15:23.813864Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\script\sigcache.cpp:102] [InitSignatureCache] Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2021-12-14T18:15:23.814885Z [C:\Users\Admin\Documents\GitHub\bitcoin\src\validation.cpp:1336] [InitScriptExecutionCache] Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements C:/Users/Luis/Documents/GitHub/bitcoin/src/test/system_tests.cpp(57): info: check result.isNull() has passed unknown location(0): fatal error: in "system_tests/run_command": struct boost::process::process_error: CreateProcess failed: The system cannot find the file specified. C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(57): last checkpoint C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(53): Leaving test case "run_command"; testing time: 15247us C:\Users\Admin\Documents\GitHub\bitcoin\src\test\system_tests.cpp(20): Leaving test suite "system_tests"; testing time: 45447us