Hi Botao, On Tuesday 12 May 2015 05:43 PM, Botao Sun wrote: > Looks like the JSON file for LAVA job submission has just updated its > schema, as I got this error below:
Android JSON schema was updated recently, but that is not deployed to v.l.o yet. It is available in staging.v.l.o. > $ lava scheduler submit-job > https://botao-...@validation.linaro.org/RPC2/ botao_Juno_multinode_359.json > ERROR: <Fault 400: "Decoding job submission failed: ValidationError: > Object has unknown property 'role' but additional properties are > disallowed object_expr='object.images[1]', > schema_expr='schema.properties.images.items.additionalProperties')."> > > It's a multi-node job definition, but looks like the item "role" cannot > be recognised right now. File attached in this email. The problem you have reported is different from Android schema changes. To be more specific it is not a lava problem, but a user error. You have messed up the way in which 'role' parameter is embedded in the job definition, same with bootloadertype. > Would anyone can share a multi-node job definition under this new JSON > schema? I ve fixed the job definition and the submission went fine, which you can see here - https://validation.linaro.org/scheduler/job/347414/multinode_definition Thank You. -- Senthil Kumaran http://www.stylesen.org/ http://www.sasenthilkumaran.com/
signature.asc
Description: OpenPGP digital signature
_______________________________________________ linaro-validation mailing list linaro-validation@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-validation