AIUI, interesting to read and related: https://www.cloudbees.com/blog/jenkins-plugin-developer-case-files-episode-1-when-extensions-bites-you-posterior
2018-04-10 12:26 GMT+02:00 Julien HENRY <[email protected]>: > My point was to clarify the specific case of GlobalConfiguration. I'm not > pretending any Initializer should be after JOB_LOADED. > > The deadlock was sneaky, because it can only be reproduced if you have > previous config data. So we haven't spotted it during our tests (because we > start from a clean env) and we ended up releasing something broken. > > Julien Henry | SonarSource > > Developer > https://sonarsource.com > > 2018-04-10 11:59 GMT+02:00 Daniel Beck <[email protected]>: > >> >> > On 10. Apr 2018, at 11:51, Julien HENRY <[email protected]> >> wrote: >> > >> > If you look at the stacktraces, the deadlock occurs in the constructor >> of the GlobalConfiguration, because it ends up calling OldDataMonitor that >> itself access ExtensionList, and that seems to conflict with other plugins >> like GitSCM that also access ExtensionList from its Initializer. >> >> >> Right, so in this case it depends on the class you extend. More >> convoluted, but still doesn't look like it can never be earlier than >> JOB_LOADED…? >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Developers" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/jenkinsci-dev/hyMmQ-eDDVo/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/jenkinsci-dev/486CA78C-5D51-4FF3-AE39-021CC3499A17%40beckweb.net. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-dev/CAD9wyxE%3DmHzo8SQtLhb9ReNQo4ngkMUj8bJk > LeMEzbAVVC79UA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAD9wyxE%3DmHzo8SQtLhb9ReNQo4ngkMUj8bJkLeMEzbAVVC79UA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS4rwYnx04eYiLLD5BvfNk_N7EZ2T9BV3xppkNKJc3zJ0g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
