Issue Summary
This is reproducible on Data Center: (yes)
Bamboo is not able to build old Specs Branches via Dedicated remote agents if the Job Key was modified by the YAML Specs File.
The build for the current branch and newly created branches work via the Dedicated agents.
Steps to Reproduce
1) Create a YAML Specs plan in Bamboo connected via Source code repository in Bitbucket and let this plan have 3 Jobs namely
jobs: - Default Job - Job3_New - Job2_New
2) Have the below configuration defined for creating new branches
branches: create: for-new-branch delete: never link-to-jira: false
3) In Bamboo configure 2 Remote agents and dedicate these 2 remote agents to the particular plan which was created by the YAML Specs.
4) In Bamboo scan the specs repository and the default master branch will get built in Bamboo.
5) Create a new branch in Bitbucket ( for example 11thJan_Test2 ) and it will get Built in Bamboo.
6) Now modify the Job name and the Job key of 2/3 Jobs in the YAML specs for the default master branch as below and commit the code.
jobs: - Default Job - Job3_New_1 - Job2_New_1
7) Scan the Specs repository and the default master branch will build properly on the dedicated agent.
8) Create a new branch in Bitbucket and new specs branch will be created in Bamboo and will be built properly.
9) Try to build the old branch ( 11thJan_Test2 ) which was created previously before Job Key was modified.
Expected Results
The old branch should be built successfully with the same dedicated agent for the default master branch.
Actual Results
Out of 3 Jobs 2 which were modified does not get build and the build for the whole plan remains in progress, see the attachment below
Error is seen as : No agents are available for this build
Workaround
1) Make other agents available apart from the dedicated agent for the master branch, the build for older branches would be picked up by these new agents.
2) Revert the Job names to the original and the old Branches would start getting build on the dedicated agent.
[BAM-25636] Bamboo is not able to build old Specs Branches via dedicated Remote agents if the Job key was modified by the YAML Specs file
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
Fix Version/s | New: 9.6.5 [ 109012 ] | |
Fix Version/s | New: 9.2.17 [ 109011 ] |
Status | Original: In Progress [ 3 ] | New: Waiting for Release [ 12075 ] |
Status | Original: Gathering Impact [ 12072 ] | New: In Progress [ 3 ] |
Assignee | New: Marcin Gardias [ mgardias ] |
UIS | Original: 2 | New: 1 |
UIS | Original: 1 | New: 2 |
UIS | Original: 3 | New: 1 |
UIS | Original: 4 | New: 3 |