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

jgit clean after checkout fails with unmappable chars in path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • git-client-plugin
    • None
    • Ubuntu 12.04 LTS amd64, using jdk7 from the distribution, jenkins v1.556

      Started by user anonymous
      Building in workspace /var/lib/jenkins/jobs/ext-jgit-3.3.0/workspace
      Cloning the remote Git repository
      Cloning repository https://github.com/eclipse/jgit.git
      ERROR: Failed to clean the workspace
      java.io.IOException: java.lang.reflect.InvocationTargetException
      at hudson.Util.isSymlinkJava7(Util.java:360)
      at hudson.Util.isSymlink(Util.java:325)
      at hudson.Util.deleteRecursive(Util.java:291)
      at hudson.Util.deleteContentsRecursive(Util.java:203)
      at hudson.Util.deleteRecursive(Util.java:292)
      at hudson.Util.deleteContentsRecursive(Util.java:203)
      at hudson.Util.deleteRecursive(Util.java:292)
      at hudson.Util.deleteContentsRecursive(Util.java:203)
      at hudson.Util.deleteRecursive(Util.java:292)
      at hudson.Util.deleteContentsRecursive(Util.java:203)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:327)
      at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:845)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:878)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1320)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
      at hudson.model.Run.execute(Run.java:1688)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor20.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:355)
      ... 20 more
      Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable chacraters: /var/lib/jenkins/jobs/ext-jgit-3.3.0/workspace/org.eclipse.jgit.java7.test/target/tmp_7536346264520663349/??
      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:2186)
      ... 24 more
      ERROR: Error cloning remote repo 'origin'
      hudson.plugins.git.GitException: Failed to delete workspace
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:330)
      at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:845)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:878)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1320)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
      at hudson.model.Run.execute(Run.java:1688)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Caused by: java.io.IOException: java.lang.reflect.InvocationTargetException
      at hudson.Util.isSymlinkJava7(Util.java:360)
      at hudson.Util.isSymlink(Util.java:325)
      at hudson.Util.deleteRecursive(Util.java:291)
      at hudson.Util.deleteContentsRecursive(Util.java:203)
      at hudson.Util.deleteRecursive(Util.java:292)
      at hudson.Util.deleteContentsRecursive(Util.java:203)
      at hudson.Util.deleteRecursive(Util.java:292)
      at hudson.Util.deleteContentsRecursive(Util.java:203)
      at hudson.Util.deleteRecursive(Util.java:292)
      at hudson.Util.deleteContentsRecursive(Util.java:203)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:327)
      ... 10 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor20.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:355)
      ... 20 more
      Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable chacraters: /var/lib/jenkins/jobs/ext-jgit-3.3.0/workspace/org.eclipse.jgit.java7.test/target/tmp_7536346264520663349/??
      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:2186)
      ... 24 more
      ERROR: null
      Retrying after 10 seconds

            ndeloof Nicolas De Loof
            marc321 Mr Cinquero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: