Thanks Milosz, The sorted the issue for me(:
Thanks a lot for suggestion. Thanks Basil Eljuse... -----Original Message----- From: Milosz Wasilewski [mailto:[email protected]] Sent: 28 June 2013 08:02 To: Basil Eljuse Cc: Linaro Validation; Dean Arnold Subject: Re: [Linaro-validation] lava-test-shell error preventing results bundle being uploaded to dashboard... Basil, Add 'description' to your meta section: metadata: name: schedulertests version: 1.0 format: "Lava-Test-Shell Test Definition 1.0" description: "some description here" Best Regards, milosz On 27 June 2013 18:02, Basil Eljuse <[email protected]> wrote: > Hello, > > > > Recently we upgraded to latest version of LAVA and initially hit > 'deserialisation error' when the bundle was uploaded which was tracked down > to mismatched component when the upgrade happened. > > > > However currently i am seeing a new problem w.r.t lava test shell. It > executes the tests successfully but at the point when it is uploading the > results > > > > root@master [rc=0]# <LAVA_DISPATCHER>2013-06-27 04:43:51 PM WARNING: > [ACTION-E] lava_test_shell is finished with error (ValidationError: Object > has incorrect type (expected string) > object_expr='object.test_runs[0].testdef_metadata.description', > schema_expr='schema.properties.test_runs.items.properties.testdef_metadata.properties.description.type')). > > <LAVA_DISPATCHER>2013-06-27 04:43:51 PM INFO: Submitting the test result > with parameters = {u'token': '<HIDDEN>', u'stream': > u'/public/personal/pdsw-power/biglittle/', u'server': > u'http://[email protected]/RPC2/'} > > <LAVA_DISPATCHER>2013-06-27 04:43:51 PM ERROR: Error adding host result > bundle /tmp/tmp3DQ2UQ/lava-test-shelliGO1yb.bundle > > Traceback (most recent call last): > > File > "/srv/lava/.cache/branch-cache/lava-dispatcher/checkouts/[email protected]/lava_dispatcher/actions/launch_control.py", > line 159, in _get_results_from_host > > doc = DocumentIO.load(f)[1] > > File > "/srv/lava/.cache/branch-cache/linaro-dashboard-bundle/checkouts/[email protected]/linaro_dashboard_bundle/io.py", > line 123, in load > > doc = json.load(stream, parse_float=decimal.Decimal, > object_pairs_hook=object_pairs_hook) > > File > "/srv/lava/.cache/eggs/simplejson-2.4.0-py2.7-linux-x86_64.egg/simplejson/__init__.py", > line 372, in load > > use_decimal=use_decimal, **kw) > > File > "/srv/lava/.cache/eggs/simplejson-2.4.0-py2.7-linux-x86_64.egg/simplejson/__init__.py", > line 445, in loads > > return cls(encoding=encoding, **kw).decode(s) > > File > "/srv/lava/.cache/eggs/simplejson-2.4.0-py2.7-linux-x86_64.egg/simplejson/decoder.py", > line 402, in decode > > obj, end = self.raw_decode(s, idx=_w(s, 0).end()) > > File > "/srv/lava/.cache/eggs/simplejson-2.4.0-py2.7-linux-x86_64.egg/simplejson/decoder.py", > line 420, in raw_decode > > raise JSONDecodeError("No JSON object could be decoded", s, idx) > > JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0) > > <LAVA_DISPATCHER>2013-06-27 04:43:52 PM INFO: Dashboard : > http://pdsw-lava.cambridge.arm.com/dashboard/permalink/bundle/81916525dc8cc6058ffd982c0c4071ea6be22885/ > > > > > > My yaml file has the following contents > > ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ > > metadata: > > name: schedulertests > > version: 1.0 > > format: "Lava-Test-Shell Test Definition 1.0" > > > > run: > > steps: > > - "wget > http://10.1.103.173/downloads/personal/CIjobs/testsuites/buildoutput-jenkins-BLSreleasetests-scheduler_testsmanualtrigger-125_13.06_preLEB.tar.gz" > > - "tar -xvzf > buildoutput-jenkins-BLSreleasetests-scheduler_testsmanualtrigger-125_13.06_preLEB.tar.gz" > > - "cd buildoutput" > > - "./executeFTS.sh" > > - "lava-test-run-attach buildoutput_withresults.tar.gz > application/x-gzip2" > > > > parse: > > pattern: > "(?P<test_case_id>\\S+).+(?P<result>(succeeded|failed|deprecated|pass|fail))" > > fixupdict: > > succeeded: pass > > failed: fail > > deprecated: skip > > > > ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ > > > > Was there any changes for the yaml file that is needed now? > > > > Thanks > > Basil Eljuse... > > > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > _______________________________________________ > linaro-validation mailing list > [email protected] > http://lists.linaro.org/mailman/listinfo/linaro-validation > -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ linaro-validation mailing list [email protected] http://lists.linaro.org/mailman/listinfo/linaro-validation
