[JIRA] (JENKINS-13735) Jenkins starts wrong slave for job restricted to specific one

2012-06-14 Thread m.lehn...@meditec.zeiss.com (JIRA)














































Marco Lehnort
 commented on  JENKINS-13735


Jenkins starts wrong slave for job restricted to specific one















I deployed the jenkins v1.470 today and tested the fis. Works like a charm!!!
No irrelevant slaves are powered up, the correct slave required to execute a job is started.

Thanks to everyone for the fast responses to my problem!
@Jason: thanks for your analysis and fix!

Cheers, Marco.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13735) Jenkins starts wrong slave for job restricted to specific one

2012-06-14 Thread m.lehn...@meditec.zeiss.com (JIRA)















































Marco Lehnort
 closed  JENKINS-13735 as Fixed


Jenkins starts wrong slave for job restricted to specific one
















Closing as everything seems to work as expected.





Change By:


Marco Lehnort
(14/Jun/12 7:32 AM)




Status:


Resolved
Closed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13735) Jenkins starts wrong slave for job restricted to specific one

2012-05-23 Thread m.lehn...@meditec.zeiss.com (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-13735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=163103#comment-163103
 ] 

Marco Lehnort commented on JENKINS-13735:
-

I forked, applied the change and added a pull request:
https://github.com/jenkinsci/jenkins/pull/481.

 Jenkins starts wrong slave for job restricted to specific one
 -

 Key: JENKINS-13735
 URL: https://issues.jenkins-ci.org/browse/JENKINS-13735
 Project: Jenkins
  Issue Type: Bug
  Components: master-slave, slave-setup, vsphere-cloud
Affects Versions: current
 Environment: Jenkins 1.463 under Tomcat6 on Linux (SLES 11), Windows 
 XP slave VMs controlled via vSphere Cloud plugin
Reporter: Marco Lehnort
Assignee: Kohsuke Kawaguchi
  Labels: slave

 I'm using the following setup:
 - WinXP slaves A,B,C
 - jobs jA, jB, jC, tied to slaves A,B,C respectively using Restrict where 
 this job can run
 Assume all slaves are disconnected and powered off, no builds are queued.
 When starting a build manually, say jC, the following will happen:
 - job jC will be scheduled and also displayed accordingly in the build queue
 - tooltip will say it's waiting because slave C is offline
 - next, slave A is powered on by Jenkins and connection is established
 - jC will not be started, Jenkins seems to honor the restriction correctly
 - after some idle time, Jenkins realizes the slave is idle and causes shut 
 down
 - then, same procedure happens with slave B
 - on occasion, next one is slave A again
 - finally (on good luck?) slave C happens to be started
 - jC is executed
 It is possible that jC is waiting for hours (indefinitely?), because the 
 required
 slave is not powered on. I also observed this behaviour using a time-trigger
 instead of manual trigger, so I assume it is independent of the type of 
 trigger.
 Occasionally it also happens that the correct slave is powered up right away,
 but that seems to happen by chance. The concrete pattern is not obvious to me.
 Note that the component selection above is just my best guess.
 Cheers, Marco

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-13735) Jenkins starts wrong slave for job restricted to specific one

2012-05-16 Thread m.lehn...@meditec.zeiss.com (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on JENKINS-13735 started by Kohsuke Kawaguchi.

 Jenkins starts wrong slave for job restricted to specific one
 -

 Key: JENKINS-13735
 URL: https://issues.jenkins-ci.org/browse/JENKINS-13735
 Project: Jenkins
  Issue Type: Bug
  Components: slave-setup, vsphere-cloud
Affects Versions: current
 Environment: Jenkins 1.463 under Tomcat6 on Linux (SLES 11), Windows 
 XP slave VMs controlled via vSphere Cloud plugin
Reporter: Marco Lehnort
Assignee: Kohsuke Kawaguchi
  Labels: slave

 I'm using the following setup:
 - WinXP slaves A,B,C
 - jobs jA, jB, jC, tied to slaves A,B,C respectively using Restrict where 
 this job can run
 Assume all slaves are disconnected and powered off, no builds are queued.
 When starting a build manually, say jC, the following will happen:
 - job jC will be scheduled and also displayed accordingly in the build queue
 - tooltip will say it's waiting because slave C is offline
 - next, slave A is powered on by Jenkins and connection is established
 - jC will not be started, Jenkins seems to honor the restriction correctly
 - after some idle time, Jenkins realizes the slave is idle and causes shut 
 down
 - then, same procedure happens with slave B
 - on occasion, next one is slave A again
 - finally (on good luck?) slave C happens to be started
 - jC is executed
 It is possible that jC is waiting for hours (indefinitely?), because the 
 required
 slave is not powered on. I also observed this behaviour using a time-trigger
 instead of manual trigger, so I assume it is independent of the type of 
 trigger.
 Occasionally it also happens that the correct slave is powered up right away,
 but that seems to happen by chance. The concrete pattern is not obvious to me.
 Note that the component selection above is just my best guess.
 Cheers, Marco

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-13735) Jenkins starts wrong slave for job restricted to specific one

2012-05-16 Thread m.lehn...@meditec.zeiss.com (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on JENKINS-13735 stopped by Marco Lehnort.

 Jenkins starts wrong slave for job restricted to specific one
 -

 Key: JENKINS-13735
 URL: https://issues.jenkins-ci.org/browse/JENKINS-13735
 Project: Jenkins
  Issue Type: Bug
  Components: slave-setup, vsphere-cloud
Affects Versions: current
 Environment: Jenkins 1.463 under Tomcat6 on Linux (SLES 11), Windows 
 XP slave VMs controlled via vSphere Cloud plugin
Reporter: Marco Lehnort
Assignee: Kohsuke Kawaguchi
  Labels: slave

 I'm using the following setup:
 - WinXP slaves A,B,C
 - jobs jA, jB, jC, tied to slaves A,B,C respectively using Restrict where 
 this job can run
 Assume all slaves are disconnected and powered off, no builds are queued.
 When starting a build manually, say jC, the following will happen:
 - job jC will be scheduled and also displayed accordingly in the build queue
 - tooltip will say it's waiting because slave C is offline
 - next, slave A is powered on by Jenkins and connection is established
 - jC will not be started, Jenkins seems to honor the restriction correctly
 - after some idle time, Jenkins realizes the slave is idle and causes shut 
 down
 - then, same procedure happens with slave B
 - on occasion, next one is slave A again
 - finally (on good luck?) slave C happens to be started
 - jC is executed
 It is possible that jC is waiting for hours (indefinitely?), because the 
 required
 slave is not powered on. I also observed this behaviour using a time-trigger
 instead of manual trigger, so I assume it is independent of the type of 
 trigger.
 Occasionally it also happens that the correct slave is powered up right away,
 but that seems to happen by chance. The concrete pattern is not obvious to me.
 Note that the component selection above is just my best guess.
 Cheers, Marco

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-13735) Jenkins starts wrong slave for job restricted to specific one

2012-05-16 Thread m.lehn...@meditec.zeiss.com (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marco Lehnort updated JENKINS-13735:


Component/s: master-slave

 Jenkins starts wrong slave for job restricted to specific one
 -

 Key: JENKINS-13735
 URL: https://issues.jenkins-ci.org/browse/JENKINS-13735
 Project: Jenkins
  Issue Type: Bug
  Components: master-slave, slave-setup, vsphere-cloud
Affects Versions: current
 Environment: Jenkins 1.463 under Tomcat6 on Linux (SLES 11), Windows 
 XP slave VMs controlled via vSphere Cloud plugin
Reporter: Marco Lehnort
Assignee: Kohsuke Kawaguchi
  Labels: slave

 I'm using the following setup:
 - WinXP slaves A,B,C
 - jobs jA, jB, jC, tied to slaves A,B,C respectively using Restrict where 
 this job can run
 Assume all slaves are disconnected and powered off, no builds are queued.
 When starting a build manually, say jC, the following will happen:
 - job jC will be scheduled and also displayed accordingly in the build queue
 - tooltip will say it's waiting because slave C is offline
 - next, slave A is powered on by Jenkins and connection is established
 - jC will not be started, Jenkins seems to honor the restriction correctly
 - after some idle time, Jenkins realizes the slave is idle and causes shut 
 down
 - then, same procedure happens with slave B
 - on occasion, next one is slave A again
 - finally (on good luck?) slave C happens to be started
 - jC is executed
 It is possible that jC is waiting for hours (indefinitely?), because the 
 required
 slave is not powered on. I also observed this behaviour using a time-trigger
 instead of manual trigger, so I assume it is independent of the type of 
 trigger.
 Occasionally it also happens that the correct slave is powered up right away,
 but that seems to happen by chance. The concrete pattern is not obvious to me.
 Note that the component selection above is just my best guess.
 Cheers, Marco

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[JIRA] (JENKINS-13735) Jenkins starts wrong slave for job restricted to specific one

2012-05-10 Thread m.lehn...@meditec.zeiss.com (JIRA)
Marco Lehnort created JENKINS-13735:
---

 Summary: Jenkins starts wrong slave for job restricted to specific 
one
 Key: JENKINS-13735
 URL: https://issues.jenkins-ci.org/browse/JENKINS-13735
 Project: Jenkins
  Issue Type: Bug
  Components: slave-setup, vsphere-cloud
Affects Versions: current
 Environment: Jenkins 1.463 under Tomcat6 on Linux (SLES 11), Windows 
XP slave VMs controlled via vSphere Cloud plugin
Reporter: Marco Lehnort
Assignee: Kohsuke Kawaguchi


I'm using the following setup:
- WinXP slaves A,B,C
- jobs jA, jB, jC, tied to slaves A,B,C respectively using Restrict where this 
job can run

Assume all slaves are disconnected and powered off, no builds are queued.
When starting a build manually, say jC, the following will happen:
- job jC will be scheduled and also displayed accordingly in the build queue
- tooltip will say it's waiting because slave C is offline
- next, slave A is powered on by Jenkins and connection is established
- jC will not be started, Jenkins seems to honor the restriction correctly
- after some idle time, Jenkins realizes the slave is idle and causes shut down
- then, same procedure happens with slave B
- on occasion, next one is slave A again
- finally (on good luck?) slave C happens to be started
- jC is executed

It is possible that jC is waiting for hours (indefinitely?), because the 
required
slave is not powered on. I also observed this behaviour using a time-trigger
instead of manual trigger, so I assume it is independent of the type of trigger.
Occasionally it also happens that the correct slave is powered up right away,
but that seems to happen by chance. The concrete pattern is not obvious to me.

Note that the component selection above is just my best guess.

Cheers, Marco


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira