Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-1197

temporary windows msi builder hotfix regarding HeidiSQL download

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • N/A
    • N/A
    • Buildbot

    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

          Activity

            People

              rvarzaru Varzaru Razvan-Liviu
              rvarzaru Varzaru Razvan-Liviu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.25d
                  0.25d