WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
184715
Fix archive step for WinCairo build bot.
https://bugs.webkit.org/show_bug.cgi?id=184715
Summary
Fix archive step for WinCairo build bot.
Ross Kirsling
Reported
2018-04-17 16:06:29 PDT
Fix archive step for WinCairo build bot.
Attachments
Patch
(4.47 KB, patch)
2018-04-17 16:07 PDT
,
Ross Kirsling
no flags
Details
Formatted Diff
Diff
Patch
(3.19 KB, patch)
2018-04-17 16:12 PDT
,
Ross Kirsling
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ross Kirsling
Comment 1
2018-04-17 16:07:31 PDT
Created
attachment 338155
[details]
Patch
Ross Kirsling
Comment 2
2018-04-17 16:10:11 PDT
***
Bug 149715
has been marked as a duplicate of this bug. ***
Ross Kirsling
Comment 3
2018-04-17 16:12:25 PDT
Created
attachment 338156
[details]
Patch
Lucas Forschler
Comment 4
2018-04-17 16:23:42 PDT
Comment on
attachment 338156
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=338156&action=review
> Tools/BuildSlaveSupport/built-product-archive:216 > + binType = 'bin64' if os.path.exists(os.path.join(_configurationBuildDirectory, 'bin64')) else 'bin32'
I'm working on a discussion with Windows folks here... if we have bots that build both 32bit and 64bit, it's possible this would always return bin64... breaking the 32bit case. It might be best to put the wincairo logic into it's own else block to avoid any unexpected behavior on the 'win' platform.
Brent Fulgham
Comment 5
2018-04-17 16:44:57 PDT
Comment on
attachment 338156
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=338156&action=review
>> Tools/BuildSlaveSupport/built-product-archive:216 >> + binType = 'bin64' if os.path.exists(os.path.join(_configurationBuildDirectory, 'bin64')) else 'bin32' > > I'm working on a discussion with Windows folks here... if we have bots that build both 32bit and 64bit, it's possible this would always return bin64... breaking the 32bit case. > It might be best to put the wincairo logic into it's own else block to avoid any unexpected behavior on the 'win' platform.
I don't think we have any bots that work this way currently -- I think they build bin64 or bin32. We had talked about doing this for machines that only built occasionally, but never actually got around to doing so.
Lucas Forschler
Comment 6
2018-04-17 16:54:46 PDT
(In reply to Brent Fulgham from
comment #5
)
> Comment on
attachment 338156
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=338156&action=review
> > >> Tools/BuildSlaveSupport/built-product-archive:216 > >> + binType = 'bin64' if os.path.exists(os.path.join(_configurationBuildDirectory, 'bin64')) else 'bin32' > > > > I'm working on a discussion with Windows folks here... if we have bots that build both 32bit and 64bit, it's possible this would always return bin64... breaking the 32bit case. > > It might be best to put the wincairo logic into it's own else block to avoid any unexpected behavior on the 'win' platform. > > I don't think we have any bots that work this way currently -- I think they > build bin64 or bin32. We had talked about doing this for machines that only > built occasionally, but never actually got around to doing so.
If that is the case, then this change as-is would not currently break anything... but would break something (32bit) if we do move to building both 64 and 32bit on the same machine in the future. My instinct thinks it would be much harder to debug a scenario like that in the future, and we should guard against it now. I do like the idea of using a flag... but we'd need to support that through the entire path (possibly including buildbot)
Don Olmstead
Comment 7
2018-04-17 16:56:07 PDT
(In reply to Lucas Forschler from
comment #6
)
> (In reply to Brent Fulgham from
comment #5
) > > Comment on
attachment 338156
[details]
> > Patch > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=338156&action=review
> > > > >> Tools/BuildSlaveSupport/built-product-archive:216 > > >> + binType = 'bin64' if os.path.exists(os.path.join(_configurationBuildDirectory, 'bin64')) else 'bin32' > > > > > > I'm working on a discussion with Windows folks here... if we have bots that build both 32bit and 64bit, it's possible this would always return bin64... breaking the 32bit case. > > > It might be best to put the wincairo logic into it's own else block to avoid any unexpected behavior on the 'win' platform. > > > > I don't think we have any bots that work this way currently -- I think they > > build bin64 or bin32. We had talked about doing this for machines that only > > built occasionally, but never actually got around to doing so. > > If that is the case, then this change as-is would not currently break > anything... but would break something (32bit) if we do move to building both > 64 and 32bit on the same machine in the future. My instinct thinks it would > be much harder to debug a scenario like that in the future, and we should > guard against it now. I do like the idea of using a flag... but we'd need to > support that through the entire path (possibly including buildbot)
Is there any sort of logging or file naming that might clear this up? So that way for sure it shows its 32-bit or 64-bit in the case of debugging?
Lucas Forschler
Comment 8
2018-04-18 11:33:02 PDT
It doesn't sound like there is any objection to landing this as-is... we just need to be careful in the future about any bot building both 32 and 64.
WebKit Commit Bot
Comment 9
2018-04-18 12:04:12 PDT
Comment on
attachment 338156
[details]
Patch Clearing flags on attachment: 338156 Committed
r230772
: <
https://trac.webkit.org/changeset/230772
>
WebKit Commit Bot
Comment 10
2018-04-18 12:04:14 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 11
2018-04-18 12:05:18 PDT
<
rdar://problem/39535892
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug