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)
Release Engineering
Release Automation
Tracking
(firefox49 fixed, firefox50 fixed, firefox51 fixed)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: nthomas)
References
Details
Attachments
(3 files)
|
1.30 KB,
patch
|
rail
:
review+
nthomas
:
checked-in-
|
Details | Diff | Splinter Review |
|
48.46 KB,
image/png
|
Details | |
|
58 bytes,
text/x-review-board-request
|
glandium
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details |
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.
Comment 1•10 years ago
|
||
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.
| Assignee | ||
Comment 2•10 years ago
|
||
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 ?
Comment 3•10 years ago
|
||
(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?
| Assignee | ||
Comment 4•10 years ago
|
||
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
| Assignee | ||
Comment 5•10 years ago
|
||
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)
Updated•10 years ago
|
Attachment #8782685 -
Flags: review?(jlund) → review+
Comment 6•10 years ago
|
||
In production: https://hg.mozilla.org/build/buildbotcustom/rev/68ec5535f7af
Comment 7•10 years ago
|
||
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
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(nthomas)
Summary: Timeouts generating partial updates for Thunderbird on Windows → Missing runtime dll when generating partial updates for Thunderbird on Windows
| Assignee | ||
Comment 10•10 years ago
|
||
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
| Assignee | ||
Comment 11•10 years ago
|
||
(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
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(rail)
Comment 13•10 years ago
|
||
| mozreview-review | ||
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+
Comment 14•10 years ago
|
||
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
| Assignee | ||
Comment 15•10 years ago
|
||
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 16•10 years ago
|
||
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+
Comment 17•10 years ago
|
||
nthomas can you land? (no one else has picked it up)
Flags: needinfo?(nthomas)
Comment 18•10 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 19•10 years ago
|
||
Waiting for trees to reopen ...
Comment 20•10 years ago
|
||
ah - I didn't realize there were issues.
| Assignee | ||
Comment 21•10 years ago
|
||
| Assignee | ||
Comment 22•10 years ago
|
||
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-
Comment 23•10 years ago
|
||
In production: https://hg.mozilla.org/build/buildbotcustom/rev/e03bbd8376e3
You need to log in
before you can comment on or make changes to this bug.
Description
•