WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 51996
Windows bots need to archive/unarchive builds to/from configuration-specific directories
https://bugs.webkit.org/show_bug.cgi?id=51996
Summary
Windows bots need to archive/unarchive builds to/from configuration-specific ...
Steve Falkenburg
Reported
2011-01-06 10:48:31 PST
Windows bots need to archive/unarchive builds to/from configuration-specific directories
Attachments
Patch
(3.94 KB, patch)
2011-01-06 10:56 PST
,
Steve Falkenburg
no flags
Details
Formatted Diff
Diff
Patch
(3.58 KB, patch)
2011-01-06 10:59 PST
,
Steve Falkenburg
no flags
Details
Formatted Diff
Diff
Patch
(4.78 KB, patch)
2011-01-06 13:06 PST
,
Steve Falkenburg
no flags
Details
Formatted Diff
Diff
Patch
(1.32 KB, patch)
2011-01-06 16:00 PST
,
Steve Falkenburg
no flags
Details
Formatted Diff
Diff
Patch
(1.37 KB, patch)
2011-01-06 16:33 PST
,
Steve Falkenburg
slewis
: review+
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Steve Falkenburg
Comment 1
2011-01-06 10:56:01 PST
Created
attachment 78131
[details]
Patch
Steve Falkenburg
Comment 2
2011-01-06 10:59:14 PST
Created
attachment 78132
[details]
Patch
Eric Seidel (no email)
Comment 3
2011-01-06 12:14:13 PST
Comment on
attachment 78132
[details]
Patch It's amazing how little is shared here between platforms. I CC'd wms as he knows the master.cfg
Eric Seidel (no email)
Comment 4
2011-01-06 12:14:34 PST
I believe mrowe wrote these scripts originally.
Adam Roben (:aroben)
Comment 5
2011-01-06 12:19:30 PST
Comment on
attachment 78132
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=78132&action=review
> Tools/BuildSlaveSupport/built-product-archive:65 > configurationBuildDirectory = os.path.join(buildDirectory, configuration.title()) > return subprocess.call(["ditto", "-c", "-k", "--keepParent", "--sequesterRsrc", configurationBuildDirectory, archiveFile]) > elif platform == 'win': > - binDirectory = os.path.join(buildDirectory, "bin") > + binDirectory = os.path.join(buildDirectory, configuration.title(), "bin")
Can you pull the configurationBuildDirectory definition out a level so that we can use it in the "win" case?
> Tools/BuildSlaveSupport/built-product-archive:123 > + configurationBuildDirectory = os.path.join(buildDirectory, configuration.title())
This is duplicating code that already exists in the "mac" case. Can you share it?
> Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:209 > + if platform == "win": > + rootArgument = ['--root=WebKitBuild/' + self.getProperty('configuration') + '/bin'] > + else: > + rootArgument = ['--root=WebKitBuild/bin'] > if self.skipBuild: > - self.setCommand(self.command + ['--root=WebKitBuild/bin']) > + self.setCommand(self.command + rootArgument)
Why don't we need to do this for RunWebKitTests.start, too?
Steve Falkenburg
Comment 6
2011-01-06 13:06:27 PST
Created
attachment 78153
[details]
Patch
Adam Roben (:aroben)
Comment 7
2011-01-06 13:12:09 PST
Comment on
attachment 78153
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=78153&action=review
> Tools/BuildSlaveSupport/built-product-archive:122 > + os.mkdir(configurationBuildDirectory)
Why didn't we need this mkdir before?
> Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:207 > + if platform == "win": > + rootArgument = ['--root=WebKitBuild/' + self.getProperty('configuration') + '/bin'] > + else: > + rootArgument = ['--root=WebKitBuild/bin']
Seems like we should be using os.path.join here, even though we weren't using it before. I'm surprised that WebKitBuild/bin is really what we want on non-Windows platforms. I know that's what we had before, though.
Steve Falkenburg
Comment 8
2011-01-06 13:32:54 PST
Committed
r75192
: <
http://trac.webkit.org/changeset/75192
>
William Siegrist
Comment 9
2011-01-06 15:20:16 PST
The patch has an undefined variable. I rolled the master back for now.
http://build.webkit.org/builders/SnowLeopard%20Intel%20Release%20%28Tests%29/builds/23235/steps/layout-test/logs/err.html
Adam Roben (:aroben)
Comment 10
2011-01-06 15:37:25 PST
Until this is fixed, the test bots are running old versions of WebKit/DRT!
Steve Falkenburg
Comment 11
2011-01-06 16:00:52 PST
Created
attachment 78184
[details]
Patch
William Siegrist
Comment 12
2011-01-06 16:10:58 PST
Comment on
attachment 78184
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=78184&action=review
> Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:204 > + if self.getProperty('platform') == "win":
We should probably only call getProperty once for platform and store it in a local variable?
Steve Falkenburg
Comment 13
2011-01-06 16:33:31 PST
Created
attachment 78189
[details]
Patch
Steve Falkenburg
Comment 14
2011-01-06 16:40:06 PST
Committed
r75211
: <
http://trac.webkit.org/changeset/75211
>
William Siegrist
Comment 15
2011-01-06 17:24:21 PST
Buildbot master updated. Looks good.
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