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

Dependency resolves failed due to missing dependency content sha1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 1.1
    • Dependency Resolver
    • None
    • ca330ba56d95baa451dd045ee190334a31f38cd8 (qtqa/tqtc-coin-ci/master)

    Description

      Integration failed to create its workitems without traceback

        https://testresults.qt.io/coin/integration/qt/qtsvg/tasks/1566452786

       In coin log the following error traceback was found:

      2019-08-22 05:47:42,799 ERROR:storage.py:106(20106): Could not compute baseKey from: RepositoryState(gerritInstance='qt-project', project='qt/qtsvg', sha1='2c513690759b07beaef3098fadb8a2fc11d99dab', dependencies
      =[RepositoryState(gerritInstance='qt-project', project='qt/qtbase', sha1='8811e96aac7537bae049860b90adf425042afb31', dependencies=[], contentSha1=None)], contentSha1='565714c93bbea0cbaf28f3906eeb23e2e4a3c07f'), 
      WorkItemConfiguration(type=0, configureArgs=['-opensource', '-confirm-license', '-verbose', '-prefix', 'c:\\Users\\qt\\work\\install', '-developer-build', '-release', '-opengl', 'dynamic', '-nomake', 'examples',
       '-nomake', 'tests', '-openssl', '-I', '%OPENSSL_INCLUDE_x86%', '-L', '%OPENSSL_LIB_x86%', '-plugin-sql-mysql', '-plugin-sql-sqlite', '-plugin-sql-odbc', '-I', '%MYSQL_INCLUDE_x86%', '-L', '%MYSQL_LIB_x86%', '-p
      lugin-sql-psql', '-I', '%POSTGRESQL_INCLUDE_x86%', '-L', '%POSTGRESQL_LIB_x86%', '-platform', 'win32-g++'], toolsets=[Toolset(repositoryState=RepositoryState(gerritInstance='qt-project', project='qt/qtqa', sha1=
      '68a9cf7cf8169589bfd1e9539a8695e661d1b036', dependencies=None, contentSha1='3038909e75daa3094af158833b03712316669d89'), sourceOnly=True, targetSourceDirectory='qt/qtqa-latest'), Toolset(repositoryState=Repositor
      yState(gerritInstance='qt-project', project='qt/qt5', sha1='8c2ecdbc27532cf875cf47ce75654be98b3d7e20', dependencies=None, contentSha1='9850213dc7b328036d2ed9dd0f76367b800a8bcb'), sourceOnly=True, targetSourceDir
      ectory='qt/qt5-toolset')], vmTemplate='qtci-windows-7-x86-3-bb33d7', testHack=None, jenkinsData=None, features=['AbortTestingOnFirstFailure'], configurationDependency=None, host=Platform(os='Windows', osVersion=
      'Windows_7', arch='X86', compiler='Mingw73'), target=Platform(os='Windows', osVersion='Windows_7', arch='X86', compiler='Mingw73'), productDependencies=[])
      ESC[31mTraceback (most recent call last):
        File "/home/vmbuilder/qt-ci/src/storage.py", line 104, in _baseKey
          key += utils.dependencyHash(repositoryState, b"COIN revision 6", workItemConfiguration.configureArgs)
        File "/home/vmbuilder/qt-ci/src/utils.py", line 831, in dependencyHash
          assert dep.project and dep.contentSha1
      AssertionErrorESC[0m
      2019-08-22 05:47:42,803 ERROR:workitemfactory.py:651(20106): Creation of work items failed
      ESC[31mTraceback (most recent call last):
        File "/home/vmbuilder/qt-ci/src/workitemfactory.py", line 637, in _testChange
          "Timeout error while resolving workitems. Coin might be busy at the moment, try again later.")
        File "/home/vmbuilder/qt-ci/src/workitemfactory.py", line 542, in _schedule_coroutine_with_timeout
          return await asyncio.wait_for(coro, timeout=timeout, loop=self.loop)
        File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
          return fut.result()
        File "/home/vmbuilder/qt-ci/src/workitemfactory.py", line 274, in getWorkItems
          items.update(await self.getTestItems(product, repo, config, basicItems, testRepetitionAllowance, integrationRequest))
        File "/home/vmbuilder/qt-ci/src/workitemfactory.py", line 137, in getTestItems
          buildKey = storage.buildKeyForTestTask(repositoryState, workItemConfiguration)
        File "/home/vmbuilder/qt-ci/src/storage.py", line 128, in buildKeyForTestTask
          key = _baseKey(repositoryState, workItemConfiguration)
        File "/home/vmbuilder/qt-ci/src/storage.py", line 104, in _baseKey
          key += utils.dependencyHash(repositoryState, b"COIN revision 6", workItemConfiguration.configureArgs)
        File "/home/vmbuilder/qt-ci/src/utils.py", line 831, in dependencyHash
          assert dep.project and dep.contentSha1
      AssertionErrorESC[0m
      

      Attachments

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

        Activity

          People

            aakeskimo Aapo Keskimölö
            aakeskimo Aapo Keskimölö
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes