It looks like some kind of serialization operation is happening to an AzureBlobAction while the individualBlobs list is being modified. We have this happening several times a day at the moment, but we have a pretty high throughput of builds which is probably related.
hudson.remoting.ProxyException: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)…
Caused: hudson.remoting.ProxyException: java.lang.RuntimeException: Failed to serialize com.microsoftopentechnologies.windowsazurestorage.AzureBlobAction#individualBlobs forclass com.microsoftopentechnologies.windowsazurestorage.AzureBlobAction
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)…
I am getting the same issue at the end of a piplene that uploads a large number of individual files to Azure Storage:
hudson.remoting.ProxyException: java.util.ConcurrentModificationException {{ at java.util.ArrayList$Itr.checkForComodification(Unknown Source)}} {{ at java.util.ArrayList$Itr.next(Unknown Source)}} {{ at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:73)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)}} {{ at com.thoughtworks.xstream.converters.reflection.SerializableConverter$1.defaultWriteObject(SerializableConverter.java:214)}} {{ at com.thoughtworks.xstream.core.util.CustomObjectOutputStream.defaultWriteObject(CustomObjectOutputStream.java:80)}} {{ at java.util.Collections$SynchronizedCollection.writeObject(Unknown Source)}} {{ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)}} {{ at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)}} {{ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)}} {{ at java.lang.reflect.Method.invoke(Unknown Source)}} {{ at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:135)}} Caused: hudson.remoting.ProxyException: com.thoughtworks.xstream.converters.ConversionException: Could not call java.util.Collections$SynchronizedList.writeObject() : null ---- Debugging information ---- message : Could not call java.util.Collections$SynchronizedList.writeObject() cause-exception : java.util.ConcurrentModificationException cause-message : null ------------------------------- {{ at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:141)}} {{ at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:259)}} {{ at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)}} {{ at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:81)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)}} {{ at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:263)}} {{ at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:250)}}
Caused: hudson.remoting.ProxyException: java.lang.RuntimeException: Failed to serialize com.microsoftopentechnologies.windowsazurestorage.AzureBlobAction#individualBlobs for class com.microsoftopentechnologies.windowsazurestorage.AzureBlobAction
{{ at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:254)}} {{ at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:222)}} {{ at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)}} {{ at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:208)}} {{ at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:149)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)}} {{ at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)}} {{ at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)}} {{ at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:263)}} {{ at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:250)}} Caused: hudson.remoting.ProxyException: java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class org.jenkinsci.plugins.workflow.job.WorkflowRun {{ at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:254)}} {{ at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:222)}} {{ at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)}} {{ at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:208)}} {{ at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:149)}} {{ at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)}} {{ at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)}} {{ at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)}} {{ at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)}} {{ at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)}} {{ at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)}} {{ at hudson.util.XStream2.toXMLUTF8(XStream2.java:313)}} {{ at org.jenkinsci.plugins.workflow.support.PipelineIOUtils.writeByXStream(PipelineIOUtils.java:34)}} {{ at org.jenkinsci.plugins.workflow.job.WorkflowRun.save(WorkflowRun.java:1140)}} {{ at hudson.BulkChange.commit(BulkChange.java:98)}} {{ at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1476)}} {{ at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:458)}} {{ at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35)}} {{ at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)}} {{ at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)}} {{ at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)}} {{ at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)}} {{ at java.util.concurrent.FutureTask.run(Unknown Source)}} {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)}} {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)}} {{ at java.lang.Thread.run(Unknown Source)}}