Closed
Bug 827303
Opened 12 years ago
Closed 12 years ago
Firefox core and crypto services components assume services/sync is built
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
7.65 KB,
patch
|
gps
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Since bug 824330 landed, we've been seeing xpcshell-tests failures on Thunderbird builds.
The problem is that Thunderbird doesn't enable sync, but services/common and services/cypto both rely on items that are in services/sync.
The simple solution to this is to re-arrange the build items so that we take the required parts out of the services/sync directory. There's also one preference, but that can easily be defaulted.
Example test failures:
TEST-UNEXPECTED-FAIL | /home/cltbld/talos-slave/test/build/xpcshell/tests/toolkit/modules/tests/xpcshell/test_sqlite.js | test failed (with xpcshell return code: 3), see following log:
>>>>>>>
resource://gre/modules/Sqlite.jsm:17: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXPCComponents_Utils.import]
<<<<<<<
Attachment #698651 -
Flags: review?(gps)
Comment 1•12 years ago
|
||
Perhaps we should remove services/crypto from the default dir set.
What part of services/common relies on services/sync? Just the resource:// registration?
Comment 2•12 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #1)
> What part of services/common relies on services/sync? Just the resource://
> registration?
That's probably. I'm inclined to think each should have its own.
Comment 3•12 years ago
|
||
Comment on attachment 698651 [details] [diff] [review]
The fix
Review of attachment 698651 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good to me.
Please nominate for Aurora uplift since trees are broken on 20.
As an aside, Splinter really doesn't handle copies that well :/
Attachment #698651 -
Flags: review?(gps) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Flags: in-testsuite+
Target Milestone: --- → mozilla21
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 698651 [details] [diff] [review]
The fix
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 824330
User impact if declined: None
Testing completed (on m-c, etc.): Landed in mozilla-inbound
Risk to taking this patch (and alternatives if risky): Extremely low - build-config only
String or UUID changes made by this patch: None
Patch needed to fix issues causing permanent orange for xpcshell-tests on apps that don't currently build sync, e.g. Thunderbird.
Attachment #698651 -
Flags: approval-mozilla-aurora?
Comment 6•12 years ago
|
||
Backed out for xpcshell failures:
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=a38692ea87ae
https://hg.mozilla.org/integration/mozilla-inbound/rev/c05ccd690319
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 698651 [details] [diff] [review]
The fix
Bah, I suspect that'll be packaging.
Attachment #698651 -
Flags: approval-mozilla-aurora?
Comment 8•12 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+0] from comment #6)
> Backed out for xpcshell failures:
Also mochitest-browser-chrome timeouts:
https://tbpl.mozilla.org/php/getParsedLog.php?id=18652000&tree=Mozilla-Inbound
Assignee | ||
Comment 9•12 years ago
|
||
Fixes the manifest issues. Note that the non-FF manifests also try to include WeaveCrypto.[js,manifest] but that's a separate bug because they've moved, and bug 610307 failed to update them.
I've pushed this to try to make sure I've fixed the bustage:
https://tbpl.mozilla.org/?tree=Try&rev=3241be89648a
Attachment #698651 -
Attachment is obsolete: true
Comment 10•12 years ago
|
||
Try run for 3241be89648a is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=3241be89648a
Results (out of 15 total builds):
success: 15
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/bugzilla@standard8.plus.com-3241be89648a
Assignee | ||
Comment 11•12 years ago
|
||
Comment on attachment 700236 [details] [diff] [review]
The fix v2
With the added manifests to the package-manifest.in files
Attachment #700236 -
Flags: review?(gps)
Comment 12•12 years ago
|
||
Comment on attachment 700236 [details] [diff] [review]
The fix v2
Review of attachment 700236 [details] [diff] [review]:
-----------------------------------------------------------------
Cleared to land assuming Try passes. If you do land, please also land on services-central (if it applies cleanly) because I'm currently touching some related files and want to deal with the merge sooner. If it doesn't apply cleanly, just comment and I'll do it.
Attachment #700236 -
Flags: review?(gps) → review+
Assignee | ||
Comment 13•12 years ago
|
||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 14•12 years ago
|
||
Also pushed to services-central as requested:
https://hg.mozilla.org/services/services-central/rev/208226541afc
Comment 16•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in services][qa-] → [qa-]
Comment 17•12 years ago
|
||
Comment 18•12 years ago
|
||
Assignee | ||
Comment 19•12 years ago
|
||
Comment on attachment 700236 [details] [diff] [review]
The fix v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 824330
User impact if declined: None
Testing completed (on m-c, etc.): Landed in mozilla-inbound
Risk to taking this patch (and alternatives if risky): Extremely low - build-config only
String or UUID changes made by this patch: None
Patch needed to fix issues causing permanent orange for xpcshell-tests on apps that don't currently build sync, e.g. Thunderbird.
Attachment #700236 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #700236 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 20•12 years ago
|
||
status-firefox20:
--- → fixed
status-firefox21:
--- → fixed
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•