Closed Bug 467485 Opened 16 years ago Closed 16 years ago

reftest, crashtest and BrowserChrome broken on unittest mac since Shiretoko branding

Categories

(Release Engineering :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: catlee)

References

Details

Attachments

(5 files)

unittest hard codes Minefield.app in a few places and we have Shiretoko.app now, so three of the test suites are broken there.

Trying a couple of runs with a symlink added manually, eg in
moz2-darwin9-slave05:/builds/slave/trunk_darwin-5/build/objdir/dist/, from Minefield.app to Shiretoko.app

Similar to bug 456281, but I didn't want to push all of that out because it's not clear if any testing has been done in staging.
Also, the it wouldn't help for the ref and crashtest.
Assignee: nobody → nthomas
Status: NEW → ASSIGNED
Priority: -- → P1
Comment on attachment 350913 [details] [diff] [review]
Temporary (!) kludge to keep us going

Checked in and pushed live, to get the Firefox3.1 tree green. Passed checkconfig before hand.
Attachment #350913 - Flags: review?(ccooper) → review+
Attachment #350913 - Flags: review?(ccooper)
Attachment #350913 - Flags: review+
Attachment #350913 - Flags: checked‑in+
s/name/description/ but otherwise working OK.
Comment on attachment 350913 [details] [diff] [review]
Temporary (!) kludge to keep us going

This is fine as a temporary hack, but it will be fixed properly by bug 456281 which I'm planning to test in staging later today.
Attachment #350913 - Flags: review?(ccooper) → review+
(In reply to comment #5)
> (From update of attachment 350913 [details] [diff] [review])
> This is fine as a temporary hack, but it will be fixed properly by bug 456281
> which I'm planning to test in staging later today.

That won't fix reftest and crashtest, will it? Not sure what the best approach for those is... perhaps a checked in python script similar to runtests.py that finds the right bundle? Maybe even just use runtests.py, since we'll potentially end up doing that for bug 374458 anyways.
Leaving open for a proper fix.
Assignee: nthomas → nobody
Status: ASSIGNED → NEW
Priority: P1 → --
(In reply to comment #8)
> unittest hard codes Minefield.app in a few places and we have Shiretoko.app
> now, so three of the test suites are broken there.

urgh. ok, so doing symlinks can workaround the hardcoding, but still... I'd be worried that this comes up again with other pending project branches. 

Feels to me like the real fix is to change the unittest to just use the name of the project, not hardcode "Minefield". Should this bug be reassigned to Core:Testing?
The hardcoding of Minefield.app is in the buildbot config, not in the test harness.

For the tests that use runtests.py (mochi/mochichrome, browser chrome), you can fix this by omitting the --appname parameter completely, and the patch in bug 374458 does that. For the tests that invoke Firefox directly (reftest/crashtest), you need to either find the right bundle in buildbot code somehow, or we'll need to introduce a python script in the test harness that does it for you. That's what comment 6 is about.
(In reply to comment #9)
> and the patch in bug 374458 does that.

Sorry, I meant bug 456281.
Coop says this will be solved as part of bug 456281.
Depends on: 456281
Looks like the patch in 456281 is already running, duping this over.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Looks like the patch in 456281 is already running, duping this over.
There's no talk of reftest or crashtest over on 456281
Whoops, you're right Nick.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
We hit this again when during our consolidation downtime. This is a really crappy kludge that works for now. We need to fix it for realz soon.
Attachment #353680 - Flags: review?(lukasblakk)
Attachment #353680 - Flags: review?(ccooper)
Attachment #353680 - Flags: review?(lukasblakk) → review+
Attachment #353680 - Flags: review?(ccooper) → review?(catlee)
Attachment #353680 - Flags: checked‑in+
Comment on attachment 353680 [details] [diff] [review]
symlink shiretoko to minefield

This step is now failing because Minefield.app exists.
Attachment #353809 - Flags: review?(catlee) → review+
Comment on attachment 353809 [details] [diff] [review]
test for shiretoko and minefield

Checking in factory.py;
/cvsroot/mozilla/tools/buildbotcustom/process/factory.py,v  <--  factory.py
new revision: 1.63; previous revision: 1.62
done
Attachment #353809 - Flags: checked‑in+
Attachment #353813 - Flags: review?(bhearsum) → review+
Attachment #353812 - Flags: review?(bhearsum) → review+
Assignee: nobody → catlee
Priority: -- → P2
Comment on attachment 353813 [details] [diff] [review]
Use branch name to run certain unit tests on mac

Checking in factory.py;
/cvsroot/mozilla/tools/buildbotcustom/process/factory.py,v  <--  factory.py
new revision: 1.64; previous revision: 1.63
done
Attachment #353813 - Flags: checked‑in+
Comment on attachment 353812 [details] [diff] [review]
Set brand name in config.py and pass along to unittest factory

changeset:   607:b50d6b3214e3
Attachment #353812 - Flags: checked‑in+
Comment on attachment 353813 [details] [diff] [review]
Use branch name to run certain unit tests on mac

Checking in unittest/steps.py;
/cvsroot/mozilla/tools/buildbotcustom/unittest/steps.py,v  <--  steps.py
new revision: 1.18; previous revision: 1.17
done
Attachment #353680 - Flags: review?(catlee)
I think this is fixed for realz this time.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: