Disable debug B2G mochitests on mozilla-aurora

RESOLVED FIXED

Status

Release Engineering
General Automation
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: jgriffin, Assigned: jgriffin)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
They're broken and not likely to be fixed; we should just turn them off.
(Assignee)

Comment 1

4 years ago
Created attachment 8360776 [details] [diff] [review]
Disable debug mochitests on older branches,

I hope this is the right logic.
Attachment #8360776 - Flags: review?(aki)
(Assignee)

Updated

4 years ago
Assignee: nobody → jgriffin

Comment 2

4 years ago
Comment on attachment 8360776 [details] [diff] [review]
Disable debug mochitests on older branches,

It's close!
Looks like we're hitting the same for loop issue, so this only disables half the debug mochitests:

(bb08)deathduck:/src/jgriffin/buildbot-configs/bm67-tests1-linux [21:07:28] (default)
600$ diff ../../{clean,dirty}.dump | more
3505d3504
< b2g_emulator_vm mozilla-aurora debug test mochitest-debug-1 ScriptFactory
3507d3505
< b2g_emulator_vm mozilla-aurora debug test mochitest-debug-3 ScriptFactory
3509d3506
< b2g_emulator_vm mozilla-aurora debug test mochitest-debug-5 ScriptFactory
3511d3507
< b2g_emulator_vm mozilla-aurora debug test mochitest-debug-7 ScriptFactory
3513d3508
< b2g_emulator_vm mozilla-aurora debug test mochitest-debug-9 ScriptFactory
3515d3509
< b2g_emulator_vm mozilla-aurora debug test mochitest-debug-11 ScriptFactory
3517d3510
< b2g_emulator_vm mozilla-aurora debug test mochitest-debug-13 ScriptFactory
3519d3511
< b2g_emulator_vm mozilla-aurora debug test mochitest-debug-15 ScriptFactory

Comment 3

4 years ago
Comment on attachment 8360776 [details] [diff] [review]
Disable debug mochitests on older branches,

>+# Disable debug emulator mochitests on older branches
>+OLD_BRANCHES = set([name for name, branch in items_before(BRANCHES, 'gecko_version', 29)])
>+for b in BRANCHES.keys():
>+    branch = BRANCHES[b]
>+    if b in OLD_BRANCHES:
>+        if nested_haskey(branch['platforms'], 'emulator', 'ubuntu64_vm-b2g-emulator'):
>+            slave_p = branch['platforms']['emulator']['ubuntu64_vm-b2g-emulator']

r=me if you replace these 3 lines:

>+            for i in slave_p['debug_unittest_suites']:
>+                if i[0].startswith('mochitest-debug'):
>+                    slave_p['debug_unittest_suites'].remove(i)

with

+            slave_p['debug_unittest_suites'] = [x for x in slave_p['debug_unittest_suites'] if not x[0].startswith('mochitest-debug')]

which is ugly but gets rid of all 15 chunks on aurora.
Attachment #8360776 - Flags: review?(aki) → review+
(Assignee)

Comment 4

4 years ago
Whoops, forgot about that problem from last time.  Thanks!
(Assignee)

Comment 5

4 years ago
https://hg.mozilla.org/build/buildbot-configs/rev/8de90139c437
in production
(Assignee)

Updated

4 years ago
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.