'list' object has no attribute 'items'

Bug #1324788 reported by Weilong Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Confirmed
Medium
Tyler Baker

Bug Description

Hi,I came accross this bug when I created a Multinode Job. It seem something wrong when I use default parameters.
:
ErrorMessage: 'list' object has no attribute 'items'
 Lava failed at action lava_test_shell with error:'list' object has no attribute 'items'
Traceback (most recent call last):
  File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.04-16-g5f3e076/lava_dispatcher/job.py", line 339, in run
  action.run(**params)
  File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.04-16-g5f3e076/lava_dispatcher/actions/lava_test_shell.py", line 697, in run
  testdef_repos, skip_install)
  File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.04-16-g5f3e076/lava_dispatcher/actions/lava_test_shell.py", line 925, in _configure_target
  testdef.copy_test(hdir, tdir)
  File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.04-16-g5f3e076/lava_dispatcher/actions/lava_test_shell.py", line 640, in copy_test
  URLTestDefinition.copy_test(self, hostdir, targetdir)
  File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.04-16-g5f3e076/lava_dispatcher/actions/lava_test_shell.py", line 562, in copy_test
  self._create_target_install(hostdir, targetdir)
  File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.04-16-g5f3e076/lava_dispatcher/actions/lava_test_shell.py", line 515, in _create_target_install
  self._inject_testdef_parameters(f)
  File "/srv/lava/.cache/git-cache/exports/lava-dispatcher/2014.04-16-g5f3e076/lava_dispatcher/actions/lava_test_shell.py", line 502, in _inject_testdef_parameters
  for def_param_name, def_param_value in self.testdef['params'].items():
 AttributeError: 'list' object has no attribute 'items'

The link is:
https://validation.linaro.org/scheduler/job/129800.1
https://validation.linaro.org/scheduler/job/129800.0

affects: lava-android-benchmark-views → lava-dispatcher
Changed in lava-dispatcher:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Tyler Baker (tyler-baker)
Revision history for this message
Tyler Baker (tyler-baker) wrote :
Revision history for this message
Weilong Chen (weilong-chen) wrote :

Fixed,
Thanks very much!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.