Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-1219

Ensure tst_licenses qtqa repo is always up-to-date when clone from Coin git mirror

    XMLWordPrintable

Details

    Description

      https://codereview.qt-project.org/c/qt/qtscxml/+/627651

      https://testresults.qt.io/coin/integration/qt/qtscxml/tasks/1740670865

      https://testresults.qt.io/coin/log/qt/qtscxml/669a54671f827ceffc7585212234c55af6201e8c/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-04170cGenerateSBOM_Sccache_UseConfigure_VerifySBOM/432047537871533bdcc16b5ba2ffc4b235ff649b/build_1740671825

      agent:2025/02/27 09:14:09 build.go:833: Executing instruction 72 of 248 - EnvironmentVariable
      agent:2025/02/27 09:14:09 build.go:513: set QTQA_LICHECK_BRANCH=6.8
      agent:2025/02/27 09:14:09 build.go:832: 
      agent:2025/02/27 09:14:09 build.go:833: Executing instruction 73 of 248 - ExecuteCommand
      agent:2025/02/27 09:14:09 build.go:427: [bash -c git clone --depth=1 -b 6.8 git://10.215.0.212:9418/qt-project/qt/qtqa qt/qtqa-latest ||git clone --depth=1 -b dev git://10.215.0.212:9418/qt-project/qt/qtqa qt/qtqa-latest] 10m0s 10m0s false false
      agent:2025/02/27 09:14:09 build.go:404: Cloning into 'qt/qtqa-latest'...
      agent:2025/02/27 09:14:09 build.go:832: 
      
      ...
      
      agent:2025/02/27 09:14:55 build.go:404: -- Verifying source SBOM /home/qt/work/install/sbom/qtscxml-6.8.3.source.spdx using qtqa tst_licenses.pl /home/qt/work/qt/qtqa-latest/tests/prebuild/license/tst_licenses.pl
      agent:2025/02/27 09:14:55 build.go:404: 'perl' 'qt/qtqa-latest/tests/prebuild/license/tst_licenses.pl' '-sbomonly' '-sbom' '/home/qt/work/install/sbom/qtscxml-6.8.3.source.spdx'
      agent:2025/02/27 09:14:55 build.go:404: Unknown option: sbomonly
      agent:2025/02/27 09:14:55 build.go:404: Unknown option: sbom
      agent:2025/02/27 09:14:55 build.go:404: Usage:
      agent:2025/02/27 09:14:55 build.go:404:       perl ./tst_licenses.pl [OPTION]
      

      Sometimes the cloned qtqa repo branch is not up-to-date, and starts failing submodule updates, due to missing options, etc.

      We should ensure that we always check out the latest commit of the checked out branch.

      Currently we need to wait an uncertain amount of time, until a newer commit is seen and checked out.

      Attachments

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

        Activity

          People

            tosaario Toni Saario
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes