Closed Bug 865379 Opened 12 years ago Closed 12 years ago

Schedule gaia-unit-tests on cedar

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Assigned: mozilla)

References

Details

Attachments

(7 files)

Gaia-unit-tests are ready to try out on cedar. Please schedule these running against b2g desktop opt builds on ubuntu32/ubuntu64 VM's only. They are run using this mozharness script: http://hg.mozilla.org/build/mozharness/file/aa2eb7a7a99d/scripts/gaia_unit.py and this config: http://hg.mozilla.org/build/mozharness/file/aa2eb7a7a99d/configs/b2g/gaia_unit_production_config.py After we shake out any bugs on cedar, we can roll out to the other trees.
Assignee: nobody → aki
a) this is only part 1; I need to create linux{32,64}_gecko test platforms to run the tests. b) this patch has a large amount of whitespace changes in the diff. I'm going to attach the output of |hg diff -w| which will show the actual lines I've changed.
Attachment #744003 - Flags: review?(rail)
Attached patch without whitespace changes (deleted) — Splinter Review
I got Executing: ['buildbot', 'sendchange', '--master', 'dev-master01.build.scl1.mozilla.com:9053', '--username', 'sendchange-unittest', '--branch', 'cedar-linux32_gecko-opt-unittest', '--revision', 'cac87def73f0', '--property', 'buildid:20130430174713', '--property', 'pgo_build:False', '--property', 'builduid:045d0ca50d9e48eaba36091f4698ea4b', 'http://dev-stage01.srv.releng.scl3.mozilla.com/pub/mozilla.org/b2g/tinderbox-builds/cedar-linux32_gecko/1367369233/en-US/b2g-23.0a1.en-US.linux-i686.tar.bz2', 'http://dev-stage01.srv.releng.scl3.mozilla.com/pub/mozilla.org/b2g/tinderbox-builds/cedar-linux32_gecko/1367369233/en-US/b2g-23.0a1.en-US.linux-i686.tests.zip'] when running a linux32_gecko build in staging with this patch.
Comment on attachment 744003 [details] [diff] [review] start sendchanging from linux{32,64}_gecko the "hg diff -w" version lgtm
Attachment #744003 - Flags: review?(rail)
Attachment #744003 - Flags: review+
Attachment #744003 - Flags: checked-in+
Attached patch (puppet) add new platforms (deleted) — Splinter Review
These are kind of ugly, but I don't know how else to name them.
Attachment #744352 - Flags: review?(rail)
Attached patch add gaia unit tests to cedar (deleted) — Splinter Review
I've got these on staging but I'm not yet successful attaching an EC2 vm to dev-master01. I'll do more testing if I can.
Attachment #744353 - Flags: review?(rail)
Attached file log file (deleted) —
Ok, finally got it to run on a fedora hardware box after hacking the slave lists. :jgriffin : since this is set up as a unittest, it'll send the test zip url in the properties. Currently the only way around this error message is to set require_test_zip to True: 18:19:49 FATAL - Unexpected number of files in buildbot config buildprops.json: 2 != 1! If that's a problem, we'll need to figure a way around this.
Will we actually have to download tests.zip then? I suppose we can override the download_and_extract method to skip it.
(In reply to Jonathan Griffin (:jgriffin) from comment #9) > Will we actually have to download tests.zip then? I suppose we can override > the download_and_extract method to skip it. Yeah. Or we could allow for a 2nd item in the sendchange without require_test_zip, and only fatal if we require it and it isn't there. Changing the sendchange itself would be a bit more challenging, I think, since it's going down a standard unittest sendchange code path.
Attachment #744352 - Flags: review?(rail) → review+
Attachment #744353 - Flags: review?(rail) → review+
Updated master-puppet1. We should be live after the next reconfig.
Attached patch puppetagain (deleted) — Splinter Review
Attachment #744726 - Flags: review?(rail)
Attachment #744726 - Flags: review?(rail) → review+
in production
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
It looks like these jobs are stuck; they're still pending at https://tbpl.mozilla.org/?tree=Cedar&showall=1&rev=5f508f33e3d0, even though all other jobs on Ubuntu VM's are either done or in progress.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #744904 - Flags: review?(rail)
Depends on: 868290
(In reply to Jonathan Griffin (:jgriffin) from comment #0) > Gaia-unit-tests are ready to try out on cedar. Please schedule these > running against b2g desktop opt builds on ubuntu32/ubuntu64 VM's only. How do these differ from the gaia-ui-test jobs run on B2G Panda on Cedar? (Just thinking about how we name them in bug 868290)
Attachment #744904 - Flags: review?(rail) → review+
Comment on attachment 744904 [details] [diff] [review] enable linuxXX_gecko in production_masters.json http://hg.mozilla.org/build/tools/rev/9f72c33bc690
Attachment #744904 - Flags: checked-in+
(In reply to Ed Morley [:edmorley UTC+1] from comment #19) > (In reply to Jonathan Griffin (:jgriffin) from comment #0) > > Gaia-unit-tests are ready to try out on cedar. Please schedule these > > running against b2g desktop opt builds on ubuntu32/ubuntu64 VM's only. > > How do these differ from the gaia-ui-test jobs run on B2G Panda on Cedar? > (Just thinking about how we name them in bug 868290) They're a totally different suite. unit tests vs ui tests. We will eventually be resurrecting the gaia-ui-tests on b2g desktop builds.
These appear to be running now; we hit the sendchange # of files issue in comment 8.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: