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

Source archive creation failure causes unhandled exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • production
    • production
    • Coin (obsolete)
    • None
    •  47baf8f4fe830acefbd288660a5d61185c63247c

    Description

      Source archive creation failure raises exception that is unhandled in workitem.py:

      2017-10-19 12:13:45,951 ERROR:workitem: Houston? Houston!
      ESC[31mTraceback (most recent call last):
      File "/home/vmbuilder/qt-ci/src/workitem.py", line 265, in _run
      await self.run()
      File "/home/vmbuilder/qt-ci/src/workitem.py", line 702, in run
      await self._createSourceArchive()
      File "/home/vmbuilder/qt-ci/src/workitem.py", line 420, in _createSourceArchive
      await asyncio.wait_for(createArchiveCoro, timeout=self.waitingForSourceArchiveCreatedTimeout, loop=self.loop)
      File "/usr/lib/python3.5/asyncio/tasks.py", line 392, in wait_for
      return fut.result()
      File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
      raise self._exception
      File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
      result = coro.throw(exc)
      File "/home/vmbuilder/qt-ci/src/storage.py", line 409, in createSourceArchives
      await asyncio.gather(*futures, loop=loop)
      File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
      yield self # This tells Task to wait for completion.
      File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
      future.result()
      File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
      raise self._exception
      File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
      result = self.fn(*self.args, **self.kwargs)
      File "/home/vmbuilder/qt-ci/src/storage.py", line 357, in ensureSourceArchive
      f.result() # raises potential exceptions
      File "/usr/lib/python3.5/concurrent/futures/_base.py", line 405, in result
      return self.__get_result()
      File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
      raise self._exception
      File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
      result = self.fn(*self.args, **self.kwargs)
      File "/home/vmbuilder/qt-ci/src/storage.py", line 342, in run
      windowsLineFeeds=windowsLineFeeds, includeSubModules=submodules)
      File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 354, in archive
      targetArchive, revision, prefix="", extraGitOptions=extraGitOptions)
      File "/home/vmbuilder/qt-ci/src/repositorymanager.py", line 161, in archiveSubmodules
      subprocess.check_call("git --git-dir=%s --no-pager archive --prefix=%s %s" % (clonePath, modulePrefix, sha1), stdout=submoduleArchive, shell=True)
      File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
      raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command 'git --git-dir=/home/vmbuilder/ci-working-dir/git-repos/qt-project/qt/qt5/modules/qtmultimedia --no-pager archive --prefix=qtmultimedia/ d9d5f95b67d731937e3a30e0bf8257c30f7c6dd0' returned non-zero exit status 128ESC[0m
      2017-10-19 12:13:45,955 DEBUG:workitem: Work item (buildKey: qt/qt5/62d863ee6fab5f0f9568e7e1aa8dd6f5c18c63f1/WindowsWindows_8_1x86_64WindowsWindows_8_1x86MSVC2013qtci-windows-8.1-x86_64-1cdeccDebugAndRelease_Release_ForceDebugInfo_OpenGLDynamic_DisableTests/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/Build) changed state from WaitingForSourceArchive to Failed
      
      

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes