[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-28 Thread hits...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 hiteswar kumar commented on  JENKINS-31177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 
 
so what could be suggested from plugin(email-ext) point of view when slave not reachable during email notification. 1. let email-ext should send corrupted info to recipient. or 2. email-ext should send actual build failure related information like: 
 

it should check slave connection and able to collect environment variable , if not able to get env value and slave access then insert a line in email-body as default- "could not access environment variable due to slave connection. please fix the slave connection and retry build to get correct email notification" or 3. any other way , email-ext should send correct info to recipient.
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-28 Thread slide.o....@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alex Earl commented on  JENKINS-31177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 
 
Email-ext will not check the status of slaves. The current method of not replacing the variables will remain. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-28 Thread slide.o....@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alex Earl resolved as Not A Defect 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31177 
 
 
 
  email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 

Change By:
 
 Alex Earl 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Not A Defect 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-27 Thread slide.o....@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alex Earl commented on  JENKINS-31177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 
 
Looks like a remoting issue, not an issue with email-ext. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-27 Thread slide.o....@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alex Earl commented on  JENKINS-31177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 
 
The values are actually replaced by either token macro or core functions. Email-ext doesn't directly replace the values.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-27 Thread hits...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 hiteswar kumar updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31177 
 
 
 
  email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 

Change By:
 
 hiteswar kumar 
 
 
 

Environment:
 
 email-ext plugin version- 2.40.5 token macro- 1.10 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-27 Thread hits...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 hiteswar kumar updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31177 
 
 
 
  email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 

Change By:
 
 hiteswar kumar 
 
 
 

Component/s:
 
 token-macro-plugin 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-27 Thread slide.o....@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Alex Earl commented on  JENKINS-31177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 
 
Environment variables would be from the slave, if the slave is not available then email-ext can't get the values. Also, email-ext has no way of knowing that the slave is not reachable. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-27 Thread hits...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 hiteswar kumar edited a comment on  JENKINS-31177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 

 Hi Alex , U r right , build failed due to slave connection issue . But my question on email-ext is that - This Build failure trigger email to correct recipient but environment variable used in subject and body not expanded to actual value. Either email-ext should not send email if remote connection impacted email-ext OR should Send mail with correct Value of environment var . What do you think ? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [email-ext-plugin] (JENKINS-31177) email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"

2015-10-26 Thread hits...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 hiteswar kumar created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31177 
 
 
 
  email notification corrupted due to build failure "FATAL: java.io.IOException: Unexpected termination of the channel"  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Alex Earl 
 
 
 

Components:
 

 email-ext-plugin 
 
 
 

Created:
 

 27/Oct/15 4:55 AM 
 
 
 

Environment:
 

 email-ext plugin version- 2.40.5  
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 hiteswar kumar 
 
 
 
 
 
 
 
 
 
 
[what] email notification reached to recipient but wrong content in subject and body due to environment variables(like $JOB_NAME, $BUILD_NUMBER) used in subject or in body but not expanded to actual value. this issue when build failed due to below thrown Jenkins master-slave connection : 
stacktrace below: FATAL: java.io.IOException: Unexpected termination of the channel hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.abort(Request.java:295) at hudson.remoting.Channel.terminate(Channel.java:814) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) at ..remote call to jptolx22585(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.Request.call(Request.java:171) at hudson.remoting.Channel.call(Channel.java:751) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:173)