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

Scheduler fails to resolve product information for tqtc-coin-ci repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 1.3
    • WebServer
    • None

    Description

      Trying to list configurations for tqtc-coin-ci repository fails for sha1 2db4307652e18ea4e0d7597561e87cf3dac0673f

       

      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 471, in _getProductDetails
          integrationRequest = await self.updateIntegrationRequestWithModuleDependencies(integrationRequest)
        File "/home/vmbuilder/qt-ci/src/workitemfactory.py", line 545, in updateIntegrationRequestWithModuleDependencies
          raise CancelIntegrationRequest(result.errorMessage)
      workitemfactory.CancelIntegrationRequest: Resolving submodule <Section: submodule "src/gopkg.in/yaml.v2"> failed:
      Traceback (most recent call last):
        File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 576, in resolve_submodule
          repo = await self.resolvedRepository(repo)
        File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 207, in resolvedRepository
          await self.ensureRepoExists(repositoryState.gerritInstance, repositoryState.project)
        File "/home/vmbuilder/qt-ci/src/utils.py", line 268, in async_lru_cached_wrapper
          result = await future_result
        File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 111, in ensureRepoExists
          repoUrl = self._urlForRepo(gerritInstance, project)
        File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 90, in _urlForRepo
          return self._resolveProject(gerritInstance, project)
        File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 86, in _resolveProject
          assert slashCount >= 1, "We expect that the specified project has at least one '/' in the name, for example 'qt/qtbase' but '%s' doesn't match that rule" % project
      AssertionError: We expect that the specified project has at least one '/' in the name, for example 'qt/qtbase' but 'yaml.v2' doesn't match that rule
      

      The gitmodules entry for the related submodule contains

      [submodule "src/gopkg.in/yaml.v2"]
      	path = src/gopkg.in/yaml.v2
      	url = https://gopkg.in/yaml.v2
      

      The bug is likely caused by the submodule URL not being contained in config.json file as recognized repositoies that is required for repository manager to be able to resolve the disk path for the repository.

       

      Attachments

        Activity

          People

            hehalmet Heikki Halmet
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: