Alexander Couzens
2017-08-15 03:04:44 UTC
Hi,
I ran into the following stack trace [0].
IMHO deployment_data should be always set, right?
Best,
lynxis
[0] https://lava.fe80.eu/scheduler/job/63
Traceback (most recent call last):
File "/usr/bin/lava", line 11, in <module>
load_entry_point('lava-tool==0.21', 'console_scripts', 'lava')()
File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 150, in run
raise SystemExit(cls().dispatch(args))
File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 140, in dispatch
return command.invoke()
File "/usr/lib/python2.7/dist-packages/lava/dispatcher/commands.py", line 226, in invoke
job_runner, job_data = self.parse_job_file(self.args.job_file, oob_file)
File "/usr/lib/python2.7/dist-packages/lava/dispatcher/commands.py", line 286, in parse_job_file
env_dut=env_dut)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/parser.py", line 172, in parse
test_info, test_counts[namespace])
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/parser.py", line 68, in parse_action
Deployment.select(device, parameters)(pipeline, parameters)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/actions/deploy/ssh.py", line 54, in __init__
parent.add_action(self.action, parameters)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/action.py", line 172, in add_action
action.populate(parameters)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/actions/deploy/ssh.py", line 95, in populate
tar_flags = parameters['deployment_data']['tar_flags'] if 'tar_flags' in parameters['deployment_data'].keys() else ''
KeyError: 'deployment_data'
I ran into the following stack trace [0].
IMHO deployment_data should be always set, right?
Best,
lynxis
[0] https://lava.fe80.eu/scheduler/job/63
Traceback (most recent call last):
File "/usr/bin/lava", line 11, in <module>
load_entry_point('lava-tool==0.21', 'console_scripts', 'lava')()
File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 150, in run
raise SystemExit(cls().dispatch(args))
File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 140, in dispatch
return command.invoke()
File "/usr/lib/python2.7/dist-packages/lava/dispatcher/commands.py", line 226, in invoke
job_runner, job_data = self.parse_job_file(self.args.job_file, oob_file)
File "/usr/lib/python2.7/dist-packages/lava/dispatcher/commands.py", line 286, in parse_job_file
env_dut=env_dut)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/parser.py", line 172, in parse
test_info, test_counts[namespace])
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/parser.py", line 68, in parse_action
Deployment.select(device, parameters)(pipeline, parameters)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/actions/deploy/ssh.py", line 54, in __init__
parent.add_action(self.action, parameters)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/action.py", line 172, in add_action
action.populate(parameters)
File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/actions/deploy/ssh.py", line 95, in populate
tar_flags = parameters['deployment_data']['tar_flags'] if 'tar_flags' in parameters['deployment_data'].keys() else ''
KeyError: 'deployment_data'
--
Alexander Couzens
mail: ***@fe80.eu
jabber: ***@fe80.eu
mobile: +4915123277221
gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604
Alexander Couzens
mail: ***@fe80.eu
jabber: ***@fe80.eu
mobile: +4915123277221
gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604