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

Agent is leaking connections to storage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: master, 1.1
    • Fix Version/s: None
    • Component/s: Agent, Storage
    • Labels:
      None
    • Commits:
      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

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

          Activity

            People

            Assignee:
            hehalmet Heikki Halmet
            Reporter:
            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