Closed
Bug 1251381
Opened 10 years ago
Closed 10 years ago
Switch gtest to riding the 46 train
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: philor, Assigned: catlee)
References
Details
(Whiteboard: [capacity])
Attachments
(2 files)
|
18.71 KB,
text/plain
|
Details | |
|
1.78 KB,
patch
|
kmoir
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
At the time of https://dxr.mozilla.org/build-central/source/buildbot-configs/mozilla-tests/config.py#3036 we thought the separate gtest job was going to ride the 45 train, but it turned out not to make it until 46, and our theory that we could just hide it on beta and then release ignored the fact that 45 is an esr branch, so now we're running it permared on esr45, and will until either esr45 dies or we change that 45 to a 46.
| Reporter | ||
Updated•10 years ago
|
Whiteboard: [capacity]
Comment 1•10 years ago
|
||
This isn't as easy as just doing
diff --git a/mozilla-tests/config.py b/mozilla-tests/config.py
--- a/mozilla-tests/config.py
+++ b/mozilla-tests/config.py
@@ -3049,13 +3049,13 @@ for branch in BRANCHES.keys():
# Gtests run from the test package
for platform in PLATFORMS.keys():
if platform not in ['linux', 'linux64', 'linux64-asan', 'linux64-tsan', 'linux64-cc',
'macosx64', 'win32', 'win64']:
continue
- for name, branch in items_at_least(BRANCHES, 'gecko_version', 45):
+ for name, branch in items_at_least(BRANCHES, 'gecko_version', 46):
for slave_platform in PLATFORMS[platform]['slave_platforms']:
# Not stable on windows XP
if slave_platform in ['xp-ix', 'win10_64', 'yosemite', 'yosemite_r7']:
continue
because a lot of builders get added to esr45 and beta (see attachment). Do you have more context, or know who does ?
Flags: needinfo?(kmoir)
Comment 2•10 years ago
|
||
Looks like that was from Kim's change on https://hg.mozilla.org/build/buildbot-configs/rev/5a8e6fe0b6ce and specifically the fact that we `= GTEST` rather than `+= GTEST` for one of the branches. Which means we're likely 'hiding' those other tests by accident...
Comment 3•10 years ago
|
||
It was implemented like this
elif (platform in ['linux64', 'linux64-tsan', 'linux64-cc'] and slave_platform in ['ubuntu64_vm_lnx_large']) or (platform in ['linux64-asan'] and slave_platform in ['ubuntu64-asan_vm_lnx_large']):
+ BRANCHES[name]['platforms'][platform][slave_platform]['debug_unittest_suites'] = GTEST
because we wanted to only have gtests run on this larger instance type for linux builds
Flags: needinfo?(kmoir)
| Reporter | ||
Comment 4•10 years ago
|
||
What does the builder diff look like if along with #3036 you also change https://dxr.mozilla.org/build-central/source/buildbot-configs/mozilla-tests/config.py#2999 to 46?
| Assignee | ||
Comment 5•10 years ago
|
||
Yeah, that looks much better. What does that variable do!? Here's the builder diff:
--- old.txt 2016-02-26 10:25:01.389429482 -0800
+++ new.txt 2016-02-26 10:52:15.789500717 -0800
@@ -3198,7 +3198,6 @@
Ubuntu ASAN VM large 12.04 x64 fx-team opt test gtest ScriptFactory
Ubuntu ASAN VM large 12.04 x64 jamun opt test gtest ScriptFactory
Ubuntu ASAN VM large 12.04 x64 mozilla-aurora opt test gtest ScriptFactory
-Ubuntu ASAN VM large 12.04 x64 mozilla-beta opt test gtest ScriptFactory
Ubuntu ASAN VM large 12.04 x64 mozilla-central opt test gtest ScriptFactory
Ubuntu ASAN VM large 12.04 x64 mozilla-inbound opt test gtest ScriptFactory
Ubuntu ASAN VM large 12.04 x64 oak opt test gtest ScriptFactory
@@ -5790,15 +5789,9 @@
Ubuntu VM large 12.04 x64 mozilla-aurora debug test gtest ScriptFactory
Ubuntu VM large 12.04 x64 mozilla-aurora opt test gtest ScriptFactory
Ubuntu VM large 12.04 x64 mozilla-aurora pgo test gtest ScriptFactory
-Ubuntu VM large 12.04 x64 mozilla-beta debug test gtest ScriptFactory
-Ubuntu VM large 12.04 x64 mozilla-beta opt test gtest ScriptFactory
-Ubuntu VM large 12.04 x64 mozilla-beta pgo test gtest ScriptFactory
Ubuntu VM large 12.04 x64 mozilla-central debug test gtest ScriptFactory
Ubuntu VM large 12.04 x64 mozilla-central opt test gtest ScriptFactory
Ubuntu VM large 12.04 x64 mozilla-central pgo test gtest ScriptFactory
-Ubuntu VM large 12.04 x64 mozilla-esr45 debug test gtest ScriptFactory
-Ubuntu VM large 12.04 x64 mozilla-esr45 opt test gtest ScriptFactory
-Ubuntu VM large 12.04 x64 mozilla-esr45 pgo test gtest ScriptFactory
Ubuntu VM large 12.04 x64 mozilla-inbound debug test gtest ScriptFactory
Ubuntu VM large 12.04 x64 mozilla-inbound opt test gtest ScriptFactory
Ubuntu VM large 12.04 x64 mozilla-inbound pgo test gtest ScriptFactory
| Assignee | ||
Comment 7•10 years ago
|
||
I'm not really sure what this ride_trains variable does, but it seems to fix up this issue nicely.
Attachment #8725667 -
Flags: review?(kmoir)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → catlee
Updated•10 years ago
|
Attachment #8725667 -
Flags: review?(kmoir) → review+
| Assignee | ||
Comment 8•10 years ago
|
||
https://hg.mozilla.org/build/buildbot-configs/rev/2a06d32c80b9be3b9fed13a0d89e6f37e6b0dd25
Bug 1251381: Switch gtests to riding 46 r=kmoir
| Assignee | ||
Updated•10 years ago
|
Attachment #8725667 -
Flags: checked-in+
| Assignee | ||
Comment 9•10 years ago
|
||
I think this got deployed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•