ikedam commented on Bug JENKINS-13666

This should be triggered by a problem of another plugin.
Once that plugin throws excption from its timer task in a shared timer thread, build-timeout cannot register new timer tasks to the shared timer thread anymore.
That exception should be recorded in Jenkins logs, and please check that and see what is the root cause.

Details:

  • Java timer consists from timer threads and timer tasks.
  • Build-timeout registers timer tasks triggering timeouts to the timer thread which is provided by Jenkins core and is shared by all plugins.
  • A timer thread gets out of service once a registered timer task throws an exception (this is "Timer already cancelled").
  • Jenkins provides SafeTimerTask to avoid this problem. Plugins should use SafeTimerTask instead of TimerTask provided in JDK, and any exceptions in timer tasks will be blocked.
  • Build-timeout also uses SafeTimerTask, and should not be the root cause of this problem.
  • It seems that some plugin uses TimerTask and throws an exception. It can affect all other plugins using the shared timer thread.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to