Hi lava users,
I want to try the simple client/server multi node job [0]. My job yaml is below. I get following error during job submission via webui: Job submission error: 'dict_keys' object does not support indexing
What is wrong? The error message (a python error?) gives me no hint. The log files had have no entries for that issue.
Greetings, Matthias
job_name: simple multinode
timeouts: job: minutes: 90 action: minutes: 10 connection: minutes: 2
priority: medium visibility: public
protocols: lava-multinode: roles: server: device_type: tqma6s-mba6x count: 1 client: device_type: tqma6d-mba6x count: 1 timeout: minutes: 6
actions: - deploy: role: - server timeout: minutes: 10 to: tftp kernel: url: <url linuximage> type: zimage nfsrootfs: url: <url rootfs> compression: gz dtb: url: <url dtb>
- deploy: role: - client timeout: minutes: 10 to: tftp kernel: url: <url linuximage> type: zimage nfsrootfs: url: <url rootfs> compression: gz dtb: url: <url dtb>
- boot: role: - server method: u-boot commands: nfs auto_login: login_prompt: 'MBa6x login:' username: root prompts: - 'root@MBa6x:~'
- boot: role: - client method: u-boot commands: nfs auto_login: login_prompt: 'MBa6x login:' username: root prompts: - 'root@MBa6x:~'
- test: timeout: minutes: 120 definitions: - repository: <url git> from: git path: simple_multinode.yaml name: simple_multinode
[0] https://validation.linaro.org/static/docs/v2/multinodeapi.html#example-1-sim...
Hi Matthias,
On Thu, Apr 04, 2019 at 11:29:19AM +0000, Frank, Matthias wrote:
I want to try the simple client/server multi node job [0]. My job yaml is below. I get following error during job submission via webui:
Job submission error: 'dict_keys' object does not support indexing
What is wrong? The error message (a python error?) gives me no hint. The log files had have no entries for that issue.
Hmmm. I don't see anything obviously wrong with your job definition yaml, but your mail setup has obfuscated it with lots of extra whitespace :-( Maybe try sending it as an attachment would solve that.
In terms of debugging, if you try to resubmit through the web UI, what does the validator say about the yaml then?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Steve,
- -----Ursprüngliche Nachricht----- Von: Steve McIntyre [mailto:steve.mcintyre@linaro.org] Gesendet: Freitag, 5. April 2019 05:19 An: Frank, Matthias Matthias.Frank@tq-group.com Cc: lava-users@lists.lavasoftware.org Betreff: Re: [Lava-users] simple multinode job
Hi Matthias,
On Thu, Apr 04, 2019 at 11:29:19AM +0000, Frank, Matthias wrote:
I want to try the simple client/server multi node job [0]. My job yaml is below. I get following error during job submission via webui:
Job submission error: 'dict_keys' object does not support indexing
What is wrong? The error message (a python error?) gives me no hint. The log files had have no entries for that issue.
Hmmm. I don't see anything obviously wrong with your job definition yaml, but your mail setup has obfuscated it with lots of extra whitespace :-( Maybe try sending it as an attachment would solve that.
In terms of debugging, if you try to resubmit through the web UI, what does the validator say about the yaml then?
- -- Steve McIntyre steve.mcintyre@linaro.org http://www.linaro.org/ Linaro.org | Open source software for ARM SoCs
I found the error: forgotten roles within the test block. I have once again fallen into the trap of insufficient semantic validation of submitted jobs.
Matthias
Hello Matthias,
I confirm your last mail: missing role in the test action.
The error message was misleading because of a small bug in LAVA multinode split function (a crash in the crash handler).
The right error is "Invalid YAML - Did not find a role in action 'test', check for consistent use of whitespace indents."
Thanks for reporting this issue.
Le ven. 5 avr. 2019 à 10:43, Frank, Matthias Matthias.Frank@tq-group.com a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Steve,
- -----Ursprüngliche Nachricht-----
Von: Steve McIntyre [mailto:steve.mcintyre@linaro.org] Gesendet: Freitag, 5. April 2019 05:19 An: Frank, Matthias Matthias.Frank@tq-group.com Cc: lava-users@lists.lavasoftware.org Betreff: Re: [Lava-users] simple multinode job
Hi Matthias,
On Thu, Apr 04, 2019 at 11:29:19AM +0000, Frank, Matthias wrote:
I want to try the simple client/server multi node job [0]. My job yaml is below. I get following error during job submission via webui:
Job submission error: 'dict_keys' object does not support indexing
What is wrong? The error message (a python error?) gives me no hint. The log files had have no entries for that issue.
Hmmm. I don't see anything obviously wrong with your job definition yaml, but your mail setup has obfuscated it with lots of extra whitespace :-( Maybe try sending it as an attachment would solve that.
In terms of debugging, if you try to resubmit through the web UI, what does the validator say about the yaml then?
Steve McIntyre steve.mcintyre@linaro.org http://www.linaro.org/ Linaro.org | Open source software for ARM SoCs
I found the error: forgotten roles within the test block. I have once again fallen into the trap of insufficient semantic validation of submitted jobs.
Matthias
-----BEGIN PGP SIGNATURE----- Version: PGP Universal 3.3.2 (Build 21495) Charset: iso-8859-1
wsBVAwUBXKcVQkNsSgz6ZmtBAQgSpwf+MQOiIHLwt+dXfPmlG+O1q61xKVf1u5py tvSHuL4/WDoAk8W5imkRBqwKYh/A5zSDK4DagJN8df8dTzExRGq6a5QfGmmAijSO JzB2csKFTk/91OX9oME/sMrgsuQLpFxPZjBIF8L2DYICS1cHoYuqst3b3zvZyRt7 WLMAnENQKuoBcK7n7u2gdWHqDEhMn3lqIqJLMzEqWbPtRMkxbkm3ZsUyO33AqGc5 R46LaO94ebII596Ug63tHMxoBjsglPLJCwC3y0dnliUaRKI6psk4zi7/Jz9GgFJy Qza3/cUfSOz9bRYqRl9BXZVJYzHziCWvgl+umKE4JYifJRBRN02X1Q== =VaT3 -----END PGP SIGNATURE-----
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
As a side note, the test action timeout is larger than the job timeout. This is an error that the incoming schema validator will notice.
Rgds
Le mar. 9 avr. 2019 à 12:22, Remi Duraffort remi.duraffort@linaro.org a écrit :
Hello Matthias,
I confirm your last mail: missing role in the test action.
The error message was misleading because of a small bug in LAVA multinode split function (a crash in the crash handler).
The right error is "Invalid YAML - Did not find a role in action 'test', check for consistent use of whitespace indents."
Thanks for reporting this issue.
Le ven. 5 avr. 2019 à 10:43, Frank, Matthias Matthias.Frank@tq-group.com a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Steve,
- -----Ursprüngliche Nachricht-----
Von: Steve McIntyre [mailto:steve.mcintyre@linaro.org] Gesendet: Freitag, 5. April 2019 05:19 An: Frank, Matthias Matthias.Frank@tq-group.com Cc: lava-users@lists.lavasoftware.org Betreff: Re: [Lava-users] simple multinode job
Hi Matthias,
On Thu, Apr 04, 2019 at 11:29:19AM +0000, Frank, Matthias wrote:
I want to try the simple client/server multi node job [0]. My job yaml is below. I get following error during job submission via webui:
Job submission error: 'dict_keys' object does not support indexing
What is wrong? The error message (a python error?) gives me no hint. The log files had have no entries for that issue.
Hmmm. I don't see anything obviously wrong with your job definition yaml, but your mail setup has obfuscated it with lots of extra whitespace :-( Maybe try sending it as an attachment would solve that.
In terms of debugging, if you try to resubmit through the web UI, what does the validator say about the yaml then?
Steve McIntyre steve.mcintyre@linaro.org http://www.linaro.org/ Linaro.org | Open source software for ARM SoCs
I found the error: forgotten roles within the test block. I have once again fallen into the trap of insufficient semantic validation of submitted jobs.
Matthias
-----BEGIN PGP SIGNATURE----- Version: PGP Universal 3.3.2 (Build 21495) Charset: iso-8859-1
wsBVAwUBXKcVQkNsSgz6ZmtBAQgSpwf+MQOiIHLwt+dXfPmlG+O1q61xKVf1u5py tvSHuL4/WDoAk8W5imkRBqwKYh/A5zSDK4DagJN8df8dTzExRGq6a5QfGmmAijSO JzB2csKFTk/91OX9oME/sMrgsuQLpFxPZjBIF8L2DYICS1cHoYuqst3b3zvZyRt7 WLMAnENQKuoBcK7n7u2gdWHqDEhMn3lqIqJLMzEqWbPtRMkxbkm3ZsUyO33AqGc5 R46LaO94ebII596Ug63tHMxoBjsglPLJCwC3y0dnliUaRKI6psk4zi7/Jz9GgFJy Qza3/cUfSOz9bRYqRl9BXZVJYzHziCWvgl+umKE4JYifJRBRN02X1Q== =VaT3 -----END PGP SIGNATURE-----
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Team, Linaro
lava-users@lists.lavasoftware.org