Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
N/A
Description
windows-packages builder failing with:
E.g: https://buildbot.mariadb.org/#/builders/239/builds/39319
-- Downloading https://www.heidisql.com/downloads/releases/HeidiSQL_12.14_64_Portable.zip to C:/buildbot/workers/prod/amd64-windows-packages/build/tmpdir/HeidiSQL_12.14_64_Portable/HeidiSQL_12.14_64_Portable.zip |
cmake -E tar : error : ZIP decompression failed (-5) [C:\buildbot\workers\prod\amd64-windows-packages\build\win\packaging\MSI.vcxproj] |
Because a file download 60 seconds timeout is reached in https://github.com/MariaDB/server/blob/9fc925d77163f1d63e21a65654b0f59678abf08d/win/packaging/heidisql.cmake#L9
The file download status if not checked in cmake, it will be silently ignored
and cmake continues to decompression, resulting in the above error, due to an incomplete download.
CMAKE is looking in TEMP for third parties, setting: THIRD_PARTY_DOWNLOAD_LOCATION
https://github.com/MariaDB/server/blob/9fc925d77163f1d63e21a65654b0f59678abf08d/win/packaging/CMakeLists.txt#L139
But currently TEMP is set to a worker path build location that is removed on every run.
wlad will permanently fix this by making THIRD_PARTY_DOWNLOAD_LOCATION settable in 10.6 and also increasing the timeout.
Until then, I manually copied HeidiSQL_12.14_64_Portable.zip on the system and user TEMP location on the windows packages host, and will remove the TEMP env variable from the configuration, letting the system / user variable take precedence.
Attachments
Issue Links
- relates to
-
MDEV-39258 Windows, MSI : make THIRD_PARTY_DOWNLOAD_LOCATION settable to cache HeidiSQL download
-
- Open
-