hudson.util.IOException2: Failed to extract /mnt/jenkins-workspace/workspace/mw-tools-releng-tox-doc-publish/html/**,**/html/** 00:00:47.780 at hudson.FilePath.readFromTar(FilePath.java:2066) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1978) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1889) 00:00:47.780 at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:95) 00:00:47.780 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)

Jenkins JIRA | Antoine Musso | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I have a slave job with a file: $WORKSPACE/slave/.buildinfo I attempt to copy it to a directory on the master and got the following stacktrace: 00:00:47.432 [copy-to-slave] Copying 'html/**,**/html/**', excluding nothing, from 'file:/mnt/jenkins-workspace/workspace/mw-tools-releng-tox-doc-publish/' on 'hudson.slaves.DumbSlave@6c2e5320' to 'file:/srv/org/wikimedia/doc/mw-tools-releng' on the master. 00:00:47.779 ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception 00:00:47.780 hudson.util.IOException2: Failed to extract /mnt/jenkins-workspace/workspace/mw-tools-releng-tox-doc-publish/html/**,**/html/** 00:00:47.780 at hudson.FilePath.readFromTar(FilePath.java:2066) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1978) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1889) 00:00:47.780 at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:95) 00:00:47.780 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) 00:00:47.781 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) 00:00:47.781 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) 00:00:47.781 at hudson.model.Build$BuildExecution.post2(Build.java:183) 00:00:47.781 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) 00:00:47.781 at hudson.model.Run.execute(Run.java:1690) 00:00:47.781 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:00:47.782 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:00:47.782 at hudson.model.Executor.run(Executor.java:246) 00:00:47.782 Caused by: java.io.FileNotFoundException: /srv/org/wikimedia/doc/mw-tools-releng/html/.buildinfo (No such file or directory) 00:00:47.782 at java.io.FileOutputStream.open(Native Method) 00:00:47.782 at java.io.FileOutputStream.<init>(FileOutputStream.java:212) 00:00:47.782 at java.io.FileOutputStream.<init>(FileOutputStream.java:160) 00:00:47.783 at hudson.util.IOUtils.copy(IOUtils.java:35) 00:00:47.783 at hudson.FilePath.readFromTar(FilePath.java:2056) 00:00:47.783 ... 12 more 00:00:47.789 Finished: FAILURE

    Jenkins JIRA | 3 years ago | Antoine Musso
    hudson.util.IOException2: Failed to extract /mnt/jenkins-workspace/workspace/mw-tools-releng-tox-doc-publish/html/**,**/html/** 00:00:47.780 at hudson.FilePath.readFromTar(FilePath.java:2066) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1978) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1889) 00:00:47.780 at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:95) 00:00:47.780 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
  2. 0

    I have a slave job with a file: $WORKSPACE/slave/.buildinfo I attempt to copy it to a directory on the master and got the following stacktrace: 00:00:47.432 [copy-to-slave] Copying 'html/**,**/html/**', excluding nothing, from 'file:/mnt/jenkins-workspace/workspace/mw-tools-releng-tox-doc-publish/' on 'hudson.slaves.DumbSlave@6c2e5320' to 'file:/srv/org/wikimedia/doc/mw-tools-releng' on the master. 00:00:47.779 ERROR: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception 00:00:47.780 hudson.util.IOException2: Failed to extract /mnt/jenkins-workspace/workspace/mw-tools-releng-tox-doc-publish/html/**,**/html/** 00:00:47.780 at hudson.FilePath.readFromTar(FilePath.java:2066) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1978) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1889) 00:00:47.780 at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:95) 00:00:47.780 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) 00:00:47.781 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) 00:00:47.781 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) 00:00:47.781 at hudson.model.Build$BuildExecution.post2(Build.java:183) 00:00:47.781 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) 00:00:47.781 at hudson.model.Run.execute(Run.java:1690) 00:00:47.781 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:00:47.782 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:00:47.782 at hudson.model.Executor.run(Executor.java:246) 00:00:47.782 Caused by: java.io.FileNotFoundException: /srv/org/wikimedia/doc/mw-tools-releng/html/.buildinfo (No such file or directory) 00:00:47.782 at java.io.FileOutputStream.open(Native Method) 00:00:47.782 at java.io.FileOutputStream.<init>(FileOutputStream.java:212) 00:00:47.782 at java.io.FileOutputStream.<init>(FileOutputStream.java:160) 00:00:47.783 at hudson.util.IOUtils.copy(IOUtils.java:35) 00:00:47.783 at hudson.FilePath.readFromTar(FilePath.java:2056) 00:00:47.783 ... 12 more 00:00:47.789 Finished: FAILURE

    Jenkins JIRA | 3 years ago | Antoine Musso
    hudson.util.IOException2: Failed to extract /mnt/jenkins-workspace/workspace/mw-tools-releng-tox-doc-publish/html/**,**/html/** 00:00:47.780 at hudson.FilePath.readFromTar(FilePath.java:2066) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1978) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1889) 00:00:47.780 at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:95) 00:00:47.780 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)

    Root Cause Analysis

    1. hudson.util.IOException2

      Failed to extract /mnt/jenkins-workspace/workspace/mw-tools-releng-tox-doc-publish/html/**,**/html/** 00:00:47.780 at hudson.FilePath.readFromTar(FilePath.java:2066) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1978) 00:00:47.780 at hudson.FilePath.copyRecursiveTo(FilePath.java:1889) 00:00:47.780 at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:95) 00:00:47.780 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)

      at hudson.model.AbstractBuild$AbstractBuildExecution.perform()
    2. Hudson
      FreeStyleBuild.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
      3. hudson.model.Build$BuildExecution.post2(Build.java:183)
      4. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
      5. hudson.model.Run.execute(Run.java:1690)
      6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6 frames