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

Unable to compress artifacts with non-IBM437 characters in filename

    Details

    • Similar Issues:

      Description

      Archiving artifacts
      ERROR: Failed to archive artifacts: **/*
      java.io.FileNotFoundException: /jenkins/jobs/JOB_NAME/builds/2015-03-19_09-20-54/archive.zip.writing.zip/<PATH_NAME_WITH_SPECIAL_CHARS>/domain/start_stdout.0.log
          at de.schlichtherle.truezip.file.TFileOutputStream.newOutputStream(TFileOutputStream.java:147)
          at de.schlichtherle.truezip.file.TFileOutputStream.<init>(TFileOutputStream.java:116)
          at de.schlichtherle.truezip.file.TFile.cp(TFile.java:2810)
          at org.jenkinsci.plugins.compress_artifacts.ZipStorage.archive(ZipStorage.java:77)
          at org.jenkinsci.plugins.compress_artifacts.CompressingArtifactManager.archive(CompressingArtifactManager.java:50)
          at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
          at hudson.model.Build$BuildExecution.post2(Build.java:183)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
          at hudson.model.Run.execute(Run.java:1690)
          at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:246)
      Caused by: de.schlichtherle.truezip.fs.FsArchiveFileSystemException: <PATH_NAME_WITH_SPECIAL_CHARS> (java.io.CharConversionException: <PATH_NAME_WITH_SPECIAL_CHARS> (entry name not encodable with IBM437))
          at de.schlichtherle.truezip.fs.FsArchiveFileSystem.newCheckedEntry(FsArchiveFileSystem.java:317)
          at de.schlichtherle.truezip.fs.FsArchiveFileSystem.access$200(FsArchiveFileSystem.java:45)
          at de.schlichtherle.truezip.fs.FsArchiveFileSystem$PathLink.newSegmentLinks(FsArchiveFileSystem.java:441)
          at de.schlichtherle.truezip.fs.FsArchiveFileSystem$PathLink.newSegmentLinks(FsArchiveFileSystem.java:445)
          at de.schlichtherle.truezip.fs.FsArchiveFileSystem$PathLink.newSegmentLinks(FsArchiveFileSystem.java:445)
          at de.schlichtherle.truezip.fs.FsArchiveFileSystem$PathLink.<init>(FsArchiveFileSystem.java:416)
          at de.schlichtherle.truezip.fs.FsArchiveFileSystem.mknod(FsArchiveFileSystem.java:390)
          at de.schlichtherle.truezip.fs.FsBasicArchiveController$1Output.mknod(FsBasicArchiveController.java:273)
          at de.schlichtherle.truezip.fs.FsBasicArchiveController$1Output.newOutputStream(FsBasicArchiveController.java:233)
          at de.schlichtherle.truezip.fs.FsContextController$Output.newOutputStream(FsContextController.java:322)
          at de.schlichtherle.truezip.fs.FsResourceController$Output.newOutputStream(FsResourceController.java:283)
          at de.schlichtherle.truezip.socket.DelegatingOutputSocket.newOutputStream(DelegatingOutputSocket.java:57)
          at de.schlichtherle.truezip.fs.FsSyncController$Output.newOutputStream(FsSyncController.java:454)
          at de.schlichtherle.truezip.fs.FsLockController$Output$1NewOutputStream.call(FsLockController.java:509)
          at de.schlichtherle.truezip.fs.FsLockController$Output$1NewOutputStream.call(FsLockController.java:506)
          at de.schlichtherle.truezip.fs.FsLockController.locked(FsLockController.java:328)
          at de.schlichtherle.truezip.fs.FsLockController.writeLocked(FsLockController.java:268)
          at de.schlichtherle.truezip.fs.FsLockController$Output.newOutputStream(FsLockController.java:513)
          at de.schlichtherle.truezip.fs.FsFinalizeController$Output.newOutputStream(FsFinalizeController.java:209)
          at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Output$NewOutputStream.call(FsFalsePositiveArchiveController.java:409)
          at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Output$NewOutputStream.call(FsFalsePositiveArchiveController.java:402)
          at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$TryChild.call(FsFalsePositiveArchiveController.java:507)
          at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController.call(FsFalsePositiveArchiveController.java:104)
          at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController$1Output.newOutputStream(FsFalsePositiveArchiveController.java:399)
          at de.schlichtherle.truezip.file.TFileOutputStream.newOutputStream(TFileOutputStream.java:143)
          ... 14 more
      Caused by: java.io.CharConversionException: <PATH_NAME_WITH_SPECIAL_CHARS> (entry name not encodable with IBM437)
          at de.schlichtherle.truezip.fs.FsCharsetArchiveDriver.assertEncodable(FsCharsetArchiveDriver.java:94)
          at de.schlichtherle.truezip.fs.FsArchiveFileSystem.newCheckedEntry(FsArchiveFileSystem.java:314)
          ... 38 more
      Build step 'Archive the artifacts' changed build result to FAILURE
      

        Attachments

          Activity

          olivergondza Oliver Gondža created issue -
          olivergondza Oliver Gondža made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 161731 ] JNJira + In-Review [ 196850 ]

            People

            • Assignee:
              olivergondza Oliver Gondža
              Reporter:
              olivergondza Oliver Gondža
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: