aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerge-script <falke.marco@gmail.com>2021-09-25 09:27:34 +0200
committermerge-script <falke.marco@gmail.com>2021-09-25 09:27:34 +0200
commit747f91c0a385df19bced69deca4d9da6d6e756b8 (patch)
tree7676c47981c0263467d493772218550a5c72b9ba
parent442e32e1179a49db54521244e1672bd208d0ef94 (diff)
parent097ac74fd22f706fb7d8d652dadea844dc8198b9 (diff)
Merge bitcoin/bitcoin#23089: ci: Increase the dynamic port range to the maximum on native Windows
097ac74fd22f706fb7d8d652dadea844dc8198b9 ci: Add more functional tests to the native Windows task (Hennadii Stepanov) 8e08a4b6ce13dcf20c026c832dc5810a54c8390b ci: Increase the dynamic port range to the maximum on native Windows (Hennadii Stepanov) Pull request description: Fixes #18548. The solution suggested in https://github.com/bitcoin/bitcoin/issues/18548#issuecomment-923944390. Also more functional tests added to the native Windows task. ACKs for top commit: MarcoFalke: concept ACK 097ac74fd22f706fb7d8d652dadea844dc8198b9 Tree-SHA512: 51f3cb5b4e707dd2e4fd6b3be7e3b9615ec4a2760f4e0de9312443edadedf148e94964c43352fd2c8f6842a2baf70084b559760e7b46fc654ea882b0bba21443
-rw-r--r--.cirrus.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index f15afca005..703d28557e 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -93,7 +93,7 @@ task:
QTBASEDIR: 'C:\Qt5.12.11_x64_static_vs2019_160900'
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
IgnoreWarnIntDirInTempDetected: 'true'
- EXCLUDE_TESTS: 'feature_addrman.py,feature_bip68_sequence.py,feature_fee_estimation.py,mining_prioritisetransaction.py,p2p_getaddr_caching.py,p2p_invalid_locator.py,p2p_invalid_tx.py,rpc_misc.py,rpc_net.py,wallet_avoidreuse.py,wallet_descriptor.py,wallet_groups.py,wallet_keypool.py'
+ EXCLUDE_TESTS: 'feature_addrman.py,feature_asmap.py'
merge_script:
- git config --global user.email "ci@ci.ci"
- git config --global user.name "ci"
@@ -147,6 +147,10 @@ task:
- python test\util\test_runner.py
- python test\util\rpcauth-test.py
functional_tests_script:
+ # 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".
+ # See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
+ - netsh int ipv4 set dynamicport tcp start=1025 num=64511
+ - netsh int ipv6 set dynamicport tcp start=1025 num=64511
# TODO enable '--extended' and drop '--exclude'.
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --exclude %EXCLUDE_TESTS% --failfast