1. 14 2月, 2013 1 次提交
    • J
      [SECURITY-16] · 61921fbb
      Jesse Glick 提交于
      Require POST for various operations.
      (cherry picked from commit 36c86243)
      
      Conflicts:
      
      	core/src/main/java/hudson/model/AbstractBuild.java
      61921fbb
  2. 05 10月, 2012 1 次提交
  3. 21 9月, 2012 1 次提交
    • J
      Null safety of Trigger.timer. · f5a78695
      Jesse Glick 提交于
      A botched startup (say by an error in InitializerFinder) can cause log to be filled with junk like:
      Sep 20, 2012 1:10:50 PM hudson.ExtensionFinder$GuiceFinder instantiate
      WARNING: Failed to load hudson.node_monitors.DiskSpaceMonitor
      java.lang.InstantiationException: java.lang.ExceptionInInitializerError
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:193)
      	at hudson.ExtensionFinder$GuiceFinder.instantiate(ExtensionFinder.java:353)
      	at hudson.ExtensionFinder$GuiceFinder.access$400(ExtensionFinder.java:232)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule$1.get(ExtensionFinder.java:509)
      	at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
      	at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
      	at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66)
      	at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      	at hudson.ExtensionFinder$GuiceFinder$4$1.get(ExtensionFinder.java:420)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
      	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
      	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:389)
      	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:380)
      	at hudson.ExtensionFinder._find(ExtensionFinder.java:149)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289)
      	at hudson.ExtensionList.load(ExtensionList.java:278)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
      	at hudson.ExtensionList.getComponents(ExtensionList.java:149)
      	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:182)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231)
      	at hudson.ExtensionList.size(ExtensionList.java:157)
      	at java.util.AbstractCollection.isEmpty(AbstractCollection.java:86)
      	at hudson.model.labels.LabelAtom.updateTransientActions(LabelAtom.java:107)
      	at hudson.model.labels.LabelAtom.load(LabelAtom.java:189)
      	at jenkins.model.Jenkins.getLabelAtom(Jenkins.java:1545)
      	at jenkins.model.Jenkins.getSelfLabel(Jenkins.java:2422)
      	at hudson.model.Node.getAssignedLabels(Node.java:240)
      	at jenkins.model.Jenkins$17.run(Jenkins.java:2499)
      	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:875)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.ExceptionInInitializerError
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at net.java.sezpoz.IndexItem.instance(IndexItem.java:183)
      	... 41 more
      Caused by: java.lang.NullPointerException
      	at hudson.node_monitors.AbstractNodeMonitorDescriptor.schedule(AbstractNodeMonitorDescriptor.java:73)
      	at hudson.node_monitors.AbstractNodeMonitorDescriptor.<init>(AbstractNodeMonitorDescriptor.java:58)
      	at hudson.node_monitors.AbstractNodeMonitorDescriptor.<init>(AbstractNodeMonitorDescriptor.java:54)
      	at hudson.node_monitors.DiskSpaceMonitorDescriptor.<init>(DiskSpaceMonitorDescriptor.java:49)
      	at hudson.node_monitors.DiskSpaceMonitor$1.<init>(DiskSpaceMonitor.java:62)
      	at hudson.node_monitors.DiskSpaceMonitor.<clinit>(DiskSpaceMonitor.java:62)
      	... 46 more
      f5a78695
  4. 13 9月, 2012 1 次提交
  5. 16 8月, 2012 1 次提交
  6. 31 5月, 2012 1 次提交
    • K
      fixed a persistence problem in Queue. · ad95f93a
      Kohsuke Kawaguchi 提交于
      Queue.BlockedItem is not static, and so if items include this type, it ends up trying to persist the whole Queue instance, which will never work.
      Sample stack trace below:
      
      java.lang.RuntimeException: Failed to serialize hudson.model.Queue$BlockedItem#this$0 for class hudson.model.Queue$BlockedItem
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
      	at com.thoughtworks.xstream.XStream.marshal(XStream.java:840)
      	at com.thoughtworks.xstream.XStream.marshal(XStream.java:829)
      	at com.thoughtworks.xstream.XStream.toXML(XStream.java:804)
      	at hudson.XmlFile.write(XmlFile.java:173)
      	at hudson.model.Queue.save(Queue.java:349)
      	at jenkins.model.Jenkins.cleanUp(Jenkins.java:2575)
      	at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:381)
      	at junit.framework.TestCase.runBare(TestCase.java:140)
      	at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:286)
      	at junit.framework.TestResult$1.protect(TestResult.java:110)
      	at junit.framework.TestResult.runProtected(TestResult.java:128)
      	at junit.framework.TestResult.run(TestResult.java:113)
      	at junit.framework.TestCase.run(TestCase.java:124)
      	at junit.framework.TestSuite.runTest(TestSuite.java:243)
      	at junit.framework.TestSuite.run(TestSuite.java:238)
      	at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:142)
      	at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:62)
      	at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:58)
      	at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
      	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
      	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:270)
      	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:662)
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.model.Queue#parked for class hudson.model.Queue
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 47 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.lang.Thread#group for class hudson.model.Executor
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:57)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 55 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.lang.ThreadGroup#threads for class java.lang.ThreadGroup
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 68 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.lang.Thread#threadLocals for class hudson.remoting.Channel$ReaderThread
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 76 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.lang.ThreadLocal$ThreadLocalMap#table for class java.lang.ThreadLocal$ThreadLocalMap
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 89 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.lang.ThreadLocal$ThreadLocalMap$Entry#value for class java.lang.ThreadLocal$ThreadLocalMap$Entry
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 97 more
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.remoting.Channel#executor for class hudson.remoting.Channel
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 110 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.util.concurrent.ThreadPoolExecutor#workers for class java.util.concurrent.ThreadPoolExecutor
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 118 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.util.concurrent.ThreadPoolExecutor$Worker#thread for class java.util.concurrent.ThreadPoolExecutor$Worker
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 126 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.lang.Thread#threadLocals for class java.lang.Thread
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 139 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.lang.ThreadLocal$ThreadLocalMap#table for class java.lang.ThreadLocal$ThreadLocalMap
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 147 more
      Caused by: java.lang.RuntimeException: Failed to serialize java.lang.ref.Reference#referent for class java.lang.ThreadLocal$ThreadLocalMap$Entry
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 155 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.internal.InjectorImpl$1#this$0 for class com.google.inject.internal.InjectorImpl$1
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 168 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.internal.InjectorImpl#state for class com.google.inject.internal.InjectorImpl
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 176 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.internal.InheritingState#explicitBindingsMutable for class com.google.inject.internal.InheritingState
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 184 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.internal.BindingImpl#internalFactory for class com.google.inject.internal.ProviderInstanceBindingImpl
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:58)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 192 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.internal.InternalFactoryToProviderAdapter#provider for class com.google.inject.internal.InternalFactoryToProviderAdapter
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 205 more
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.ExtensionFinder$GuiceFinder$4$1#val$base for class hudson.ExtensionFinder$GuiceFinder$4$1
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 213 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.Scopes$1$1#val$creator for class com.google.inject.Scopes$1$1
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 221 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.internal.ProviderToInternalFactoryAdapter#internalFactory for class com.google.inject.internal.ProviderToInternalFactoryAdapter
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 229 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.internal.InternalFactoryToInitializableAdapter#initializable for class com.google.inject.internal.InternalFactoryToInitializableAdapter
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 237 more
      Caused by: java.lang.RuntimeException: Failed to serialize com.google.inject.internal.Initializables$1#val$instance for class com.google.inject.internal.Initializables$1
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 245 more
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.ExtensionFinder$GuiceFinder$SezpozModule$1#this$1 for class hudson.ExtensionFinder$GuiceFinder$SezpozModule$1
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 253 more
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.ExtensionFinder$GuiceFinder$SezpozModule#index for class hudson.ExtensionFinder$GuiceFinder$SezpozModule
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 261 more
      Caused by: java.lang.RuntimeException: Failed to serialize net.java.sezpoz.IndexItem#instance for class net.java.sezpoz.IndexItem
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 269 more
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.node_monitors.AbstractNodeMonitorDescriptor#record for class hudson.node_monitors.ClockMonitor$1
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 282 more
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.node_monitors.AbstractNodeMonitorDescriptor$Record#data for class hudson.node_monitors.AbstractNodeMonitorDescriptor$Record
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 290 more
      Caused by: java.lang.RuntimeException: Failed to serialize hudson.slaves.SlaveComputer#taskListener for class hudson.slaves.SlaveComputer
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:167)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:135)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:120)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:94)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      	at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:57)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:176)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:163)
      	... 298 more
      ad95f93a
  7. 24 5月, 2012 1 次提交
    • K
      Fixed a bug in Jenkins.overallNodeProvisioner · be1f8f91
      Kohsuke Kawaguchi 提交于
      Until now, Jenkins.overallNodeProvisioner was tracking an inconsistent
      pair of numbers. On one hand, it was tracking all the executors in the
      system, but then it was also only tracking the # of free-roaming
      label-unassigned jobs as the queue length.
      
      So if all your slaves are set with Node.Mode.EXCLUSIVE and you have some
      free-roaming jobs, then it'll never tickle NodePrivisioner.
      
      In other words, the # of executors weren't reflecting the actual # of
      executors that can execute what's counted as the queue length.
      
      See the problem report at
      https://groups.google.com/forum/?fromgroups#!topic/jenkinsci-dev/bUwGEgOwv4Q
      
      To fix this, I introduced another LoadStatistics that only counts
      the # of executors that can execute free-roaming jobs, and # of
      free-roaming jobs as the queue length. In this way, two pairs of numbers
      are consistent.
      
      This now allows us to use overallLoadStatistics for really the entire
      system, including all executors and the total queue length. This is
      primarily for administrators to see the resource utilization, and it is
      not useful for NodeProvisioner input because it's mixing too many
      different things.
      
      The semantics change in OverallLoadStatistics.queueLength allows us to
      deprecate its totalQueueLength field.
      be1f8f91
  8. 22 4月, 2012 1 次提交
  9. 28 3月, 2012 1 次提交
  10. 25 3月, 2012 1 次提交
  11. 01 3月, 2012 1 次提交
  12. 19 2月, 2012 1 次提交
  13. 14 2月, 2012 1 次提交
    • K
      maintain() should assign buildable stuff to executors. · 1ac4872e
      Kohsuke Kawaguchi 提交于
      This came out of the conversation with Nicolas.
      
      When QueueTaskDispatcher vetos the assignment, a buildable item might
      stay buildable and unexecuted. Ane he found that it doesn't get retried,
      despite the MaintainTask class that attempts to do so.
      
      The issue is that the maintain() method actually doesn't try to assign
      buildable tasks to executors. That happens inside the pop() method.
      I think this goes against the original design of the maintain() method,
      which is a giant synchronized block that moves all the relevant actors
      from one state to another.
      
      So I'm moving this code into the maintain method. In this way,
      MaintainTask will automatically reattempt to assign buildable items
      to executors, and scheduleMaintenance() and maintain() will really
      do the same thing, and it solves the original problem.
      1ac4872e
  14. 08 11月, 2011 1 次提交
  15. 03 11月, 2011 1 次提交
  16. 24 8月, 2011 1 次提交
  17. 13 8月, 2011 1 次提交
  18. 12 8月, 2011 2 次提交
  19. 10 8月, 2011 1 次提交
  20. 23 7月, 2011 1 次提交
  21. 11 6月, 2011 1 次提交
  22. 29 5月, 2011 2 次提交
  23. 24 5月, 2011 1 次提交
  24. 18 5月, 2011 1 次提交
  25. 10 5月, 2011 1 次提交
  26. 15 3月, 2011 2 次提交
  27. 10 3月, 2011 3 次提交
    • K
      [JENKINS-8929] follow up changes · 86d88e5e
      Kohsuke Kawaguchi 提交于
      - AbstractProject.getBuildingUpstream/getBuildingDownstream()
        should be symmetric.
      - It's unlikely for us to add another category of items,
        so reverted getUnblockedItems() implementation to the older one
        that was more efficient.
      - ItemList was meant to be internal, so keep it as such,
        at least for now.
      86d88e5e
    • R
      Changed logic to build list of unblocked items in the queue safely so it will... · 6de6353a
      Robert Elliot 提交于
      Changed logic to build list of unblocked items in the queue safely so it will not break if a new category of queue items is added
      6de6353a
    • R
      [FIXED JENKINS-8929] Changed the definition of a building downstream project... · b40e7b42
      Robert Elliot 提交于
      [FIXED JENKINS-8929] Changed the definition of a building downstream project to one that is Building, Waiting, Pending or Buildable
      but NOT blocked.  This prevents the deadlock condition where upstream project A is blocked on downstream project B, which is
      blocked on upstream project A - now in this scenario B will remain blocked but A will build, eventually freeing up B.
      b40e7b42
  28. 15 2月, 2011 1 次提交
  29. 14 12月, 2010 1 次提交
  30. 03 12月, 2010 1 次提交
  31. 20 11月, 2010 1 次提交
  32. 14 11月, 2010 1 次提交
  33. 23 10月, 2010 1 次提交
  34. 14 10月, 2010 1 次提交
  35. 08 10月, 2010 1 次提交