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

Remoting blocks when the slave disconnects during copying files

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • core, remoting
    • Jenkins 1.599 and 1.609.3, Copy artifact 1.35

    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

          oleg_nenashev Oleg Nenashev added a comment -

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

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

          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.

          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.
          oleg_nenashev Oleg Nenashev added a comment -

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

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

          We currently use version remoting version 3.10.2 (LTS 2.73.2)

          hickstein Sven Hickstein added a comment - We currently use version remoting version 3.10.2 (LTS 2.73.2)
          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.

          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

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

            Dates

              Created:
              Updated: