Branch: refs/heads/master Home: https://github.com/jenkinsci/gearman-plugin Commit: f8e0eaebbeb74201e8411671ef14c4ff7f5604dd https://github.com/jenkinsci/gearman-plugin/commit/f8e0eaebbeb74201e8411671ef14c4ff7f5604dd Author: Antoine Musso <has...@free.fr> Date: 2021-05-17 (Mon, 17 May 2021)
Changed paths: M pom.xml M src/main/java/hudson/plugins/gearman/GearmanPluginUtil.java Log Message: ----------- Use modern ACL.as2() to run as SYSTEM Sometime when invoking the stop function, the management worker thread would die: A thread (Gearman worker 172.17.0.1_manager/563) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code. java.lang.StackOverflowError at org.acegisecurity.context.SecurityContext$1.getAuthentication(SecurityContext.java:46) at org.acegisecurity.context.SecurityContext$2.getAuthentication(SecurityContext.java:60) at org.acegisecurity.context.SecurityContext$1.getAuthentication(SecurityContext.java:46) That started happening after we upgraded to the LTS 2.277 series and I thus highly suspect it is related to JEP-227: https://github.com/jenkinsci/jep/blob/master/jep/227/README.adoc Replace impersonate calls with the modern ACL.as2() introduced in Jenkins 2.266. Bump Jenkins requirement to current LTS series (2.277). Bug: https://phabricator.wikimedia.org/T281737 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/gearman-plugin/push/refs/heads/master/4be2d5-f8e0ea%40github.com.