Commit Graph
812 Commits
Author SHA1 Message Date
kohsuke 9e22361309 Merged revisions 29309-29311,29421,29449,29451,29459 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r29309 | kohsuke | 2010-03-26 14:44:45 -0700 (Fri, 26 Mar 2010) | 1 line
  
  Work around for http://n4.nabble.com/hudson-logging-LogRecorderManagerTest-failing-tp1589811p1589811.html
........
  r29310 | kohsuke | 2010-03-26 14:45:29 -0700 (Fri, 26 Mar 2010) | 1 line
  
  unnecessary boxing
........
  r29311 | kohsuke | 2010-03-26 16:00:41 -0700 (Fri, 26 Mar 2010) | 1 line
  
  fixed a stability in the test.
........
  r29421 | kohsuke | 2010-03-29 11:40:37 -0700 (Mon, 29 Mar 2010) | 1 line
  
  improving the test stability
........
  r29449 | kohsuke | 2010-03-29 18:08:26 -0700 (Mon, 29 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_353
........
  r29451 | kohsuke | 2010-03-29 18:08:46 -0700 (Mon, 29 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r29459 | kohsuke | 2010-03-29 19:20:42 -0700 (Mon, 29 Mar 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29490 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-30 09:47:41 +00:00
kohsuke 0a5a04ff4a Merged revisions 28947-28949,28951,28956 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r28947 | kohsuke | 2010-03-19 18:10:26 -0700 (Fri, 19 Mar 2010) | 1 line
  
  fixed a test failure.
........
  r28948 | kohsuke | 2010-03-19 18:10:56 -0700 (Fri, 19 Mar 2010) | 1 line
  
  accidentally committed.
........
  r28949 | kohsuke | 2010-03-19 18:40:50 -0700 (Fri, 19 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_352
........
  r28951 | kohsuke | 2010-03-19 18:41:30 -0700 (Fri, 19 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r28956 | kohsuke | 2010-03-19 19:27:54 -0700 (Fri, 19 Mar 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29176 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-23 23:33:06 +00:00
kohsuke ee446ce2cc set time out to avoid infinite hang.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28767 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-17 02:02:56 +00:00
kohsuke 82d50c5b22 formatting changes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28766 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-17 01:57:16 +00:00
kohsuke 17a32657cf [FIXED HUDSON-5922] Supported JBoss EAP 5.0.0 GA. jvalerio, if you can try the latest build from http://hudson.glassfish.org/view/Hudson/job/hudson-trunk/ to verify the fix, that would be great.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28656 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-15 21:10:47 +00:00
kohsuke f7edbbab3b Merged revisions 28543-28546,28548,28551,28625,28627-28629,28631,28635 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r28543 | kohsuke | 2010-03-12 16:07:55 -0800 (Fri, 12 Mar 2010) | 1 line
  
  fixed a regression caused by HUDSON-5780
........
  r28544 | kohsuke | 2010-03-12 16:09:25 -0800 (Fri, 12 Mar 2010) | 1 line
  
  fixed a regression caused by HUDSON-5780
........
  r28545 | kohsuke | 2010-03-12 16:24:14 -0800 (Fri, 12 Mar 2010) | 1 line
  
  fixed a regression caused by HUDSON-5780
........
  r28546 | kohsuke | 2010-03-12 16:52:36 -0800 (Fri, 12 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_350
........
  r28548 | kohsuke | 2010-03-12 16:52:58 -0800 (Fri, 12 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r28551 | kohsuke | 2010-03-12 17:36:02 -0800 (Fri, 12 Mar 2010) | 1 line
  
  updated changelog as a part of the release
........
  r28625 | abayer | 2010-03-15 09:54:14 -0700 (Mon, 15 Mar 2010) | 1 line
  
  Fixing regression that resulted in all but latest build artifacts getting deleted
........
  r28627 | kohsuke | 2010-03-15 10:09:52 -0700 (Mon, 15 Mar 2010) | 1 line
  
  touch up
........
  r28628 | kohsuke | 2010-03-15 10:10:23 -0700 (Mon, 15 Mar 2010) | 1 line
  
  another pointless array conversion
........
  r28629 | kohsuke | 2010-03-15 10:45:13 -0700 (Mon, 15 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_351
........
  r28631 | kohsuke | 2010-03-15 10:45:50 -0700 (Mon, 15 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r28635 | kohsuke | 2010-03-15 11:29:03 -0700 (Mon, 15 Mar 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28639 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-15 19:05:07 +00:00
kohsuke d737193cca Make FastInput/OutputStream pair capable of detecting when the other end has abandoned their side, which prevents infinite pipe clogging.
This is discovered on one of the Hudson instances that showed the following stack trace:

java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:136)
hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:115)
hudson.remoting.ProxyOutputStream$Chunk.execute(ProxyOutputStream.java:164)
hudson.remoting.Channel$ReaderThread.run(Channel.java:863)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28491 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-10 17:32:25 +00:00
kohsuke 2488995d83 Merged revisions 28303,28305-28306,28308,28315 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r28303 | kohsuke | 2010-03-05 18:05:22 -0800 (Fri, 05 Mar 2010) | 1 line
  
  version number isn't always parseable
........
  r28305 | kohsuke | 2010-03-05 18:55:21 -0800 (Fri, 05 Mar 2010) | 1 line
  
  fixed a test failure
........
  r28306 | kohsuke | 2010-03-05 19:21:37 -0800 (Fri, 05 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_349
........
  r28308 | kohsuke | 2010-03-05 19:21:58 -0800 (Fri, 05 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r28315 | kohsuke | 2010-03-05 20:04:32 -0800 (Fri, 05 Mar 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28403 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-08 19:33:00 +00:00
kohsuke c6acb5b8d5 [FIXED HUDSON-2137]
Merged revisions 27137,27564,27566-27567,27578,27586,27599,27603,27606-27609,27611,27616,27626-27632,27640,27654-27656,27687,27701,27801,27816,27819,27843-27845,28087,28158-28161 via svnmerge from 
https://www.dev.java.net/svn/hudson/branches/HUDSON-2137

........
  r27137 | kohsuke | 2010-02-08 08:46:16 -0800 (Mon, 08 Feb 2010) | 1 line
  
  experimenting with abstractions
........
  r27564 | kohsuke | 2010-02-16 07:58:26 -0800 (Tue, 16 Feb 2010) | 1 line
  
  bundling makes it easier for caller to handle ConsoleAnnotator
........
  r27566 | kohsuke | 2010-02-16 08:49:48 -0800 (Tue, 16 Feb 2010) | 1 line
  
  this should work with Runs, not AbstractBuilds
........
  r27567 | kohsuke | 2010-02-16 08:54:06 -0800 (Tue, 16 Feb 2010) | 1 line
  
  simplified
........
  r27578 | kohsuke | 2010-02-16 12:26:11 -0800 (Tue, 16 Feb 2010) | 1 line
  
  still a work in progress, but committing once to pull in trunk changes
........
  r27586 | kohsuke | 2010-02-16 14:35:37 -0800 (Tue, 16 Feb 2010) | 1 line
  
  making more progress
........
  r27599 | kohsuke | 2010-02-16 19:22:01 -0800 (Tue, 16 Feb 2010) | 2 lines
  
  hooking up the side that writes annotations.
  still a work in progress.
........
  r27603 | kohsuke | 2010-02-16 23:43:35 -0800 (Tue, 16 Feb 2010) | 3 lines
  
  what appears to me as the first cut of hooking up the reader side of the annotations.
  
  I haven't even run it yet --- this just passed the compilation, and I'm calling it a day.
........
  r27606 | kohsuke | 2010-02-17 09:15:16 -0800 (Wed, 17 Feb 2010) | 1 line
  
  demo instance hook up
........
  r27607 | kohsuke | 2010-02-17 11:27:02 -0800 (Wed, 17 Feb 2010) | 3 lines
  
  one more utility method.
  
  I never understood what the point of letting the skip method skip less.
........
  r27608 | kohsuke | 2010-02-17 11:56:23 -0800 (Wed, 17 Feb 2010) | 3 lines
  
  - moved LargeText subtype to its own class
  - skipping log output was done incorrectly --- it had to skip N bytes where it was skipping N chars.
  - hooked up console annotations for completed builds.
........
  r27609 | kohsuke | 2010-02-17 12:01:46 -0800 (Wed, 17 Feb 2010) | 1 line
  
  copyright header
........
  r27611 | kohsuke | 2010-02-17 13:18:10 -0800 (Wed, 17 Feb 2010) | 1 line
  
  introduced a mechanism to register extension during an unit test.
........
  r27616 | kohsuke | 2010-02-17 13:38:12 -0800 (Wed, 17 Feb 2010) | 1 line
  
  test case for console annotations
........
  r27626 | kohsuke | 2010-02-17 15:23:06 -0800 (Wed, 17 Feb 2010) | 1 line
  
  removing test ConsoleAnnotator as I write tests as tests
........
  r27627 | kohsuke | 2010-02-17 16:06:13 -0800 (Wed, 17 Feb 2010) | 1 line
  
  added a multi-phase cooperative locking mechanism useful during the debugging
........
  r27628 | kohsuke | 2010-02-17 16:06:41 -0800 (Wed, 17 Feb 2010) | 1 line
  
  testing progressive log annotation
........
  r27629 | kohsuke | 2010-02-17 16:20:32 -0800 (Wed, 17 Feb 2010) | 1 line
  
  adding a test for ConsoleAnnotation that's explicitly placed.
........
  r27630 | kohsuke | 2010-02-17 16:23:02 -0800 (Wed, 17 Feb 2010) | 1 line
  
  removing test ConsoleAnnotation as I write tests as tests
........
  r27631 | kohsuke | 2010-02-17 16:28:50 -0800 (Wed, 17 Feb 2010) | 1 line
  
  tweaking the abstraction a bit.
........
  r27632 | kohsuke | 2010-02-17 16:44:21 -0800 (Wed, 17 Feb 2010) | 1 line
  
  parameterized the context type so that this can be used in places other than the build console output, such as polling logs, slave logs, and so on.
........
  r27640 | kohsuke | 2010-02-17 17:27:52 -0800 (Wed, 17 Feb 2010) | 1 line
  
  bug fix
........
  r27654 | kohsuke | 2010-02-17 22:53:04 -0800 (Wed, 17 Feb 2010) | 1 line
  
  doc improvement
........
  r27655 | kohsuke | 2010-02-17 22:53:59 -0800 (Wed, 17 Feb 2010) | 1 line
  
  doc improvement
........
  r27656 | kohsuke | 2010-02-17 23:10:42 -0800 (Wed, 17 Feb 2010) | 1 line
  
  test case for adjacent tags
........
  r27687 | kohsuke | 2010-02-19 14:39:21 -0800 (Fri, 19 Feb 2010) | 1 line
  
  introduced a facotry and descriptor. This allows them to define configuration pages, allow users to disable/enable them, plus define custom behaviors.
........
  r27701 | kohsuke | 2010-02-19 18:23:52 -0800 (Fri, 19 Feb 2010) | 1 line
  
  defining a mechanism for ConsoleAnnotatorFactory and ConsoleAnnotationDescriptor to define script.js and have them imported into the console output page
........
  r27801 | kohsuke | 2010-02-22 11:59:16 -0800 (Mon, 22 Feb 2010) | 1 line
  
  now embedding annotations inside the console output log file.
........
  r27816 | kohsuke | 2010-02-22 15:45:04 -0800 (Mon, 22 Feb 2010) | 1 line
  
  introduced a convenience method for unit tests
........
  r27819 | kohsuke | 2010-02-22 17:37:05 -0800 (Mon, 22 Feb 2010) | 5 lines
  
  As an example of using embedded console annotations, implementing Ant target invocation outlines.
  
  It might be better to make the concept of outline more generally reusable, so that different kinds of outlines can be placed into the same container element for a single hierarchical representation.
  
  Still a work in progress.
........
  r27843 | kohsuke | 2010-02-23 16:12:13 -0800 (Tue, 23 Feb 2010) | 1 line
  
  for now, disable this for production usage, until I work out a better UI.
........
  r27844 | kohsuke | 2010-02-23 19:08:00 -0800 (Tue, 23 Feb 2010) | 1 line
  
  started working on annotating exception.
........
  r27845 | kohsuke | 2010-02-23 19:08:33 -0800 (Tue, 23 Feb 2010) | 1 line
  
  more TODOs for myself
........
  r28087 | kohsuke | 2010-03-01 10:03:55 -0800 (Mon, 01 Mar 2010) | 1 line
  
  formatting changes
........
  r28158 | kohsuke | 2010-03-02 17:00:00 -0800 (Tue, 02 Mar 2010) | 1 line
  
  ConsoleAnnotation and ConsoleAnnotator are too confusing.
........
  r28159 | kohsuke | 2010-03-02 17:02:02 -0800 (Tue, 02 Mar 2010) | 1 line
  
  doc improvement
........
  r28160 | kohsuke | 2010-03-02 17:05:14 -0800 (Tue, 02 Mar 2010) | 1 line
  
  more doc improvements.
........
  r28161 | kohsuke | 2010-03-02 17:11:59 -0800 (Tue, 02 Mar 2010) | 1 line
  
  more doc improvement
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28173 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-03 15:37:55 +00:00
kohsuke fa1c182ace Merged revisions 28000,28002,28007 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r28000 | kohsuke | 2010-02-26 17:58:13 -0800 (Fri, 26 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_348
........
  r28002 | kohsuke | 2010-02-26 17:58:32 -0800 (Fri, 26 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r28007 | kohsuke | 2010-02-26 18:45:28 -0800 (Fri, 26 Feb 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28010 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-27 03:03:17 +00:00
kohsuke 35fe2dafec Merged revisions 27688,27690 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r27688 | kohsuke | 2010-02-19 16:02:19 -0800 (Fri, 19 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_347
........
  r27690 | kohsuke | 2010-02-19 16:02:37 -0800 (Fri, 19 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27691 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-20 00:03:53 +00:00
kohsuke cba6fe5ad0 there was a confusion between the bootstrap classloader (that loads rt.jar and endorsed libs) and the app classloader (that loads classes specified in the -cp.)
The intent of this mechanism is to control the implications of sending rt.jar classes and endorsed dirs --- since every VM gets its own logically complete copy of the bootstrap classes, under the normal circumstances we shouldn't have to transfer them. But if the endorsed dir is used and you want all slaves to pick them up, disabling this check is handy, and hence the addition by Tom.

In contrast, app classes are specified differently per VM, so we need to be able to transfer those files. This bug shows up as test failures in plugins, where Hudson is loaded (along with JUnit and plugins) in the app classloader.

I guess this problem didn't manifest in the releases, because whether Hudson is deployed as a war or run as java -jar hudson.war, app classloader doesn't load Hudson.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27481 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-14 17:35:02 +00:00
kohsuke db6cd00f25 Merged revisions 27441,27443,27447 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r27441 | kohsuke | 2010-02-12 16:47:05 -0800 (Fri, 12 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_346
........
  r27443 | kohsuke | 2010-02-12 16:47:17 -0800 (Fri, 12 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r27447 | kohsuke | 2010-02-12 17:28:50 -0800 (Fri, 12 Feb 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27449 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-13 01:32:11 +00:00
kohsuke 8bf35b2094 Merged revisions 27147,27149-27151,27153 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r27147 | kohsuke | 2010-02-08 11:10:47 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [FIXED HUDSON-5536] in 1.345 and added a test case.
........
  r27149 | kohsuke | 2010-02-08 12:01:18 -0800 (Mon, 08 Feb 2010) | 1 line
  
  added a backward compatibility measure to expose variables in both forms
........
  r27150 | kohsuke | 2010-02-08 12:02:19 -0800 (Mon, 08 Feb 2010) | 1 line
  
  forgot to commit this(?)
........
  r27151 | kohsuke | 2010-02-08 12:24:51 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_345
........
  r27153 | kohsuke | 2010-02-08 12:25:04 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27154 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-08 20:28:39 +00:00
kohsuke 8bbeb5b1d3 Merged revisions 27047,27049,27053 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r27047 | kohsuke | 2010-02-05 14:07:35 -0800 (Fri, 05 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_344
........
  r27049 | kohsuke | 2010-02-05 14:07:55 -0800 (Fri, 05 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r27053 | kohsuke | 2010-02-05 17:05:11 -0800 (Fri, 05 Feb 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27059 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-06 02:06:01 +00:00
kohsuke 7bfbd4201c noting the meaning of the switch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26999 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-04 02:02:15 +00:00
kohsuke 2f50f49517 Merge commit 'huybrechts/lib-endorsed'
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26998 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-04 01:46:14 +00:00
kohsuke 77c3f4991d Merged revisions 26733,26735 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r26733 | kohsuke | 2010-01-29 15:24:01 -0800 (Fri, 29 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_343
........
  r26735 | kohsuke | 2010-01-29 15:24:13 -0800 (Fri, 29 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26738 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-29 23:50:22 +00:00
Tom Huybrechts e1ab16ce57 RemoteClassLoader.useSystemClassLoader property controls how the system classloader is treated:
- if true, both resources and classes from the server system classloader will be usable on slaves
- if false (default), neither resources or classes will be loadable from a slave
2010-01-29 13:39:08 +01:00
Tom Huybrechts adf2d268f0 load remote classes from system classloader 2010-01-29 12:31:37 +01:00
kohsuke 1b3c1f92fd [HUDSON-5391] Fixed the infamous Turkish bug.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26650 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-28 21:38:01 +00:00
kohsuke 693b60ba6f [FIXED HUDSON-5313 HUDSON-5314] Applied a patch in 5314 to fix 5313.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26274 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-23 00:38:36 +00:00
kohsuke 4e4d42c694 Merged revisions 26269,26271 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r26269 | kohsuke | 2010-01-22 16:27:11 -0800 (Fri, 22 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_342
........
  r26271 | kohsuke | 2010-01-22 16:27:23 -0800 (Fri, 22 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26272 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-23 00:27:58 +00:00
kohsuke 75035791d9 exposing these to allow plugins and clients to diagnose less-capable channel graecfully.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26113 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-19 23:42:57 +00:00
kohsuke 1c9e5a4cc3 improved error message
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26107 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-19 23:03:05 +00:00
kohsuke 264b89d568 Merged revisions 25895,25897 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r25895 | kohsuke | 2010-01-15 16:06:26 -0800 (Fri, 15 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_341
........
  r25897 | kohsuke | 2010-01-15 16:06:40 -0800 (Fri, 15 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25898 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-16 00:07:15 +00:00
kohsuke 6631bd95cf Merged revisions 25690,25692 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r25690 | kohsuke | 2010-01-11 15:26:45 -0800 (Mon, 11 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_340
........
  r25692 | kohsuke | 2010-01-11 15:26:57 -0800 (Mon, 11 Jan 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25693 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-11 23:28:10 +00:00
kohsuke 02d1b7cd3a Merged revisions 24934,24936 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r24934 | kohsuke | 2009-12-24 17:28:36 -0800 (Thu, 24 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_339
........
  r24936 | kohsuke | 2009-12-24 17:28:49 -0800 (Thu, 24 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24937 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-25 01:29:19 +00:00
kohsuke 0159f80d96 [FIXED HUDSON-5138] During the release, use the release version. Taken from core/pom.xml. In 1.339.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24796 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-22 00:14:44 +00:00
kohsuke df8bdd42c5 Merged revisions 24685-24686,24706,24708,24710,24713 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r24685 | kohsuke | 2009-12-17 11:42:34 -0800 (Thu, 17 Dec 2009) | 1 line
  
  CR6842690. if the parent directory is missing, create it.
........
  r24686 | kohsuke | 2009-12-17 12:07:35 -0800 (Thu, 17 Dec 2009) | 1 line
  
  doc improvement
........
  r24706 | kohsuke | 2009-12-18 15:29:32 -0800 (Fri, 18 Dec 2009) | 1 line
  
  fixed the problem pointed out by Alan in http://n4.nabble.com/Queue-Task-isConcurrent-tp974571p974571.html
........
  r24708 | kohsuke | 2009-12-18 18:29:14 -0800 (Fri, 18 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_338
........
  r24710 | kohsuke | 2009-12-18 18:29:25 -0800 (Fri, 18 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r24713 | kohsuke | 2009-12-18 19:05:36 -0800 (Fri, 18 Dec 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24715 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-19 03:15:19 +00:00
lacostej 31656e4799 Properly register temporary directories for deletion.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24656 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-16 17:25:43 +00:00
kohsuke e1c2f1c39a Merged revisions 24563,24572,24574,24578 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r24563 | kohsuke | 2009-12-11 10:49:04 -0800 (Fri, 11 Dec 2009) | 1 line
  
  keep track of the init level to delay the loading of ExtensionList.
........
  r24572 | kohsuke | 2009-12-11 15:36:06 -0800 (Fri, 11 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_337
........
  r24574 | kohsuke | 2009-12-11 15:36:27 -0800 (Fri, 11 Dec 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r24578 | kohsuke | 2009-12-11 16:17:46 -0800 (Fri, 11 Dec 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24595 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-14 16:48:09 +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
kohsuke 4cb2bcfedf Merged revisions 24160,24162 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r24160 | kohsuke | 2009-11-28 07:20:57 -0800 (Sat, 28 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_336
........
  r24162 | kohsuke | 2009-11-28 07:21:11 -0800 (Sat, 28 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24163 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-28 15:33:27 +00:00
kohsuke 1922733709 Merged revisions 23918,23920 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23918 | kohsuke | 2009-11-20 14:44:46 -0800 (Fri, 20 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_335
........
  r23920 | kohsuke | 2009-11-20 14:44:57 -0800 (Fri, 20 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23921 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-20 22:54:18 +00:00
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
kohsuke 5933042afe Merged revisions 23766,23768 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23766 | kohsuke | 2009-11-16 16:23:05 -0800 (Mon, 16 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_334
........
  r23768 | kohsuke | 2009-11-16 16:23:19 -0800 (Mon, 16 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23769 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-17 00:26:04 +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 51052d3c46 Merged revisions 23599,23601 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23599 | kohsuke | 2009-11-09 08:51:27 -0800 (Mon, 09 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_333
........
  r23601 | kohsuke | 2009-11-09 08:51:57 -0800 (Mon, 09 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23602 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-09 16:56:34 +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 d8674e5b5a Merged revisions 23422,23427-23428,23437,23439,23448 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r23422 | kohsuke | 2009-11-02 13:18:10 -0800 (Mon, 02 Nov 2009) | 1 line
  
  [FIXED HUDSON-4752] integrated the new version of XStream
........
  r23427 | kohsuke | 2009-11-02 14:15:24 -0800 (Mon, 02 Nov 2009) | 3 lines
  
      Fixed <tt>NotExportableException</tt> when making a remote API call on a project.
      (<a href="https://hudson.dev.java.net/servlets/BrowseList?list=users&by=thread&from=2222483">report</a>)
........
  r23428 | kohsuke | 2009-11-02 14:24:39 -0800 (Mon, 02 Nov 2009) | 3 lines
  
      Fixed <tt>IllegalArgumentException: name</tt>
      (<a href="http://old.nabble.com/bug-1.331-to26145963.html">report</a>)
........
  r23437 | kohsuke | 2009-11-02 18:29:06 -0800 (Mon, 02 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_332
........
  r23439 | kohsuke | 2009-11-02 18:29:22 -0800 (Mon, 02 Nov 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r23448 | kohsuke | 2009-11-02 19:06:11 -0800 (Mon, 02 Nov 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23474 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-04 19:45:20 +00:00
kohsuke 65b3484e6c Merged revisions 23339,23356,23367,23369,23372 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r23339 | mindless | 2009-10-30 09:24:49 -0700 (Fri, 30 Oct 2009) | 4 lines
  
  Add support in XStream2.AssociatedConverterImpl for SingleValueConverter
  (fixes bug introduced in r23277 where BuildAuthorizationToken's
  ConverterImpl was changed to a SingleValueConverter).
........
  r23356 | kohsuke | 2009-10-30 11:43:47 -0700 (Fri, 30 Oct 2009) | 1 line
  
  fixed the performance problem caused by Stapler1.119, which made getTagLibrary inherit from parents
........
  r23367 | kohsuke | 2009-10-30 18:15:05 -0700 (Fri, 30 Oct 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_331
........
  r23369 | kohsuke | 2009-10-30 18:15:21 -0700 (Fri, 30 Oct 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r23372 | kohsuke | 2009-10-30 19:15:01 -0700 (Fri, 30 Oct 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23420 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-02 19:35:24 +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 b5a1306196 Merged revisions 23124,23126 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23124 | kohsuke | 2009-10-23 19:20:43 -0700 (Fri, 23 Oct 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_330
........
  r23126 | kohsuke | 2009-10-23 19:20:55 -0700 (Fri, 23 Oct 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23127 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-24 02:21:58 +00:00