Closed Bug 1211889 Opened 9 years ago Closed 7 years ago

split mochitest-oth into- mochitest-a11y (a), mochitest-chrome (c1, c2, c3)

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: jmaher)

References

Details

Attachments

(3 files, 5 obsolete files)

with runbydir enabled for all of mochitest-chrome, I would like to split oth up.  a11y will be fast, but chrome takes a while and a bit longer with run-by-dir.  I propose 3 chunks for mochitest-chrome.
this will need:
* buildbot-configs
* trychooser syntax
* treeherder changes

I assume this will ride the trains starting in 44 on trunk and carry on.
Depends on: 1211905
I've filed bug 1211905 for the Treeherder parts (it's easier to track changes if they are in our component). Un CCing for now to reduce bugmail - once you know the buildernames drop a message in that bug :-)
Attached patch buildbot configs (1.0) (obsolete) — Splinter Review
these are buildbot configs, we still need mozharness changes for this to work, let alone other dependencies.
Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Attachment #8670349 - Flags: review?
Attached file bbconfig differences.txt (obsolete) —
Comment on attachment 8670349 [details] [diff] [review]
buildbot configs (1.0)

Review of attachment 8670349 [details] [diff] [review]:
-----------------------------------------------------------------

This looks good to me
Attachment #8670349 - Flags: review? → review+
armen, this is needed prior to landing the buildbot changes, do let me know if I am overlooking something!
Attachment #8670390 - Flags: review?(armenzg)
Attachment #8670390 - Flags: review?(armenzg) → review+
Keywords: leave-open
landed code to split up m-oth:
https://hg.mozilla.org/build/buildbot-configs/rev/47df7227fa0f

when the next reconfig happens this will be live.
backed out https://hg.mozilla.org/build/buildbot-configs/rev/de29b5545a08, builder limits:
tst-linux64-spot-544 has 4131 builders; limit is 4084; 101 percent of max

:catlee, do I just need to find other tst-linux64-spot-544 jobs to disable?
Flags: needinfo?(catlee)
Depends on: 1215527
found some builders and landed:
http://hg.mozilla.org/build/buildbot-configs/rev/1e5812a86db3

tests passed successfully- this will get picked up in the next reconfig, just missed the one from today.
Flags: needinfo?(catlee)
These new jobs are all failing with  "Required config file not set! (use --config-file option)" at the start of the desktop_unittest.py step.
Flags: needinfo?(jmaher)
Flags: needinfo?(armenzg)
this is the command that is run when this was live:
 /tools/buildbot/bin/python scripts/scripts/desktop_unittest.py --mochitest-suite a11y --blob-upload-branch mozilla-inbound --download-symbols ondemand
 

and the error:
 Required config file not set! (use --config-file option)
 

for a dt5 run, we see this type of command executed:
/tools/buildbot/bin/python scripts/scripts/desktop_unittest.py --cfg unittests/linux_unittest.py --mochitest-suite mochitest-devtools-chrome-chunked --total-chunks 8 --this-chunk 5 --blob-upload-branch mozilla-inbound --download-symbols ondemand


what appears to be missing is " --cfg unittests/linux_unittest.py ".  Most likely we would need to add stubs similar to this for mochitest-a11y and mochitest-chrome-chunked:
https://dxr.mozilla.org/build_buildbot-configs/source/mozilla-tests/config.py#876

and for osx and windows as well.  

:armenzg, can you confirm that, I would be happy to give this another go.
Flags: needinfo?(jmaher)
Yes, this is correct. I should have caught this in review.

It would be nice if test-master.sh would catch issues like this.
Flags: needinfo?(armenzg)
Attached patch buildbot configs (2.0) (obsolete) — Splinter Review
same bbconfig differences, just updated to have --cfg for each job type!
Attachment #8670349 - Attachment is obsolete: true
Attachment #8676886 - Flags: review?(armenzg)
Attachment #8676886 - Flags: review?(armenzg) → review+
landed this again:
https://hg.mozilla.org/build/buildbot-configs/rev/5d2bd6c3ccdd

will see if a reconfig yields success.
Backed out:
https://hg.mozilla.org/build/buildbot-configs/rev/a25e920f6d1d

I will file a bug that will preven this happening in the future.

http://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-inbound-linux64-debug/1445613808/mozilla-inbound_ubuntu64_vm-debug_test-mochitest-a11y-bm51-tests1-linux64-build1.txt.gz
/tools/buildbot/bin/python scripts/scripts/desktop_unittest.py --mochitest-suite a11y --blob-upload-branch mozilla-inbound --download-symbols true
 in dir /builds/slave/test/. (timeout 1800 secs) (maxTime 1800 secs)
 watching logfiles {}
 argv: ['/tools/buildbot/bin/python', 'scripts/scripts/desktop_unittest.py', '--mochitest-suite', 'a11y', '--blob-upload-branch', 'mozilla-inbound', '--download-symbols', 'true']
 environment:
  CCACHE_DIR=/builds/ccache
  CCACHE_UMASK=002
  DISPLAY=:0
  HOME=/home/cltbld
  LANG=en_US.UTF-8
  LOGNAME=cltbld
  MAIL=/var/mail/cltbld
  MOZ_HIDE_RESULTS_TABLE=1
  MOZ_NODE_PATH=/usr/bin/node
  MOZ_NO_REMOTE=1
  NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
  NO_FAIL_ON_TEST_ERRORS=1
  PATH=/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  PROPERTIES_FILE=/builds/slave/test/buildprops.json
  PWD=/builds/slave/test
  SHELL=/bin/bash
  SHLVL=1
  TERM=linux
  TMOUT=86400
  USER=cltbld
  XDG_SESSION_COOKIE=9ca12473fbb1d023794ffd180000023c-1445617269.523098-45509168
  _=/tools/buildbot/bin/python
 using PTY: False
Required config file not set! (use --config-file option)
program finished with exit code 255
Armen, I am unclear on how this happened since we had this same error the first time and fixed it in the new patch/review.  some how we are missing the --cfg.
Flags: needinfo?(armenzg)
Before I backed out, I could not determine why it would failed (henced backed out).

This time I've noticed that this was only added for the 'linux' block and not 'linux64'.
Flags: needinfo?(armenzg)
ok, this should do the trick!
Attachment #8676886 - Attachment is obsolete: true
Attachment #8680242 - Flags: review?(armenzg)
Comment on attachment 8680242 [details] [diff] [review]
added configs for all platforms (3.0)

Review of attachment 8680242 [details] [diff] [review]:
-----------------------------------------------------------------

Let's hope this time it works :)
Attachment #8680242 - Flags: review?(armenzg) → review+
Attached file builder changes (obsolete) —
backed out!
https://hg.mozilla.org/build/buildbot-configs/rev/cb2919a9a732

this time we needed builders to open aurora by adding more chunks.
the actual patch that was supposed to be backed out:
http://hg.mozilla.org/build/buildbot-configs/rev/3171c91cf580
this previous patch is for all platforms, on linux32 debug we are hitting timeouts more frequently- for taskcluster (linux64 debug) we are already doing this split- for now lets adjust linux32 debug only.
Blocks: 1233953
Flags: needinfo?(jmaher)
Attachment #8680242 - Attachment is obsolete: true
Flags: needinfo?(jmaher)
Attachment #8711690 - Flags: review?(armenzg)
and the differences file
Attachment #8670350 - Attachment is obsolete: true
Attachment #8680583 - Attachment is obsolete: true
Comment on attachment 8711690 [details] [diff] [review]
oth -> a11y/c1/c2/c3 for linux32 debug only

Could you also please paste the list_builders_differences output for posterity? Thanks!
Attachment #8711690 - Flags: review?(armenzg) → review+
Do we want to make this change for linux64 as well?
we do, I couldn't land this last year because I hit the builder limits on linux64.
No longer blocks: 1233953
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: