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

"Failed to parse POMs" during archiving of poms when running maven job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • maven-plugin
    • None

      When running a jenkins maven job with Jenkins 1610 it suddenly fails with ERROR: Failed to parse POMs

      This has occurred to us three different jobs. Stack traces are as follows:

      [JENKINS] Archiving /home/jenkins/workspace/wimbledon-branches/wimbledon-persistence/target/wimbledon-persistence-3.0-SNAPSHOT.jar to de.wolterskluwer.cms.wimbledon/wimbledon-persistence/3.0-SNAPSHOT/wimbledon-persistence-3.0-SNAPSHOT.jar
      ERROR: Failed to parse POMs
      java.io.IOException: Failed to extract /home/jenkins/workspace/wimbledon-branches/wimbledon-persistence/transfer of 2 files
      	at hudson.FilePath.readFromTar(FilePath.java:2299)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:2208)
      	at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
      	at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:483)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:851)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      	at hudson.model.Run.execute(Run.java:1741)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:374)
      Caused by: java.io.IOException: Truncated TAR archive
      	at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:614)
      	at java.io.InputStream.read(InputStream.java:82)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
      	at hudson.util.IOUtils.copy(IOUtils.java:40)
      	at hudson.FilePath.readFromTar(FilePath.java:2289)
      	... 9 more
      channel stopped
      
      
      [JENKINS] Archiving /home/jenkins/workspace/metade-wkde2pci/target/wkde2pci.zip to com.wolterskluwer.services.configurations.conversion/wkde2pci/2.0-20150420.064736-13/wkde2pci-2.0-20150420.064736-13.zip
      ERROR: Failed to parse POMs
      java.io.IOException: Failed to extract /home/jenkins/workspace/metade-wkde2pci/transfer of 3 files
      	at hudson.FilePath.readFromTar(FilePath.java:2299)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:2208)
      	at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
      	at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:483)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:851)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      	at hudson.model.Run.execute(Run.java:1741)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:374)
      Caused by: java.io.IOException: Truncated TAR archive
      	at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:614)
      	at java.io.InputStream.read(InputStream.java:82)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
      	at hudson.util.IOUtils.copy(IOUtils.java:40)
      	at hudson.FilePath.readFromTar(FilePath.java:2289)
      	... 9 more
      
      
      [JENKINS] Archiving /home/jenkins/workspace/lexdb-legacy/lexdb-oracle-urteilid/target/lexdb-oracle-urteilid-3.8.33-SNAPSHOT.jar to de.lexisnexis.lexdb/lexdb-oracle-urteilid/3.8.33-SNAPSHOT/lexdb-oracle-urteilid-3.8.33-SNAPSHOT.jar
      ERROR: Failed to parse POMs
      java.io.IOException: Failed to extract /home/jenkins/workspace/lexdb-legacy/lexdb-oracle-urteilid/transfer of 2 files
      	at hudson.FilePath.readFromTar(FilePath.java:2299)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:2208)
      	at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
      	at hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:483)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:851)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      	at hudson.model.Run.execute(Run.java:1741)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:374)
      Caused by: java.io.IOException: Truncated TAR archive
      	at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:614)
      	at java.io.InputStream.read(InputStream.java:82)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
      	at hudson.util.IOUtils.copy(IOUtils.java:40)
      	at hudson.FilePath.readFromTar(FilePath.java:2289)
      	... 9 more
      
      

            oleg_nenashev Oleg Nenashev
            dhiller Daniel Hiller
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: