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'
On Tue, 15 Aug 2017 05:04:44 +0200 Alexander Couzens lynxis@fe80.eu wrote:
Hi,
I ran into the following stack trace [0]. IMHO deployment_data should be always set, right?
SSH test jobs are invalid without a test shell (there would be nothing useful to do).
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: lynxis@fe80.eu jabber: lynxis@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604
linaro-validation@lists.linaro.org