Closed Bug 1296449 Opened 10 years ago Closed 10 years ago

Missing runtime dll when generating partial updates for Thunderbird on Windows

Categories

(Release Engineering :: Release Automation, defect)

defect
Not set
normal

Tracking

(firefox49 fixed, firefox50 fixed, firefox51 fixed)

RESOLVED FIXED
Tracking Status
firefox49 --- fixed
firefox50 --- fixed
firefox51 --- fixed

People

(Reporter: nthomas, Assigned: nthomas)

References

Details

Attachments

(3 files)

eg https://archive.mozilla.org/pub/thunderbird/candidates/49.0b1-candidates/build2/logs/release-comm-beta-win32_build-bm71-build1-build3.txt.gz Adding file patch and add instructions to update manifests diffing "xul.dll" command timed out: 1200 seconds without output running ['bash', 'c:/builds/moz2_slave/tb-rel-c-beta-w32_bld-00000000/build/mozilla/tools/update-packaging/make_incremental_update.sh', 'update/win32/en-US/thunderbird-45.2b1-49.0b1.partial.mar', '../previous', '../current'], attempting to kill SIGKILL failed to kill process using fake rc=-1 program finished with exit code -1 A partial spanning 4 release cycles might be part of it, and windows is slower in general. We can try bumping up the timeout as a workaround.
Ship-it was specified with only 3 partials : 44.0b1build1,47.0b2build1,45.2b1build2 I can skip the older partials if needed - I estimate only 1-2k users on each of the two older versions Note - we skipped betas 46 and 48.
Dropping the older partials would be simpler than playing whack-a-mole fixing first en-US and then repacks, but won't you hit the same problem when you do a release build and the most recent version is 45.2.0 ?
(In reply to Nick Thomas [:nthomas] from comment #2) > Dropping the older partials would be simpler than playing whack-a-mole > fixing first en-US and then repacks, but won't you hit the same problem when > you do a release build and the most recent version is 45.2.0 ? I would assume so. Any downside to being more generous with the timeout, which is already 20 minutes?
It's a useful first step, but we don't know if it just takes a bit longer or something pathological is going on. Firefox wouldn't hit because it's generating partials with funsize (external to the slave). Taking, since this is set in buildbot code.
Assignee: nobody → nthomas
This increases the timeout to 40 minutes for en-US builds (thunderbird releases only). We already have that timeout for repacks. In the event that 40 minutes is not long enough, we'd also have to modify these two lines: http://hg.mozilla.org/build/buildbotcustom/file/default/process/release.py#l737 http://hg.mozilla.org/build/buildbotcustom/file/default/process/release.py#l834
Attachment #8782685 - Flags: review?(jlund)
Attachment #8782685 - Flags: review?(jlund) → review+
win32 failed again, so we need another patch per comment 5 https://archive.mozilla.org/pub/thunderbird/candidates/49.0b1-candidates/build3/logs/release-comm-beta-win32_build-bm77-build1-build1.txt.gz Adding type instruction to update manifests type partial Adding file patch and add instructions to update manifests diffing "xul.dll" command timed out: 2400 seconds without output running ['bash', 'c:/builds/moz2_slave/tb-rel-c-beta-w32_bld-00000000/build/mozilla/tools/update-packaging/make_incremental_update.sh', 'update/win32/en-US/thunderbird-45.2b1-49.0b1.partial.mar', '../previous', '../current'], attempting to kill
Flags: needinfo?(rail)
Flags: needinfo?(nthomas)
Flags: needinfo?(nthomas)
Summary: Timeouts generating partial updates for Thunderbird on Windows → Missing runtime dll when generating partial updates for Thunderbird on Windows
Not really a timeout. Looks more like fallout from swapping to vc2015, with the mbsdiff utility needing needs a MS runtime. Possible fixes * adjust PATH (dll is present on MOZ_OBJDIR/dist/bin, MOZ_OBJDIR/dist/thunderbird * install runtime package on builders * look for differences between mar.exe and mbsdiff.exe; perhaps mar.exe is statically linked
(In reply to Nick Thomas [:nthomas] from comment #10) > Possible fixes > * adjust PATH (dll is present on MOZ_OBJDIR/dist/bin, MOZ_OBJDIR/dist/thunderbird Prepending either of these to PATH allow mbsdiff to emit their usage messages, wasn't able to verify partial mar generation. Using vs2015u2\VC\redist\x64\Microsoft.VC140.CRT\ does not work, still needs an api-ms-blah-blah-blah.dll > * install runtime package on builders Possible, but might take a while. > * look for differences between mar.exe and mbsdiff.exe; perhaps mar.exe is > statically linked mar is statically linked, via https://dxr.mozilla.org/mozilla-beta/source/modules/libmar/tool/moz.build#41 This try push tests doing the same for mbsdiff - https://treeherder.mozilla.org/#/jobs?repo=try&revision=26c6139d84ed
Flags: needinfo?(rail)
Comment on attachment 8783397 [details] Bug 1296449, statically link mbsdiff.exe, like we do for mar.exe https://reviewboard.mozilla.org/r/73198/#review71302
Attachment #8783397 - Flags: review?(mh+mozilla) → review+
Pushed by nthomas@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c01a9c030fd0 statically link mbsdiff.exe, like we do for mar.exe r=glandium
Comment on attachment 8783397 [details] Bug 1296449, statically link mbsdiff.exe, like we do for mar.exe Approval Request Comment [Feature/regressing bug #]: Swapping to Visual Studio 2015 regressed this [User impact if declined]: No partial updates for Thunderbird releases, currently blocking their 49.0b1 [Describe test coverage new/current, TreeHerder]: None [Risks and why]: Firefox unaffected as it uses different partial update generation system [String/UUID change made/needed]: None
Attachment #8783397 - Flags: approval-mozilla-beta?
Attachment #8783397 - Flags: approval-mozilla-aurora?
Comment on attachment 8783397 [details] Bug 1296449, statically link mbsdiff.exe, like we do for mar.exe sure, happy to help the tb folks!
Attachment #8783397 - Flags: approval-mozilla-beta?
Attachment #8783397 - Flags: approval-mozilla-beta+
Attachment #8783397 - Flags: approval-mozilla-aurora?
Attachment #8783397 - Flags: approval-mozilla-aurora+
nthomas can you land? (no one else has picked it up)
Flags: needinfo?(nthomas)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Waiting for trees to reopen ...
ah - I didn't realize there were issues.
Blocks: 1297787
Comment on attachment 8782685 [details] [diff] [review] [buildbotcustom] Increase timeout to 40 minutes from 20 Backed this out because 49.0b1 build4 worked with the statically linked mbsdiff.exe, and partials were generated in ~ 4 minutes. https://hg.mozilla.org/build/buildbotcustom/rev/e03bbd8376e3
Attachment #8782685 - Flags: checked-in-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: