After using both ServerToReadyShardTask and EmptyShardAddToProdAndVerifyTast, and after copying over a working shadow_config to try to bootstrap puppet into working, when I tried to run atest I received the following error indicating that utils/build_externals did not run.
When and where is build_externals expected to run? It would certainly make sense for it to be run as part of one of those Tasks, so not clear why it wasn't.
chromeos-test@chromeos-server33:/usr/local/autotest/cli$ ./atest server list
ERROR:root:Could not import tzlocal.
WARNING:root:Unable to import chromite. Monarch is disabled.
Traceback (most recent call last):
File "./atest", line 8, in <module>
sys.exit(atest.main())
File "/usr/local/autotest/cli/atest.py", line 59, in main
'autotest_lib.cli')
File "/usr/local/autotest/client/setup_modules.py", line 70, in import_module
from_module = __import__(from_where, globals(), locals(), [module])
File "/usr/local/autotest/cli/server.py", line 29, in <module>
from autotest_lib.site_utils import server_manager
File "/usr/local/autotest/site_utils/server_manager.py", line 38, in <module>
from autotest_lib.frontend.server import models as server_models
File "/usr/local/autotest/frontend/server/models.py", line 8, in <module>
from django.db import models as dbmodels
ImportError: No module named django.db
Comment 1 by shuqianz@chromium.org
, May 1 2017