Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54958

Subversion changelog corrupted by parallel checkout with stacktrace at the end of the pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • subversion-plugin
    • None
    • Windows 2016 64 bit directly
      Jenkins 2.138.3 running with 32 bit Oracle Java

       
      Hello,

      Sometimes I see builds fails because of this issue at the end of pipeline. When I rerun the build it just works.

      I'm using parallel steps in my build setup with scm checkout in all of the parallel steps with Subversion.

      Issue logged at the end of the log:

      [Pipeline] End of Pipelineorg.xml.sax.SAXParseException; systemId: file:/C:/Program%20Files%20(x86)/Jenkins/jobs/Autotest/jobs/trunk/builds/178/changelog1.xml; lineNumber: 1; columnNumber: 2; XML document structures must start and end within the same entity.
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.commons.digester.Digester.parse(Digester.java:1871)
      at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:76)
      Caused: hudson.util.IOException2: Failed to parse C:\Program Files (x86)\Jenkins\jobs\Autotest\jobs\trunk\builds\178\changelog1.xml
      at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:80)
      at hudson.scm.SubversionChangeLogParser.parse(SubversionChangeLogParser.java:43)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.onCheckout(WorkflowRun.java:830)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1100(WorkflowRun.java:132)
      at org.jenkinsci.plugins.workflow.job.WorkflowRun$SCMListenerImpl.onCheckout(WorkflowRun.java:1095)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
      at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50)
      at hudson.security.ACL.impersonate(ACL.java:290)
      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47)
      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)
      Finished: FAILURE
       

            Unassigned Unassigned
            bctrdw Roel de Wildt
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: