[JIRA] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
trejkaz commented on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation My guess would be that despite isUnix being set in a synchronized{} block, when isUnix() is not synchronised, so a second thread getting the value might be getting an out of date value. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
trejkaz edited a comment on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation My guess would be that despite isUnix being set in a synchronized{} block, isUnix() is not synchronised, so a second thread getting the value might be getting an out of date value. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
Daniel Beck commented on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation It's weird how a job can be scheduled for a node before it could be determined whether it's Unix. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
Oleg Nenashev commented on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation Sorry, I've missed the previous message... trejkaz is right. The implicit unboxing of null Boolean values throws NPE according to Java specs. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
Oleg Nenashev assigned JENKINS-23305 to Oleg Nenashev NPE on running some slaves of a matrix build - failure with no explanation Change By: Oleg Nenashev (12/Jun/14 3:31 PM) Assignee: Oleg Nenashev This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
Oleg Nenashev started work on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation Change By: Oleg Nenashev (12/Jun/14 3:31 PM) Status: Open In Progress This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
Daniel Beck commented on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation … and the constructor takes only a boolean. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
trejkaz commented on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation Well hey, how about that. /** * True if this computer is a Unix machine (as opposed to Windows machine). * * @return * null if the computer is disconnected and therefore we don't know whether it is Unix or not. */ public Boolean isUnix() { return isUnix; } This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
trejkaz commented on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation Definitely using 1.566, but I agree, if that's the code running in 1.566, I don't see where there can be an NPE, unless there is some unboxing going on which is not evident by seeing just that fragment. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
trejkaz edited a comment on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation Definitely using 1.566 (assuming the version shown at the bottom of the page is accurate!), but I agree, if that's the code running in 1.566, I don't see where there can be an NPE, unless there is some unboxing going on which is not evident by seeing just that fragment. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
Oleg Nenashev commented on JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation Are you sure that you use 1.566? I don't see any NPE chance in https://github.com/jenkinsci/jenkins/blob/jenkins-1.566/core/src/main/java/hudson/model/Slave.java 353: public Launcher createLauncher(TaskListener listener) { 354:SlaveComputer c = getComputer(); 355:if (c == null) { 356:listener.error("Issue with creating launcher for slave " + name + "."); 357:return new Launcher.DummyLauncher(listener); 358:} else { 359:return new RemoteLauncher(listener, c.getChannel(), c.isUnix()).decorateFor(this); 360:} 361:} This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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] [core] (JENKINS-23305) NPE on running some slaves of a matrix build - failure with no explanation
trejkaz created JENKINS-23305 NPE on running some slaves of a matrix build - failure with no explanation Issue Type: Bug Assignee: Unassigned Components: core Created: 04/Jun/14 4:46 AM Description: Jenkins failed some test on 2 configurations out of a 5-configuration matrix build, with the other 3 builds completing normally. Both failed slaves leave no additional information for diagnosing the root cause: 13:49:24 Started by upstream project "fast-tests" build number 920 13:49:24 originally caused by: 13:49:24 Started by user User 13:49:24 FATAL: null 13:49:24 java.lang.NullPointerException 13:49:24 at hudson.model.Slave.createLauncher(Slave.java:359) 13:49:24 at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:559) 13:49:24 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:476) 13:49:24 at hudson.model.Run.execute(Run.java:1710) 13:49:24 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 13:49:24 at hudson.model.ResourceController.execute(ResourceController.java:88) 13:49:24 at hudson.model.Executor.run(Executor.java:231) JENKINS-21999 seemed to be a similar issue but the line numbers have changed and that issue was fixed, whereas this issue still occurs. Environment: Jenkins ver. 1.566m Java 7u25, Windows Server 2008 master, Debian & Ubuntu slaves Project: Jenkins Priority: Major Reporter: trejkaz This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- 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.