fabric8 icon indicating copy to clipboard operation
fabric8 copied to clipboard

Creating tar from path: ..java.io.IOException: This archives contains unclosed entries.

Open rawlingsj opened this issue 8 years ago • 2 comments

After upgrading to the Jenkins 2.0 base image and updating a bunch of plugins with this commit I've started getting errors during the pipeline, I'm testing a nodejs project and not sure yet why I didn't notice when testing last week.

Creating tar from path: ..java.io.IOException: This archives contains unclosed entries.
    at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.finish(TarArchiveOutputStream.java:225)
    at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.close(TarArchiveOutputStream.java:241)
    at io.fabric8.kubernetes.workflow.BuildImageStepExecution$DockerImageArchiver.close(BuildImageStepExecution.java:331)
    at hudson.FilePath$1.invoke(FilePath.java:455)
    at hudson.FilePath$1.invoke(FilePath.java:449)
    at hudson.FilePath.act(FilePath.java:990)
    at hudson.FilePath.act(FilePath.java:968)
    at hudson.FilePath.archive(FilePath.java:449)
    at hudson.FilePath.archive(FilePath.java:465)
    at io.fabric8.kubernetes.workflow.BuildImageStepExecution$CreateTarTask.call(BuildImageStepExecution.java:187)
    at io.fabric8.kubernetes.workflow.BuildImageStepExecution$CreateTarTask.call(BuildImageStepExecution.java:174)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

rawlingsj avatar May 13 '16 15:05 rawlingsj

Have you found any solution to this?

novakg avatar Mar 14 '17 07:03 novakg

Even I am also getting the same exception with same stack trace with my nodejs project.

Couldn't find any solution over the last one week.

dvsnmurty avatar Jun 15 '18 18:06 dvsnmurty