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

IFW: Test fetching metadata from a compressed repository (QBSP)

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • RTA
    • Linux/X11, macOS, Windows
    • Qt Installer Sprint 73

    Description

      There are two ways to test this, from the installer GUI or CLI.

      Preconditions:

      • Retrieve a QBSP file used for the test <exact file TBD>

      Test from GUI:

      • Open online installer and login with a commercial Qt Account with Device Creation Enterprise license.
      • Navigate to the component selection page.
      • Click 'Browse QBSP files' and select the file that was retrieved for the test.
      • Verify that installer doesn't give any error after it finishes decompressing and evaluating the compressed repository.
      • Verify from component tree that (at least some) of the components from the QBSP were added successfully. For this, the QBSP file can be decompressed and inspected by hand to get the component names (found in Updates.xml file in the repository root).
      • Verify that the QBSP file still exists on disk after the fetch (related bug QTIFW-2876)
      • Quit installer.

      Test from CLI:

      • Open online installer in the CLI mode, this includes setting options for:
        • Login credentials for a commercial Qt Account with Device Creation Enterprise license (–email & --pw or some other login mechanism used by RTA)
        • --install-compressed-repository with a value pointing to the QBSP file retrieved for the test
        • 'search' command with a parameter value containing a name that should appear for a component in the QBSP file (in the Updates.xml this is the 'Name' tag, not 'DisplayName' for the component).
      • Verify return code from installer is 0.
      • Verify that installer output contains the information for a component found by the search:
        • For example, 'search qt.tools.ifw.45' yields:
        • <availablepackages>
             <package name="qt.tools.ifw.45" displayname="Qt Installer Framework 4.5" version="4.5.0-0-202211071240"/>
          </availablepackages>
      • Verify that the QBSP file still exists on disk after the fetch (related bug QTIFW-2876)

      Attachments

        Issue Links

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

          Activity

            People

              iikkak Iikka Konola
              arttu.tarkiainen Arttu Tarkiainen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes