Commit Graph
235 Commits
Author SHA1 Message Date
mindless c078a6c855 Improve display of cause of slaves being offline.
- Removed "failed to launch" message from ComputerLauncher/main.jelly
  This message was always shown, even if slave was offline for other reasons.
- Instead, added new OfflineCause.LaunchFailed which is set in SlaveComputer if channel
  is not set after calling launcher.  Now this shows the "failed to launch" message.
- Moved/copied existing translations for these strings to their new locations.
- Expanded message for in-demand strategy to say "will be relaunched when needed"
- Added text explanation and fixed display of exception for ChannelTermination cause
- Use class="warning" for default display of OfflineCause
- Added some @Override annotations


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23876 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-19 23:55:43 +00:00
mindless 4039345b0e [HUDSON-4066] Add version# is slave.jar and report this in log when a node is launched.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23750 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-16 05:21:31 +00:00
kohsuke bd50c5aa58 Merged revisions 23696 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23696 | kohsuke | 2009-11-12 18:56:25 -0800 (Thu, 12 Nov 2009) | 1 line
  
  JDK 6 dependency crept in
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23697 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 02:57:22 +00:00
kohsuke d4ad980691 Merged revisions 23689-23691 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23689 | kohsuke | 2009-11-12 15:35:27 -0800 (Thu, 12 Nov 2009) | 1 line
  
  improved diagnosability
........
  r23690 | kohsuke | 2009-11-12 18:03:42 -0800 (Thu, 12 Nov 2009) | 1 line
  
  adding a probe to diagnose a sporadic test failure
........
  r23691 | kohsuke | 2009-11-12 18:14:21 -0800 (Thu, 12 Nov 2009) | 1 line
  
  I think this is causing a test failure in ExtendedReadPermissionTest, as the existing alice/bob/charlie users prevent the data on the disk from loading.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23692 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 02:18:09 +00:00
kohsuke f8e2a28eb0 Seeing dead lock after the message:
Nov 9, 2009 1:46:11 PM hudson.remoting.Channel$ReaderThread run
SEVERE: I/O error in channel This side of the channel
java.io.IOException: Write end dead
	at java.io.PipedInputStream.read(PipedInputStream.java:294)
	at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249)
	at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542)
	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
	at hudson.remoting.Channel$ReaderThread.run(Channel.java:849)
Nov 9, 2009 1:46:11 PM hudson.remoting.Request$2 run
SEVERE: Failed to send back a reply
java.io.IOException: Read end dead
	at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:246)
	at java.io.PipedInputStream.receive(PipedInputStream.java:210)
	at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
	at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838)
	at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1747)
	at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1249)
	at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1203)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
	at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1538)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:329)
	at hudson.remoting.Channel.send(Channel.java:413)
	at hudson.remoting.Request$2.run(Request.java:282)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)



The thread dump indicates that the test thread is stuck at british.join(), because British channel reader thread is still alive. I remember PipedInput|OutputStream being not truly multi-thread aware, so changing it to our own version to see if that fixes the problem without my digging further.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23625 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-09 23:43:20 +00:00
kohsuke b22bfeaaf1 added logging
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23621 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-09 23:28:08 +00:00
kohsuke 50fca25229 it should be volatile, I think
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23531 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 19:56:58 +00:00
jglick 6ccad2bc32 [FIXED HUDSON-4611] hudson.proc.RemoteProc.kill() was a no-op.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23526 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 18:34:11 +00:00
kohsuke b2c6ece47a Fixed a race condition in interrupting pending remote calls.
Deadlocked threads from Tom Huybrechts
----
"Channel reader thread: build-tr-01" Id=6188858 BLOCKED on hudson.remoting.UserRequest@7641246a owned by "Executor #1 for build-tr-01 : executing ORBIS_HAP_Core-Java5 #213 / waiting for hudson.remoting.Channel@560c2a29:build-tr-01" Id=379
	at hudson.remoting.Request.onCompleted(Request.java:223)
	-  blocked on hudson.remoting.UserRequest@7641246a
	at hudson.remoting.Request.abort(Request.java:231)
	at hudson.remoting.Channel.terminate(Channel.java:596)
	-  locked java.util.Hashtable@49c47d9e
	-  locked hudson.remoting.Channel@560c2a29
	at hudson.remoting.Channel$ReaderThread.run(Channel.java:871)
Executor #1 for build-tr-01 : executing ORBIS_HAP_Core-Java5 #213 / waiting for hudson.remoting.Channel@560c2a29:build-tr-01" Id=379 BLOCKED on hudson.remoting.Channel@560c2a29 owned by "Channel reader thread: build-tr-01" Id=6188858
	at hudson.remoting.Channel.send(Channel.java:409)
	-  blocked on hudson.remoting.Channel@560c2a29
	at hudson.remoting.Request.call(Request.java:127)
	-  locked hudson.remoting.UserRequest@7641246a
	at hudson.remoting.Channel.call(Channel.java:549)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23476 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-04 20:22:02 +00:00
kohsuke fe6bae7457 as soon as the reader thread starts, we might start seeing requests. So the capability needs to be set earlier.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23275 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-28 15:50:11 +00:00
kohsuke 25c3bcbf29 [FIXED HUDSON-4071] Applied the change toward 1.331.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23113 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-23 21:13:03 +00:00
kohsuke 84f03aa2f0 [FIXED HUDSON-4657] in .1330.
RemoteClassLoader does not persist retrieved classes with package structure
    (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=4657">issue 4657</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22994 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-21 17:55:36 +00:00
kohsuke dea611ebf6 fixing a test failure on Unix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22316 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-01 17:44:27 +00:00
kohsuke 62721e26b9 documenting this work around better
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22280 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-29 01:18:45 +00:00
kohsuke 6724baca19 confirming this work around.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22279 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-29 01:05:29 +00:00
kohsuke 2c4d2cd934 experimenting with the fix off.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22278 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-29 00:32:51 +00:00
kohsuke b5bd12de34 attempting to work around the hang problem on Windows.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22277 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-29 00:22:16 +00:00
kohsuke 2e44be3be4 getting close.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22275 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-28 22:26:34 +00:00
kohsuke eb7fa69a4c Windows results in NoClassDefFoundError on Launcher because of the format?
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22273 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-28 22:19:42 +00:00
kohsuke 0b97c13031 support removal of values.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22038 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 02:11:44 +00:00
kohsuke 3adada0046 [HUDSON-3889] JNLP clients now report the reason when the connection is rejected by the master.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22037 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 01:50:31 +00:00
kohsuke a9b49214aa this hook is the first step for a better detection of failed connections to slaves from the master.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22036 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-23 01:36:15 +00:00
kohsuke 8e048b8607 somehow these aren't compiling on my IntelliJ. ???
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21767 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-17 05:43:24 +00:00
kohsuke 57203e3d63 JNLP clients perform periodic ping to detect terminated connections and recover automatically.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21742 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-16 15:30:54 +00:00
kohsuke 97b0888ed1 disable Nagle's algorithm.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21741 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-16 15:21:13 +00:00
kohsuke f4d76ea928 avoid using deprecated methods.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21740 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-16 14:59:54 +00:00
kohsuke 4e5ca312b8 comment touch up
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21666 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-15 00:14:37 +00:00
kohsuke 77ef7e0184 A trouble-shooting on one of the production Hudson servers resulted in a thread infinitely hanging. Making the code defensive to avoid this problem.
"pool-10-thread-6 / waiting for hudson.remoting.Channel@39a5b0:winxpie7.sfbay.sun.com" Id=579896 WAITING on hudson.remoting.UserRequest@3b4670
	at java.lang.Object.wait(Native Method)
	-  waiting on hudson.remoting.UserRequest@3b4670
	at java.lang.Object.wait(Object.java:485)
	at hudson.remoting.Request.call(Request.java:116)
	at hudson.remoting.Channel.call(Channel.java:536)
	at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:305)
	at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:220)
	at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:180)
	-  locked hudson.plugins.sshslaves.SSHLauncher@985bc4
	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:175)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)

	Number of locked synchronizers = 1
	- java.util.concurrent.locks.ReentrantLock$NonfairSync@14f0686


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21665 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-15 00:14:21 +00:00
kohsuke 66bf21ba97 Merged revisions 21385-21386 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r21385 | kohsuke | 2009-09-02 15:41:39 -0700 (Wed, 02 Sep 2009) | 1 line
  
  Fixed a random test failure, which was caused by PingThread detecting communication problem while it's being orderly shut down.
........
  r21386 | kohsuke | 2009-09-02 15:41:57 -0700 (Wed, 02 Sep 2009) | 1 line
  
  indentation fix.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21387 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 23:06:15 +00:00
kohsuke 620e385751 Merged revisions 21368 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r21368 | kohsuke | 2009-09-02 13:14:25 -0700 (Wed, 02 Sep 2009) | 33 lines
  
  wait until the channel terminates normally to avoid random test failures like this:
  
  junit.framework.AssertionFailedError: exit code should have been 0 expected:<0> but was:<255>
  	at junit.framework.Assert.fail(Assert.java:47)
  	at junit.framework.Assert.failNotEquals(Assert.java:285)
  	at junit.framework.Assert.assertEquals(Assert.java:64)
  	at junit.framework.Assert.assertEquals(Assert.java:201)
  	at hudson.remoting.ChannelRunner$Fork.stop(ChannelRunner.java:141)
  	at hudson.remoting.RmiTestBase.tearDown(RmiTestBase.java:53)
  	at junit.framework.TestCase.runBare(TestCase.java:130)
  	at junit.framework.TestResult$1.protect(TestResult.java:106)
  	at junit.framework.TestResult.runProtected(TestResult.java:124)
  	at junit.framework.TestResult.run(TestResult.java:109)
  	at junit.framework.TestCase.run(TestCase.java:118)
  	at junit.framework.TestSuite.runTest(TestSuite.java:208)
  	at junit.framework.TestSuite.run(TestSuite.java:203)
  	at junit.framework.TestSuite.runTest(TestSuite.java:208)
  	at junit.framework.TestSuite.run(TestSuite.java:203)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  	at java.lang.reflect.Method.invoke(Method.java:597)
  	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
  	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
  	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
  	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  	at java.lang.reflect.Method.invoke(Method.java:597)
  	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21371 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 20:30:06 +00:00
kohsuke d8667f54dd enabling back tests.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21357 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 17:00:51 +00:00
kohsuke b44df39a3a disabling the multi classloader support, since this is breaking things too much and we need more time before introducing this feature.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21356 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-02 17:00:09 +00:00
kohsuke b0c76f7b51 Newline in the header was a bad idea because it can be eaten away by BufferedReader.readLine(), plus it can be affected by transports between CR/LF conversions.
This should fix the test problem.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21327 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-01 21:53:00 +00:00
kohsuke 60bccc26eb code should be where it belongs to.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21133 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-27 21:20:39 +00:00
kohsuke f263d84940 Fixed a race condition that appear as test failures. This is caused by the remote peer sending us a request before we get to obtain the remote capacity.
I moved the capability exchange to the preamble negotiation to avoid this problem.

----
 java.lang.NullPointerException
	at hudson.remoting.UserRequest._serialize(UserRequest.java:136)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:236)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21132 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-27 21:19:15 +00:00
kohsuke cbb3e313ad Merged revisions 20928-20929,20939,20974-20975,20988,21009,21011,21015 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r20928 | kohsuke | 2009-08-19 14:47:13 -0700 (Wed, 19 Aug 2009) | 1 line
  
  test bug fix.
........
  r20929 | kohsuke | 2009-08-19 14:48:23 -0700 (Wed, 19 Aug 2009) | 1 line
  
  bumped up to a new version that has a trouble-shooting hook for resetting cached views
........
  r20939 | kohsuke | 2009-08-19 15:20:57 -0700 (Wed, 19 Aug 2009) | 1 line
  
  picking up subversion 1.5
........
  r20974 | kohsuke | 2009-08-20 11:50:04 -0700 (Thu, 20 Aug 2009) | 3 lines
  
      Hudson can make mistakes in binding plugins to their right /plugin/NAME/ URLs.
      (<a href="http://www.nabble.com/Custom-Plugin---No-external-resources-available-td25064554.html">report</a>)
........
  r20975 | kohsuke | 2009-08-20 12:05:11 -0700 (Thu, 20 Aug 2009) | 1 line
  
  Build history AJX update was buggy.
........
  r20988 | kohsuke | 2009-08-20 17:01:57 -0700 (Thu, 20 Aug 2009) | 3 lines
  
      Hudson wasn't working on WebLogic on Windows.
      (<a href="http://www.nabble.com/Re%3A-Hudson-on-Weblogic-10.3-td25038378.html#a25043415">report</a>)
........
  r21009 | kohsuke | 2009-08-21 14:21:35 -0700 (Fri, 21 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-
........
  r21011 | kohsuke | 2009-08-21 14:22:00 -0700 (Fri, 21 Aug 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r21015 | kohsuke | 2009-08-21 16:00:17 -0700 (Fri, 21 Aug 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21095 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-26 15:13:55 +00:00
kohsuke 5768da22a2 Fixed a NoClassDefFoundError problem that happens in remoting+maven+3rd plugin combo.
<a href="http://www.nabble.com/NoClassDefFoundError%3A-hudson-maven-MavenBuildProxy%24BuildCallable-td24719002.html#a24719002">report</a>


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21002 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-21 18:13:30 +00:00
kohsuke e259abec4a [FIXED HUDSON-4261] applied a patch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20880 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-19 01:24:49 +00:00
kohsuke e5e9346a78 [FIXED HUDSON-4176] In 1.320. Made RemoveInvocationHandler aware of explicit unexporting by the caller to handle the reference counting properly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20609 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-10 23:49:04 +00:00
kohsuke d652291815 [FIXED HUDSON-2431] added OfflineCause class to keep track of why a node is put offline.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20558 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-08 15:29:16 +00:00
kohsuke 3647a8b162 Improved the start up error handling with <tt>slave.jar -jnlpUrl</tt> option.
(<a href="http://www.nabble.com/Windows-slave-unable-to-connect-after-upgrade-to-1.317-td24726491.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20297 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-30 01:49:37 +00:00
kohsuke 28648c2037 made to work better with protected Hudson.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20239 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-29 01:43:22 +00:00
kohsuke c7c9278f7f <tt>slave.jar</tt> now has the <tt>-auth</tt> option to specify the credential for accessing Hudson
(<a href="http://www.nabble.com/Hudson-Linux-Master-%2B-Windows-Slave-issues-to24679421.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20185 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-27 18:16:01 +00:00
kohsuke c8e7c1bfb5 [HUDSON-4045] The actual change was not committed in the previous one.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19879 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-18 21:57:14 +00:00
kohsuke 7a59355c07 [HUDSON-3933] Added a null check so that we can at least see the error message to identify what file is causing this.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19569 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-09 19:26:56 +00:00
kohsuke 91bece9410 added additional debug probe
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19545 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 23:55:24 +00:00
kohsuke 24e146f07d added a little analyzer to inspect the traffic
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19541 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 23:11:20 +00:00
kohsuke 68b47535d1 CLI slave agents show details of how it failed to connect.
(<a href="http://www.nabble.com/Can%27t-start-a-slave-via-JNLP-td24363116.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19540 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 20:51:21 +00:00
kohsuke 7e0368201d TAB -> WS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19536 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-08 19:08:17 +00:00
jglick 2dd667265b File.toURL() is deprecated.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19471 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 18:31:24 +00:00