I found that the disk-usage plugin was very busy and disabling the plugin got rid of the huge delay at end of the job. I think the plugin may be executing in the master and making calls to navigate the workspace over the Jenkins API which is turning out to be very costly. Maybe a solution would be to add an explicit post build step that executes in the slave and publishes the result to the master.
On 6 June 2014 10:53, Baptiste Mathus <[email protected]> wrote: > Yeah, sure, I know for JIRAs, just wanted to check if others had had that > issue to gather feedback before doing so. > Just filed the issue for reference > https://issues.jenkins-ci.org/browse/JENKINS-23347 > > Still analyzing it. I just saw Disk Usage plugin seems to be consistently > running in the end, I'm gonna try to disable it and see if it changes > something. > > Cheers > > > 2014-06-05 18:01 GMT+02:00 Daniel Beck <[email protected]>: > > First check the /threadDump page during this time to try to determine what >> Jenkins does during that time. Reload a few times to get a representative >> sample. >> >> The relevant section will likely be called something like 'Executor #42 >> for nodename: executing jobname #23' >> >> A Jira issue would be pretty useless, as this thread currently contains >> almost no information that could be used to investigate further. >> >> On 05.06.2014, at 16:10, Baptiste Mathus <[email protected]> wrote: >> >> > FWIW, we're also having the same issue. >> > Jenkins 1.559. >> > >> > If someone knows an already filed JIRA, I'll be happy to report there. >> Or if not create the new one. >> > >> > Thanks for any hint. >> > >> > >> > 2014-05-21 14:25 GMT+02:00 Corneil du Plessis < >> [email protected]>: >> > We are experiencing a 4-5minute delay on a linux slave at the end of a >> job. >> > >> > We though it was sending mail but with or without the email step >> doesn't make a difference. >> > It is not the 'Archiving artifacts' step because it usually takes 15-20s >> > There is not step after the sending mail. >> > >> > The log entries below from different jobs will illustrate. >> > >> > 00:45:20.995 >> > Archiving artifacts >> > >> > 00:45:37.263 >> > Sending e-mails to: [email protected] >> > >> > 00:49:19.280 >> > Finished: SUCCESS >> > >> > 00:18:05.538 >> > Archiving artifacts >> > >> > 00:21:41.815 >> > Finished: SUCCESS >> > >> > >> > 00:44:13.036 >> > Archiving artifacts >> > >> > 00:44:17.691 >> > Checking for post-build >> > >> > 00:44:17.691 >> > Performing post-build step >> > >> > 00:44:17.691 >> > Checking if email needs to be generated >> > >> > 00:44:17.691 >> > Email was triggered for: Success >> > >> > 00:44:17.691 >> > Sending email for trigger: Success >> > >> > 00:44:17.691 >> > Overriding default server settings, creating our own session >> > >> > 00:44:17.700 >> > messageContentType = text/html; charset=UTF-8 >> > >> > 00:44:17.702 >> > Adding recipients from recipient list >> > >> > 00:44:17.704 >> > Adding developers >> > >> > 00:44:17.704 >> > Sending to requester >> > >> > 00:44:17.708 >> > Successfully created MimeMessage >> > >> > 00:44:17.708 >> > Sending email to: [email protected] >> > >> > 00:49:18.196 Finished: SUCCESS >> > >> > >> > Does anyone have any ideas of what this can be? >> > 5minutes dead time is causing headaches. >> > >> > Corneil >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "Jenkins Users" 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. >> > >> > -- >> > Baptiste <Batmat> MATHUS - http://batmat.net >> > Sauvez un arbre, >> > Mangez un castor ! nbsp;! >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "Jenkins Users" 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. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" 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. >> > > > > -- > Baptiste <Batmat> MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" 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. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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.
