When running at ToT moblab locally I am seeing the following issue.
At the very least we should probably figure out a better error message, it is possible that there is something wrong with my install since I am changing the project-moblab ebuild to a cros-workon build.
02/14 10:48:17.075 DEBUG| utils:0214| Running 'sudo lxc-ls --active'
02/14 10:48:17.121 DEBUG| utils:0214| Running 'sudo test -e "/mnt/moblab/containers/base_05/rootfs"'
02/14 10:48:17.141 DEBUG| utils:0214| Running 'cp /usr/local/autotest/results/drone_tmp/attach.6 /usr/local/autotest/results/2-moblab/192.168.231.100/attach.6'
02/14 10:48:17.151 DEBUG| container_factory:0068| Creating new container (name: test_2_1518634095_20303, lxc_path: /mnt/moblab/containers)
02/14 10:48:17.151 DEBUG| utils:0214| Running 'sudo test -e "/mnt/moblab/containers/test_2_1518634095_20303"'
02/14 10:48:17.162 DEBUG| utils:0214| Running 'sudo lxc-ls --active'
02/14 10:48:17.181 DEBUG| utils:0214| Running 'sudo test -e "/mnt/moblab/containers/base_05/rootfs"'
02/14 10:48:17.192 INFO | server_job:0218| FAIL ---- ---- timestamp=1518634097 localtime=Feb 14 10:48:17 Failed to setup container for test: 'base_05'. Check logs in ssp_logs folder for more details.
02/14 10:48:17.192 DEBUG| utils:0214| Running 'sudo -n chown -R 246 "/usr/local/autotest/results/2-moblab/192.168.231.100"'
02/14 10:48:17.202 DEBUG| utils:0214| Running 'sudo -n chgrp -R 246 "/usr/local/autotest/results/2-moblab/192.168.231.100"'
02/14 10:48:17.213 ERROR| traceback:0013| Traceback (most recent call last):
02/14 10:48:17.213 ERROR| traceback:0013| File "/usr/local/autotest/server/autoserv", line 507, in run_autoserv
02/14 10:48:17.214 ERROR| traceback:0013| machines)
02/14 10:48:17.214 ERROR| traceback:0013| File "/usr/local/autotest/server/autoserv", line 168, in _run_with_ssp
02/14 10:48:17.214 ERROR| traceback:0013| dut_name=dut_name)
02/14 10:48:17.214 ERROR| traceback:0013| File "/usr/lib64/python2.7/site-packages/chromite/lib/metrics.py", line 483, in wrapper
02/14 10:48:17.215 ERROR| traceback:0013| return fn(*args, **kwargs)
02/14 10:48:17.215 ERROR| traceback:0013| File "/usr/local/autotest/site_utils/lxc/cleanup_if_fail.py", line 44, in func_cleanup_if_fail
02/14 10:48:17.216 ERROR| traceback:0013| container = bucket.get_container(container_id)
02/14 10:48:17.216 ERROR| traceback:0013| File "/usr/local/autotest/site_utils/lxc/container_bucket.py", line 122, in get_container
02/14 10:48:17.217 ERROR| traceback:0013| return self.get_all().get(container_id, None)
02/14 10:48:17.217 ERROR| traceback:0013| File "/usr/local/autotest/site_utils/lxc/container_bucket.py", line 100, in get_all
02/14 10:48:17.217 ERROR| traceback:0013| if containers[info["name"]]:
02/14 10:48:17.217 ERROR| traceback:0013| KeyError: 'base_05'
02/14 10:48:17.223 ERROR| autoserv:0759| Uncaught SystemExit with code 1
Traceback (most recent call last):
File "/usr/local/autotest/server/autoserv", line 755, in main
use_ssp)
File "/usr/local/autotest/server/autoserv", line 562, in run_autoserv
sys.exit(exit_code)
SystemExit: 1
02/14 10:48:17.259 DEBUG| autotemp:0116| Clean was not called for /tmp/_autotmp_JUI_nHssh-master
Comment 1 by dshi@chromium.org
, Feb 14 2018