Here's what the log ends with: ---- + download http://downloads.dlang.org/releases/2.x/2.090.0/dmd.2.090.0.windows.7z dmd2.7z + local url=http://downloads.dlang.org/releases/2.x/2.090.0/dmd.2.090.0.windows.7z + local path=dmd2.7z + curl -fsSL -A 'DMD-CI curl 7.70.0 (x86_64-w64-mingw32) libcurl/7.70.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 libidn2/2.3.0 libssh2/1.9.0 nghttp2/1.40.0' --connect-timeout 5 --speed-time 30 --speed-limit 1024 --retry 5 --retry-delay 5 http://downloads.dlang.org/releases/2.x/2.090.0/dmd.2.090.0.windows.7z -o dmd2.7z curl: (56) Recv failure: Connection was reset ##[error]Cmd.exe exited with code '56'. Finishing: Download requires binaries ---- What should happen is when a network error like this happens that has nothing to do with dmd failing the tests, is the test should sleep for a minute then try again.
Now that `install.sh` supports Windows, perhaps it should be used directly instead.
@Geod24 created dlang/dmd pull request #11878 "Fix 20970 - Use a longer retry for curl on Windows" fixing this issue: - Fix 20970 - Use a longer retry for curl on Windows This uses the backoff strategy built in curl, instead of the short 5 seconds retry. Instead, we set retry-max-time, telling curl to fail after 2 minutes. https://github.com/dlang/dmd/pull/11878
dlang/dmd pull request #11878 "Fix 20970 - Use a longer retry for curl on Windows" was merged into master: - 0427a8378a545ef677ed826e324cbb86c5c75655 by Geod24: Fix 20970 - Use a longer retry for curl on Windows This uses the backoff strategy built in curl, instead of the short 5 seconds retry. Instead, we set retry-max-time, telling curl to fail after 2 minutes. https://github.com/dlang/dmd/pull/11878