Community
Participate
Working Groups
Note: This is not reproducible. - Server with team authorization enabled and 2-3 teams. - Add cascading jobs to one of the teams with build triggers (build every minute) set in the parent job - Run CLI copy-team command and copy to a new team - In the UI, login as sysadmin and check that new team is created successfully and that the jobs have been copied over along with the cascading properties etc. - Restart server. Following exception in console: java.io.FileNotFoundException: C:\Users\lamujuri.ST-USERS\.hudson\teams\TeamIDEQA\jobs\TeamIDEQA.BuildParent\builds\2013-11-20_14-37-53\build.xml (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at hudson.XmlFile.unmarshal(XmlFile.java:134) at hudson.model.Run.<init>(Run.java:265) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:207) at hudson.model.Build.<init>(Build.java:92) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:39) at sun.reflect.GeneratedConstructorAccessor90.newInstance(Unknown Source ) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1271) at hudson.model.AbstractProject$1.create(AbstractProject.java:331) at hudson.model.AbstractProject$1.create(AbstractProject.java:329) at hudson.model.RunMap$LazyRunValueCache$1.load(RunMap.java:755) at hudson.model.RunMap$LazyRunValueCache$1.load(RunMap.java:749) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(L ocalCache.java:3599) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2 379) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache .java:2342) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257) at com.google.common.cache.LocalCache.get(LocalCache.java:4000) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.j ava:4874) at hudson.model.RunMap$LazyRunValueCache.get(RunMap.java:772) at hudson.model.RunMap$LazyRunValueCache.access$1900(RunMap.java:736) at hudson.model.RunMap$LazyRunValue.getBuild(RunMap.java:1538) at hudson.model.RunMap$6.apply(RunMap.java:1733) at hudson.model.RunMap$6.apply(RunMap.java:1729) at com.google.common.collect.Maps$6.transformEntry(Maps.java:1562) at com.google.common.collect.Maps$TransformedEntriesMap$1$1$1.getValue(M aps.java:1850) at com.google.common.collect.Maps$8.transform(Maps.java:3688) at com.google.common.collect.Maps$8.transform(Maps.java:3685) at com.google.common.collect.TransformedIterator.next(TransformedIterato r.java:48) at java.util.AbstractCollection.toArray(AbstractCollection.java:141) at java.util.ArrayList.<init>(ArrayList.java:164) at hudson.util.AbstractRunList.<init>(AbstractRunList.java:27) at hudson.util.RunList.<init>(RunList.java:79) at hudson.util.RunList.fromRuns(RunList.java:83) at hudson.model.Job.getBuilds(Job.java:1032) at hudson.tasks.LogRotator.perform(LogRotator.java:108) at hudson.model.Job.logRotate(Job.java:713) at hudson.model.Run.run(Run.java:1520) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run(Executor.java:137) Nov 20, 2013 2:50:13 PM hudson.model.Run <init> SEVERE: Unable to load Run object. java.io.FileNotFoundException: C:\Users\lamujuri.ST-USERS\.hudson\teams\TeamIDEQ A\jobs\TeamIDEQA.BuildParent\builds\2013-11-20_14-36-44\build.xml (The system ca nnot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at hudson.XmlFile.unmarshal(XmlFile.java:134) at hudson.model.Run.<init>(Run.java:265) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:207) at hudson.model.Build.<init>(Build.java:92) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:39) at sun.reflect.GeneratedConstructorAccessor90.newInstance(Unknown Source ) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1271) at hudson.model.AbstractProject$1.create(AbstractProject.java:331) at hudson.model.AbstractProject$1.create(AbstractProject.java:329) at hudson.model.RunMap$LazyRunValueCache$1.load(RunMap.java:755) at hudson.model.RunMap$LazyRunValueCache$1.load(RunMap.java:749) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(L ocalCache.java:3599) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2 379) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache .java:2342) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257) at com.google.common.cache.LocalCache.get(LocalCache.java:4000) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.j ava:4874) at hudson.model.RunMap$LazyRunValueCache.get(RunMap.java:772) at hudson.model.RunMap$LazyRunValueCache.access$1900(RunMap.java:736) at hudson.model.RunMap$LazyRunValue.getBuild(RunMap.java:1538) at hudson.model.RunMap$6.apply(RunMap.java:1733) at hudson.model.RunMap$6.apply(RunMap.java:1729) at com.google.common.collect.Maps$6.transformEntry(Maps.java:1562) at com.google.common.collect.Maps$TransformedEntriesMap$1$1$1.getValue(M aps.java:1850) at com.google.common.collect.Maps$8.transform(Maps.java:3688) at com.google.common.collect.Maps$8.transform(Maps.java:3685) at com.google.common.collect.TransformedIterator.next(TransformedIterato r.java:48) at java.util.AbstractCollection.toArray(AbstractCollection.java:141) at java.util.ArrayList.<init>(ArrayList.java:164) at hudson.util.AbstractRunList.<init>(AbstractRunList.java:27) at hudson.util.RunList.<init>(RunList.java:79) at hudson.util.RunList.fromRuns(RunList.java:83) at hudson.model.Job.getBuilds(Job.java:1032) at hudson.tasks.LogRotator.perform(LogRotator.java:108) at hudson.model.Job.logRotate(Job.java:713) at hudson.model.Run.run(Run.java:1520) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run(Executor.java:137)
BTW, this could be informational message also. If it stops Hudson from loading a job then it is a bug. There could be a rare case when a job is started and build directory is created but the jobs terminated due to unknown reason before writing out the build.xml In that case this build should be ignored and continue to load other builds and the job.
Latha, was TeamIDEQA.BuildParent in the from team or the to team?
Bob, it was in the from team. It was copied from team IDEQA to TeamIDEQA