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

stash operation fails when encountering garbled umlauts in filenames

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins Core 2.60.3 with Pipeline 2.5 and Pipeline Utility Steps 1.4.0

      Files that were checked in on a Windows node with umlauts (unknown codepage, but certainly not UTF-8) lead to stacktrace when trying to stash them on a Linux node. 
      hudson.os.PosixException: native error calling stat: No such file or directory /srv/devlifecycle/jenkins/.../images/Pr�fung-Versetzung.jpg ENOENT
      at hudson.os.PosixAPI$1.error(PosixAPI.java:36)
      at jnr.posix.LinuxPOSIX.stat(LinuxPOSIX.java:117)
      at jnr.posix.CheckedPOSIX.stat(CheckedPOSIX.java:265)
      at jnr.posix.LazyPOSIX.stat(LazyPOSIX.java:267)
      at hudson.util.IOUtils.mode(IOUtils.java:128)
      at hudson.util.io.TarArchiver.visit(TarArchiver.java:92)
      at hudson.util.DirScanner.scanSingle(DirScanner.java:49)
      at hudson.util.DirScanner$Glob.scan(DirScanner.java:131)
      at hudson.FilePath$1.invoke(FilePath.java:462)
      at hudson.FilePath$1.invoke(FilePath.java:458)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2749)
      at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      at hudson.remoting.Request$2.run(Request.java:336)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:277)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.lang.Thread.run(Thread.java:785)
      at ......remote call to DFVVT01SEUAG01(Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      at hudson.remoting.Channel.call(Channel.java:830)
      at hudson.FilePath.act(FilePath.java:987)
      at hudson.FilePath.act(FilePath.java:976)
      at hudson.FilePath.archive(FilePath.java:458)
      at org.jenkinsci.plugins.workflow.flow.StashManager.stash(StashManager.java:107)
      at org.jenkinsci.plugins.workflow.support.steps.stash.StashStep$Execution.run(StashStep.java:113)
      at org.jenkinsci.plugins.workflow.support.steps.stash.StashStep$Execution.run(StashStep.java:101)
      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:49)
      at hudson.security.ACL.impersonate(ACL.java:260)
      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:46)
      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:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:748)
      Finished: FAILURE
      Furthermore, when trying to define the failure cause for BFA, the BFA matchers barfs an error message, but works properly afterwards.

       

          [JENKINS-46789] stash operation fails when encountering garbled umlauts in filenames

          There are no comments yet on this issue.

            Unassigned Unassigned
            bcygan bcygan
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: