[JIRA] (JENKINS-61971) MalformedInputException in unstash

8 views
Skip to first unread message

hoshizuki@axell.co.jp (JIRA)

unread,
Apr 20, 2020, 6:24:02 AM4/20/20
to jenkinsc...@googlegroups.com
Yusuke HOSHIZUKI created an issue
 
Jenkins / Bug JENKINS-61971
MalformedInputException in unstash
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Jenkinsfile
Components: pipeline
Created: 2020-04-20 10:23
Environment: Master: RHEL 8.1
Agent: Windows 10
Jenkins: 2.230
Priority: Critical Critical
Reporter: Yusuke HOSHIZUKI

The attached Jenkinsfile fails.

With below error message.

java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source)
at java.nio.charset.CharsetDecoder.decode(Unknown Source)
at org.apache.commons.compress.archivers.zip.NioZipEncoding.decode(NioZipEncoding.java:136)
at org.apache.commons.compress.archivers.tar.TarUtils.parseName(TarUtils.java:299)
at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:1299)
at org.apache.commons.compress.archivers.tar.TarArchiveEntry.<init>(TarArchiveEntry.java:428)
at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getNextTarEntry(TarArchiveInputStream.java:314)
at hudson.FilePath.readFromTar(FilePath.java:2586)
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from algo-build.axell.axell.co.jp/172.16.13.177:49758
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
at hudson.remoting.Channel.call(Channel.java:998)
at hudson.FilePath.act(FilePath.java:1069)
at hudson.FilePath.act(FilePath.java:1058)
at hudson.FilePath.untar(FilePath.java:571)
at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:161)
at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76)
at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused: java.io.IOException: Failed to extract src.tar.gz
at hudson.FilePath.readFromTar(FilePath.java:2612)
at hudson.FilePath.access$500(FilePath.java:211)
at hudson.FilePath$UntarRemote.invoke(FilePath.java:585)
at hudson.FilePath$UntarRemote.invoke(FilePath.java:576)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3073)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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 hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)
at java.lang.Thread.run(Unknown Source)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

hoshizuki@axell.co.jp (JIRA)

unread,
Apr 20, 2020, 6:25:02 AM4/20/20
to jenkinsc...@googlegroups.com
Yusuke HOSHIZUKI updated an issue
Change By: Yusuke HOSHIZUKI
The attached Jenkinsfile fails.

With below error message.

---8<---8<---8<---
java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source)
at java.nio.charset.CharsetDecoder.decode(Unknown Source)
at org.apache.commons.compress.archivers.zip.NioZipEncoding.decode(NioZipEncoding.java:136)
at org.apache.commons.compress.archivers.tar.TarUtils.parseName(TarUtils.java:299)
at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:1299)
at org.apache.commons.compress.archivers.tar.TarArchiveEntry.<init>(TarArchiveEntry.java:428)
at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getNextTarEntry(TarArchiveInputStream.java:314)
at hudson.FilePath.readFromTar(FilePath.java:2586)
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from algo- build .axell.axell.co.jp -machine /172.16. 13 10 . 177 10 :49758
Reply all
Reply to author
Forward
0 new messages