Skip to content

Commit 747f91c

Browse files
author
merge-script
committed
Merge bitcoin#23089: ci: Increase the dynamic port range to the maximum on native Windows
097ac74 ci: Add more functional tests to the native Windows task (Hennadii Stepanov) 8e08a4b ci: Increase the dynamic port range to the maximum on native Windows (Hennadii Stepanov) Pull request description: Fixes bitcoin#18548. The solution suggested in bitcoin#18548 (comment). Also more functional tests added to the native Windows task. ACKs for top commit: MarcoFalke: concept ACK 097ac74 Tree-SHA512: 51f3cb5b4e707dd2e4fd6b3be7e3b9615ec4a2760f4e0de9312443edadedf148e94964c43352fd2c8f6842a2baf70084b559760e7b46fc654ea882b0bba21443
2 parents 442e32e + 097ac74 commit 747f91c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.cirrus.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ task:
9393
QTBASEDIR: 'C:\Qt5.12.11_x64_static_vs2019_160900'
9494
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
9595
IgnoreWarnIntDirInTempDetected: 'true'
96-
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'
96+
EXCLUDE_TESTS: 'feature_addrman.py,feature_asmap.py'
9797
merge_script:
9898
- git config --global user.email "[email protected]"
9999
- git config --global user.name "ci"
@@ -147,6 +147,10 @@ task:
147147
- python test\util\test_runner.py
148148
- python test\util\rpcauth-test.py
149149
functional_tests_script:
150+
# 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".
151+
# See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
152+
- netsh int ipv4 set dynamicport tcp start=1025 num=64511
153+
- netsh int ipv6 set dynamicport tcp start=1025 num=64511
150154
# TODO enable '--extended' and drop '--exclude'.
151155
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --exclude %EXCLUDE_TESTS% --failfast
152156

0 commit comments

Comments
 (0)