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

Failure to wipeout workspace from an OSX slave due to unmappable characters

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: core
    • Environment:
      Jenkins LTS 1.580.1
      Master: Windows Server 2012

      Slave: OSX 10.9.5
    • Similar Issues:

      Description

      The workspace contains a file named Bücher.de.xcscheme

      Stack trace

      java.io.IOException: remote file operation failed: /opt/dailybuild/jenkins/workspace/SomePlace_iOS at hudson.remoting.Channel@51dc9a:MobileDaily: java.io.IOException: java.lang.reflect.InvocationTargetException
      at hudson.FilePath.act(FilePath.java:976)
      at hudson.FilePath.act(FilePath.java:958)
      at hudson.FilePath.deleteRecursive(FilePath.java:1160)
      at hudson.model.AbstractProject.doDoWipeOutWorkspace(AbstractProject.java:1900)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:237)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:86)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:370)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: java.lang.reflect.InvocationTargetException
      at hudson.Util.isSymlinkJava7(Util.java:369)
      at hudson.Util.isSymlink(Util.java:334)
      at hudson.FilePath.deleteRecursive(FilePath.java:1183)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.access$1000(FilePath.java:190)
      at hudson.FilePath$14.invoke(FilePath.java:1163)
      at hudson.FilePath$14.invoke(FilePath.java:1160)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2577)
      at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      at hudson.remoting.Request$2.run(Request.java:324)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:724)
      at ......remote call to MobileDaily(Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
      at hudson.remoting.Channel.call(Channel.java:752)
      at hudson.FilePath.act(FilePath.java:969)
      ... 74 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at hudson.Util.isSymlinkJava7(Util.java:364)
      at hudson.Util.isSymlink(Util.java:334)
      at hudson.FilePath.deleteRecursive(FilePath.java:1183)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202)
      at hudson.FilePath.deleteRecursive(FilePath.java:1184)
      at hudson.FilePath.access$1000(FilePath.java:190)
      at hudson.FilePath$14.invoke(FilePath.java:1163)
      at hudson.FilePath$14.invoke(FilePath.java:1160)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2577)
      at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      at hudson.remoting.Request$2.run(Request.java:324)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:724)
      Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable chacraters: /opt/dailybuild/jenkins/workspace/SomePlace_iOS/SomeProduct/SomeProduct.xcodeproj/xcshareddata/xcschemes/Bu��cher.de.xcscheme
      at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
      at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
      at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
      at java.io.File.toPath(File.java:2069)
      ... 29 more

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            What's the file.encoding on the OS X slave? LANG? Please provide the slave's system info (from /computer/slavename/systemInfo).

            Show
            danielbeck Daniel Beck added a comment - What's the file.encoding on the OS X slave? LANG? Please provide the slave's system info (from /computer/slavename/systemInfo).
            Hide
            xfreebird Nicolae Ghimbovschi added a comment -

            TERM=xterm-256color
            SHELL=/bin/bash
            TMPDIR=/var/folders/xk/rth1rtgd6v96z_fvhq71vvvh0000gq/T/
            LC_CTYPE=UTF-8
            _=/usr/bin/env

            awt.toolkit sun.lwawt.macosx.LWCToolkit
            file.encoding US-ASCII
            file.encoding.pkg sun.io
            file.separator /
            ftp.nonProxyHosts local|.local|169.254/16|.169.254/16
            gopherProxySet false
            http.nonProxyHosts local|.local|169.254/16|.169.254/16
            java.awt.graphicsenv sun.awt.CGraphicsEnvironment
            java.awt.headless true
            java.awt.printerjob sun.lwawt.macosx.CPrinterJob
            java.class.path slave.jar
            java.class.version 51.0
            java.endorsed.dirs /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/endorsed
            java.ext.dirs /Users/mobile_daily/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
            java.home /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
            java.io.tmpdir /var/folders/xk/rth1rtgd6v96z_fvhq71vvvh0000gq/T/
            java.library.path /Users/mobile_daily/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
            java.runtime.name Java(TM) SE Runtime Environment
            java.runtime.version 1.7.0_25-b15
            java.specification.name Java Platform API Specification
            java.specification.vendor Oracle Corporation
            java.specification.version 1.7
            java.vendor Oracle Corporation
            java.vendor.url http://java.oracle.com/
            java.vendor.url.bug http://bugreport.sun.com/bugreport/
            java.version 1.7.0_25
            java.vm.info mixed mode
            java.vm.name Java HotSpot(TM) 64-Bit Server VM
            java.vm.specification.name Java Virtual Machine Specification
            java.vm.specification.vendor Oracle Corporation
            java.vm.specification.version 1.7
            java.vm.vendor Oracle Corporation
            java.vm.version 23.25-b01
            jna.platform.library.path /usr/lib:/usr/lib
            line.separator
            os.arch x86_64
            os.name Mac OS X
            os.version 10.9.5
            path.separator :
            socksNonProxyHosts local|.local|169.254/16|.169.254/16
            sun.arch.data.model 64
            sun.boot.class.path /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/classes
            sun.boot.library.path /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib
            sun.cpu.endian little
            sun.cpu.isalist
            sun.font.fontmanager sun.font.CFontManager
            sun.io.unicode.encoding UnicodeBig
            sun.java.command slave.jar
            sun.java.launcher SUN_STANDARD
            sun.jnu.encoding US-ASCII
            sun.management.compiler HotSpot 64-Bit Tiered Compilers
            sun.os.patch.level unknown
            svnkit.http.methods Digest,Basic,NTLM,Negotiate
            svnkit.ssh2.persistent false
            user.country US
            user.dir /opt/dailybuild/jenkins
            user.home /Users/mobile_daily
            user.language en
            user.name mobile_daily
            user.timezone Europe/Chisinau

            Show
            xfreebird Nicolae Ghimbovschi added a comment - TERM=xterm-256color SHELL=/bin/bash TMPDIR=/var/folders/xk/rth1rtgd6v96z_fvhq71vvvh0000gq/T/ LC_CTYPE=UTF-8 _=/usr/bin/env awt.toolkit sun.lwawt.macosx.LWCToolkit file.encoding US-ASCII file.encoding.pkg sun.io file.separator / ftp.nonProxyHosts local| .local|169.254/16| .169.254/16 gopherProxySet false http.nonProxyHosts local| .local|169.254/16| .169.254/16 java.awt.graphicsenv sun.awt.CGraphicsEnvironment java.awt.headless true java.awt.printerjob sun.lwawt.macosx.CPrinterJob java.class.path slave.jar java.class.version 51.0 java.endorsed.dirs /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/endorsed java.ext.dirs /Users/mobile_daily/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java java.home /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre java.io.tmpdir /var/folders/xk/rth1rtgd6v96z_fvhq71vvvh0000gq/T/ java.library.path /Users/mobile_daily/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:. java.runtime.name Java(TM) SE Runtime Environment java.runtime.version 1.7.0_25-b15 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.7 java.vendor Oracle Corporation java.vendor.url http://java.oracle.com/ java.vendor.url.bug http://bugreport.sun.com/bugreport/ java.version 1.7.0_25 java.vm.info mixed mode java.vm.name Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Oracle Corporation java.vm.specification.version 1.7 java.vm.vendor Oracle Corporation java.vm.version 23.25-b01 jna.platform.library.path /usr/lib:/usr/lib line.separator os.arch x86_64 os.name Mac OS X os.version 10.9.5 path.separator : socksNonProxyHosts local| .local|169.254/16| .169.254/16 sun.arch.data.model 64 sun.boot.class.path /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/classes sun.boot.library.path /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib sun.cpu.endian little sun.cpu.isalist sun.font.fontmanager sun.font.CFontManager sun.io.unicode.encoding UnicodeBig sun.java.command slave.jar sun.java.launcher SUN_STANDARD sun.jnu.encoding US-ASCII sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown svnkit.http.methods Digest,Basic,NTLM,Negotiate svnkit.ssh2.persistent false user.country US user.dir /opt/dailybuild/jenkins user.home /Users/mobile_daily user.language en user.name mobile_daily user.timezone Europe/Chisinau
            Hide
            danielbeck Daniel Beck added a comment -

            Fix this:

            file.encoding US-ASCII

            Show
            danielbeck Daniel Beck added a comment - Fix this: file.encoding US-ASCII
            Hide
            xfreebird Nicolae Ghimbovschi added a comment -

            Where can I change it ?

            In "JVM Options: -Dfile.encoding=UTF-8" for the Slave ?

            Show
            xfreebird Nicolae Ghimbovschi added a comment - Where can I change it ? In "JVM Options: -Dfile.encoding=UTF-8" for the Slave ?
            Hide
            xfreebird Nicolae Ghimbovschi added a comment -

            That helped, thanks !

            Show
            xfreebird Nicolae Ghimbovschi added a comment - That helped, thanks !

              People

              • Assignee:
                Unassigned
                Reporter:
                xfreebird Nicolae Ghimbovschi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: