[JIRA] (JENKINS-37381) Two builds triggered when building on new ec2 slave

1 view
Skip to first unread message

michael.sawyer@veeva.com (JIRA)

unread,
Aug 12, 2016, 12:53:01 PM8/12/16
to jenkinsc...@googlegroups.com
Michael Sawyer created an issue
 
Jenkins / Bug JENKINS-37381
Two builds triggered when building on new ec2 slave
Issue Type: Bug Bug
Assignee: Francis Upton
Components: ec2-plugin
Created: 2016/Aug/12 4:52 PM
Environment: Jenkins version 1.642.4
ec2-plugin version 1.31
Priority: Major Major
Reporter: Michael Sawyer

When the ec2-plugin has to spin up the first machine for a cloud, two builds are triggered. This results in one build with the changes, and a second redundant build with the same commit, and no new changes listed.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

francisu@gmail.com (JIRA)

unread,
Aug 16, 2016, 8:28:01 AM8/16/16
to jenkinsc...@googlegroups.com
Francis Upton commented on Bug JENKINS-37381
 
Re: Two builds triggered when building on new ec2 slave

Can you provide the logs when this happens?

michael.sawyer@veeva.com (JIRA)

unread,
Aug 16, 2016, 3:13:02 PM8/16/16
to jenkinsc...@googlegroups.com

After first build is triggered:

Aug 16, 2016 6:46:23 AM hudson.plugins.ec2.EC2Cloud provision
INFO: Attempting provision - finished, excess workload: 0
Aug 16, 2016 6:46:23 AM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply
INFO: Started provisioning Slave1 (ami-00000001) from ec2-PrivateSubnet with 1 executors. Remaining excess workload: 0

After this it provisions and connects to this slave, then a few minutes later:

Aug 16, 2016 6:50:13 AM hudson.plugins.ec2.EC2Cloud provision
INFO: Attempting provision - finished, excess workload: 0
Aug 16, 2016 6:50:13 AM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply
INFO: Started provisioning Slave1 (ami-00000001) from ec2-PrivateSubnet with 1 executors. Remaining excess workload: -0.288

This second build is built on the same commit id, with no new changes.

fabrizio.manfredi@gmail.com (JIRA)

unread,
Aug 11, 2019, 7:15:04 AM8/11/19
to jenkinsc...@googlegroups.com
FABRIZIO MANFREDI closed an issue as Cannot Reproduce
 

Cannot reproduce with last version.

Change By: FABRIZIO MANFREDI
Status: Open Closed
Resolution: Cannot Reproduce
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages