Issue Type: Bug Bug
Affects Versions: current
Assignee: Or Shachar
Components: dynamic-axis
Created: 17/Apr/14 8:20 AM
Description:

I have a Matrix job with dynamic axis that can run concurrently.

When triggering that job several times simultaneously with different axis, I often get this error message:

java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
at java.util.ArrayList$Itr.next(ArrayList.java:791)
at java.util.AbstractCollection.addAll(AbstractCollection.java:333)
at java.util.LinkedHashSet.<init>(LinkedHashSet.java:169)
at com.google.common.collect.Sets.newLinkedHashSet(Sets.java:284)
at hudson.matrix.MatrixProject.rebuildConfigurations(MatrixProject.java:592)
at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:345)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
at hudson.model.Run.execute(Run.java:1592)
at hudson.matrix.MatrixBuild.run(MatrixBuild.java:304)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)

I believe that the problem is with the rebuild() method that returns a pointer to a changeable list.

Environment: Jenkins 1.509.3 running on Redhat 6.3 with tomcat 7
Project: Jenkins
Labels: matrix dynamic-axis
Priority: Major Major
Reporter: Or Shachar
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to