Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure dynamic Buildbot steps have unique names #525

Merged
merged 1 commit into from Oct 28, 2016

Conversation

@aneeshusa
Copy link
Member

aneeshusa commented Oct 28, 2016

Buildbot requires that each step in a build has a unique name,
and uses this property to e.g. disambiguate log files.
By default, each step's name reflect what kind of step it is,
e.g. git or test.

Add count suffixes to the end of the step name if there are
multiple steps of the same type to disambiguate them.
(Buildbot already does this internally for steps added statically
in the setupBuild method).

This requires checking all previously-added steps for name collisions,
so add all the steps at one time to amortize this cost.

Fixes #524.


This change is Reviewable

@metajack
Copy link
Contributor

metajack commented Oct 28, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2016

📌 Commit 6624612 has been approved by metajack

@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2016

Testing commit 6624612 with merge 43a07c5...

bors-servo added a commit that referenced this pull request Oct 28, 2016
…jack

Ensure dynamic Buildbot steps have unique names

Buildbot requires that each step in a build has a unique name,
and uses this property to e.g. disambiguate log files.
By default, each step's name reflect what kind of step it is,
e.g. `git` or `test`.

Add count suffixes to the end of the step name if there are
multiple steps of the same type to disambiguate them.
(Buildbot already does this internally for steps added statically
in the `setupBuild` method).

This requires checking all previously-added steps for name collisions,
so add all the steps at one time to amortize this cost.

Fixes #524.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/525)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2016

💔 Test failed - status-travis

Buildbot requires that each step in a build has a unique name,
and uses this property to e.g. disambiguate log files.
By default, each step's name reflect what kind of step it is,
e.g. `git` or `test`.

Add count suffixes to the end of the step name if there are
multiple steps of the same type to disambiguate them.
(Buildbot already does this internally for steps added statically
in the `setupBuild` method).

This requires checking all previously-added steps for name collisions,
so add all the steps at one time to amortize this cost.
@aneeshusa aneeshusa force-pushed the aneeshusa:ensure-steps-have-unique-names branch from 6624612 to 90b3c4f Oct 28, 2016
@larsbergstrom
Copy link
Contributor

larsbergstrom commented Oct 28, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2016

📌 Commit 90b3c4f has been approved by larsbergstrom

@highfive highfive assigned larsbergstrom and unassigned metajack Oct 28, 2016
bors-servo added a commit that referenced this pull request Oct 28, 2016
…bergstrom

Ensure dynamic Buildbot steps have unique names

Buildbot requires that each step in a build has a unique name,
and uses this property to e.g. disambiguate log files.
By default, each step's name reflect what kind of step it is,
e.g. `git` or `test`.

Add count suffixes to the end of the step name if there are
multiple steps of the same type to disambiguate them.
(Buildbot already does this internally for steps added statically
in the `setupBuild` method).

This requires checking all previously-added steps for name collisions,
so add all the steps at one time to amortize this cost.

Fixes #524.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/525)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2016

Testing commit 90b3c4f with merge ac520bc...

@bors-servo
Copy link
Contributor

bors-servo commented Oct 28, 2016

☀️ Test successful - status-travis

@bors-servo bors-servo merged commit 90b3c4f into servo:master Oct 28, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants
You can’t perform that action at this time.