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

Regenerating platform configurations fails to connection refused errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • unversioned
    • unversioned
    • Coin (obsolete)
    • None
    • a6ad86915506a2b42a42143f0a7f621c77b45a77

    Description

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "/home/akeskimo/qt-ci-master/src/platform_configurations.py", line 447, in <module>
      configs = builder.get_configurations(integrationRequest, product)
      File "/home/akeskimo/qt-ci-master/src/platform_configurations.py", line 283, in get_configurations
      configs = platforms_for_project_and_branch(integrationRequest.repositoryState, product, integrationRequest.productVersion)
      File "/home/akeskimo/qt-ci-master/src/platform_configurations.py", line 241, in platforms_for_project_and_branch
      with application.instance.connectToSourceStorageService() as storage:
      File "/home/akeskimo/qt-ci-master/src/application.py", line 319, in connectToSourceStorageService
      return typing.cast(RPCContext[sourcestorage.SourceStorage], self.connectToServiceGeneric("SourceStorage"))
      File "/home/akeskimo/qt-ci-master/src/application.py", line 303, in connectToServiceGeneric
      address = self.getServiceInfo(name)
      File "/home/akeskimo/qt-ci-master/src/application.py", line 333, in getServiceInfo
      with self.connectToNameService() as nameService:
      File "/opt/python-3.5.2/lib/python3.5/contextlib.py", line 59, in _enter_
      return next(self.gen)
      File "/home/akeskimo/qt-ci-master/env/lib/python3.5/site-packages/thriftpy/rpc.py", line 74, in client_context
      transport.open()
      File "/home/akeskimo/qt-ci-master/env/lib/python3.5/site-packages/thriftpy/transport/transport.py", line 113, in open
      return self.__trans.open()
      File "/home/akeskimo/qt-ci-master/env/lib/python3.5/site-packages/thriftpy/transport/socket.py", line 82, in open
      message=message)
      thriftpy.transport.transport.TTransportException: TTransportException(type=1, message='Could not connect to localhost:48545')
      Traceback (most recent call last):
      File "/home/akeskimo/qt-ci-master/env/lib/python3.5/site-packages/thriftpy/transport/socket.py", line 74, in open
      raise e
      File "/home/akeskimo/qt-ci-master/env/lib/python3.5/site-packages/thriftpy/transport/socket.py", line 69, in open
      self.handle.connect(res[4])
      ConnectionRefusedError: [Errno 111] Connection refused

      Reproduce:
      1) cherry pick a commit that changes platform instructions
      2) terminate any existing coin session
      3) run src/test_platformconfigurations.py --generate

      Work-around:
      ./run_ci --tmux-no-attach
      src/test_platformconfigurations.py --generate

      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