[JIRA] (JENKINS-57230) Postbuildscript: NullPointerException

2019-09-16 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong commented on  JENKINS-57230  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Postbuildscript: NullPointerException   
 

  
 
 
 
 

 
 The jenkins master is Linux and the slaves are Windows.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198990.1556565743000.4455.1568642580875%40Atlassian.JIRA.


[JIRA] (JENKINS-57230) Postbuildscript: NullPointerException

2019-05-22 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong commented on  JENKINS-57230  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Postbuildscript: NullPointerException   
 

  
 
 
 
 

 
 I have attached the config.xml and you will need to replace with your own credentials.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198990.1556565743000.9013.1558535760113%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57230) Postbuildscript: NullPointerException

2019-05-22 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57230  
 
 
  Postbuildscript: NullPointerException   
 

  
 
 
 
 

 
Change By: 
 Alfred Wong  
 
 
Attachment: 
 config.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198990.1556565743000.9011.1558535700154%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57228) Jenkins master and slave takes 4 minutes to reconnect

2019-04-29 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57228  
 
 
  Jenkins master and slave takes 4 minutes to reconnect   
 

  
 
 
 
 

 
Change By: 
 Alfred Wong  
 

  
 
 
 
 

 
 Whenever we have a connection issue, the slave will try to re-connect to the master but the master is rejecting the connection because the master thinks the connection is already established and at the same time, the master is trying to ping the slave. It takes 4 minutes for the master to  figure out   the slave was no longer responding before it will clean up and accept the new connection from the slave. I have attached the logs from the master and similar logs from the slave. Ideally if the master is failing to ping the slave and there is a new connection request  from the slave , it should probably be best to clean up and accept the new connection  as early as possible,   instead of waiting for the ping timeout.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-57230) Postbuildscript: NullPointerException

2019-04-29 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57230  
 
 
  Postbuildscript: NullPointerException   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Daniel Heid  
 
 
Components: 
 postbuildscript-plugin  
 
 
Created: 
 2019-04-29 19:22  
 
 
Environment: 
 Jenkins 2.150.3 PostBuildScript-plugin 2.8.1  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Alfred Wong  
 

  
 
 
 
 

 
 When there is a Jenkins connection issue, the postbuildscript step will fail with the following exception: 

21:30:42 ERROR: Build step failed with exception 
21:30:42 java.lang.NullPointerException 
21:30:42 at org.jenkinsci.plugins.postbuildscript.processor.Processor.(Processor.java:51) 
21:30:42 at org.jenkinsci.plugins.postbuildscript.processor.ProcessorFactory.createDefaultProcessor(ProcessorFactory.java:24) 
21:30:42 at org.jenkinsci.plugins.postbuildscript.processor.ProcessorFactory.createMatrixProcessor(ProcessorFactory.java:35) 
21:30:42 at org.jenkinsci.plugins.postbuildscript.PostBuildScript.createProcessor(PostBuildScript.java:213) 
21:30:42 at org.jenkinsci.plugins.postbuildscript.PostBuildScript.perform(PostBuildScript.java:128) 
21:30:42 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 
21:30:42 at hudson.model.AbstractBuild$AbstractBuildExecution

[JIRA] (JENKINS-57228) Jenkins master and slave takes 4 minutes to reconnect

2019-04-29 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57228  
 
 
  Jenkins master and slave takes 4 minutes to reconnect   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Jeff Thompson  
 
 
Attachments: 
 jswum_jenkins_log2.txt, swum-slave_log.txt  
 
 
Components: 
 remoting  
 
 
Created: 
 2019-04-29 19:13  
 
 
Environment: 
 Jenkins master 2.150.3, org.jenkins-ci.main:remoting:3.27 using jnlp to start agent on Windows slave  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Alfred Wong  
 

  
 
 
 
 

 
 Whenever we have a connection issue, the slave will try to re-connect to the master but the master is rejecting the connection because the master thinks the connection is already established and at the same time, the master is trying to ping the slave. It takes 4 minutes for the master to the slave was no longer responding before it will clean up and accept the new connection from the slave. I have attached the logs from the master and similar logs from the slave.  Ideally if the master is failing to ping the slave and there is a new connection request, it should probably be best to clean up and accept the new connection instead of waiting for the ping timeout.  
 

  
 
 
 
 

 
 

[JIRA] (JENKINS-57228) Jenkins master and slave takes 4 minutes to reconnect

2019-04-29 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57228  
 
 
  Jenkins master and slave takes 4 minutes to reconnect   
 

  
 
 
 
 

 
Change By: 
 Alfred Wong  
 
 
Attachment: 
 swum-slave_log.txt  
 
 
Attachment: 
 jswum_jenkins_log2.txt  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-48865) JNLP Agents/Slaves Disconnecting Unpredictably

2019-04-26 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong closed an issue as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 I will update if we find anything more about why the disconnection happen from our IT. Thanks.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-48865  
 
 
  JNLP Agents/Slaves Disconnecting Unpredictably   
 

  
 
 
 
 

 
Change By: 
 Alfred Wong  
 
 
Status: 
 Reopened Closed  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-48865) JNLP Agents/Slaves Disconnecting Unpredictably

2019-04-25 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong commented on  JENKINS-48865  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: JNLP Agents/Slaves Disconnecting Unpredictably   
 

  
 
 
 
 

 
 Sure, I can create a new JIRA, I think the original problem I got was the disconnect and it is still happening a few times a day. Our vendor OpenShift and our container team has been spending the last few weeks investigating the issue. I will put the re-connection issue in another JIRA. Thanks.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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] (JENKINS-56985) Jenkins is exposing credentials when no build steps but post build steps

2019-04-11 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56985  
 
 
  Jenkins is exposing credentials when no build steps but post build steps   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 credentials-binding-plugin, credentials-plugin  
 
 
Created: 
 2019-04-11 20:33  
 
 
Environment: 
 Jenkins 2.164.2, credentials-plugin 2.1.18 credentials-binding-plugin 1.18  
 
 
Labels: 
 plugin  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 Alfred Wong  
 

  
 
 
 
 

 
 While looking at console logs, in our case, it failed to delete the workspace and go to post build steps and run a command that contains credentials, the console logs expose the credentials instead of using .  I created a job that use credentials binding and no build steps but only post build step, in the post build step, I echo the credentials and it exposed them. It looks like any time when no actual build steps is run, the credentials are not hidden.  
 

  
 
 
 
 

 
 
 

 
 
   

[JIRA] (JENKINS-48865) JNLP Agents/Slaves Disconnecting Unpredictably

2019-04-01 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 I have an issue very similar to this issue. My observation is that the slave has lost connectivity and tried to re-establish a connection and the master is rejecting the connection because master thinks it already have the connection. While at the same time master is trying to ping the slave and waiting for the 4 minutes timeout. I think the error condition can be handle a bit differently, if ping is not responding and a new connection request is coming in, it should accept the new connection instead of waiting for 4 minutes before destroying the old connection. I have attached a log file from the master. The only thing I am not sure is why the slave needs to request a new connection, maybe because the connection to the master is not very stable. It would be nice to have more slave logs to see why the connection is dropped.   The Jenkins version is 2.150.3 and run under Kunbernetes and the slaves are Windows slaves started using JNLP.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-48865  
 
 
  JNLP Agents/Slaves Disconnecting Unpredictably   
 

  
 
 
 
 

 
Change By: 
 Alfred Wong  
 
 
Resolution: 
 Cannot Reproduce  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
   

[JIRA] (JENKINS-48865) JNLP Agents/Slaves Disconnecting Unpredictably

2019-04-01 Thread awon...@ford.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alfred Wong updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-48865  
 
 
  JNLP Agents/Slaves Disconnecting Unpredictably   
 

  
 
 
 
 

 
Change By: 
 Alfred Wong  
 
 
Attachment: 
 jswum_jenkins_log.txt  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.