@@ -58,7 +58,8 @@ macos_native_task_template: &MACOS_NATIVE_TASK_TEMPLATE
5858 check_clang_script :
5959 - clang --version
6060 brew_install_script :
61- - brew install boost libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
61+ - brew install boost@1.85 libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
62+ - brew link --force --overwrite boost@1.85
6263 << : *MAIN_TEMPLATE
6364
6465compute_credits_template : &CREDITS_TEMPLATE
8081 env :
8182 << : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
8283
83- task :
84- name : " Win64 native [msvc]"
84+ win64_native_common : &win64_native_common
8585 << : *FILTER_TEMPLATE
8686 windows_container :
8787 cpu : 4
@@ -159,6 +159,22 @@ task:
159159 - cd %CIRRUS_WORKING_DIR%
160160 - python build_msvc\msvc-autogen.py
161161 - msbuild build_msvc\bitcoin.sln -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
162+
163+ task :
164+ name : " Win64 native [msvc] (Short running functional tests)"
165+ << : *win64_native_common
166+ functional_tests_script :
167+ # Increase the dynamic port range to the maximum allowed value to mitigate "OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted".
168+ # See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
169+ - netsh int ipv4 set dynamicport tcp start=1025 num=64511
170+ - netsh int ipv6 set dynamicport tcp start=1025 num=64511
171+ # Heavier tests are moved to a secondary task
172+ # Exclude feature_dbcrash and feature_fee_estimation, failing https://github.com/ElementsProject/elements/pull/1298
173+ - python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude wallet_avoidreuse,feature_trim_headers,feature_dbcrash,feature_fee_estimation
174+
175+ task :
176+ name : " Win64 native [msvc] (Long running functional tests + unit tests)"
177+ << : *win64_native_common
162178 unit_tests_script :
163179 - src\test_elements.exe -l test_suite
164180 - src\bench_elements.exe > NUL
@@ -169,10 +185,9 @@ task:
169185 # See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
170186 - netsh int ipv4 set dynamicport tcp start=1025 num=64511
171187 - netsh int ipv6 set dynamicport tcp start=1025 num=64511
172- # Exclude feature_dbcrash for now due to timeout
173- # Exclude also wallet_avoidreuse due to timeout
174- # Ignore failures for now, need to investigate but we really don't use native win64 builds
175- - python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude feature_dbcrash,wallet_avoidreuse || true
188+ # Execute tests excluded from the main task
189+ # Ignore failures for now until https://github.com/ElementsProject/elements/pull/1298 is merged
190+ - python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 wallet_avoidreuse feature_trim_headers feature_dbcrash feature_fee_estimation || true
176191
177192task :
178193 name : ' ARM [unit tests, no functional tests] [bullseye]'
0 commit comments