[JIRA] (JENKINS-50381) ECS plugin fails to use label expression

2018-03-27 Thread llibic...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Kryvenko updated  JENKINS-50381  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50381  
 
 
  ECS plugin fails to use label _expression_   
 

  
 
 
 
 

 
Change By: 
 Dmytro Kryvenko  
 
 
Status: 
 In Review Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-50381) ECS plugin fails to use label expression

2018-03-27 Thread llibic...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Kryvenko started work on  JENKINS-50381  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Dmytro Kryvenko  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-50381) ECS plugin fails to use label expression

2018-03-27 Thread llibic...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Kryvenko updated  JENKINS-50381  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50381  
 
 
  ECS plugin fails to use label _expression_   
 

  
 
 
 
 

 
Change By: 
 Dmytro Kryvenko  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-50381) ECS plugin fails to use label expression

2018-03-24 Thread llibic...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Kryvenko edited a comment on  JENKINS-50381  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ECS plugin fails to use label _expression_   
 

  
 
 
 
 

 
 I think that would do it:  [ https://github.com/jenkinsci/amazon-ecs-plugin/pull/55 ]Tested on 2.107.1.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-50381) ECS plugin fails to use label expression

2018-03-24 Thread llibic...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Kryvenko assigned an issue to Dmytro Kryvenko  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50381  
 
 
  ECS plugin fails to use label _expression_   
 

  
 
 
 
 

 
Change By: 
 Dmytro Kryvenko  
 
 
URL: 
 https://github.com/jenkinsci/amazon-ecs-plugin/pull/55  
 
 
Assignee: 
 Jan Roehrich Dmytro Kryvenko  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-50381) ECS plugin fails to use label expression

2018-03-24 Thread llibic...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Kryvenko commented on  JENKINS-50381  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ECS plugin fails to use label _expression_   
 

  
 
 
 
 

 
 I think that would do it: https://github.com/jenkinsci/amazon-ecs-plugin/pull/55  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-50381) ECS plugin fails to use label expression

2018-03-24 Thread llibic...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Kryvenko updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50381  
 
 
  ECS plugin fails to use label _expression_   
 

  
 
 
 
 

 
Change By: 
 Dmytro Kryvenko  
 

  
 
 
 
 

 
 When I have multiple images defined in the same cluster I want to differentiate them by labels, like 'aws&&chef' or 'aws&&terraform'. Unfortunately it seems this plugin fails to handle plugin expressions, see the error stack trace below:{code:java}Mar  23  24 , 2018 10: 03 53 : 28 PM 40 AM  WARNING hudson.slaves.NodeProvisioner$2 run Unexpected exception encountered while provisioning agent ECS Slave aws linux  foo bar  debian  java.lang.ClassCastException: hudson.model.labels.LabelExpression$And cannot be cast to hudson.model.labels.LabelAtom   at jenkins.model.Jenkins.getLabelAtom(Jenkins.java: 1978 1941 )   at hudson.model.Label.parse(Label.java:592)   at hudson.model.Node.getAssignedLabels(Node.java:300)   at hudson.model.Slave.(Slave.java:196)   at hudson.slaves.AbstractCloudSlave.(AbstractCloudSlave.java:51)   at com.cloudbees.jenkins.plugins.amazonecs.ECSSlave.(ECSSlave.java:95)   at com.cloudbees.jenkins.plugins.amazonecs.ECSCloud$ProvisioningCallback.call(ECSCloud.java:243)   at com.cloudbees.jenkins.plugins.amazonecs.ECSCloud$ProvisioningCallback.call(ECSCloud.java:221)   at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)   at java.util.concurrent.FutureTask.run(FutureTask.java:266)   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)   at java.lang.Thread.run(Thread.java:748){code}   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

[JIRA] (JENKINS-50381) ECS plugin fails to use label expression

2018-03-23 Thread llibic...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dmytro Kryvenko created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50381  
 
 
  ECS plugin fails to use label _expression_   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Jan Roehrich  
 
 
Components: 
 amazon-ecs-plugin  
 
 
Created: 
 2018-03-24 02:39  
 
 
Environment: 
 Tested on 2.107.1 and 2.89.2.  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 Dmytro Kryvenko  
 

  
 
 
 
 

 
 When I have multiple images defined in the same cluster I want to differentiate them by labels, like 'aws&&chef' or 'aws&&terraform'. Unfortunately it seems this plugin fails to handle plugin expressions, see the error stack trace below: 

 

Mar 23, 2018 10:03:28 PM WARNING hudson.slaves.NodeProvisioner$2 run
 Unexpected exception encountered while provisioning agent ECS Slave aws linux foo bar java.lang.ClassCastException: hudson.model.labels.LabelExpression$And cannot be cast to hudson.model.labels.LabelAtom at jenkins.model.Jenkins.getLabelAtom(Jenkins.java:1978) at hudson.model.Label.parse(Label.java:592) at hudson.model.Node.getAssignedLabels(Node.java:300) at hudson.model.Slave.(Slave.java:196) at hudson.slaves.AbstractCloudSlave.(AbstractCloudSlave.java:51) at com.cloudbees.jenkins.plugins.amazonecs.ECSSlave.(ECSSlave.java:95) at com.cloudbees.jenkins.plugins.amazonecs.ECSCloud$ProvisioningCallback.call(ECSCloud.java:243) at com.cloudbees.jenkins.plugins.amazonecs.ECSCloud$ProvisioningCallback.call(ECSCloud.java:221) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPool