[Webkit-unassigned] [Bug 193746] New: test_exporter.py: webkitpy.common.system.executive.ScriptError from create_branch_with_patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 23 16:24:38 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=193746
Bug ID: 193746
Summary: test_exporter.py:
webkitpy.common.system.executive.ScriptError from
create_branch_with_patch
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
CC: lforschler at apple.com, Ms2ger at igalia.com,
youennf at gmail.com
Playing with export-w3c-test-changes for the first time, I noticed this error:
WARNING: Failed to run "['git', 'apply', '--index', '/tmp/tmpPKjSPLwpt_export_patch']" exit_code: 1 cwd: /home/mcatanzaro/Projects/WebKit/WebKitBuild/w3c-tests/web-platform-tests
Traceback (most recent call last):
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/export-w3c-test-changes", line 35, in <module>
sys.exit(test_exporter.main(sys.argv[1:], sys.stdout, sys.stderr))
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py", line 451, in main
test_exporter.do_export()
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py", line 361, in do_export
if not self.create_branch_with_patch(git_patch_file):
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/w3c/test_exporter.py", line 296, in create_branch_with_patch
self._git.apply_mail_patch(['--abort'])
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py", line 594, in apply_mail_patch
return self._run_git(['apply', '--index'] + options)
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py", line 106, in _run_git
return self.run(full_command_args, **full_kwargs)
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm.py", line 78, in run
decode_output=decode_output)
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/common/system/executive.py", line 412, in run_command
(error_handler or self.default_error_handler)(script_error)
File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitpy/common/system/abstractexecutive.py", line 97, in default_error_handler
raise error
webkitpy.common.system.executive.ScriptError: Failed to run "['git', 'apply', '--index', '--abort']" exit_code: 129 cwd: /home/mcatanzaro/Projects/WebKit/WebKitBuild/w3c-tests/web-platform-tests
It calls 'git apply --index --abort', but --abort is not a valid argument to 'git apply', so we'd best just not call it. This gets me a little bit farther before the next error. :)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190124/9b754e0d/attachment.html>
More information about the webkit-unassigned
mailing list