Status: Closed (View Workflow)
Resolution: Not A Defect
Java exception on trying to remove some path with cyrillic symbols. For example if you choose Workspace -> Wipe Out Current Workspace.
- is related to
JENKINS-12610 Util.deleteRecursive fails for files using unmappable characters
JENKINS-20410 Cleaning a git repo fails with NFD characters
JENKINS-25317 WS cleanup is not able to delete workspace containing non-ascii characters
JENKINS-26782 Failure to wipeout workspace from an OSX slave due to unmappable characters
Can you provide the specific characters which are in the problem file name? There are already automated tests in the code for various interesting characters, and it may be that we need to add more tests with the specific characters you have identified.
Also, can you confirm (as danielbeck noted) that the Java configuration of the slave running that process is using UTF-8 settings for its locale?
Nothing specific in those filenames. I met this issue from time to time with different cyrillic filenames. For example лицо.png (face.png) or плавание.png (swim.png).
One build machine was configured to UTF-8 but another was not. I can not provoke bug now but if I did this I will comment this issue.
Thanks a lot for you help.
Code changed in jenkins
User: Mark Waite
Add test cyrillic file names from
This does not address the core java library refusal to delete files
named with unmappable characters. That needs a different solution, and
a solution which would be better done in Jenkins core than in the git
alexchernyy Any news about this? Did this occur again after you fixed the slave?
Config issue (though we could probably improve the docs), so resolving as not a defect.
Please make sure the `file.encoding` system property and the locale related env vars have sane (UTF-8ish) values on the slave.