[JIRA] [build-flow-plugin] (JENKINS-22516) FileAlreadyExistsException on parallel builds
Title: Message Title mark mann commented on JENKINS-22516 Re: FileAlreadyExistsException on parallel builds i recently upgraded to Jenkins 1.651.1 (on windows) we make a lot of use of the parallel builds function... running 15 jobs in parallel. the error message seems to be a common and annoying occurance... sometimes trashing a job. 16:32:41 ln builds\lastSuccessfulBuild C:\.jenkins\jobs\X\lastSuccessful failed 16:32:41 java.nio.file.FileAlreadyExistsException: C:\.jenkins\jobs\X\lastSuccessful 16:32:41 at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) 16:32:41 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 16:32:41 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 16:32:41 at sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(Unknown Source) 16:32:41 at java.nio.file.Files.createSymbolicLink(Unknown Source) 16:32:41 at sun.reflect.GeneratedMethodAccessor1459.invoke(Unknown Source) 16:32:41 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 16:32:41 at java.lang.reflect.Method.invoke(Unknown Source) 16:32:41 at hudson.Util.createSymlinkJava7(Util.java:1235) 16:32:41 at hudson.Util.createSymlink(Util.java:1151) 16:32:41 at hudson.model.Run.createSymlink(Run.java:1840) 16:32:41 at hudson.model.Run.updateSymlinks(Run.java:1821) 16:32:41 at hudson.model.Run.execute(Run.java:1736) 16:32:41 at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73) 16:32:41 at hudson.model.ResourceController.execute(ResourceController.java:98) 16:32:41 at hudson.model.Executor.run(Executor.java:410) Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [build-flow-plugin] (JENKINS-22516) FileAlreadyExistsException on parallel builds
Title: Message Title Aaron Marasco commented on JENKINS-22516 Re: FileAlreadyExistsException on parallel builds Possibly duped by JENKINS-25930. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [build-flow-plugin] (JENKINS-22516) FileAlreadyExistsException on parallel builds
Title: Message Title Kenneth Baltrinic edited a comment on JENKINS-22516 Re: FileAlreadyExistsException on parallel builds In looking into the issue further, it does not seem to me that this issue has anything to do with the Build Publisher Plugin and has probably been incorrectly assigned to its maintainer. We do not have the Hudson Build Publisher plugin installed on our system. Moreover our stack trace is a bit different (mostly I think due to the fact that we are using a free form job and the original poster appears to be using a maven job.) Given that the issue is in attempting to create a lastSuccessfulBuild link, it would seem to me that this is a core issue, not something with a plugin. On commonality with the original post however is that this occurs when performing parallel builds of the same type so perhaps it could be considered to be related to the build-flow plugin?Our stack trace.{code :bash }ln builds/lastSuccessfulBuild /var/lib/jenkins/jobs/module-silo-deploy/lastSuccessful failedjava.nio.file.FileAlreadyExistsException: /var/lib/jenkins/jobs/module-silo-deploy/lastSuccessful at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createSymbolicLink(UnixFileSystemProvider.java:457) at java.nio.file.Files.createSymbolicLink(Files.java:1043) at sun.reflect.GeneratedMethodAccessor6797.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.Util.createSymlinkJava7(Util.java:1226) at hudson.Util.createSymlink(Util.java:1142) at hudson.model.Run.createSymlink(Run.java:1845) at hudson.model.Run.updateSymlinks(Run.java:1826) at hudson.model.Run.execute(Run.java:1739) at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:155) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) {code} Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message
[JIRA] [build-flow-plugin] (JENKINS-22516) FileAlreadyExistsException on parallel builds
Title: Message Title Kenneth Baltrinic updated an issue Jenkins / JENKINS-22516 FileAlreadyExistsException on parallel builds Change By: Kenneth Baltrinic Component/s: build-flow-plugin Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.