>From what I can see from the discussion, it sounds like the windows forked process gets "picked up" as terminated if it is not sending output back to the Jenkins slave process at a regular pace... if that were to happen, the Jenkins slave process would assume that the script used to execute the scripted commands has completed, hence it would try to delete the script (as a tidy up) and when that fails, the job will then blow up (as the script is still in use by the commands that are running in the background... so windows will keep the file as locked)
A lot of people have been faffing around looking at the ssh channel stuff... this sounds more like a process launcher issue rather than an ssh channel issue. On 24 January 2014 13:37, David Aldrich <david.aldr...@emea.nec.com> wrote: > Hi > > One of our users writes: > > Bug https://issues.jenkins-ci.org/browse/JENKINS-12235 is now seriously > hampering our uptake of Jenkins. Our builds are very unreliable, to the > point where we can't really use Jenkins for any critical regression testing > or compilations because they too often fail to complete. > > Here's an example of the error: > > hudson.util.IOException2: remote file operation failed: > C:\WINDOWS\TEMP\hudson4764599265328173415.bat at > hudson.remoting.Channel@10c9bb8:rsds107 > at hudson.FilePath.act(FilePath.java:912) > at hudson.FilePath.act(FilePath.java:889) > at hudson.FilePath.delete(FilePath.java:1307) > at > hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:101) > > This failure seems to only affect jobs on Windows slaves (running Win 7 > Prof 64-bit). Our Linux slaves seem to be more reliable. Jenkins master > runs on Linux. > > JENKINS-12235 has a long discussion but no conclusion. Please can anyone > suggest how we can resolve this? It would be a shame if we lose our > affected users. > > Best regards > > David > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.