Closed Bug 715876 Opened 13 years ago Closed 10 years ago

Allow x64 builds to use the Mozilla Maintenance Service and verify MARs

Categories

(Toolkit :: Application Update, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: bbondy, Assigned: bbondy)

References

Details

Attachments

(1 file, 1 obsolete file)

There is only one service across all channels and build types.  Currently if a build being used is a native x64 build then we neither install nor use an installed service for updates.

x64 service builds were disabled to simply testing and development of the initial landing of the service.  In particular the work for testing would have increased by a factor of 2.   We would have to test things like having an x64 service upgrading an x86 process and having an x86 service upgrading an x64 process.

This task is to enable x64 builds, test it, and fix problems if any exist.
Depends on: 707666
Blocks: 740669
Depends on: 730824
Depends on: 711210
The only thing really blocking this work is 1) signing the x64 Windows files, and 2) Signing the x64 MAR files.

I think #2 should be trivial since it uses our own signing mechanism. But I'm not sure about #1.
See Also: → 1025640
The bulk of the work was done in bug 1025640.

All that remains for this bug is to pref on using the service by default on x64.
We can't do that until we have signatures on the x64 binaries though.
Blocks: 880004
Attached patch Patch rev1. (obsolete) — Splinter Review
Attachment #8501472 - Flags: review?(robert.strong.bugs)
Attached patch rev1'Splinter Review
Same as before but cleans up the diff a bit more by not re-ordering the conditions.
Attachment #8501472 - Attachment is obsolete: true
Attachment #8501472 - Flags: review?(robert.strong.bugs)
Attachment #8501475 - Flags: review?(robert.strong.bugs)
Attachment #8501475 - Flags: review?(robert.strong.bugs) → review+
Summary: Allow native x64 builds to install and use the Mozilla Maintenance Service → Allow x64 builds to use the Mozilla Maintenance Service and verify MARs
- Update Firefox-x64 with Maintenance service disabled
- Update Firefox-x64 with Maintenance service-x86, check logs, make sure they look ok w/o warnings
- Update Firefox-x86 with Maintenance service-x86, check logs, make sure they look ok w/o warnings
- Update Firefox-x64 with Maintenance service-x64, check logs, make sure they look ok w/o warnings
- Update Firefox-x86 with Maintenance service-x64, check logs, make sure they look ok w/o warnings

Note that rstrong mentioned that when he was testing a replace request failed once (but I assume the fallback succeeded).

I did reproduce this once, but it ended up being my fault. I had the folder open in explorer. I assume something like this was also the case before.

Re-testing with it closed worked fine w/ neither errors nor warnings.

Everything looks good with testing on Oak, going ahead with landing.
https://hg.mozilla.org/mozilla-central/rev/5fc6e12c048b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Could you please update
https://wiki.mozilla.org/Windows_Service_Silent_Update#A_single_service_and_service_versioning ?

"If the user is running on an x64 computer with a native x64 build, then the service will not be installed nor used by that build. If the user is on an x64 computer with an x86 build, then the service will be used and installed by the build as an x86 process. Future versions of Firefox will support native x64 builds with the service. Work is being tracked for native x64 builds in Bug 715876."
Indeed that's old info, thanks for the heads up. I'll modify it.
updated.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: