Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Issue 26184003: Move memory waterfall build directory computation to the slave. (Closed)

Created:
7 years, 2 months ago by Nico
Modified:
7 years, 2 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, cmp-cc_chromium.org, ilevy-cc_chromium.org, xusydoc+watch_chromium.org, kjellander+cc_chromium.org, Lei Zhang, scottmg
Base URL:
http://src.chromium.org/chrome/trunk/tools/build/
Visibility:
Public.

Description

Move memory waterfall build directory computation to the slave. runtest.py already jumps through the right hoops to get the right build_dir (mostly; but it'll have to learn how to do this completely correct soon), so just give that an option to pass the build directory on to the memory scripts. With this, the isolate master is the last place to call ConvertBuildDirToLegacy on the master. Depends on https://codereview.chromium.org/26190002/ BUG=294387 r227327

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -14 lines) Patch
M scripts/master/factory/chromium_commands.py View 4 chunks +5 lines, -11 lines 0 comments Download
M scripts/slave/runtest.py View 7 chunks +20 lines, -3 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
Nico
7 years, 2 months ago (2013-10-06 19:37:18 UTC) #1
M-A Ruel
lgtm https://codereview.chromium.org/26184003/diff/2001/scripts/slave/runtest.py File scripts/slave/runtest.py (right): https://codereview.chromium.org/26184003/diff/2001/scripts/slave/runtest.py#newcode652 scripts/slave/runtest.py:652: command.append('--build-dir=' + build_dir) In general I prefer using ...
7 years, 2 months ago (2013-10-06 20:32:26 UTC) #2
Nico
Thanks! If you're still around, do you want to stamp https://codereview.chromium.org/26190002/ too? On Sun, Oct ...
7 years, 2 months ago (2013-10-06 21:18:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/26184003/2001
7 years, 2 months ago (2013-10-07 19:44:23 UTC) #4
commit-bot: I haz the power
7 years, 2 months ago (2013-10-07 19:45:10 UTC) #5
Presubmit check for 26184003-2001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit ERRORS **
Pylint (402 files) failed
Traceback (most recent call last):
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 284, in
getattr
    return [self.import_module(name, relative_only=True)]
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 339, in
import_module
    return MANAGER.astng_from_module_name(absmodname)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 136, in
astng_from_module_name
    return self.astng_from_file(filepath, modname, fallback=False)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 107, in
astng_from_file
    return ASTNGBuilder(self).file_build(filepath, modname)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 129, in
file_build
    node = self.string_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 135, in
string_build
    module = self._data_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 151, in
_data_build
    node = parse(data + '\n')
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 41, in parse
    return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
  File "<string>", line 782
    '--pass-build-dir',
                     ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 284, in
getattr
    return [self.import_module(name, relative_only=True)]
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 339, in
import_module
    return MANAGER.astng_from_module_name(absmodname)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 136, in
astng_from_module_name
    return self.astng_from_file(filepath, modname, fallback=False)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 107, in
astng_from_file
    return ASTNGBuilder(self).file_build(filepath, modname)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 129, in
file_build
    node = self.string_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 135, in
string_build
    module = self._data_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 151, in
_data_build
    node = parse(data + '\n')
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 41, in parse
    return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
  File "<string>", line 782
    '--pass-build-dir',
                     ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 284, in
getattr
    return [self.import_module(name, relative_only=True)]
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 339, in
import_module
    return MANAGER.astng_from_module_name(absmodname)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 136, in
astng_from_module_name
    return self.astng_from_file(filepath, modname, fallback=False)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 107, in
astng_from_file
    return ASTNGBuilder(self).file_build(filepath, modname)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 129, in
file_build
    node = self.string_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 135, in
string_build
    module = self._data_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 151, in
_data_build
    node = parse(data + '\n')
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 41, in parse
    return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
  File "<string>", line 782
    '--pass-build-dir',
                     ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 284, in
getattr
    return [self.import_module(name, relative_only=True)]
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 339, in
import_module
    return MANAGER.astng_from_module_name(absmodname)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 136, in
astng_from_module_name
    return self.astng_from_file(filepath, modname, fallback=False)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 107, in
astng_from_file
    return ASTNGBuilder(self).file_build(filepath, modname)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 129, in
file_build
    node = self.string_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 135, in
string_build
    module = self._data_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 151, in
_data_build
    node = parse(data + '\n')
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 41, in parse
    return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
  File "<string>", line 782
    '--pass-build-dir',
                     ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 284, in
getattr
    return [self.import_module(name, relative_only=True)]
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 339, in
import_module
    return MANAGER.astng_from_module_name(absmodname)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 136, in
astng_from_module_name
    return self.astng_from_file(filepath, modname, fallback=False)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 107, in
astng_from_file
    return ASTNGBuilder(self).file_build(filepath, modname)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 129, in
file_build
    node = self.string_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 135, in
string_build
    module = self._data_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 151, in
_data_build
    node = parse(data + '\n')
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 41, in parse
    return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
  File "<string>", line 782
    '--pass-build-dir',
                     ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 284, in
getattr
    return [self.import_module(name, relative_only=True)]
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 339, in
import_module
    return MANAGER.astng_from_module_name(absmodname)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 136, in
astng_from_module_name
    return self.astng_from_file(filepath, modname, fallback=False)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 107, in
astng_from_file
    return ASTNGBuilder(self).file_build(filepath, modname)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 129, in
file_build
    node = self.string_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 135, in
string_build
    module = self._data_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 151, in
_data_build
    node = parse(data + '\n')
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 41, in parse
    return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
  File "<string>", line 782
    '--pass-build-dir',
                     ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 284, in
getattr
    return [self.import_module(name, relative_only=True)]
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 339, in
import_module
    return MANAGER.astng_from_module_name(absmodname)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 136, in
astng_from_module_name
    return self.astng_from_file(filepath, modname, fallback=False)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 107, in
astng_from_file
    return ASTNGBuilder(self).file_build(filepath, modname)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 129, in
file_build
    node = self.string_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 135, in
string_build
    module = self._data_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 151, in
_data_build
    node = parse(data + '\n')
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 41, in parse
    return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
  File "<string>", line 782
    '--pass-build-dir',
                     ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 284, in
getattr
    return [self.import_module(name, relative_only=True)]
  File "/b/depot_tools/third_party/logilab/astng/scoped_nodes.py", line 339, in
import_module
    return MANAGER.astng_from_module_name(absmodname)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 136, in
astng_from_module_name
    return self.astng_from_file(filepath, modname, fallback=False)
  File "/b/depot_tools/third_party/logilab/astng/manager.py", line 107, in
astng_from_file
    return ASTNGBuilder(self).file_build(filepath, modname)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", line 129, in
file_build
    node = self.string_build(data, modname, path)
  File "/b/depot_tools/third_party/logilab/astng/builder.py", lineā€¦
(message too large)

Powered by Google App Engine
This is Rietveld 408576698