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

Resolving product_dependencies.yaml fails with relative urls with more than 1 level

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 1.2.4
    • Fix Version/s: 1.3
    • Component/s: Dependency Resolver
    • Labels:
      None
    • Commits:
      3d38c0655a2dc73db92869569663611fabf32538

      Description

      Trying to resolve Gerrit url for change

      https://codereview.qt-project.org/c/qt-apps/qdb/+/277734

      will result in failure

      Error resolving product information:
      Traceback (most recent call last):
        File "/home/vmbuilder/qt-ci/src/workitemfactory.py", line 454, in getProductDetails
          product, integrationRequest = await self._getProductDetails(integrationRequest)
        File "/home/vmbuilder/qt-ci/src/workitemfactory.py", line 468, in _getProductDetails
          product = await self.dependency_resolver.get_product_dependency(mainModule, content)
        File "/home/vmbuilder/qt-ci/src/dependency.py", line 111, in get_product_dependency
          product = await self.repoManager.resolvedRepository(storagestructs.RepositoryState(
        File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 202, in resolvedRepository
          await self.ensureRepoExists(repositoryState.gerritInstance, repositoryState.project)
        File "/home/vmbuilder/qt-ci/src/utils.py", line 267, in async_lru_cached_wrapper
          result = await future_result
        File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 115, in ensureRepoExists
          await clone("--bare", repoUrl, diskPath)
        File "/home/vmbuilder/qt-ci/src/ash.py", line 145, in __call__
          raise sh.ErrorReturnCode_128(" ".join(processed_args), stdout, stderr)
      sh.ErrorReturnCode_128: 
      
        RAN: git --no-pager clone --bare ssh://codereview.qt-project.org:29418/./qt5 /home/vmbuilder/ci-working-dir/git-repos/qt-project/./qt5
      
        STDOUT:
      
      
        STDERR:
      Cloning into bare repository '/home/vmbuilder/ci-working-dir/git-repos/qt-project/./qt5'...
      fatal: project ./qt5 not found
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

       

        Attachments

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

          Activity

            People

            Assignee:
            tosaario Toni Saario
            Reporter:
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes