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

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • production
    • Coin (obsolete)
    • 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

              tosaraja Tony Sarajärvi
              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