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

Possible deadlock during checking remote job

    Details

    • Similar Issues:

      Description

      Sometimes we experience the following problem: the job, configured to use the remove trigger plugin, is polling the remove job correctly, then a network problem occurs and the polling stops (at least judging from the logs) and after that, the job cannot be aborted, neither by plugin, nor by hand.

      What I've found, the the code sets the connection timeout but it does not set the read timeout, which is by default -1/0 meaning infinite.

      Log:

      ...
      04:44:38 Waiting for remote build to finish.
      04:44:38 Waiting for 30 seconds until next poll.
      04:45:09 Waiting for remote build to finish.
      04:45:09 Waiting for 30 seconds until next poll.
      06:38:26 Build timed out (after 120 minutes). Marking the build as aborted.
      ...
      

        Attachments

          Activity

          Show
          muczy Peter Mihaly Avramucz added a comment - Pull request: https://github.com/jenkinsci/parameterized-remote-trigger-plugin/pull/20
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: cashlalala
          Path:
          src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java
          http://jenkins-ci.org/commit/parameterized-remote-trigger-plugin/607a85ed2babfc2a72444d426883d3ad65b067a1
          Log:
          Merge pull request #20 from muczy/readtimeout_fix

          JENKINS-33269 Possible deadlock during checking remote job

          Compare: https://github.com/jenkinsci/parameterized-remote-trigger-plugin/compare/1909ba74b246...607a85ed2bab
          *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

          Functionality will be removed from GitHub.com on January 31st, 2019.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: cashlalala Path: src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java http://jenkins-ci.org/commit/parameterized-remote-trigger-plugin/607a85ed2babfc2a72444d426883d3ad65b067a1 Log: Merge pull request #20 from muczy/readtimeout_fix JENKINS-33269 Possible deadlock during checking remote job Compare: https://github.com/jenkinsci/parameterized-remote-trigger-plugin/compare/1909ba74b246...607a85ed2bab * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
          Hide
          cashlalala KaiHsiang Chang added a comment -

          fixed in v3.0.0

          Show
          cashlalala KaiHsiang Chang added a comment - fixed in v3.0.0

            People

            • Assignee:
              cashlalala KaiHsiang Chang
              Reporter:
              muczy Peter Mihaly Avramucz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: