hudson.util.jna.WinIOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The communicates being thrown in the console at the top of every build are kind of: ln 2014-09-17_14-23-26 T:\jenkins\jobs\Bootloader\builds\11 failed hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\builds\11 to 2014-09-17_14-23-26 error=1:Incorrect function at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:93) at hudson.Util.createSymlink(Util.java:1078) at hudson.model.Run.updateSymlinks(Run.java:1792) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) ln builds\lastSuccessfulBuild T:\jenkins\jobs\Bootloader\lastSuccessful failed hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\lastSuccessful to builds\lastSuccessfulBuild error=1:Incorrect function at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:93) at hudson.Util.createSymlink(Util.java:1078) at hudson.model.Run.createSymlink(Run.java:1812) at hudson.model.Run.updateSymlinks(Run.java:1793) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) ln builds\lastStableBuild T:\jenkins\jobs\Bootloader\lastStable failed hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\lastStable to builds\lastStableBuild error=1:Incorrect function at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:93) at hudson.Util.createSymlink(Util.java:1078) at hudson.model.Run.createSymlink(Run.java:1812) at hudson.model.Run.updateSymlinks(Run.java:1794) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) Building in workspace T:\jenkins\jobs\Bootloader\workspace Reverting T:\jenkins\jobs\Bootloader\workspace\. to depth infinity with ignoreExternals: false an then everything is getting normal and build is finished as success.
    via by Dominika Tomaszewska,
  • The communicates being thrown in the console at the top of every build are kind of: ln 2014-09-17_14-23-26 T:\jenkins\jobs\Bootloader\builds\11 failed hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\builds\11 to 2014-09-17_14-23-26 error=1:Incorrect function at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:93) at hudson.Util.createSymlink(Util.java:1078) at hudson.model.Run.updateSymlinks(Run.java:1792) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) ln builds\lastSuccessfulBuild T:\jenkins\jobs\Bootloader\lastSuccessful failed hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\lastSuccessful to builds\lastSuccessfulBuild error=1:Incorrect function at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:93) at hudson.Util.createSymlink(Util.java:1078) at hudson.model.Run.createSymlink(Run.java:1812) at hudson.model.Run.updateSymlinks(Run.java:1793) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) ln builds\lastStableBuild T:\jenkins\jobs\Bootloader\lastStable failed hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\lastStable to builds\lastStableBuild error=1:Incorrect function at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:93) at hudson.Util.createSymlink(Util.java:1078) at hudson.model.Run.createSymlink(Run.java:1812) at hudson.model.Run.updateSymlinks(Run.java:1794) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) Building in workspace T:\jenkins\jobs\Bootloader\workspace Reverting T:\jenkins\jobs\Bootloader\workspace\. to depth infinity with ignoreExternals: false an then everything is getting normal and build is finished as success.
    via by Dominika Tomaszewska,
  • I tried jumping from 1.506 to 1.525. The upgrade went fine and was able to load again, however, all builds were having issues. At the beginning of every build I would see: Started by an SCM change ln 2013-08-05_07-31-57 F:\jenkins\jobs\ExampleJob\builds\107 failed hudson.util.jna.WinIOException: Failed to create a symlink F:\jenkins\jobs\ExampleJob\builds\107 to 2013-08-05_07-31-57 error=5:Access is denied at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:92) at hudson.Util.createSymlink(Util.java:1049) at hudson.model.Run.execute(Run.java:1591) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) But then it goes on to build the job successfully, and then at the end I see: Archiving artifacts Processing tests results in file(s) local\TestResults\UnitTestResults.trx,local\TestResults\IntegrationTestMSSQLResults.trx local\TestResults\UnitTestResults.trx ln builds\lastSuccessfulBuild F:\jenkins\jobs\ExampleJobs\lastSuccessful failed hudson.util.jna.WinIOException: Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastSuccessful to builds\lastSuccessfulBuild error=5:Access is denied at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:92) at hudson.Util.createSymlink(Util.java:1049) at hudson.model.AbstractBuild.createSymlink(AbstractBuild.java:494) at hudson.model.AbstractBuild.access$700(AbstractBuild.java:105) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:728) at hudson.model.Run.execute(Run.java:1618) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) ln builds\lastStableBuild F:\jenkins\jobs\ExampleJob\lastStable failed hudson.util.jna.WinIOException: Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastStable to builds\lastStableBuild error=5:Access is denied at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:92) at hudson.Util.createSymlink(Util.java:1049) at hudson.model.AbstractBuild.createSymlink(AbstractBuild.java:494) at hudson.model.AbstractBuild.access$700(AbstractBuild.java:105) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1618) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Email was triggered for: Success So I see that it says access denied. But how could it be access denied, when it continues to build just fine? Was there an extra section added where I need to enter credential information for this? Thoughts?
    via by Kevin Thieling,
  • I tried jumping from 1.506 to 1.525. The upgrade went fine and was able to load again, however, all builds were having issues. At the beginning of every build I would see: Started by an SCM change ln 2013-08-05_07-31-57 F:\jenkins\jobs\ExampleJob\builds\107 failed hudson.util.jna.WinIOException: Failed to create a symlink F:\jenkins\jobs\ExampleJob\builds\107 to 2013-08-05_07-31-57 error=5:Access is denied at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:92) at hudson.Util.createSymlink(Util.java:1049) at hudson.model.Run.execute(Run.java:1591) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) But then it goes on to build the job successfully, and then at the end I see: Archiving artifacts Processing tests results in file(s) local\TestResults\UnitTestResults.trx,local\TestResults\IntegrationTestMSSQLResults.trx local\TestResults\UnitTestResults.trx ln builds\lastSuccessfulBuild F:\jenkins\jobs\ExampleJobs\lastSuccessful failed hudson.util.jna.WinIOException: Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastSuccessful to builds\lastSuccessfulBuild error=5:Access is denied at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:92) at hudson.Util.createSymlink(Util.java:1049) at hudson.model.AbstractBuild.createSymlink(AbstractBuild.java:494) at hudson.model.AbstractBuild.access$700(AbstractBuild.java:105) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:728) at hudson.model.Run.execute(Run.java:1618) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) ln builds\lastStableBuild F:\jenkins\jobs\ExampleJob\lastStable failed hudson.util.jna.WinIOException: Failed to create a symlink F:\jenkins\jobs\ExampleJob\lastStable to builds\lastStableBuild error=5:Access is denied at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:92) at hudson.Util.createSymlink(Util.java:1049) at hudson.model.AbstractBuild.createSymlink(AbstractBuild.java:494) at hudson.model.AbstractBuild.access$700(AbstractBuild.java:105) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1618) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247) Email was triggered for: Success So I see that it says access denied. But how could it be access denied, when it continues to build just fine? Was there an extra section added where I need to enter credential information for this? Thoughts?
    via by Kevin Thieling,
    • hudson.util.jna.WinIOException: Failed to create a symlink T:\jenkins\jobs\Bootloader\lastStable to builds\lastStableBuild error=1:Incorrect function at hudson.util.jna.Kernel32Utils.createSymbolicLink(Kernel32Utils.java:93) at hudson.Util.createSymlink(Util.java:1078) at hudson.model.Run.createSymlink(Run.java:1812) at hudson.model.Run.updateSymlinks(Run.java:1794) at hudson.model.Run.execute(Run.java:1704) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232)
    No Bugmate found.