Issue metadata
Sign in to add a comment
|
repo hooks: Cannot upload Autotest CL from outside the chroot |
||||||||||||||||||||||||
Issue description
Looks like the chromite import fails outside of the chroot? Are we expected to not upload Autotest CLs outside of the chroot? That's a little strange.
$ repo upload --cbr .
...
----------------------------- Captured stderr call -----------------------------
autotest_monkeypatcher: 2018-01-23 15:59:30,913:ERROR:autotest:_global_setup:60:Uncaught exception escaped Autotest setup
Traceback (most recent call last):
File "lucifer/autotest.py", line 56, in _global_setup
yield
File "lucifer/autotest.py", line 47, in monkeypatch
_monkeypatch_body()
File "lucifer/autotest.py", line 76, in _monkeypatch_body
importlib.import_module('chromite')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named chromite
===================== 1 failed, 25 passed in 1.25 seconds ======================
,
Jan 23 2018
utils/build_externals
,
Jan 23 2018
I'm not sure I know what to do with utils/build_externals in this context.
,
Jan 23 2018
Running utils/build_externals (.py?) in the autotest repo, outside the chroot, should solve this.
,
Jan 23 2018
Thanks! |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by vapier@chromium.org
, Jan 23 2018Status: Duplicate (was: Untriaged)