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

Agent is leaking connections to storage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • master, 1.1
    • Agent, Storage
    • None
    • a8aa0f3e16201d3c14d3ecd8a586e86538e227f2 (qtqa/tqtc-coin-ci/master)

    Description

      Coin logs has messages about connections being terminated unexpectedly:

       

      2019-07-23 08:23:24,664 ERROR:storage.py:675(2746): Remote storage operation failed (request: 'None')
      ESC[31mTraceback (most recent call last):
        File "src/storage.py", line 582, in receiveMessageFromFile
          data = fileObj.read(struct.calcsize("!I"))
        File "/usr/lib/python3.6/socket.py", line 586, in readinto
          return self._sock.recv_into(b)
      ConnectionResetError: [Errno 104] Connection reset by peerDuring handling of the above exception, another exception occurred:Traceback (most recent call last):
        File "src/storage.py", line 656, in handle
          message = _ArtifactSocketHandler.receiveMessageFromFile(self.rfile, messages.FileTransferRequest)
        File "src/storage.py", line 589, in receiveMessageFromFile
          log.info("Connection reset while receiving file from storage '%s'.", message.storageLocation)
      UnboundLocalError: local variable 'message' referenced before assignmentESC[0m
      
      

      Error log: coin.log.2019-07-23

      Attachments

        For Gerrit Dashboard: COIN-322
        # Subject Branch Project Status CR V

        Activity

          People

            hehalmet Heikki Halmet
            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