Branch: refs/heads/jep277 Home: https://github.com/jenkinsci/gearman-plugin Commit: 3cff20b5a4bbe1f541795614073c455447c1f46a https://github.com/jenkinsci/gearman-plugin/commit/3cff20b5a4bbe1f541795614073c455447c1f46a Author: Antoine Musso <has...@free.fr> Date: 2021-05-11 (Tue, 11 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/jep277/4f1580-3cff20%40github.com.