Closed
Bug 674357
Opened 14 years ago
Closed 14 years ago
Write a test to make sure slaves can't be allocated to both try and prod
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: rail)
Details
Attachments
(2 files)
|
3.13 KB,
patch
|
rail
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
|
5.10 KB,
patch
|
nthomas
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
Slaves swapping between prod and try is a source of upload errors (wrong ssh keys), so lets ensure that the slaves lists for both have no overlap. This would be run on preproduction.
| Reporter | ||
Comment 1•14 years ago
|
||
mw32-ix-slave12 switch to try recently, but is still allowed to connect to prod. We'll have non-empty TRY_WIN64_IXS eventually, for now it's just to make the test pass.
Attachment #548580 -
Flags: review?(rail)
| Reporter | ||
Comment 2•14 years ago
|
||
FWIW this is run with trial like the buildbotcustom tests, from mozilla/.
| Assignee | ||
Updated•14 years ago
|
Attachment #548580 -
Flags: review?(rail) → review+
| Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 548580 [details] [diff] [review]
Add test and fix current dupe-age
hg.mozilla.org/build/buildbot-configs/rev/ff8d867b07da
hg.mozilla.org/build/buildbot-configs/rev/116b52cf9017
Attachment #548580 -
Flags: checked-in+
| Reporter | ||
Comment 4•14 years ago
|
||
Rail gracefully volunteered to hook this up to preproduction.
Assignee: nrthomas → rail
| Assignee | ||
Comment 5•14 years ago
|
||
I added 2 tests:
* test_all_prod_vs_try: compare all try slaves vs prod slaves and make sure that there is no intersection. This required some changes in prod.XSERVES
* test_prod_is_subset_of_stag: make sure that production slaves are subset of staging slaves.
Attachment #548828 -
Flags: review?(nrthomas)
| Reporter | ||
Comment 6•14 years ago
|
||
Comment on attachment 548828 [details] [diff] [review]
check staging slaves
>diff --git a/mozilla/staging_config.py b/mozilla/staging_config.py
>+TRY_WIN32 = ['try-w32-slave%02i' % x for x in range (1,37)]
This (and probably other lines) will go back down again when bug 673174 finalizes, but that's OK.
>diff --git a/mozilla/test/test_slave_allocation.py b/mozilla/test/test_slave_allocation.py
The tests I added have less coverage than what you're adding here, so go ahead and remove mine.
Attachment #548828 -
Flags: review?(nrthomas) → review+
| Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 548828 [details] [diff] [review]
check staging slaves
http://hg.mozilla.org/build/buildbot-configs/rev/b0c3644daa95
Attachment #548828 -
Flags: checked-in+
| Assignee | ||
Comment 8•14 years ago
|
||
The tests are enabled in preproduction now.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•