Merge bitcoin/bitcoin#23089: ci: Increase the dynamic port range to the maximum on native Windows

097ac74fd2 ci: Add more functional tests to the native Windows task (Hennadii Stepanov)
8e08a4b6ce 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 097ac74fd2

Tree-SHA512: 51f3cb5b4e707dd2e4fd6b3be7e3b9615ec4a2760f4e0de9312443edadedf148e94964c43352fd2c8f6842a2baf70084b559760e7b46fc654ea882b0bba21443
This commit is contained in:
merge-script 2021-09-25 09:27:34 +02:00
commit 747f91c0a3
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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