简体   繁体   中英

Jenkins pipeline suddenly started failing while downloading artifacts from artifactory

My jenkins pipeline which was running without any problem from last two years suddenly started failing while downloading artifacts from jfrog artifactory. Please see the error:

an exception which occurred:
    in field org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo.publishedDependencies
    in object org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo@39d880ff
    in field org.jfrog.hudson.pipeline.declarative.steps.generic.GenericStep$Execution.buildInfo
    in object org.jfrog.hudson.pipeline.declarative.steps.generic.DownloadStep$Execution@2a2149fe
    in field org.jenkinsci.plugins.workflow.cps.CpsThread.step
    in object org.jenkinsci.plugins.workflow.cps.CpsThread@7d25da24
    in field org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.threads
    in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@60f1b3f9
    in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@60f1b3f9
Caused: java.util.ConcurrentModificationException
    at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:907)
    at java.util.ArrayList$Itr.next(ArrayList.java:857)
    at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:568)
    at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
    at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
    at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
    at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
    at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
    at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:967)

Based on the provided build log snippet, we are unable to determine the exact cause of the issue. Hence please do validate the Artifactory application logs during the build execution which helps to correlate the events and helps to find the cause.

Also, as the build job is failing while downloading artifacts, in order to rule out the issue with regards to availability of the artifacts at the Artifactory application end, pleaes do validate the existence of the same.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM