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

Coin fails to assing host to for vm

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • master
    • master
    • Coin (obsolete)
    • None

    Description

      2018-10-30 17:35:10,491 ERROR:agentlauncher(11666): Exception during agent launch: 'integer division or modulo by zero' (attempt: 7)
      Traceback (most recent call last):
      File "/home/jukarjal/coin/tqtc-coin-ci/src/agentlauncher.py", line 119, in _aenter_
      return await self._aenter_impl()
      File "/home/jukarjal/coin/tqtc-coin-ci/src/agentlauncher.py", line 145, in _aenter_impl
      loop=self.loop)
      File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
      return fut.result()
      File "/home/jukarjal/coin/tqtc-coin-ci/src/opennebulahardwarepool.py", line 289, in allocate_agent
      recommended_host = await _recommended_host(image_id)
      File "/home/jukarjal/coin/tqtc-coin-ci/src/opennebulahardwarepool.py", line 83, in _recommended_host
      return hosts_id[image_id % len(hosts_id)]
      ZeroDivisionError: integer division or modulo by zero
      2018-10-30 17:35:10,492 ERROR:agentlauncher(11666): Failed repeatedly to launch agent. Request AgentLaunchRequest(userName='jukarjal', productVersion='12f43cab3532f77213ff1a772fdec38816b097d8', vmTemplate='qtci-
      linux-RHEL-6.6-x86_64-c2124a', machineType=4098, testConfiguration=WorkItemConfiguration(target=Platform(compiler='GCC', arch='X86_64', osVersion='RHEL_6_6', os='Linux'), host=Platform(compiler='GCC', arch='X86_
      64', osVersion='RHEL_6_6', os='Linux'), configurationDependency=None, features=['Release', 'ForceDebugInfo'], jenkinsData=None, testHack=None, vmTemplate='qtci-linux-RHEL-6.6-x86_64-c2124a', toolsets=[Toolset(ta
      rgetSourceDirectory='qt/qtqa-latest', sourceOnly=True, repositoryState=RepositoryState(contentSha1='47bb9b34eee0348e229e594a5819bb38d709bf0f', dependencies=None, sha1='184d74f49c9951b1525066091088240a997c6092',
      project='qt/qtqa', gerritInstance='qt-project'))], configureArgs=None, type=0), buildKey='qt/qtwebview/5ce36c57d2f5d433661df2e9dd7f8c78cd647b72/LinuxRHEL_6_6x86_64LinuxRHEL_6_6x86_64GCCqtci-linux-RHEL-6.6-x86_64
      -c2124aRelease_ForceDebugInfo/5cb9f45e069a95ec7fa85f61517b9ac7e003625b/Build', type=0), reasons:
      integer division or modulo by zero

      Attachments

        For Gerrit Dashboard: QTQAINFRA-2321
        # Subject Branch Project Status CR V

        Activity

          People

            jukarjal Juha Karjalainen
            jukarjal Juha Karjalainen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes