Advertisement
jimklimov

Untitled

Dec 4th, 2017
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. A deleteDir() step in pipeline for a project with non-ASCII filenames does
  2. the stack trace below, only seen in classic Web-GUI (BlueOcean just sees the
  3. job as failed with no indication of details); replacing by "rm -rf dirname/"
  4. is a functional but not so portable workaround:
  5.  
  6. java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /tmp/jenkins/workspace/hub_fty-alert-engine_master-IJUIAC5NJ7QYYFY3UV32XFKXMSWZ2KLYWNCXG5I4CLBYLZ2IBCIQ/tmp/test-check-withDRAFT/src/selftest-rw/realpower.default@��lu��ou��k�� K����.rule
  7. at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
  8. at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
  9. at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
  10. at java.io.File.toPath(File.java:2234)
  11. at hudson.Util.isSymlink(Util.java:508)
  12. Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to jenkins2-agent-13
  13. at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
  14. at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
  15. at hudson.remoting.Channel.call(Channel.java:908)
  16. at hudson.FilePath.act(FilePath.java:986)
  17. at hudson.FilePath.act(FilePath.java:975)
  18. at hudson.FilePath.deleteRecursive(FilePath.java:1177)
  19. at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:77)
  20. at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:69)
  21. at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:49)
  22. at hudson.security.ACL.impersonate(ACL.java:260)
  23. at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:46)
  24. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  25. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  26. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  27. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  28. at java.lang.Thread.run(Thread.java:745)
  29. Caused: java.io.IOException
  30. at hudson.Util.isSymlink(Util.java:522)
  31. at hudson.FilePath.deleteRecursive(FilePath.java:1200)
  32. at hudson.FilePath.deleteContentsRecursive(FilePath.java:1219)
  33. at hudson.FilePath.deleteRecursive(FilePath.java:1201)
  34. at hudson.FilePath.deleteContentsRecursive(FilePath.java:1219)
  35. at hudson.FilePath.deleteRecursive(FilePath.java:1201)
  36. at hudson.FilePath.deleteContentsRecursive(FilePath.java:1219)
  37. at hudson.FilePath.deleteRecursive(FilePath.java:1201)
  38. at hudson.FilePath.access$1000(FilePath.java:196)
  39. at hudson.FilePath$14.invoke(FilePath.java:1180)
  40. at hudson.FilePath$14.invoke(FilePath.java:1177)
  41. at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2760)
  42. at hudson.remoting.UserRequest.perform(UserRequest.java:207)
  43. at hudson.remoting.UserRequest.perform(UserRequest.java:53)
  44. at hudson.remoting.Request$2.run(Request.java:358)
  45. at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
  46. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  47. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  48. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  49. at java.lang.Thread.run(Thread.java:748)
  50. Caused: java.io.IOException: remote file operation failed: /tmp/jenkins/workspace/hub_fty-alert-engine_master-IJUIAC5NJ7QYYFY3UV32XFKXMSWZ2KLYWNCXG5I4CLBYLZ2IBCIQ/tmp/test-check-withDRAFT at hudson.remoting.Channel@63a18f51:jenkins2-agent-13
  51. at hudson.FilePath.act(FilePath.java:993)
  52. at hudson.FilePath.act(FilePath.java:975)
  53. at hudson.FilePath.deleteRecursive(FilePath.java:1177)
  54. at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:77)
  55. at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:69)
  56. at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:49)
  57. at hudson.security.ACL.impersonate(ACL.java:260)
  58. at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:46)
  59. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  60. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  61. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  62. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  63. at java.lang.Thread.run(Thread.java:745)
  64. Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement