Closed Bug 712422 Opened 14 years ago Closed 14 years ago

please add a --bootstrap cli flag to reftest/crashtest/jsreftest for android

Categories

(Release Engineering :: General, defect, P3)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: bear)

References

Details

(Whiteboard: [mobile][testing])

Attachments

(2 files, 1 obsolete file)

in order to run reftests on android, we need to use the --bootstrap flag. This is not for android-xul, just for android.
Whiteboard: [mobile][testing][triagefollowup]
Assignee: nobody → coop
Priority: -- → P3
Whiteboard: [mobile][testing][triagefollowup] → [mobile][testing]
Attached patch buildbotcustom change (obsolete) — Splinter Review
coop - I attached the two work-in-progress patches that I had
Attachment #586222 - Flags: review?(aki)
Attachment #586223 - Flags: review?(aki)
Aki: bear suggested I flag you for review on these patches...any problems with the approach? bear: have these patches been through staging yet? "No" is fine, I just don't want to land without testing.
(In reply to Chris Cooper [:coop] from comment #4) > Aki: bear suggested I flag you for review on these patches...any problems > with the approach? A bit backed up atm. Ping me if I let this review sit too long (thinking sometime tomorrow before EOD).
Comment on attachment 586223 [details] [diff] [review] buildbot-configs change .
Attachment #586223 - Flags: review?(aki) → review+
Comment on attachment 586222 [details] [diff] [review] buildbotcustom change Nit: this would actually be cleaner if the factory.py portions were just + options=self.remoteExtras.get('cmdOptions'), since they'll default to None and there's an |if cmdOptions:| in RemoteReftestStep. I'm wondering if the options are actually passed to the RemoteReftestStep from RemoteUnittestFactory (I think it isn't). r-'ing for that, but I think this will work when that's done. I'd also love to see this tested. As a side note, I think the configs portion of these patches, if not the buildbotcustom portion, will bitrot bug 695351 or vice versa.
Attachment #586222 - Flags: review?(aki) → review-
taking this bug back from coop to implement aki's changes
Assignee: coop → bear
remoteExtras is definitely on the parameter list in generateTestBuild() (in misc.py line 385) factory = RemoteUnittestFactory( platform=platform, productName=productName, hostUtils=hostUtils, suites=suites, hgHost=config['hghost'], repoPath=config['repo_path'], buildToolsRepoPath=config['build_tools_repo_path'], branchName=branch_name, remoteExtras=pf.get('remote_extras'), downloadSymbols=pf.get('download_symbols', True), ) I'm making the change now and pushing the patch to my test master
removed [] default for get() call and also double-checked that cmdOptions is in the parameter list for RemoteReftestStep (it is because it's being added by this patch) tested yesterday on staging tegras
Attachment #586222 - Attachment is obsolete: true
Attachment #588196 - Flags: review?(aki)
Attachment #588196 - Flags: review?(aki) → review+
Comment on attachment 588196 [details] [diff] [review] buildbotcustom change committed changeset 1994:b7d6fb59aba1
Attachment #588196 - Flags: checked-in+
Comment on attachment 586223 [details] [diff] [review] buildbot-configs change committed changeset 5290:af6628ebdea3
Attachment #586223 - Flags: checked-in+
landed in yesterdays reconfig
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
I looked on inbound at jobs from this morning and I don't see the --bootstrap flag. Maybe this is on another branch or hasn't rolled out to the foopies yet?
it was a change to the master so doesn't need to be rolled out to foopies... let me paste here the header from some jobs so you can tell me if I messed something up: Android Tegra 250 mozilla-inbound opt test crashtest-1 python reftest/remotereftest.py --deviceIP 10.250.49.13 --xre-path ../hostutils/xre --utility-path ../hostutils/bin --app org.mozilla.fennec --http-port 30026 --ssl-port 31026 --pidfile /builds/tegra-026/test/../remotereftest.pid --enable-privilege --bootstrap --total-chunks 2 --this-chunk 1 reftest/tests/testing/crashtest/crashtests.list --symbols-path=../symbols Android Tegra 250 mozilla-inbound opt test jsreftest-3 python reftest/remotereftest.py --deviceIP 10.250.50.100 --xre-path ../hostutils/xre --utility-path ../hostutils/bin --app org.mozilla.fennec --http-port 30190 --ssl-port 31190 --pidfile /builds/tegra-190/test/../remotereftest.pid --enable-privilege --bootstrap --total-chunks 3 --this-chunk 3 --extra-profile-file=jsreftest/tests/user.js jsreftest/tests/jstests.list --symbols-path=../symbols Android XUL Tegra 250 mozilla-inbound opt test crashtest-1 python reftest/remotereftest.py --deviceIP 10.250.49.6 --xre-path ../hostutils/xre --utility-path ../hostutils/bin --app org.mozilla.fennec --http-port 30019 --ssl-port 31019 --pidfile /builds/tegra-019/test/../remotereftest.pid --enable-privilege --total-chunks 2 --this-chunk 1 reftest/tests/testing/crashtest/crashtests.list --symbols-path=../symbols Android XUL Tegra 250 mozilla-inbound opt test jsreftest-2 python reftest/remotereftest.py --deviceIP 10.250.49.3 --xre-path ../hostutils/xre --utility-path ../hostutils/bin --app org.mozilla.fennec --http-port 30016 --ssl-port 31016 --pidfile /builds/tegra-016/test/../remotereftest.pid --enable-privilege --total-chunks 3 --this-chunk 2 --extra-profile-file=jsreftest/tests/user.js jsreftest/tests/jstests.list --symbols-path=../symbols
Product: mozilla.org → Release Engineering
See Also: → 985542
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: