[JIRA] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-05-25 Thread dima.shma...@ironsrc.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Dima Shmakov commented on  JENKINS-33002 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 
 
Hello George Shammas, thank you for this fix, it worked. I noticed also that while i had 200 docker slaves cluttering my jenkins, after running this only once (it deleted all) they started "expiring" now after each build! this is SO weird. It didn't affect the plugin in any way, right? i don't get it, how slave nodes started to behave properly now =)  
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-05-25 Thread dima.shma...@ironsrc.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Dima Shmakov edited a comment on  JENKINS-33002 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 
 Hello [~georgemb], thank you for this fix, it worked.I noticed also that while i had 200 docker slaves cluttering my jenkins, after running this only once (it deleted all) they started "expiring" now after each build!  this is SO weird.  It didn't affect the plugin in any way, right?  i don't get it, how slave nodes started to behave properly now =)    but what's more interesting, those docker slave nodes were always stuck both in jeknins AND on my ECS instances (stuck as 'stopped' containers) like on this screenshot i just took from my CLI history (before this groovy run):  !http://pasteboard.co/18HJZGfS.png!and now those containers also disappear after build finishes o_O , some kind of voodoo magic it is...  i was sure this plugin has a bug (it cluttered instances with containers that not "--rm" themselves).  what it might be?  i did no changes in my config anywhere .. just tried this script 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-05-25 Thread dima.shma...@ironsrc.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Dima Shmakov edited a comment on  JENKINS-33002 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 
 Hello [~georgemb], thank you for this fix, it worked.I noticed also that while i had 200 docker slaves cluttering my jenkins, after running this only once (it deleted all) they started "expiring" now after each build!  this is SO weird.  It didn't affect the plugin in any way, right?  i don't get it, how slave nodes started to behave properly now =) but what's more interesting, those docker slave nodes were always stuck both in jeknins AND on my ECS instances (stuck as 'stopped' containers) like on this screenshot i just took from my CLI history (before this groovy run):  ! http://pasteboard screenshot-1 . co/18HJZGfS. png |thumbnail !and now those containers also disappear after build finishes o_O , some kind of voodoo magic it is...  i was sure this plugin has a bug (it cluttered instances with containers that not "--rm" themselves).  what it might be?  i did no changes in my config anywhere .. just tried this script 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-05-25 Thread george.sham...@makerbot.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 George Shammas commented on  JENKINS-33002 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 
 
Dima Shmakov The script only affects Jenkins and makes no calls to ECS. ECS will clear out the stopped docker containers it starts after a period. I don't remember what the default is, but it is configurable. The dead containers sticking around shouldn't be a problem, but you can remove them manually if you want. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-05-25 Thread dima.shma...@ironsrc.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Dima Shmakov updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33002 
 
 
 
  When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 

Change By:
 
 Dima Shmakov 
 
 
 

Attachment:
 
 screenshot-1.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-02-18 Thread george.sham...@makerbot.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 George Shammas commented on  JENKINS-33002 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 
 
For those that get hit with this and the nodes aren't expiring, here is a quick groovy script that will delete all the offline ECS nodes. It should not delete any other slaves under any circumstance. 
To run it, just go to the /script directory of your jenkins install. 

 

for (aSlave in hudson.model.Hudson.instance.slaves) {
  println('');
  println('Name: ' + aSlave.name);
  if (aSlave.getComputer().toString()  =~ /amazonecs.ECSComputer@/ &&
  aSlave.getComputer().isOffline().toString() == 'true') {
println('Deleting node');
aSlave.getComputer().setTemporarilyOffline(true,null);
aSlave.getComputer().doDoDelete();
  } else {
println ('Not an offline ECS node')
  }
}
 

 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-02-17 Thread george.sham...@makerbot.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 George Shammas updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33002 
 
 
 
  When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 

Change By:
 
 George Shammas 
 
 
 

Attachment:
 
 Nodes__Jenkins_.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-02-17 Thread george.sham...@makerbot.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 George Shammas updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33002 
 
 
 
  When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 

Change By:
 
 George Shammas 
 
 
 

Summary:
 
 When local job queue fills, incorrectly spawn unlimited  works  workers  despite being impossible to schedule on those nodes. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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] [amazon-ecs-plugin] (JENKINS-33002) When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.

2016-02-17 Thread george.sham...@makerbot.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 George Shammas updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33002 
 
 
 
  When local job queue fills, incorrectly spawn unlimited workers despite being impossible to schedule on those nodes.  
 
 
 
 
 
 
 
 
 

Change By:
 
 George Shammas 
 
 
 

Attachment:
 
 Nodes__Jenkins_.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.