Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30655

Remoting blocks when the slave disconnects during copying files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: core, remoting
    • Labels:
    • Environment:
      Jenkins 1.599 and 1.609.3, Copy artifact 1.35
    • Similar Issues:

      Description

      We are copying a big file from another job to the test job. That takes 4~5 minutes. The problem is, if the slave disconnects during this 4~5 minutes, the copy artifact doesn't know and doesn't stop. As a result, this job will run forever. Cancelling the job doesn't cancel it at this moment. Even disconnecting the slave doesn't stop the job. The only way out of this is restart the master, and I mean reboot the master machine, because soft restarting the Jenkins process will also hang during the restart. This is really ugly when it happens, so the priority is blocker.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          From what I see it's still an issue in the last version

          Show
          oleg_nenashev Oleg Nenashev added a comment - From what I see it's still an issue in the last version
          Hide
          hickstein Sven Hickstein added a comment -

          This issue is still in the current LTS release (2.73.2). Is there any workaround? We have a big master with hundreds of users. It is no option to restart the Jenkins master if some Raspberry Pi goes offline and the Jobs is blocked.

          Show
          hickstein Sven Hickstein added a comment - This issue is still in the current LTS release (2.73.2). Is there any workaround? We have a big master with hundreds of users. It is no option to restart the Jenkins master if some Raspberry Pi goes offline and the Jobs is blocked.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Added it to my EPIC scope.
          Sven Hickstein Which Remoting version is being used on your master?

          Show
          oleg_nenashev Oleg Nenashev added a comment - Added it to my EPIC scope. Sven Hickstein Which Remoting version is being used on your master?
          Hide
          hickstein Sven Hickstein added a comment -

          We currently use version remoting version 3.10.2 (LTS 2.73.2)

          Show
          hickstein Sven Hickstein added a comment - We currently use version remoting version 3.10.2 (LTS 2.73.2)
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Unfortunately I have no capacity to work on Remoting in medium term, so I will unassign it and let others to take it. If somebody is interested to submit a pull request, I will be happy to help to get it reviewed and released.

          Show
          oleg_nenashev Oleg Nenashev added a comment - Unfortunately I have no capacity to work on Remoting in medium term, so I will unassign it and let others to take it. If somebody is interested to submit a pull request, I will be happy to help to get it reviewed and released.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            k76154 JY Hsu
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: