WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
91265
cr-ews bot doesn't set CWD correctly when zipping layout test results
https://bugs.webkit.org/show_bug.cgi?id=91265
Summary
cr-ews bot doesn't set CWD correctly when zipping layout test results
Kenneth Russell
Reported
2012-07-13 11:04:10 PDT
The newly migrated cr-ews bot is setting the CWD incorrectly (one directory too high) when zipping up failed layout test results. Example bug showing this issue:
https://bugs.webkit.org/show_bug.cgi?id=76225
. The extracted zip archive creates 'tmp/layout_test_results' rather than just layout_test_results.
Attachments
Patch
(3.06 KB, patch)
2012-08-21 16:41 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Patch for landing
(3.09 KB, patch)
2012-08-28 14:36 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Patch for landing
(3.06 KB, patch)
2012-08-28 17:04 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2012-07-13 11:11:49 PDT
Oh, we've had this forever. I've just never known how to fix it. context:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/commands/queues.py#L331
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/commands/queues.py#L238
The code which likely needs to change:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/commands/queues.py#L275
or probably:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/bot/layouttestresultsreader.py#L87
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/system/workspace.py#L58
Eric Seidel (no email)
Comment 2
2012-07-13 11:12:33 PDT
I suspect that Workspace.create_zip just needs to be passed some sort of -D argument or something to have it cd into the directory before its starts zipping.
Eric Seidel (no email)
Comment 3
2012-07-13 11:15:10 PDT
(In reply to
comment #2
)
> I suspect that Workspace.create_zip just needs to be passed some sort of -D argument or something to have it cd into the directory before its starts zipping.
Hmm... Or maybe I'm thinking of tar. We can probably just pass the zip directory as the cwd= in run_command:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/system/executive.py#L372
and then tell it to zip "."
Kenneth Russell
Comment 4
2012-07-13 11:18:33 PDT
(In reply to
comment #1
)
> Oh, we've had this forever. I've just never known how to fix it.
Oops. I thought this was new behavior. Maybe I was confusing this with layout test results coming from Chromium's flakiness dashboard.
Eric Seidel (no email)
Comment 5
2012-08-21 16:41:54 PDT
Created
attachment 159801
[details]
Patch
Kenneth Russell
Comment 6
2012-08-21 16:45:18 PDT
Comment on
attachment 159801
[details]
Patch LGTM! Thanks for the fix.
WebKit Review Bot
Comment 7
2012-08-21 18:41:36 PDT
Comment on
attachment 159801
[details]
Patch Rejecting
attachment 159801
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 ERROR: /mnt/git/webkit-commit-queue/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output:
http://queues.webkit.org/results/13560090
Eric Seidel (no email)
Comment 8
2012-08-28 14:36:08 PDT
Created
attachment 161062
[details]
Patch for landing
WebKit Review Bot
Comment 9
2012-08-28 14:41:45 PDT
Comment on
attachment 161062
[details]
Patch for landing Rejecting
attachment 161062
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 Kenneth Russel found in /mnt/git/webkit-commit-queue/Tools/ChangeLog does not appear to be a valid reviewer according to committers.py. ERROR: /mnt/git/webkit-commit-queue/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output:
http://queues.webkit.org/results/13654509
Eric Seidel (no email)
Comment 10
2012-08-28 14:45:38 PDT
I'll upload a new one with proper spelling shortly.
Eric Seidel (no email)
Comment 11
2012-08-28 17:04:58 PDT
Created
attachment 161095
[details]
Patch for landing
WebKit Review Bot
Comment 12
2012-08-28 19:24:18 PDT
Comment on
attachment 161095
[details]
Patch for landing Rejecting
attachment 161095
[details]
from commit-queue.
eric@webkit.org
does not have committer permissions according to
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py
. - If you do not have committer rights please read
http://webkit.org/coding/contributing.html
for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
WebKit Review Bot
Comment 13
2012-08-28 20:11:48 PDT
Comment on
attachment 161095
[details]
Patch for landing Clearing flags on attachment: 161095 Committed
r126952
: <
http://trac.webkit.org/changeset/126952
>
WebKit Review Bot
Comment 14
2012-08-28 20:11:52 PDT
All reviewed patches have been landed. Closing bug.
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