lxc ontainer call is failing with wrong number of arguments |
||
Issue description
Traceback when creating container
1/27 11:54:37.262 ERROR| traceback:0013| Traceback (most recent call last):
01/27 11:54:37.263 ERROR| traceback:0013| File "/usr/local/autotest/server/autoserv", line 507, in run_autoserv
01/27 11:54:37.263 ERROR| traceback:0013| machines)
01/27 11:54:37.264 ERROR| traceback:0013| File "/usr/local/autotest/server/autoserv", line 168, in _run_with_ssp
01/27 11:54:37.264 ERROR| traceback:0013| dut_name=dut_name)
01/27 11:54:37.265 ERROR| traceback:0013| File "/usr/lib64/python2.7/site-packages/chromite/lib/metrics.py", line 483, in wrapper
01/27 11:54:37.265 ERROR| traceback:0013| return fn(*args, **kwargs)
01/27 11:54:37.266 ERROR| traceback:0013| File "/usr/local/autotest/site_utils/lxc/cleanup_if_fail.py", line 44, in func_cleanup_if_fail
01/27 11:54:37.266 ERROR| traceback:0013| container = bucket.get_container(container_id)
01/27 11:54:37.266 ERROR| traceback:0013| File "/usr/local/autotest/site_utils/lxc/container_bucket.py", line 123, in get_container
01/27 11:54:37.267 ERROR| traceback:0013| {'name': container_id})
01/27 11:54:37.267 ERROR| traceback:0013| TypeError: get_container_info() takes exactly 1 argument (2 given)
01/27 11:54:37.277 ERROR| autoserv:0759| Uncaught SystemExit with code 1
,
Jan 28 2018
,
Jan 28 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/2de1e2316abffb46a32d27040726c92e53b68c56 commit 2de1e2316abffb46a32d27040726c92e53b68c56 Author: Dan Shi <dshi@google.com> Date: Sun Jan 28 08:04:01 2018 Revert "lxc: limit container gets to only needed instances" This reverts commit 5f19911cbf78b9863e753c74acd7fd5941d465ca. BUG= chromium:806537 Change-Id: I18ca485d17691c6cae4195b87dfef295ad01bcf2 Reviewed-on: https://chromium-review.googlesource.com/890304 Commit-Ready: Dan Shi <dshi@google.com> Tested-by: Dan Shi <dshi@google.com> Reviewed-by: Dan Shi <dshi@google.com> [modify] https://crrev.com/2de1e2316abffb46a32d27040726c92e53b68c56/site_utils/lxc/container.py [modify] https://crrev.com/2de1e2316abffb46a32d27040726c92e53b68c56/site_utils/lxc/container_bucket.py
,
Jan 29 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by haddowk@chromium.org
, Jan 27 2018