Some of our Jenkins jobs get hanged to the point where it says:
Sending email for trigger: Failure
Please can you help us.WARNING: com.gmail.sikakura.MailCommandTrigger.run() failed for MailCommander
java.lang.NullPointerException
at com.gmail.sikakura.MailCommandTrigger.run(MailCommandTrigger.java:104)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:259)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:207)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Jun 6, 2012 8:56:30 PM hudson.security.LDAPSecurityRealm$LDAPUserDetailsService loadUserByUsername
WARNING: Failed to search LDAP for username=USERx
org.acegisecurity.ldap.LdapDataAccessException: Failed to obtain InitialDirContext due to unexpected exception; nested exception is javax.naming.InterruptedNamingException: Interrupted during LDAP operation
at org.acegisecurity.ldap.DefaultInitialDirContextFactory.connect(DefaultInitialDirContextFactory.java:193)
at org.acegisecurity.ldap.DefaultInitialDirContextFactory.newInitialDirContext(DefaultInitialDirContextFactory.java:261)
at org.acegisecurity.ldap.DefaultInitialDirContextFactory.newInitialDirContext(DefaultInitialDirContextFactory.java:241)
at org.acegisecurity.ldap.LdapTemplate.execute(LdapTemplate.java:123)
Is this with the default mailer?
Sent from my Windows Phone
From: vprasad79
Sent: 6/7/2012 1:56 AM
Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. Sending email for trigger: Still Failing Sending email to: xxx-...@xxx.com x...@xxx.com x...@xxx.com x...@xxxx.com xx...@xxxx.com x...@xxxxx.com Notifying upstream projects of job completion Notifying upstream of completion: FLO-xxxxx #382 All downstream projects complete! Minimum result threshold not met for join project Finished: FAILURE |
It's trying to lookup the user in LDAP and it can't find it, the LDAP
plugin is throwing an exception. I have a possible fix for this (at
least catching the exception) in the works, but have not released with
it yet.
On Thu, Jun 7, 2012 at 8:34 AM, vprasad79 <venkat....@gmail.com> wrote:
> No. we use email-ext plugin.
>
>
>
> On Thursday, 7 June 2012 22:08:23 UTC+8, slide wrote:
>>
>> Is this with the default mailer?
>>
>> Sent from my Windows Phone
>> ________________________________
>> From: vprasad79
>> Sent: 6/7/2012 1:56 AM
>> To: jenkinsci-users@googlegroups.com
You can try turning off the LDAP email, though I think the core Mailresolver will still use the LDAP email resolver.
On Fri, Jun 15, 2012 at 7:49 AM, vprasad79 <venkat....@gmail.com> wrote:
Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. Sending email for trigger: Still Failing Sending email to: xxx-...@xxx.com x...@xxx.com x...@xxx.com x...@xxxx.com xx...@xxxx.com x...@xxxxx.com
--
Website: http://earl-of-code.com
You can try turning off the LDAP email, though I think the core Mailresolver will still use the LDAP email resolver.
On Fri, Jun 15, 2012 at 7:49 AM, vprasad79 <venkat....@gmail.com> wrote:
Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. Sending email for trigger: Still Failing Sending email to: xxx-...@xxx.com x...@xxx.com x...@xxx.com x...@xxxx.com xx...@xxxx.com x...@xxxxx.com
--
Website: http://earl-of-code.com
You can try turning off the LDAP email, though I think the core Mailresolver will still use the LDAP email resolver.
On Fri, Jun 15, 2012 at 7:49 AM, vprasad79 <venkat....@gmail.com> wrote:
Thanks for response.
But not sure why it getting hanged for one+ hour at this stage.
Email was triggered for: Failure Email was triggered for: Still Failing Trigger Failure was overridden by another trigger and will not send an email. Sending email for trigger: Still Failing Sending email to: xxx-...@xxx.com x...@xxx.com x...@xxx.com x...@xxxx.com xx...@xxxx.com x...@xxxxx.com
--
Website: http://earl-of-code.com
I thought there was a separate setting for it let me look.
Sent from my Windows Phone
From: vprasad79
Sent: 6/17/2012 11:01 PM