WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
97796
[Perftest] PerfTestRunner exception when using nested git checkouts
https://bugs.webkit.org/show_bug.cgi?id=97796
Summary
[Perftest] PerfTestRunner exception when using nested git checkouts
Florin Malita
Reported
2012-09-27 09:23:44 PDT
I'm using separate Chromium and WebKit git trees, and run-perf-tests bombs when attempting to collect revision info: Traceback (most recent call last): File "Tools/Scripts/run-perf-tests", line 40, in <module> sys.exit(PerfTestsRunner().run()) File "/mnt/screamin/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py", line 167, in run exit_code = self._generate_and_show_results() File "/mnt/screamin/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py", line 182, in _generate_and_show_results output = self._generate_results_dict(self._timestamp, options.description, options.platform, options.builder_name, options.build_number) File "/mnt/screamin/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py", line 208, in _generate_results_dict contents[name + '-revision'] = self._host.scm().svn_revision(path) File "/mnt/screamin/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py", line 255, in svn_revision git_log = self._run_git(['log', '-25', path]) File "/mnt/screamin/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py", line 106, in _run_git return self.run(full_command_args, **full_kwargs) File "/mnt/screamin/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm.py", line 76, in run decode_output=decode_output) File "/mnt/screamin/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive.py", line 423, in run_command (error_handler or self.default_error_handler)(script_error) File "/mnt/screamin/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive.py", line 340, in default_error_handler raise error webkitpy.common.system.executive.ScriptError: Failed to run "[u'git', u'log', u'-25', u'/mnt/screamin/src/chromium/src/build']" exit_code: 128 cwd: /mnt/screamin/src/chromium/src/third_party/WebKit It boils down to git not supporting querying resources outside its current tree: fmalita@fmalita-linux2:~/wk$ git log /mnt/screamin/src/chromium/src/build fatal: '/mnt/screamin/src/chromium/src/build' is outside repository
Attachments
Patch
(2.15 KB, patch)
2012-09-27 09:26 PDT
,
Florin Malita
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Florin Malita
Comment 1
2012-09-27 09:26:01 PDT
Created
attachment 166018
[details]
Patch
Ryosuke Niwa
Comment 2
2012-09-27 10:13:47 PDT
Let me verify that it works correctly in svn checkouts.
WebKit Review Bot
Comment 3
2012-09-27 14:55:32 PDT
Comment on
attachment 166018
[details]
Patch Clearing flags on attachment: 166018 Committed
r129804
: <
http://trac.webkit.org/changeset/129804
>
WebKit Review Bot
Comment 4
2012-09-27 14:55:35 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