AbstractLazyLoadRunMap bug in Jenkins 1.488

82 views
Skip to first unread message

Ben McDonie

unread,
Nov 2, 2012, 7:33:32 AM11/2/12
to jenkins...@googlegroups.com

------------------------------------------

Started by user benjamin.mcdonie

[EnvInject] - Loading node environment variables.

Building remotely on Slave1 in workspace <http://upl-24853/jenkins/job/AWSAgileClient/ws/>

Cleaning up <http://upl-24853/jenkins/job/AWSAgileClient/ws/.>

Updating https://svn.ultra-prologic.com/svn/AVizAgileClient/trunk

At revision 168

no change for https://svn.ultra-prologic.com/svn/AVizAgileClient/trunk since the previous build

ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com

java.lang.ArrayIndexOutOfBoundsException: Assertion error: failing to load #8 DESC: lo=17,hi=8,size=129,size2=129

                at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:418)

                at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:207)

                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.search(AbstractLazyLoadRunMap.java:432)

                at hudson.model.AbstractProject.getNearestOldBuild(AbstractProject.java:1008)

                at hudson.maven.MavenModuleSetBuild.getModuleLastBuilds(MavenModuleSetBuild.java:434)

                at hudson.maven.MavenModuleSetBuild.getResult(MavenModuleSetBuild.java:189)

                at hudson.tasks.ArtifactArchiver.prebuild(ArtifactArchiver.java:151)

                at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:835)

                at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:609)

                at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)

                at hudson.model.Run.execute(Run.java:1516)

                at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)

                at hudson.model.ResourceController.execute(ResourceController.java:88)

                at hudson.model.Executor.run(Executor.java:236)

project=hudson.maven.MavenModuleSet@3c6508fd[AWSAgileClient]

project.getModules()=[hudson.maven.MavenModule@43fa92be[AWSAgileClient/com.prologic:aws-agile-client][AWSAgileClient/com.prologic:aws-agile-client][relativePath:]]

project.getRootModule()=hudson.maven.MavenModule@43fa92be[AWSAgileClient/com.prologic:aws-agile-client][AWSAgileClient/com.prologic:aws-agile-client][relativePath:]

FATAL: Assertion error: failing to load #8 DESC: lo=17,hi=8,size=129,size2=129

java.lang.ArrayIndexOutOfBoundsException: Assertion error: failing to load #8 DESC: lo=17,hi=8,size=129,size2=129

                at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:418)

                at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:207)

                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.search(AbstractLazyLoadRunMap.java:432)

                at hudson.model.AbstractProject.getNearestOldBuild(AbstractProject.java:1008)

                at hudson.maven.MavenModuleSetBuild.getModuleLastBuilds(MavenModuleSetBuild.java:434)

                at hudson.maven.MavenModuleSetBuild.getResult(MavenModuleSetBuild.java:189)

                at hudson.tasks.ArtifactArchiver.prebuild(ArtifactArchiver.java:151)

                at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:835)

                at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:609)

                at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)

                at hudson.model.Run.execute(Run.java:1516)

                at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)

                at hudson.model.ResourceController.execute(ResourceController.java:88)

                at hudson.model.Executor.run(Executor.java:236)

zonybob

unread,
Nov 2, 2012, 7:42:20 AM11/2/12
to jenkins...@googlegroups.com
The only way I am able to get around this issue currently is to uncheck the following option for the Artifact Archiver:
  "Discard artifacts for all but the last successful build"

It seems to fail while trying to remove artifacts from the last build.



On Friday, November 2, 2012 7:33:36 AM UTC-4, zonybob wrote:

------------------------------------------

Started by user benjamin.mcdonie

[EnvInject] - Loading node environment variables.

Building remotely on Slave1 in workspace <http://upl-24853/jenkins/job/AWSAgileClient/ws/>

Cleaning up <http://upl-24853/jenkins/job/AWSAgileClient/ws/.>

Updating https://svn.ultra-prologic.com/svn/AVizAgileClient/trunk

At revision 168

no change for https://svn.ultra-prologic.com/svn/AVizAgileClient/trunk since the previous build

ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com

Andreas Zschorn

unread,
Nov 6, 2012, 3:28:47 AM11/6/12
to jenkins...@googlegroups.com
 
Is someone working on this issue ?  In the endeffect it completly breaks jenkins.
Can  we help analyzing it? The code for this AbstractLazyLoadRunMapis really a little bit strange and i don't want to mess with it.
Andreas

Christopher Orr

unread,
Nov 9, 2012, 8:42:27 AM11/9/12
to jenkins...@googlegroups.com
https://issues.jenkins-ci.org/browse/JENKINS-15652 looks like it's related.

So it would likely be helpful if you add this information to that bug.

Chris


On 02/11/12 12:42, zonybob wrote:
> The only way I am able to get around this issue currently is to uncheck
> the following option for the Artifact Archiver:
> "Discard artifacts for all but the last successful build"
>
> It seems to fail while trying to remove artifacts from the last build.
>
>
>
> On Friday, November 2, 2012 7:33:36 AM UTC-4, zonybob wrote:
>
> ------------------------------------------
>
> Started by user benjamin.mcdonie
>
> [EnvInject] - Loading node environment variables.
>
> Building remotely on Slave1 in workspace
> <http://upl-24853/jenkins/job/AWSAgileClient/ws/
> <http://upl-24853/jenkins/job/AWSAgileClient/ws/>>
>
> Cleaning up <http://upl-24853/jenkins/job/AWSAgileClient/ws/.
> <http://upl-24853/jenkins/job/AWSAgileClient/ws/>>
>
> Updating https://svn.ultra-prologic.com/svn/AVizAgileClient/trunk
> <https://svn.ultra-prologic.com/svn/AVizAgileClient/trunk>
>
> At revision 168
>
> no change for
> https://svn.ultra-prologic.com/svn/AVizAgileClient/trunk
> <https://svn.ultra-prologic.com/svn/AVizAgileClient/trunk> since the
> previous build
>
> ERROR: Processing failed due to a bug in the code. Please report
> this to jenkins...@googlegroups.com
> <mailto:jenkins...@googlegroups.com>
> <mailto:project=hudson.maven.MavenModuleSet@3c6508fd[AWSAgileClient>]
>
> project.getModules()=[hudson.maven.MavenModule@43fa92be[AWSAgileClient/com.prologic:aws-agile-client][AWSAgileClient/com.prologic:aws-agile-client][relativePath:]]
>
> project.getRootModule()=hudson.maven.MavenModule@43fa92be[AWSAgileClient/com.prologic:aws-agile-client][AWSAgileClient/com.prologic:aws-agile-client][relativePath
> <mailto:=hudson.maven.MavenModule@43fa92be[AWSAgileClient/com.prologic:aws-agile-client%5d%5bAWSAgileClient/com.prologic:aws-agile-client%5d%5brelativePath>:]
Reply all
Reply to author
Forward
0 new messages