Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-2031

Coin should use different Kernel images depending on macOS version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: production
    • Fix Version/s: None
    • Component/s: Coin (obsolete)
    • Labels:
      None

      Description

      Currently Coin goes through all Kernel images available and selects the first one in the list.

      @async_lru_cache(maxsize=1)
      async def macKernelImageID() -> str:
      image_pool = (await one.imagepool.info(-2, -1, -1))["IMAGE_POOL"]
      for image in xmlrpc_childElements(image_pool, "IMAGE"):
      if image["TYPE"] == one_image_type.kernel:
      return image["ID"]
      assert False, "Could not find Mac Kernel image id"
      

      This prevents us from supporting different Kernel images. One that works with macOS 10.13 (and 10.12) does not work with older ones. And one that works with older ones doesn't work with 10.13.

      Somehow Coin needs to know which Kernel image is used with which macOS. Hard code it in Coin?

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                tosaraja Tony Sarajärvi
                Reporter:
                tosaraja Tony Sarajärvi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes