Closed
Bug 823973
Opened 12 years ago
Closed 12 years ago
nsIGConfService seems to not work as expected on ubuntu 12.04
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
FIXED
Firefox 21
People
(Reporter: jmaher, Assigned: chrisccoulson)
References
Details
Attachments
(1 file)
2.23 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
on ubuntu 12.04, I am running the browser chrome tests and http://mxr.mozilla.org/mozilla-central/source/browser/components/shell/test/browser_420786.js fails on me:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper file GConf key is correct - Got file:///home/cltbld/Nightly_wallpaper.png, expected /home/cltbld/Nightly_wallpaper.png
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper position GConf key is correct - Got stretched, expected wallpaper
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper file GConf key is correct - Got file:///home/cltbld/Nightly_wallpaper.png, expected /home/cltbld/Nightly_wallpaper.png
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper file GConf key is correct - Got file:///home/cltbld/Nightly_wallpaper.png, expected /home/cltbld/Nightly_wallpaper.png
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper position GConf key is correct - Got stretched, expected centered
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper file GConf key is correct - Got file:///home/cltbld/Nightly_wallpaper.png, expected /home/cltbld/Nightly_wallpaper.png
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper position GConf key is correct - Got stretched, expected zoom
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper file GConf key is correct - Got file:///home/cltbld/Nightly_wallpaper.png, expected /home/cltbld/Nightly_wallpaper.png
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/shell/test/browser_420786.js | Wallpaper position GConf key is correct - Got stretched, expected scaled
Can we fix this on Ubuntu or find some way to disable this test?
Comment 1•12 years ago
|
||
You may be running into bug 383348? We have build dependencies that don't cause the build to fail, but instead result in run-time errors.
Reporter | ||
Comment 2•12 years ago
|
||
Fixing bug 823994 didn't resolve this. Do these need to be built on Ubuntu boxes? Is there anyway that using a regular CI build (non nightly, non pgo) from inbound could still fail?
Reporter | ||
Comment 3•12 years ago
|
||
gavin, do you have any ideas why I would still be experiencing these problems after installing the proper libraries on the build machines?
Comment 4•12 years ago
|
||
Yeah, I started looking into this a bit yesterday. Now that I actually look at the errors from comment 0 in more detail, it seems like something weirder is going on. In particular:
Got file:///home/cltbld/Nightly_wallpaper.png, expected /home/cltbld/Nightly_wallpaper.png
The test is checking the GConf /desktop/gnome/background/picture_filename key, to see whether it matches the value that the shell service should be setting here: http://hg.mozilla.org/mozilla-central/annotate/b5a78c274c09/browser/components/shell/src/nsGNOMEShellService.cpp#l476.
Is is possible that GConf is re-writing the value being set into a URI rather than a filename, but only on some systems? I don't know this code very well, CCing some people who might.
Reporter | ||
Comment 5•12 years ago
|
||
thanks Gavin.
Assignee | ||
Comment 6•12 years ago
|
||
The problem is that on Ubuntu 12.04, the shell service will set the wallpaper via GSettings rather than GConf, so I would expect these tests to always fail there.
We've just started running these tests on our builds too and hit the exact same issue, so we disabled this specific one for now (and browser/components/shell/test/unit/test_421977.js)
I need to update them so that they aren't GConf specific really
Reporter | ||
Comment 7•12 years ago
|
||
Is there a bug to track disabling these two tests? I don't see it on inbound, I assume it will be sometime soon on inbound/central.
Assignee | ||
Comment 8•12 years ago
|
||
There isn't a bug yet. Shall we use this one?
Assignee | ||
Comment 9•12 years ago
|
||
This is what we're using in Ubuntu to disable these 2 tests
Comment 10•12 years ago
|
||
Comment on attachment 702604 [details] [diff] [review]
Skip GConf-specific shell component tests on systems with GSettings
We should just land this and get a bug on file to improve the tests.
Attachment #702604 -
Flags: review+
Reporter | ||
Comment 12•12 years ago
|
||
inbound:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee33f3f12d2f
this will be closed when inbound merges to mozilla-central.
Keywords: checkin-needed
Comment 13•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 21
You need to log in
before you can comment on or make changes to this bug.
Description
•