Closed
Bug 891114
Opened 12 years ago
Closed 12 years ago
b2g full emulator tests aren't runnable on try
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mozilla, Assigned: mozilla)
References
Details
Attachments
(5 files)
6.93 KB,
patch
|
rail
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
3.58 KB,
patch
|
rail
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
1.45 KB,
patch
|
rail
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
921 bytes,
patch
|
mozilla
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
853 bytes,
patch
|
mozilla
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
https://bugzilla.mozilla.org/show_bug.cgi?id=890939#c3 :
> "try: -b do -p emulator -u all -t none" doesn't schedule any tests. For example:
https://tbpl.mozilla.org/?tree=Try&rev=25ae185b1b83
Assignee | ||
Comment 1•12 years ago
|
||
I think I see the culprit:
In the builds, the platform is 'emulator':
http://hg.mozilla.org/build/buildbot-configs/file/ab58ece7515c/mozilla/b2g_config.py#l41
In the tests, the platform is 'b2g_emulator':
http://hg.mozilla.org/build/buildbot-configs/file/ab58ece7515c/mozilla-tests/b2g_config.py#l38
The reason? Mozharness' sendchange() method prepends b2g_ to the platform. I'm guessing this is historical, due to panda/b2g_panda or something.
http://hg.mozilla.org/build/mozharness/file/997d7d72d9ab/mozharness/mozilla/buildbot.py#l139
So:
* rename the test platform to 'emulator' (and 'emulator-debug')
* make sure no buildbot-test-builder names change
* modify mozharness' sendchange() to stop prepending b2g_ to the platform... since we're no longer running panda tests, this shouldn't be an issue (til we reenable panda tests?)
* make sure nothing breaks as a result of this
Assignee | ||
Comment 2•12 years ago
|
||
No builder names changed because of this.
Assignee: nobody → aki
Attachment #772382 -
Flags: review?(rail)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #772383 -
Flags: review?(rail)
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #772384 -
Flags: review?(rail)
Updated•12 years ago
|
Attachment #772384 -
Flags: review?(rail) → review+
Updated•12 years ago
|
Attachment #772383 -
Flags: review?(rail) → review+
Updated•12 years ago
|
Attachment #772382 -
Flags: review?(rail) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 772383 [details] [diff] [review]
production-masters.json update
https://hg.mozilla.org/build/tools/rev/6a764e44bdba
Attachment #772383 -
Flags: checked-in+
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 772382 [details] [diff] [review]
rename b2g_emulator -> emulator
https://hg.mozilla.org/build/buildbot-configs/rev/888fd1e26ef9
Attachment #772382 -
Flags: checked-in+
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 772384 [details] [diff] [review]
remove b2g_ from sendchange
https://hg.mozilla.org/build/mozharness/rev/8c919573883b
If this gets merged to production before the reconfig, we'll stop running full emulator tests til the next reconfig.
Attachment #772384 -
Flags: checked-in+
Comment 8•12 years ago
|
||
In production
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•12 years ago
|
||
This appeared to still not be working: https://tbpl.mozilla.org/?tree=Try&rev=5d7bec5acc14
Does it just need to wait for the reconfig?
Assignee | ||
Comment 10•12 years ago
|
||
Hm, no.
I don't see a sendchange at all. I'm going to guess we need something to enable those.
Status: REOPENED → NEW
Assignee | ||
Comment 11•12 years ago
|
||
Glad this doesn't need another reconfig.
Attachment #773481 -
Flags: review?(armenzg)
Assignee | ||
Comment 12•12 years ago
|
||
Comment on attachment 773481 [details] [diff] [review]
sendchange from try
callek irc r+
Attachment #773481 -
Flags: review?(armenzg) → review+
Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 773481 [details] [diff] [review]
sendchange from try
http://hg.mozilla.org/build/mozharness/rev/7a109ee611e0
Attachment #773481 -
Flags: checked-in+
Assignee | ||
Comment 14•12 years ago
|
||
Crap,
14:26:13 ERROR - caught OS error 2: No such file or directory while running ['buildbot', 'sendchange', '--master', 'buildbot-master36.build.mozilla.org:9301', '--username', 'sendchange-unittest', '--branch', u'try-emulator-opt-unittest', '-r', u'24ba3db3f59ec7b53200196e84c7fc59f82ac75b', '--username', u'nmatsakis@mozilla.com', '--comments', u'try: -b do -p all -u none -t none', '--property', u'builduid:1bd3b476e719478183397775137b4942', '--property', 'buildid:20130710161452', '--property', 'pgo_build:False', u'http://pvtbuilds.pvt.build.mozilla.org//pub/mozilla.org/b2g/try-builds/nmatsakis@mozilla.com-24ba3db3f59e/try-generic/emulator.tar.gz', u'http://pvtbuilds.pvt.build.mozilla.org//pub/mozilla.org/b2g/try-builds/nmatsakis@mozilla.com-24ba3db3f59e/try-generic/b2g-25.0a1.en-US.android-arm.tests.zip']
Assignee | ||
Comment 15•12 years ago
|
||
Attachment #773585 -
Flags: review?
Assignee | ||
Comment 16•12 years ago
|
||
Comment on attachment 773585 [details] [diff] [review]
try sendchange take 2
Landed and merged as a bustage fix. http://hg.mozilla.org/build/mozharness/rev/42eaf82f376c
Attachment #773585 -
Flags: review?
Attachment #773585 -
Flags: review+
Attachment #773585 -
Flags: checked-in+
Assignee | ||
Comment 17•12 years ago
|
||
Ok, so in https://tbpl.mozilla.org/?tree=Try&rev=5d7bec5acc14 , we have:
a) a build without a sendchange
b) a re-triggered build with a sendchange, but without buildbot in the PATH
c) a test triggered by copy/pasting the sendchange command with a working PATH
d) a re-re-triggered build that should have a sendchange, with an abspath to buildbot
e) we should have an automatically triggered 2nd test from (d) in a couple hours.
Assignee | ||
Comment 18•12 years ago
|
||
Woot!
16:43:38 INFO - Running command: ['/tools/buildbot/bin/buildbot', 'sendchange', '--master', 'buildbot-master36.build.mozilla.org:9301', '--username', 'sendchange-unittest', '--branch', u'try-emulator-opt-unittest', '-r', u'5d7bec5acc147e183d51ee2413cdd1a4b63818f9', '--username', u'ahalberstadt@mozilla.com', '--comments', u'try: -b o -p emulator -u mochitest-1 -t none', '--property', u'builduid:af495b96fae74ce2aa48e6e1b59b6762', '--property', 'buildid:20130710183308', '--property', 'pgo_build:False', u'http://pvtbuilds.pvt.build.mozilla.org//pub/mozilla.org/b2g/try-builds/ahalberstadt@mozilla.com-5d7bec5acc14/try-generic/emulator.tar.gz', u'http://pvtbuilds.pvt.build.mozilla.org//pub/mozilla.org/b2g/try-builds/ahalberstadt@mozilla.com-5d7bec5acc14/try-generic/b2g-25.0a1.en-US.android-arm.tests.zip']
16:43:38 INFO - Copy/paste: /tools/buildbot/bin/buildbot sendchange --master buildbot-master36.build.mozilla.org:9301 --username sendchange-unittest --branch try-emulator-opt-unittest -r 5d7bec5acc147e183d51ee2413cdd1a4b63818f9 --username ahalberstadt@mozilla.com --comments "try: -b o -p emulator -u mochitest-1 -t none" --property builduid:af495b96fae74ce2aa48e6e1b59b6762 --property buildid:20130710183308 --property pgo_build:False http://pvtbuilds.pvt.build.mozilla.org//pub/mozilla.org/b2g/try-builds/ahalberstadt@mozilla.com-5d7bec5acc14/try-generic/emulator.tar.gz http://pvtbuilds.pvt.build.mozilla.org//pub/mozilla.org/b2g/try-builds/ahalberstadt@mozilla.com-5d7bec5acc14/try-generic/b2g-25.0a1.en-US.android-arm.tests.zip
16:43:40 INFO - NOTE: --username/-u is deprecated: use --who/-W'
16:43:40 INFO - change sent successfully
Assignee | ||
Comment 19•12 years ago
|
||
I see a 2nd mochitest-1 run on :ahal's try push.
Status: NEW → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•