Commit Graph
32 Commits
Author SHA1 Message Date
kohsuke 9ce2828105 added a test in an attempt to reproduce / pin-point HUDSON-7809 but this was not it.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@37070 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-20 02:32:24 +00:00
kohsuke f1f34b8180 Merged revisions 35444-35445,35457-35458,35460-35461,35463,35465,35469 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r35444 | kohsuke | 2010-10-01 13:44:56 -0700 (Fri, 01 Oct 2010) | 1 line
  
  [FIXED HUDSON-7546] Fixed a possible AbstractMethodError in 1.379
........
  r35445 | kohsuke | 2010-10-01 14:04:58 -0700 (Fri, 01 Oct 2010) | 1 line
  
  [FIXED HUDSON-4229] Supported failsafe reports for the Maven2 job type.
........
  r35457 | kohsuke | 2010-10-02 10:04:35 -0700 (Sat, 02 Oct 2010) | 1 line
  
  added additional code to assist trouble-shooting.
........
  r35458 | kohsuke | 2010-10-02 10:09:44 -0700 (Sat, 02 Oct 2010) | 1 line
  
  performance optimization wrt the usage of buffer
........
  r35460 | kohsuke | 2010-10-02 10:19:25 -0700 (Sat, 02 Oct 2010) | 1 line
  
  [FIXED HUDSON-5977 HUDSON-7572] the incorrect use of WeakHashMap resulted in two instances of PipeWindows for the same OID.
........
  r35461 | kohsuke | 2010-10-02 10:30:21 -0700 (Sat, 02 Oct 2010) | 1 line
  
  debug code accidentally crept in.
........
  r35463 | kohsuke | 2010-10-02 11:21:55 -0700 (Sat, 02 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_379
........
  r35465 | kohsuke | 2010-10-02 11:22:14 -0700 (Sat, 02 Oct 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r35469 | kohsuke | 2010-10-02 12:26:53 -0700 (Sat, 02 Oct 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35530 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-05 20:52:34 +00:00
kohsuke 5f51597ad4 [FIXED HUDSON-5977] implemented a windowing mechanism to throttle the pipe usage, and the pipe operation no longer interferes with the main channel reader thread.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34838 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:57:31 +00:00
kohsuke 264666fc72 added hex dump support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34828 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:56:14 +00:00
kohsuke c154d431f0 [HUDSON-5048] Fixed the multi-classloader support in the remoting code. I confirmed that this fixes HUDSON-4993 without modifying the warnings/analysis-core plugin.
I'm letting Hudson run the whole test suite to see if there's any regression caused by this.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24490 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 01:45:57 +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 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 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 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 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 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 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
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
kohsuke 51b86c9045 [FIXED HUDSON-1041] Improved the handling of this problem by transforming an exception into a proxy type that can be serialized.
Stack traces and messages are kept intact in this process.

This change will be in 1.286.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15497 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-20 19:44:07 +00:00
kohsuke 1a1d0d74d5 license header clean up
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15081 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 20:05:24 +00:00
kohsuke aa20e2bc98 added a test case that actually doesn't verify much.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11783 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-27 06:16:07 +00:00
kohsuke f2f9743cd8 accidentally commented out.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6628 71c3de6d-444a-0410-be80-ed276b4c234a
2008-01-13 20:00:01 +00:00
kohsuke e153f3ac61 support sending back exported objects to the caller.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6627 71c3de6d-444a-0410-be80-ed276b4c234a
2008-01-13 19:59:00 +00:00
kohsuke f7a8c791f2 implemented streaming base64 encoder/decoder for tunneling connection over binary-unsafe protocol.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6285 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-15 18:02:33 +00:00
kohsuke 7b8e851e31 fixed a test.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2212 71c3de6d-444a-0410-be80-ed276b4c234a
2007-02-15 13:55:10 +00:00
kohsuke f391d39411 added a test for resource support.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1599 71c3de6d-444a-0410-be80-ed276b4c234a
2007-01-03 05:57:45 +00:00
kohsuke 4cabee9f18 typo fixes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1396 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-20 19:20:31 +00:00
kohsuke 5d3e48f6a8 adding alias Future interface to keep the signature compatibility.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1347 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-17 01:08:09 +00:00
kohsuke 482f9a0795 bug fixes. ObjectOutputStream needs to be flushed for certain kind of stream, like process stream, or else we'll dead-lock.
expanded tests.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1306 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-13 06:11:30 +00:00
kohsuke 2631e2f4ca added code for testing different channel configuration by using the same test code.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1304 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-13 02:39:54 +00:00
kohsuke 9222fdbcc1 completed pipe implementation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1303 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-13 01:57:04 +00:00
kohsuke 04b15b9a21 adding a test for pipe.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1299 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-12 19:00:18 +00:00
kohsuke 2b1d175375 implemented asynchronous invocation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1297 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-12 18:12:55 +00:00
kohsuke cf2eb25dee added preliminary version of the remoting infrastructure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1294 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-12 07:00:56 +00:00