[JIRA] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title SCM/JIRA link daemon commented on JENKINS-28400 Re: Not timing out when launch pid fails to appear Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/durabletask/BourneShellScript.java http://jenkins-ci.org/commit/durable-task-plugin/27ed9917ef9a54b2dc6777aceae627384fcfeeb1 Log: [FIXED JENKINS-28400] If the PID does not appear after 15s, assume the launch failed. 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-28400 Not timing out when launch pid fails to appear Change By: SCM/JIRA link daemon Status: In Progress Resolved Resolution: Fixed 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title SCM/JIRA link daemon commented on JENKINS-28400 Re: Not timing out when launch pid fails to appear Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/durabletask/BourneShellScript.java src/main/java/org/jenkinsci/plugins/durabletask/WindowsBatchScript.java http://jenkins-ci.org/commit/durable-task-plugin/fa1959dec3984127afe02ca9f65339500d2e0512 Log: Merge pull request #17 from jglick/launch-failure- JENKINS-28400 JENKINS-28400 Better handle failure to start wrapper sh script Compare: https://github.com/jenkinsci/durable-task-plugin/compare/7f14ad2fab13...fa1959dec398 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title SCM/JIRA link daemon commented on JENKINS-28400 Re: Not timing out when launch pid fails to appear Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/durabletask/BourneShellScript.java http://jenkins-ci.org/commit/durable-task-plugin/45ce6e4ff069baa0b33073e716fdc759c2b8914e Log: JENKINS-28400 Display diagnostics the first time a process is launched in a given workspace. 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title Jesse Glick started work on JENKINS-28400 Change By: Jesse Glick Status: Open In Progress 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-28400 Not timing out when launch pid fails to appear Change By: Jesse Glick Labels: diagnostics workflow 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title Oleg Nenashev edited a comment on JENKINS-28400 Re: Not timing out when launch pid fails to appear WegotintosuchissueinJENKINS-28821.Thebuildmayhanginfinitely,becausedurable-task'scallbackmaybeunableabletowritepidfileandothermetadatafromthedockerrun.Insuchcasetheserversidewillnevergetaterminationevent.Samplecode:{noformat}//ThetemporaryvariableistoensureJENKINS_SERVER_COOKIE=durable-…doesnotappeareveninargv[],lestitbeconfusedwiththeenvironment.Stringcmd=String.format(echo$$'%s';jsc=%s;%s=$jsc'%s''%s'21;echo$?'%s',c.pidFile(ws),cookieValue,cookieVariable,shf,c.getLogFile(ws),c.getResultFile(ws))./*escapeagainstEnvVarsjobEnvinLocalLauncher.launch*/replace($,$$);{noformat} Thescriptiserror-prone.Ifitisnotbeinglaunched,Durabletaskthinksthetaskthinksthetaskisrunning=weneedanadditionalflagasaworkaround 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title Oleg Nenashev commented on JENKINS-28400 Re: Not timing out when launch pid fails to appear We got into such issue in JENKINS-28821. The build may hang infinitely, because durable-task's callback may be unable able to write pidfile and other metadata from the docker run. In such case the server side will never get a termination event. Sample code: // The temporary variable is to ensure JENKINS_SERVER_COOKIE=durable-… does not appear even in argv[], lest it be confused with the environment. String cmd = String.format(echo $$ '%s'; jsc=%s; %s=$jsc '%s' '%s' 21; echo $? '%s', c.pidFile(ws), cookieValue, cookieVariable, shf, c.getLogFile(ws), c.getResultFile(ws) )./* escape against EnvVars jobEnv in LocalLauncher.launch */replace($, $$); 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title Tom FENNELLY updated an issue Jenkins / JENKINS-28400 Not timing out when launch pid fails to appear Change By: Tom FENNELLY Summary: Nottiming out whenlaunchpidfailstoappear 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] [durable-task-plugin] (JENKINS-28400) Not timing out when launch pid fails to appear
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-28400 Not timing out when launch pid fails to appear Change By: Jesse Glick Labels: workflow 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.