Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15587

Builds disappear from jobs - hudson.util.IOException2: Invalid directory name - java.text.ParseException: Unparseable date: "39"

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After updating to 1.485, I have the following error after jenkins loading.

      At the beginning, all builds are present, but as long as jenkins parse the builds directory one by one amd make the "Unparseable date" error, they are removed from the interface. After several minutes there are no more builds available in jobs.

      => it seems jenkins tried to parse the directory name as the date ?

      Oct 13, 2012 2:23:50 PM hudson.model.RunMap retrieve
      WARNING: could not load c:\.jenkins\jobs\SIM3-Test-3\builds\39
      hudson.util.IOException2: Invalid directory name c:\.jenkins\jobs\SIM3-Test-3\builds\39
      	at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332)
      	at hudson.model.Run.<init>(Run.java:278)
      	at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182)
      	at hudson.model.Build.<init>(Build.java:103)
      	at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41)
      	at sun.reflect.GeneratedConstructorAccessor110.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      	at java.lang.reflect.Constructor.newInstance(Unknown Source)
      	at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061)
      	at hudson.model.AbstractProject$1.create(AbstractProject.java:275)
      	at hudson.model.AbstractProject$1.create(AbstractProject.java:273)
      	at hudson.model.RunMap.retrieve(RunMap.java:217)
      	at hudson.model.RunMap.retrieve(RunMap.java:58)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:596)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:566)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:334)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:467)
      	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:345)
      	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:210)
      	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:103)
      	at hudson.model.Job.getBuildStabilityHealthReport(Job.java:945)
      	at hudson.model.Job.getBuildHealthReports(Job.java:905)
      	at hudson.model.Job.getBuildHealth(Job.java:870)
      	at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
      	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
      	at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
      	at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
      	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
      	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
      	at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
      	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
      	at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      	at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:283)
      	at org.kohsuke.stapler.jelly.groovy.Namespace$ProxyImpl.invoke(Namespace.java:92)
      	at $Proxy95.projectView(Unknown Source)
      	at lib.JenkinsTagLib$projectView.call(Unknown Source)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      	at hudson.model.View.main.run(main.groovy:14)
      	at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:66)
      	at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:59)
      	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      	at org.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      	at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:107)
      	at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:625)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      Caused by: java.text.ParseException: Unparseable date: "39"
      	at java.text.DateFormat.parse(Unknown Source)
      	at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330)
      	... 165 more
      

        Attachments

          Issue Links

            Activity

            Hide
            taksan taksan added a comment - - edited

            I'm having the same issue after I upgraded to 1.487.

            Environment: Ubuntu 12.04 LTS

            1. uname -a
              Linux zabbix-ubuntu 3.2.0-25-generic-pae #40-Ubuntu SMP Wed May 23 22:11:24 UTC 2012 i686 i686 i386 GNU/Linux

            Here's the stacktrace:

            WARNING: could not load /app/jenkins/.jenkins/jobs/nununu/modules/nununu$nununu/builds/254
            hudson.util.IOException2: Invalid directory name /app/jenkins/.jenkins/jobs/nununu/modules/nununu$nununu/builds/254
            at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332)
            at hudson.model.Run.<init>(Run.java:278)
            at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182)
            at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:54)
            at hudson.maven.MavenBuild.<init>(MavenBuild.java:107)
            at sun.reflect.GeneratedConstructorAccessor36.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061)
            at hudson.model.AbstractProject$1.create(AbstractProject.java:275)
            at hudson.model.AbstractProject$1.create(AbstractProject.java:273)
            at hudson.model.RunMap.retrieve(RunMap.java:220)
            at hudson.model.RunMap.retrieve(RunMap.java:59)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355)
            at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:210)
            at hudson.tasks.Fingerprinter$FingerprintAction.onLoad(Fingerprinter.java:349)
            at hudson.model.Run.onLoad(Run.java:303)
            at hudson.model.RunMap.retrieve(RunMap.java:221)
            at hudson.model.RunMap.retrieve(RunMap.java:59)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:621)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.all(AbstractLazyLoadRunMap.java:574)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.entrySet(AbstractLazyLoadRunMap.java:240)
            at java.util.AbstractMap$2$1.<init>(AbstractMap.java:378)
            at java.util.AbstractMap$2.iterator(AbstractMap.java:377)
            at hudson.util.RunList.iterator(RunList.java:103)
            at org.jvnet.hudson.plugins.DownStreamProjectActionFactory.createFor(DownStreamProjectActionFactory.java:59)
            at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:675)
            at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:177)
            at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:665)
            at hudson.maven.MavenModule.updateTransientActions(MavenModule.java:411)
            at hudson.model.AbstractProject.onLoad(AbstractProject.java:299)
            at hudson.maven.MavenModule.onLoad(MavenModule.java:236)
            at hudson.model.Items.load(Items.java:221)
            at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99)
            at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:669)
            at hudson.model.Items.load(Items.java:221)
            at jenkins.model.Jenkins$17.run(Jenkins.java:2507)
            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:883)
            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:679)
            Caused by: java.text.ParseException: Unparseable date: "254"
            at java.text.DateFormat.parse(DateFormat.java:354)
            at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330)
            ... 49 more

            Show
            taksan taksan added a comment - - edited I'm having the same issue after I upgraded to 1.487. Environment: Ubuntu 12.04 LTS uname -a Linux zabbix-ubuntu 3.2.0-25-generic-pae #40-Ubuntu SMP Wed May 23 22:11:24 UTC 2012 i686 i686 i386 GNU/Linux Here's the stacktrace: WARNING: could not load /app/jenkins/.jenkins/jobs/nununu/modules/nununu$nununu/builds/254 hudson.util.IOException2: Invalid directory name /app/jenkins/.jenkins/jobs/nununu/modules/nununu$nununu/builds/254 at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332) at hudson.model.Run.<init>(Run.java:278) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182) at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:54) at hudson.maven.MavenBuild.<init>(MavenBuild.java:107) at sun.reflect.GeneratedConstructorAccessor36.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061) at hudson.model.AbstractProject$1.create(AbstractProject.java:275) at hudson.model.AbstractProject$1.create(AbstractProject.java:273) at hudson.model.RunMap.retrieve(RunMap.java:220) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355) at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:210) at hudson.tasks.Fingerprinter$FingerprintAction.onLoad(Fingerprinter.java:349) at hudson.model.Run.onLoad(Run.java:303) at hudson.model.RunMap.retrieve(RunMap.java:221) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:621) at jenkins.model.lazy.AbstractLazyLoadRunMap.all(AbstractLazyLoadRunMap.java:574) at jenkins.model.lazy.AbstractLazyLoadRunMap.entrySet(AbstractLazyLoadRunMap.java:240) at java.util.AbstractMap$2$1.<init>(AbstractMap.java:378) at java.util.AbstractMap$2.iterator(AbstractMap.java:377) at hudson.util.RunList.iterator(RunList.java:103) at org.jvnet.hudson.plugins.DownStreamProjectActionFactory.createFor(DownStreamProjectActionFactory.java:59) at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:675) at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:177) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:665) at hudson.maven.MavenModule.updateTransientActions(MavenModule.java:411) at hudson.model.AbstractProject.onLoad(AbstractProject.java:299) at hudson.maven.MavenModule.onLoad(MavenModule.java:236) at hudson.model.Items.load(Items.java:221) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:669) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2507) 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:883) 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:679) Caused by: java.text.ParseException: Unparseable date: "254" at java.text.DateFormat.parse(DateFormat.java:354) at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330) ... 49 more
            Hide
            trbaker Trevor Baker added a comment -

            Am seeing the same exception @ 1.487

            Show
            trbaker Trevor Baker added a comment - Am seeing the same exception @ 1.487
            Hide
            david_resnick David Resnick added a comment -

            Same exception for me (see below) on 1.487 on Windows.

            The "invalid directory name" mentioned is a link to an existing directory; the builds in question were created recently (with 1.487).

            Oct 29, 2012 1:32:30 PM hudson.model.RunMap retrieve
            WARNING: could not load C:\jenkins\jobs\job\builds\1
            hudson.util.IOException2: Invalid directory name C:\jenkins\jobs\job\builds\1
            	at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332)
            	at hudson.model.Run.<init>(Run.java:278)
            	at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182)
            	at hudson.model.Build.<init>(Build.java:103)
            	at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41)
            	at sun.reflect.GeneratedConstructorAccessor103.newInstance(Unknown Source)
            	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            	at java.lang.reflect.Constructor.newInstance(Unknown Source)
            	at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061)
            	at hudson.model.AbstractProject$1.create(AbstractProject.java:275)
            	at hudson.model.AbstractProject$1.create(AbstractProject.java:273)
            	at hudson.model.RunMap.retrieve(RunMap.java:220)
            	at hudson.model.RunMap.retrieve(RunMap.java:59)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355)
            	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:210)
            	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:103)
            	at hudson.model.ResultTrend.getPreviousNonAbortedBuild(ResultTrend.java:168)
            	at hudson.model.ResultTrend.getResultTrend(ResultTrend.java:132)
            	at hudson.model.Run.getBuildStatusSummary(Run.java:1739)
            	at hudson.model.Run$DefaultFeedAdapter.getEntryTitle(Run.java:2102)
            	at hudson.model.Run$DefaultFeedAdapter.getEntryTitle(Run.java:2100)
            	at sun.reflect.GeneratedMethodAccessor378.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            	at java.lang.reflect.Method.invoke(Unknown Source)
            	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
            	at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
            	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
            	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
            	at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
            	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
            	at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
            	at org.apache.commons.jelly.parser.EscapingExpression.evaluate(EscapingExpression.java:24)
            	at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
            	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            	at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65)
            	at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            	at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65)
            	at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124)
            	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
            	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            	at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65)
            	at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
            	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
            	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
            	at org.kohsuke.stapler.jelly.JellyRequestDispatcher.forward(JellyRequestDispatcher.java:55)
            	at hudson.model.RSS.forwardToRss(RSS.java:86)
            	at hudson.model.View.rss(View.java:957)
            	at hudson.model.View.doRssAll(View.java:941)
            	at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            	at java.lang.reflect.Method.invoke(Unknown Source)
            	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
            	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
            	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
            	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
            	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
            	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
            	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:625)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
            	at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
            	at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
            	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
            	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
            	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
            	at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
            	at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
            	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
            	at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
            	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
            	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
            	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
            	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
            	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
            	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
            	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            	at java.util.concurrent.FutureTask.run(Unknown Source)
            	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            	at java.lang.Thread.run(Unknown Source)
            Caused by: java.text.ParseException: Unparseable date: "1"
            	at java.text.DateFormat.parse(Unknown Source)
            	at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330)
            	... 131 more
            
            Show
            david_resnick David Resnick added a comment - Same exception for me (see below) on 1.487 on Windows. The "invalid directory name" mentioned is a link to an existing directory; the builds in question were created recently (with 1.487). Oct 29, 2012 1:32:30 PM hudson.model.RunMap retrieve WARNING: could not load C:\jenkins\jobs\job\builds\1 hudson.util.IOException2: Invalid directory name C:\jenkins\jobs\job\builds\1 at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332) at hudson.model.Run.<init>(Run.java:278) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.GeneratedConstructorAccessor103.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061) at hudson.model.AbstractProject$1.create(AbstractProject.java:275) at hudson.model.AbstractProject$1.create(AbstractProject.java:273) at hudson.model.RunMap.retrieve(RunMap.java:220) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355) at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:210) at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:103) at hudson.model.ResultTrend.getPreviousNonAbortedBuild(ResultTrend.java:168) at hudson.model.ResultTrend.getResultTrend(ResultTrend.java:132) at hudson.model.Run.getBuildStatusSummary(Run.java:1739) at hudson.model.Run$DefaultFeedAdapter.getEntryTitle(Run.java:2102) at hudson.model.Run$DefaultFeedAdapter.getEntryTitle(Run.java:2100) at sun.reflect.GeneratedMethodAccessor378.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.parser.EscapingExpression.evaluate(EscapingExpression.java:24) at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyRequestDispatcher.forward(JellyRequestDispatcher.java:55) at hudson.model.RSS.forwardToRss(RSS.java:86) at hudson.model.View.rss(View.java:957) at hudson.model.View.doRssAll(View.java:941) at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:625) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.text.ParseException: Unparseable date: "1" at java.text.DateFormat.parse(Unknown Source) at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330) ... 131 more
            Hide
            bond Ravi Teja Lokineni added a comment -

            Same is the case with me too:

            WARNING: could not load /<some-dir>/jenkins_home/jobs/functional/builds/73
            hudson.util.IOException2: Invalid directory name /<some-dir>/jenkins_home/jobs/functional/builds/73
            	at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332)
            	at hudson.model.Run.<init>(Run.java:278)
            	at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179)
            	at hudson.model.Build.<init>(Build.java:103)
            	at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41)
            	at sun.reflect.GeneratedConstructorAccessor55.newInstance(Unknown Source)
            	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            	at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061)
            	at hudson.model.AbstractProject$1.create(AbstractProject.java:275)
            	at hudson.model.AbstractProject$1.create(AbstractProject.java:273)
            	at hudson.model.RunMap.retrieve(RunMap.java:220)
            	at hudson.model.RunMap.retrieve(RunMap.java:59)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355)
            	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:207)
            	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:100)
            	at hudson.model.RunMap$1.next(RunMap.java:107)
            	at hudson.model.RunMap$1.next(RunMap.java:96)
            	at hudson.widgets.HistoryWidget.getRenderList(HistoryWidget.java:131)
            	at sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            	at java.lang.reflect.Method.invoke(Method.java:597)
            	at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
            	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
            	at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
            	at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
            	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
            	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
            	at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
            	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
            	at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
            	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
            	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:94)
            	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89)
            	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
            	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
            	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
            	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
            	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
            	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
            	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
            	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
            	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
            	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
            	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
            	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
            	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
            	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
            	at jenkins.model.ModelObjectWithContextMenu$ContextMenu$1.run(ModelObjectWithContextMenu.java:131)
            	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
            	at jenkins.model.ModelObjectWithContextMenu$ContextMenu.from(ModelObjectWithContextMenu.java:124)
            	at jenkins.model.ModelObjectWithContextMenu$ContextMenu.from(ModelObjectWithContextMenu.java:113)
            	at hudson.model.Actionable.doContextMenu(Actionable.java:137)
            	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.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
            	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
            	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
            	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
            	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
            	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
            	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
            	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
            	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
            	at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
            	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
            	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
            	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
            	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
            	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
            	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
            	at java.lang.Thread.run(Thread.java:662)
            Caused by: java.text.ParseException: Unparseable date: "73"
            	at java.text.DateFormat.parse(DateFormat.java:337)
            	at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330)
            	... 129 more
            
            Show
            bond Ravi Teja Lokineni added a comment - Same is the case with me too: WARNING: could not load /<some-dir>/jenkins_home/jobs/functional/builds/73 hudson.util.IOException2: Invalid directory name /<some-dir>/jenkins_home/jobs/functional/builds/73 at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332) at hudson.model.Run.<init>(Run.java:278) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.GeneratedConstructorAccessor55.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061) at hudson.model.AbstractProject$1.create(AbstractProject.java:275) at hudson.model.AbstractProject$1.create(AbstractProject.java:273) at hudson.model.RunMap.retrieve(RunMap.java:220) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355) at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:207) at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:100) at hudson.model.RunMap$1.next(RunMap.java:107) at hudson.model.RunMap$1.next(RunMap.java:96) at hudson.widgets.HistoryWidget.getRenderList(HistoryWidget.java:131) at sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsIterator(ExpressionSupport.java:94) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:89) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at jenkins.model.ModelObjectWithContextMenu$ContextMenu$1.run(ModelObjectWithContextMenu.java:131) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at jenkins.model.ModelObjectWithContextMenu$ContextMenu.from(ModelObjectWithContextMenu.java:124) at jenkins.model.ModelObjectWithContextMenu$ContextMenu.from(ModelObjectWithContextMenu.java:113) at hudson.model.Actionable.doContextMenu(Actionable.java:137) 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.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: java.text.ParseException: Unparseable date: "73" at java.text.DateFormat.parse(DateFormat.java:337) at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330) ... 129 more
            Hide
            onemanbucket onemanbucket added a comment -

            I thought I reproduced the problem successfully, but then I realized I had scp:d a job from my company jenkins server without preserving symlinks. The code that loads the build expects a symlink named as the build numer that points to a directory that's parsable by dateformat.

            Can you guys double check that the reference in the stacktrace (c:\.jenkins\jobs\SIM3-Test-3\builds\39 or /<some-dir>/jenkins_home/jobs/functional/builds/73) are SYMLINKS pointing to the actual build (2012-10-26_12-53-13) ?

            Show
            onemanbucket onemanbucket added a comment - I thought I reproduced the problem successfully, but then I realized I had scp:d a job from my company jenkins server without preserving symlinks. The code that loads the build expects a symlink named as the build numer that points to a directory that's parsable by dateformat. Can you guys double check that the reference in the stacktrace (c:\.jenkins\jobs\SIM3-Test-3\builds\39 or /<some-dir>/jenkins_home/jobs/functional/builds/73) are SYMLINKS pointing to the actual build (2012-10-26_12-53-13) ?
            Hide
            taksan taksan added a comment -

            Indeed, the directories it was complaining about seems to be actual directories instead of symlinks (actually, just a handful)

            We found it odd because it started complained just after the upgrade (in fact, we downgraded due to other critical bug and the above warning is not showing up)

            Show
            taksan taksan added a comment - Indeed, the directories it was complaining about seems to be actual directories instead of symlinks (actually, just a handful) We found it odd because it started complained just after the upgrade (in fact, we downgraded due to other critical bug and the above warning is not showing up)
            Hide
            onemanbucket onemanbucket added a comment -

            Ok. Are the non-symlinked build dirs a remnant of an old migration perhaps?

            I'm not familiar with this part of jenkins, but since the job loading has been revamped in 1.484 the error might have surfaced at the upgrade.

            Show
            onemanbucket onemanbucket added a comment - Ok. Are the non-symlinked build dirs a remnant of an old migration perhaps? I'm not familiar with this part of jenkins, but since the job loading has been revamped in 1.484 the error might have surfaced at the upgrade.
            Hide
            taksan taksan added a comment -

            I counted about 470 build dirs like this, out of about 62000.

            It was not an old migration, I don't know how it ended up like this. But we'll just remove them, since those are very old builds anyway.

            Show
            taksan taksan added a comment - I counted about 470 build dirs like this, out of about 62000. It was not an old migration, I don't know how it ended up like this. But we'll just remove them, since those are very old builds anyway.
            Hide
            mirko Mirko Raner added a comment -

            I'm seeing a similar problem with 1.488. I don't see an exception in the Jenkins log, though.
            Do these exceptions appear in the log or on the console?

            At any rate, the end effect is that finished builds get purged from the history after a while, even though "Discard old builds" is not enabled.
            My Jenkins workspace is under /var/lib/jenkins, and as far as I can tell, there are no symbolic links involved.

            System information: Linux ConvTools 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 17:58:38 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

            Show
            mirko Mirko Raner added a comment - I'm seeing a similar problem with 1.488. I don't see an exception in the Jenkins log, though. Do these exceptions appear in the log or on the console? At any rate, the end effect is that finished builds get purged from the history after a while, even though "Discard old builds" is not enabled. My Jenkins workspace is under /var/lib/jenkins, and as far as I can tell, there are no symbolic links involved. System information: Linux ConvTools 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 17:58:38 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
            Hide
            mirko Mirko Raner added a comment -

            Is there an ETA for this to be fixed?
            Or should I downgrade? To which version should I downgrade?

            Show
            mirko Mirko Raner added a comment - Is there an ETA for this to be fixed? Or should I downgrade? To which version should I downgrade?
            Hide
            cyril_jean Cyril Jean added a comment -

            FYI, I resolved the problem by removing all the symlink build directories.
            Then going from 1.483 to 1.489.
            So far looks good

            Show
            cyril_jean Cyril Jean added a comment - FYI, I resolved the problem by removing all the symlink build directories. Then going from 1.483 to 1.489. So far looks good
            Hide
            marc_swingler Marc Swingler added a comment -

            Fortunately, I'm not missing any builds under any of my existing jobs.
            But, I'm still seeing the error in my tomcat logs:

            Nov 09, 2012 1:37:37 AM hudson.model.RunMap retrieve
            WARNING: could not load D:\.jenkins\jobs\configuration\builds\1
            hudson.util.IOException2: Invalid directory name D:\.jenkins\jobs\configuration\builds\1
            ...
            Caused by: java.text.ParseException: Unparseable date: "1"
            at java.text.DateFormat.parse(Unknown Source)
            at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330)
            ... 176 more

            My Env:
            Tomcat 7.0.32
            JDK 7u9 x64
            Windows Server 2008 R2 Standard x64
            Jenkins 1.489

            Show
            marc_swingler Marc Swingler added a comment - Fortunately, I'm not missing any builds under any of my existing jobs. But, I'm still seeing the error in my tomcat logs: Nov 09, 2012 1:37:37 AM hudson.model.RunMap retrieve WARNING: could not load D:\.jenkins\jobs\configuration\builds\1 hudson.util.IOException2: Invalid directory name D:\.jenkins\jobs\configuration\builds\1 ... Caused by: java.text.ParseException: Unparseable date: "1" at java.text.DateFormat.parse(Unknown Source) at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330) ... 176 more My Env: Tomcat 7.0.32 JDK 7u9 x64 Windows Server 2008 R2 Standard x64 Jenkins 1.489
            Hide
            marc_swingler Marc Swingler added a comment -

            Tried adding this as an attachment without luck. Logged from version 1.490

            Nov 15, 2012 1:11:46 AM hudson.model.RunMap retrieve
            WARNING: could not load D:\.jenkins\jobs\configuration.test\builds\1
            hudson.util.IOException2: Invalid directory name D:\.jenkins\jobs\configuration.test\builds\1
            at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332)
            at hudson.model.Run.<init>(Run.java:278)
            at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179)
            at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:54)
            at hudson.maven.MavenModuleSetBuild.<init>(MavenModuleSetBuild.java:135)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1078)
            at hudson.model.AbstractProject$1.create(AbstractProject.java:277)
            at hudson.model.AbstractProject$1.create(AbstractProject.java:275)
            at hudson.model.RunMap.retrieve(RunMap.java:220)
            at hudson.model.RunMap.retrieve(RunMap.java:59)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:297)
            at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1015)
            at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:139)
            at hudson.model.Job.getLastSuccessfulBuild(Job.java:765)
            at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:185)
            at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:365)
            at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:682)
            at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:361)
            at hudson.model.AbstractProject.onLoad(AbstractProject.java:301)
            at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:667)
            at hudson.model.Items.load(Items.java:221)
            at jenkins.model.Jenkins$17.run(Jenkins.java:2507)
            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:883)
            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(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
            Caused by: java.text.ParseException: Unparseable date: "1"
            at java.text.DateFormat.parse(Unknown Source)
            at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330)
            ... 38 more

            Show
            marc_swingler Marc Swingler added a comment - Tried adding this as an attachment without luck. Logged from version 1.490 Nov 15, 2012 1:11:46 AM hudson.model.RunMap retrieve WARNING: could not load D:\.jenkins\jobs\configuration.test\builds\1 hudson.util.IOException2: Invalid directory name D:\.jenkins\jobs\configuration.test\builds\1 at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332) at hudson.model.Run.<init>(Run.java:278) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179) at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:54) at hudson.maven.MavenModuleSetBuild.<init>(MavenModuleSetBuild.java:135) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1078) at hudson.model.AbstractProject$1.create(AbstractProject.java:277) at hudson.model.AbstractProject$1.create(AbstractProject.java:275) at hudson.model.RunMap.retrieve(RunMap.java:220) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355) at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:297) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1015) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:139) at hudson.model.Job.getLastSuccessfulBuild(Job.java:765) at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:185) at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:365) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:682) at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:361) at hudson.model.AbstractProject.onLoad(AbstractProject.java:301) at hudson.maven.MavenModuleSet.onLoad(MavenModuleSet.java:667) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2507) 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:883) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.text.ParseException: Unparseable date: "1" at java.text.DateFormat.parse(Unknown Source) at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330) ... 38 more
            Hide
            trbaker Trevor Baker added a comment -

            This is a critical issue wreaking havoc on our build system!

            Show
            trbaker Trevor Baker added a comment - This is a critical issue wreaking havoc on our build system!
            Hide
            lukerobertson Luke Robertson added a comment -

            Have you recently tried running Jenkins under Java 7 and then switched back to Java 6 or less? I experienced this issue where after a trial period under Java 7, switching back caused the build number shortcut folders to cause this exception.

            I managed to workaround this by just removing the shortcut folders which didnt impact the load up of the jobs.

            Show
            lukerobertson Luke Robertson added a comment - Have you recently tried running Jenkins under Java 7 and then switched back to Java 6 or less? I experienced this issue where after a trial period under Java 7, switching back caused the build number shortcut folders to cause this exception. I managed to workaround this by just removing the shortcut folders which didnt impact the load up of the jobs.
            Hide
            hx_unbanned Linards L added a comment -

            Same here on v1.494.

            Show
            hx_unbanned Linards L added a comment - Same here on v1.494.
            Hide
            schlegel_m Markus Schlegel added a comment -

            Same here, but the symlink-folders are not old ones, they have been created by the actual installed release, 1.488:
            Dec 19, 2012 7:46:19 AM hudson.model.RunMap retrieve
            WARNING: could not load D:\hudson_home\jobs\65_BuildInstaller\builds\4
            hudson.util.IOException2: Invalid directory name D:\hudson_home\jobs\65_BuildInstaller\builds\4
            at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332)
            at hudson.model.Run.<init>(Run.java:278)
            at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179)
            at hudson.model.Build.<init>(Build.java:103)
            at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41)
            at sun.reflect.GeneratedConstructorAccessor426.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061)
            at hudson.model.AbstractProject$1.create(AbstractProject.java:275)
            at hudson.model.AbstractProject$1.create(AbstractProject.java:273)
            at hudson.model.RunMap.retrieve(RunMap.java:220)
            at hudson.model.RunMap.retrieve(RunMap.java:59)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:297)
            at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:998)
            at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:137)
            at hudson.model.Job.getIconColor(Job.java:855)
            at hudson.model.AbstractProject.getIconColor(AbstractProject.java:654)
            at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
            at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
            at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
            at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
            at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
            at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
            at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
            at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
            at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
            at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:58)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
            at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
            at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
            at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
            at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
            at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
            at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:283)
            at org.kohsuke.stapler.jelly.groovy.Namespace$ProxyImpl.invoke(Namespace.java:92)
            at $Proxy37.projectView(Unknown Source)
            at lib.JenkinsTagLib$projectView.call(Unknown Source)
            at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
            at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
            at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
            at hudson.model.View.main.run(main.groovy:14)
            at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:66)
            at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:59)
            at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
            at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
            at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
            at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
            at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
            at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
            at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
            at org.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44)
            ...
            Caused by: java.text.ParseException: Unparseable date: "4"
            at java.text.DateFormat.parse(DateFormat.java:357)
            at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330)
            ... 161 more

            running with java 1.7.0_09, x64

            Show
            schlegel_m Markus Schlegel added a comment - Same here, but the symlink-folders are not old ones, they have been created by the actual installed release, 1.488: Dec 19, 2012 7:46:19 AM hudson.model.RunMap retrieve WARNING: could not load D:\hudson_home\jobs\65_BuildInstaller\builds\4 hudson.util.IOException2: Invalid directory name D:\hudson_home\jobs\65_BuildInstaller\builds\4 at hudson.model.Run.parseTimestampFromBuildDir(Run.java:332) at hudson.model.Run.<init>(Run.java:278) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:179) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.GeneratedConstructorAccessor426.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061) at hudson.model.AbstractProject$1.create(AbstractProject.java:275) at hudson.model.AbstractProject$1.create(AbstractProject.java:273) at hudson.model.RunMap.retrieve(RunMap.java:220) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:601) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:344) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:502) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:355) at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:297) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:998) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:137) at hudson.model.Job.getIconColor(Job.java:855) at hudson.model.AbstractProject.getIconColor(AbstractProject.java:654) at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:58) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:283) at org.kohsuke.stapler.jelly.groovy.Namespace$ProxyImpl.invoke(Namespace.java:92) at $Proxy37.projectView(Unknown Source) at lib.JenkinsTagLib$projectView.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at hudson.model.View.main.run(main.groovy:14) at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:66) at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:59) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119) at org.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44) ... Caused by: java.text.ParseException: Unparseable date: "4" at java.text.DateFormat.parse(DateFormat.java:357) at hudson.model.Run.parseTimestampFromBuildDir(Run.java:330) ... 161 more running with java 1.7.0_09, x64
            Hide
            orrc Christopher Orr added a comment - - edited

            I believe I saw this too in the logs while debugging an issue a few weeks ago.

            But it doesn't actually cause any problems, does it? All the builds are still visible in Jenkins, right?

            Edit: Apparently I failed at fully reading the original post. But I'm sure I saw this on OS X, but didn't see any problems. Just that Jenkins was parsing the symlinked target directory names (i.e. the build number) as a date, then failing; the symlinks themselves (i.e. the datetime) seemed to be parsed and the builds appeared as normal.

            Show
            orrc Christopher Orr added a comment - - edited I believe I saw this too in the logs while debugging an issue a few weeks ago. But it doesn't actually cause any problems, does it? All the builds are still visible in Jenkins, right? Edit : Apparently I failed at fully reading the original post. But I'm sure I saw this on OS X, but didn't see any problems. Just that Jenkins was parsing the symlinked target directory names (i.e. the build number) as a date, then failing; the symlinks themselves (i.e. the datetime) seemed to be parsed and the builds appeared as normal.
            Hide
            aleksas aleksas added a comment -

            Same here 1.492

            Show
            aleksas aleksas added a comment - Same here 1.492
            Hide
            aleksas aleksas added a comment - - edited

            The issue is with the File.getCanonicalFile() function. It doesn't resolve the original directory name from NTFS symlink.

            UPDATED:
            "java.hudson.Util.resolveSymlink(File)" should be used instead of "File.getCanonicalFile()".

            To see the code look here: function parseTimestampFromBuildDir in https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Run.java .

            To test the problem one can compile (jdk1.7) and run code below (change "./294" to appropriate symlink path)
            To create directory symlink on windows Vista/7/2008 run command: mklink /D symlinkname targetdirpath (e.g. mklink /D win "C:\Windows")

            MainClass.java code:

            import java.io.File;
            import java.nio.file.Path;
            import java.nio.file.Files;
            import java.io.IOException;

            public class MainClass {
            public static void main(String [] args) {
            File file = new File("./294");
            try

            { if(file.isDirectory()) System.out.print("Dir "); else System.out.print("File "); if(Files.isSymbolicLink(file.toPath())) System.out.print("Symlink "); System.out.println(file.getAbsolutePath()); System.out.println(file.getCanonicalFile().getName()); System.out.println(file.getCanonicalFile().getAbsolutePath()); }

            catch (IOException e)

            { e.printStackTrace(); }

            }
            }

            Show
            aleksas aleksas added a comment - - edited The issue is with the File.getCanonicalFile() function. It doesn't resolve the original directory name from NTFS symlink. UPDATED: "java.hudson.Util.resolveSymlink(File)" should be used instead of "File.getCanonicalFile()". To see the code look here: function parseTimestampFromBuildDir in https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Run.java . To test the problem one can compile (jdk1.7) and run code below (change "./294" to appropriate symlink path) To create directory symlink on windows Vista/7/2008 run command: mklink /D symlinkname targetdirpath (e.g. mklink /D win "C:\Windows") MainClass.java code: import java.io.File; import java.nio.file.Path; import java.nio.file.Files; import java.io.IOException; public class MainClass { public static void main(String [] args) { File file = new File("./294"); try { if(file.isDirectory()) System.out.print("Dir "); else System.out.print("File "); if(Files.isSymbolicLink(file.toPath())) System.out.print("Symlink "); System.out.println(file.getAbsolutePath()); System.out.println(file.getCanonicalFile().getName()); System.out.println(file.getCanonicalFile().getAbsolutePath()); } catch (IOException e) { e.printStackTrace(); } } }
            Hide
            josesa Jose Sa added a comment -

            Im using Solaris 10 Sparc and also have the same problem, so it is not NTFS specific.

            Show
            josesa Jose Sa added a comment - Im using Solaris 10 Sparc and also have the same problem, so it is not NTFS specific.
            Show
            jglick Jesse Glick added a comment - https://github.com/jenkinsci/jenkins/pull/675
            Hide
            raydebs Ray Debs added a comment -

            I am seeing the same problem. I am using Java 1.2.0_04-b22 on a Windows Server 2008. Running Jenkins 1.487.

            Hoping someone will fix this. It is a problem.

            Show
            raydebs Ray Debs added a comment - I am seeing the same problem. I am using Java 1.2.0_04-b22 on a Windows Server 2008. Running Jenkins 1.487. Hoping someone will fix this. It is a problem.
            Hide
            josesa Jose Sa added a comment -

            I had to do some forced updated yesterday and run into this issue in RHEL6 hosts, so I've investigated further in the filesystem.

            It turned out that there were actually some folders named like build numbers instead of dates. They must have started as normal symbolic link pointing to directory with date, but they weren't anymore.

            Here is how you can do a search for those problematic directories in linux/cygwin using bash:

            find $JENKINS_HOME/jobs -type d | egrep ".*/builds/[0-9]+$"
            

            One hypothesis for this happening could be that when "moving" jobs between servers the symbolic links were not retained properly.

            If you don't need those specific builds, the easiest way is probably to just delete those folders and retry the upgrade.

            Show
            josesa Jose Sa added a comment - I had to do some forced updated yesterday and run into this issue in RHEL6 hosts, so I've investigated further in the filesystem. It turned out that there were actually some folders named like build numbers instead of dates. They must have started as normal symbolic link pointing to directory with date, but they weren't anymore. Here is how you can do a search for those problematic directories in linux/cygwin using bash: find $JENKINS_HOME/jobs -type d | egrep ".*/builds/[0-9]+$" One hypothesis for this happening could be that when "moving" jobs between servers the symbolic links were not retained properly. If you don't need those specific builds, the easiest way is probably to just delete those folders and retry the upgrade.
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            File.getCanonicalFile() do not resolve symlinks on Windows, and this was causing the problem when lazy loading kicks in on Windows with symlinks enabled. We fixed this toward 1.507 through pull request #675.

            I'm closing this ticket since I consider this ticket to be about this specific unexpected interaction between Windows symlinks and lazy loading.

            For those of you who are seeing this problem on Unix, please check the comment from Jose Sa above, and if necessary please open a separate ticket. Please do not re-open this ticket unless you are seeing this problem on Windows post 1.507.

            Show
            kohsuke Kohsuke Kawaguchi added a comment - File.getCanonicalFile() do not resolve symlinks on Windows, and this was causing the problem when lazy loading kicks in on Windows with symlinks enabled. We fixed this toward 1.507 through pull request #675. I'm closing this ticket since I consider this ticket to be about this specific unexpected interaction between Windows symlinks and lazy loading. For those of you who are seeing this problem on Unix, please check the comment from Jose Sa above, and if necessary please open a separate ticket. Please do not re-open this ticket unless you are seeing this problem on Windows post 1.507.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Aleksas
            Path:
            core/src/main/java/hudson/model/Run.java
            http://jenkins-ci.org/commit/jenkins/3d850711bb1a31f11c4309bd798200fbc5410764
            Log:
            Update core/src/main/java/hudson/model/Run.java

            Handling NTFS symlinks introduced via Util.resolveSymlink.
            JENKINS-15587
            Also probably culprit for JENKINS-13972

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Aleksas Path: core/src/main/java/hudson/model/Run.java http://jenkins-ci.org/commit/jenkins/3d850711bb1a31f11c4309bd798200fbc5410764 Log: Update core/src/main/java/hudson/model/Run.java Handling NTFS symlinks introduced via Util.resolveSymlink. JENKINS-15587 Also probably culprit for  JENKINS-13972
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Aleksas Pielikis
            Path:
            core/src/test/java/hudson/model/RunTest.java
            http://jenkins-ci.org/commit/jenkins/548503c45aab1c71ca40e7aec378831d62a60f43
            Log:
            Update core/src/test/java/hudson/model/RunTest.java

            Added testParseTimestampFromBuildDir to deal with JENKINS-15587.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Aleksas Pielikis Path: core/src/test/java/hudson/model/RunTest.java http://jenkins-ci.org/commit/jenkins/548503c45aab1c71ca40e7aec378831d62a60f43 Log: Update core/src/test/java/hudson/model/RunTest.java Added testParseTimestampFromBuildDir to deal with  JENKINS-15587 .
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            changelog.html
            core/src/main/java/hudson/Util.java
            core/src/main/java/hudson/model/Run.java
            core/src/test/java/hudson/model/RunTest.java
            http://jenkins-ci.org/commit/jenkins/28bf5d80026802e399dbb7e9aea02558e37669a4
            Log:
            [FIXED JENKINS-15587]

            The actual fix was in the pull request #675.

            Compare: https://github.com/jenkinsci/jenkins/compare/f7c9e810605e...28bf5d800268


            You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
            For more options, visit https://groups.google.com/groups/opt_out.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/Util.java core/src/main/java/hudson/model/Run.java core/src/test/java/hudson/model/RunTest.java http://jenkins-ci.org/commit/jenkins/28bf5d80026802e399dbb7e9aea02558e37669a4 Log: [FIXED JENKINS-15587] The actual fix was in the pull request #675. Compare: https://github.com/jenkinsci/jenkins/compare/f7c9e810605e...28bf5d800268 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
            Hide
            dewildt Daniel de Wildt added a comment -

            It Looks like this patch is the reason for the regression JENKINS-17343

            https://issues.jenkins-ci.org/browse/JENKINS-17343

            Show
            dewildt Daniel de Wildt added a comment - It Looks like this patch is the reason for the regression JENKINS-17343 https://issues.jenkins-ci.org/browse/JENKINS-17343
            Hide
            westhusing Adam Westhusing added a comment -

            I didn't have these exceptions occurring in my Jenkins instance until I upgraded from 1.506 to 1.509. Now these occur all the time, specifically with some of the projects I've created since upgrading.

            Show
            westhusing Adam Westhusing added a comment - I didn't have these exceptions occurring in my Jenkins instance until I upgraded from 1.506 to 1.509. Now these occur all the time, specifically with some of the projects I've created since upgrading.
            Hide
            josesa Jose Sa added a comment -

            Check the scripts I've added in JENKINS-17265 which may help you detect and cleanup those kind of situations.

            Show
            josesa Jose Sa added a comment - Check the scripts I've added in JENKINS-17265 which may help you detect and cleanup those kind of situations.
            Hide
            andrewk Andrew Kujtan added a comment -

            I'm still having this issue on 1.512 win7x64,

            WARNING: could not load D:\jenkins\jobs\Job1\builds\851
            hudson.util.IOException2: Invalid directory name D:\jenkins\jobs\Job1\builds\851
            	at hudson.model.Run.parseTimestampFromBuildDir(Run.java:354)
            	at hudson.model.Run.<init>(Run.java:294)
            	at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182)
            	at hudson.model.Build.<init>(Build.java:103)
            	at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41)
            	at sun.reflect.GeneratedConstructorAccessor47.newInstance(Unknown Source)
            	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            	at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1122)
            	at hudson.model.AbstractProject$1.create(AbstractProject.java:319)
            	at hudson.model.AbstractProject$1.create(AbstractProject.java:317)
            	at hudson.model.RunMap.retrieve(RunMap.java:225)
            	at hudson.model.RunMap.retrieve(RunMap.java:59)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:667)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:629)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:368)
            	at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:220)
            	at hudson.tasks.Fingerprinter$FingerprintAction.onLoad(Fingerprinter.java:354)
            	at hudson.model.Run.onLoad(Run.java:319)
            	at hudson.model.RunMap.retrieve(RunMap.java:226)
            	at hudson.model.RunMap.retrieve(RunMap.java:59)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:667)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:650)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:456)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:526)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:379)
            	at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:321)
            	at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1059)
            	at hudson.model.AbstractProject.poll(AbstractProject.java:1425)
            	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
            	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
            	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
            	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
            	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.text.ParseException: Unparseable date: "851"
            	at java.text.DateFormat.parse(DateFormat.java:337)
            	at hudson.model.Run.parseTimestampFromBuildDir(Run.java:352)
            	... 37 more
            
            Show
            andrewk Andrew Kujtan added a comment - I'm still having this issue on 1.512 win7x64, WARNING: could not load D:\jenkins\jobs\Job1\builds\851 hudson.util.IOException2: Invalid directory name D:\jenkins\jobs\Job1\builds\851 at hudson.model.Run.parseTimestampFromBuildDir(Run.java:354) at hudson.model.Run.<init>(Run.java:294) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.GeneratedConstructorAccessor47.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1122) at hudson.model.AbstractProject$1.create(AbstractProject.java:319) at hudson.model.AbstractProject$1.create(AbstractProject.java:317) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:667) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:629) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:368) at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:220) at hudson.tasks.Fingerprinter$FingerprintAction.onLoad(Fingerprinter.java:354) at hudson.model.Run.onLoad(Run.java:319) at hudson.model.RunMap.retrieve(RunMap.java:226) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:667) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:650) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:456) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:526) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:379) at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:321) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1059) at hudson.model.AbstractProject.poll(AbstractProject.java:1425) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 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.text.ParseException: Unparseable date: "851" at java.text.DateFormat.parse(DateFormat.java:337) at hudson.model.Run.parseTimestampFromBuildDir(Run.java:352) ... 37 more
            Hide
            trunks023 Liu Ou added a comment -

            I'm still having this issue on 1.512 win7x64 with a maven project..

            2013-4-22 22:51:06 hudson.model.RunMap retrieve
            警告: could not load D:\jenkins\jobs\TestNGMavenCI\builds\29
            hudson.util.IOException2: Invalid directory name D:\jenkins\jobs\TestNGMavenCI\builds\29
            at hudson.model.Run.parseTimestampFromBuildDir(Run.java:354)
            at hudson.model.Run.<init>(Run.java:294)
            at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182)
            at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:54)
            at hudson.maven.MavenModuleSetBuild.<init>(MavenModuleSetBuild.java:135)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1122)
            at hudson.model.AbstractProject$1.create(AbstractProject.java:319)
            at hudson.model.AbstractProject$1.create(AbstractProject.java:317)
            at hudson.model.RunMap.retrieve(RunMap.java:225)
            at hudson.model.RunMap.retrieve(RunMap.java:59)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:667)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:629)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:368)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:526)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:379)
            at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:321)
            at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1059)
            at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184)
            at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:448)

            Show
            trunks023 Liu Ou added a comment - I'm still having this issue on 1.512 win7x64 with a maven project.. 2013-4-22 22:51:06 hudson.model.RunMap retrieve 警告: could not load D:\jenkins\jobs\TestNGMavenCI\builds\29 hudson.util.IOException2: Invalid directory name D:\jenkins\jobs\TestNGMavenCI\builds\29 at hudson.model.Run.parseTimestampFromBuildDir(Run.java:354) at hudson.model.Run.<init>(Run.java:294) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182) at hudson.maven.AbstractMavenBuild.<init>(AbstractMavenBuild.java:54) at hudson.maven.MavenModuleSetBuild.<init>(MavenModuleSetBuild.java:135) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1122) at hudson.model.AbstractProject$1.create(AbstractProject.java:319) at hudson.model.AbstractProject$1.create(AbstractProject.java:317) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:667) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:629) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:368) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:526) at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:379) at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:321) at hudson.model.AbstractProject.getLastBuild(AbstractProject.java:1059) at hudson.maven.AbstractMavenProject.createTransientActions(AbstractMavenProject.java:184) at hudson.maven.MavenModuleSet.createTransientActions(MavenModuleSet.java:448)
            Hide
            drobilla David Robillard added a comment -

            Same issue here.

            OS : Windows Server 2008 R2 Standard Service Pack 1 with latest patches (as of April 30th, 2013)
            JDK : Java version 1.6.0_43
            Jenkins : 1.513

            Same exact stack trace as the ones in this issue.

            Let me know if I can help debug this issue?

            Thanks,

            David

            Show
            drobilla David Robillard added a comment - Same issue here. OS : Windows Server 2008 R2 Standard Service Pack 1 with latest patches (as of April 30th, 2013) JDK : Java version 1.6.0_43 Jenkins : 1.513 Same exact stack trace as the ones in this issue. Let me know if I can help debug this issue? Thanks, David
            Hide
            redsolo redsolo added a comment - - edited

            Im seeing this problem also after I have upgraded to the latest version of Jenkins, not sure if it was the upgrade of the Jenkins Windows Service or if it was the Jenkins.war that provoked this. Downgraded to 1.510 and it did not help

            OS : Windows Server 2008 R2 Standard Service Pack 1
            JDK : Java version 1.6.0_43
            Jenkins : 1.518

            The service does not respond, it only spams the error log with an exception for each folder.

            Show
            redsolo redsolo added a comment - - edited Im seeing this problem also after I have upgraded to the latest version of Jenkins, not sure if it was the upgrade of the Jenkins Windows Service or if it was the Jenkins.war that provoked this. Downgraded to 1.510 and it did not help OS : Windows Server 2008 R2 Standard Service Pack 1 JDK : Java version 1.6.0_43 Jenkins : 1.518 The service does not respond, it only spams the error log with an exception for each folder.
            Hide
            mdkf Michael Fowler added a comment -

            Experiencing the issue on Win 2k8 R2 x64 and LTS 1.509.1

            Show
            mdkf Michael Fowler added a comment - Experiencing the issue on Win 2k8 R2 x64 and LTS 1.509.1
            Hide
            ramicenzic Rami Cohen added a comment -

            I have Jenkins 1.515 running on Windows 7 64-bit and Java 1.7.0_17. I see many instances of this error in my log file and it constantly breaks my job chains. I checked the C:\Program Files (x86)\Jenkins\jobs\<job name>\builds folder and noticed that for each job there is a folder with a name formatted like a date (like 2013-05-24_10-59-49) which contains the actual build data and a shortcut to that folder named after the build number. It looks like the parser is trying to parse the shortcut name instead of the folder name.

            How soon can this be fixed?

            Show
            ramicenzic Rami Cohen added a comment - I have Jenkins 1.515 running on Windows 7 64-bit and Java 1.7.0_17. I see many instances of this error in my log file and it constantly breaks my job chains. I checked the C:\Program Files (x86)\Jenkins\jobs\<job name>\builds folder and noticed that for each job there is a folder with a name formatted like a date (like 2013-05-24_10-59-49) which contains the actual build data and a shortcut to that folder named after the build number. It looks like the parser is trying to parse the shortcut name instead of the folder name. How soon can this be fixed?
            Hide
            jglick Jesse Glick added a comment -

            Recent commenters: yes there should be some directories with timestamps as names, and some numeric shortcuts pointing to those directories. Jenkins tries two different ways to follow the shortcut to the directory name, so that it parses the timestamp out of the real directory name, but apparently on some Windows systems both ways are failing and we do not know why. If you can reproduce, please check (1) what hudson.Util.resolveSymlinkToFile says when given the path to the shortcut; (2) what java.io.File.getCanonicalFile says. Also include a dir listing of builds.

            Show
            jglick Jesse Glick added a comment - Recent commenters: yes there should be some directories with timestamps as names, and some numeric shortcuts pointing to those directories. Jenkins tries two different ways to follow the shortcut to the directory name, so that it parses the timestamp out of the real directory name, but apparently on some Windows systems both ways are failing and we do not know why. If you can reproduce, please check (1) what hudson.Util.resolveSymlinkToFile says when given the path to the shortcut; (2) what java.io.File.getCanonicalFile says. Also include a dir listing of builds .
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2566
            JENKINS-15587 Diagnostics. (Revision eff5635b75a63a536f8ad24231b3eba3cbc4b63e)

            Result = SUCCESS
            Jesse Glick : eff5635b75a63a536f8ad24231b3eba3cbc4b63e
            Files :

            • core/src/main/java/hudson/model/Run.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2566 JENKINS-15587 Diagnostics. (Revision eff5635b75a63a536f8ad24231b3eba3cbc4b63e) Result = SUCCESS Jesse Glick : eff5635b75a63a536f8ad24231b3eba3cbc4b63e Files : core/src/main/java/hudson/model/Run.java
            Hide
            ramicenzic Rami Cohen added a comment -

            I figured out and fixed the issue. What I didn't realize before was that Jenkins does not use the JRE 1.7 I installed on the machine, it uses its own copy (at least by default) which is located under C:\Program Files (x86)\Jenkins\jre and that was JRE 1.6. The function required for converting a symbolic link to real folder name was introduced in JRE 1.7 and the Jenkins code skips the call to this function in hudson.Util.resolveSymlinkToFile if the function is not defined, hence the issue.

            To fix this, I simply upgraded the Jenkins JRE to the latest 1.7 update.

            It looks like the latest Jenkins installer (1.516) contains JRE 1.7.21 but that does not help existing installations where the only updated file is jenkins.war. Maybe add a note to the change log every time you ship a new JRE version to let people know they should do the same?

            Show
            ramicenzic Rami Cohen added a comment - I figured out and fixed the issue. What I didn't realize before was that Jenkins does not use the JRE 1.7 I installed on the machine, it uses its own copy (at least by default) which is located under C:\Program Files (x86)\Jenkins\jre and that was JRE 1.6. The function required for converting a symbolic link to real folder name was introduced in JRE 1.7 and the Jenkins code skips the call to this function in hudson.Util.resolveSymlinkToFile if the function is not defined, hence the issue. To fix this, I simply upgraded the Jenkins JRE to the latest 1.7 update. It looks like the latest Jenkins installer (1.516) contains JRE 1.7.21 but that does not help existing installations where the only updated file is jenkins.war. Maybe add a note to the change log every time you ship a new JRE version to let people know they should do the same?
            Hide
            jglick Jesse Glick added a comment -

            It seems that kohsuke’s f8014d974c6eb9f30098851bd7eeeec1edd1928f was overly optimistic; while in Java 7 Path.toRealPath correctly follows Windows symlinks, File.getCanonicalFile does not. That means that it is normal on Windows when using Java 6 for existing build records using symlinks (e.g. created when Jenkins was running on Java 7?) to display this error. The questions are

            1. Why this is seen as a fatal error. Code up the call stack should catch the exception, print it, and ignore it, continuing the load the actual build directories.

            2. How Jenkins running on Windows on Java 6 can safely ignore links. Maybe it should just quietly ignore anything named lastSomething or a number, without trying to determine if it is a link or not; and only report one-line warnings for directory entries with other (unexpected) names.

            Show
            jglick Jesse Glick added a comment - It seems that kohsuke’s f8014d974c6eb9f30098851bd7eeeec1edd1928f was overly optimistic; while in Java 7 Path.toRealPath correctly follows Windows symlinks, File.getCanonicalFile does not. That means that it is normal on Windows when using Java 6 for existing build records using symlinks (e.g. created when Jenkins was running on Java 7?) to display this error. The questions are 1. Why this is seen as a fatal error. Code up the call stack should catch the exception, print it, and ignore it, continuing the load the actual build directories. 2. How Jenkins running on Windows on Java 6 can safely ignore links. Maybe it should just quietly ignore anything named lastSomething or a number, without trying to determine if it is a link or not; and only report one-line warnings for directory entries with other (unexpected) names.
            Hide
            jglick Jesse Glick added a comment -

            @ramicenzic: yes it is preferable to run Jenkins on Java 7 rather than 6, but we support 6 (and even 5).

            Show
            jglick Jesse Glick added a comment - @ramicenzic: yes it is preferable to run Jenkins on Java 7 rather than 6, but we support 6 (and even 5).
            Hide
            jglick Jesse Glick added a comment -

            @lukerobertson I can reproduce under the conditions you mention: running on 7, doing some builds, then running on 6. But as with @orrc, I do not see any builds actually missing—just an unnecessary warning.

            Show
            jglick Jesse Glick added a comment - @lukerobertson I can reproduce under the conditions you mention: running on 7, doing some builds, then running on 6. But as with @orrc, I do not see any builds actually missing—just an unnecessary warning.
            Hide
            jglick Jesse Glick added a comment -

            Actually running on Java 7 may not be necessary; Kernel32Utils has implementations for Util.isSymlink and .createSymlink, but not resolveSymlink. This means that build symlinks will be created but cannot be read back in by the same process, meaning lazy-load shortcuts do not work. Not sure if this is working fixing just for Windows users on Java 6.

            Show
            jglick Jesse Glick added a comment - Actually running on Java 7 may not be necessary; Kernel32Utils has implementations for Util.isSymlink and .createSymlink , but not resolveSymlink . This means that build symlinks will be created but cannot be read back in by the same process, meaning lazy-load shortcuts do not work. Not sure if this is working fixing just for Windows users on Java 6.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2573
            [FIXED JENKINS-15587] Do not issue a warning about unparsable build timestamps if it is just a number, i.e. failed symlink. (Revision 06b92a49bf80debd4d9f2d334049d790d46c6081)

            Result = SUCCESS
            Jesse Glick : 06b92a49bf80debd4d9f2d334049d790d46c6081
            Files :

            • core/src/main/java/hudson/model/Run.java
            • core/src/main/java/hudson/model/RunMap.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2573 [FIXED JENKINS-15587] Do not issue a warning about unparsable build timestamps if it is just a number, i.e. failed symlink. (Revision 06b92a49bf80debd4d9f2d334049d790d46c6081) Result = SUCCESS Jesse Glick : 06b92a49bf80debd4d9f2d334049d790d46c6081 Files : core/src/main/java/hudson/model/Run.java core/src/main/java/hudson/model/RunMap.java
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2574
            JENKINS-15587 Noting. (Revision f67c3dde20248404643598caa87a88315f8effbd)

            Result = SUCCESS
            Jesse Glick : f67c3dde20248404643598caa87a88315f8effbd
            Files :

            • changelog.html
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2574 JENKINS-15587 Noting. (Revision f67c3dde20248404643598caa87a88315f8effbd) Result = SUCCESS Jesse Glick : f67c3dde20248404643598caa87a88315f8effbd Files : changelog.html
            Hide
            jk Jan Klass added a comment -

            Is the last fix 06b92a going to be merged into the 509 LTS versions?

            I am currently on 1.509.2 LTS and get said Warning.

            Do I understand this correctly that this is a warning I can safely ignore? Jenkins will work just like without this warning?
            (I verified the warnings are when trying to parse the buildnumber links.)

            Show
            jk Jan Klass added a comment - Is the last fix 06b92a going to be merged into the 509 LTS versions? I am currently on 1.509.2 LTS and get said Warning. Do I understand this correctly that this is a warning I can safely ignore? Jenkins will work just like without this warning? (I verified the warnings are when trying to parse the buildnumber links.)
            Hide
            jk Jan Klass added a comment -

            Oh I see this issue was tagged 1.509.3-fixed.
            I will just have to wait for the next LTS release then I guess.

            Show
            jk Jan Klass added a comment - Oh I see this issue was tagged 1.509.3-fixed. I will just have to wait for the next LTS release then I guess.

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              cyril_jean Cyril Jean
              Votes:
              30 Vote for this issue
              Watchers:
              55 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: