On 11 April 2013 10:14, Senthil Kumaran S <email address hidden>wrote:
> Hi Tyler,
>
> On Thu, Apr 11, 2013 at 9:41 AM, Tyler Baker <email address hidden>
> wrote:
> > The case is that everyone of the those test definitions _has_ a name,
> > description, and format defined. However, no test definition includes a
> > version definition. My guess is that most of the other test definitions
> > will be lacking the version definition as well.
>
> This is because version is not required for those test definitions
> which reside in git or bzr repository. lava-test-shell will get the
> version from git/bzr repo automatically. Only if the test definition
> is referred from a URL the version parameter should be explicit.
>
I understand now, thanks for the clarification. I would suggest "Only if
the test definition
is referred from a URL the version parameter should be explicit." be
included in the documentation if it is not already.
> > - Document the changes to the test definitions, and the rationale. i.e.
> > that name, description, format, version are required, and why.
>
> I shall document it in lava-test-shell sometime tomorrow.
>
Much appreciated.
> > - Update the test definitions from
> > https://git.linaro.org/gitweb?p=qa/test-definitions.git;a=summary
>
> This is up-to-date now.
>
> > *- *Identify V.L.O users who use lava-test-shell, point them to the
> > documentation, and ask them to update their tests.
>
> These users are identified. As soon the document is available we will
> point them to it.
>
Excellent!
> > We need to preemptive, and transparent if we plan to break
> > compatibility.
>
> I agree :)
>
> Thank You.
> --
> Senthil Kumaran S
> http://www.stylesen.org/
> http://www.sasenthilkumaran.com/
>
> --
> You received this bug notification because you are a member of Linaro
> Validation Team, which is subscribed to LAVA Dispatcher.
> https://bugs.launchpad.net/bugs/1166935
>
> Title:
> crash while processing results bundle after dashboard bundle format
> update
>
> Status in LAVA Dispatcher:
> In Progress
>
> Bug description:
> Running everything from trunk on a freshly created instance, I see the
> following error:
>
> <LAVA_DISPATCHER>2013-04-09 05:57:07 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-04-09 05:57:07 PM INFO: Submitting the test result
> with parameters = {u'token': '<HIDDEN>', u'stream': u'/anonymous/qemu/',
> u'server': u'http://terceiro@localhost/RPC2/'}
> <LAVA_DISPATCHER>2013-04-09 05:57:07 PM ERROR: Error adding host result
> bundle /tmp/tmp8TL_hY/lava-test-shellW5j2JL.bundle
> Traceback (most recent call last):
> File
> "/srv/lava/.<email address hidden>/lava_dispatcher/actions/launch_control.py",
> line 159, in _get_results_from_host
> doc = DocumentIO.load(f)[1]
> File
> "/srv/lava/.cache/branch<email address hidden>/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-04-09 05:57:07 PM DEBUG: server RPC endpoint URL:
> http://terceiro@localhost/RPC2/
> <LAVA_DISPATCHER>2013-04-09 05:57:07 PM INFO: Dashboard :
> http://localhost/dashboard/permalink/bundle/9558159cfcb4e56fb4f3ba9519b676a0531d26d9/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/lava-dispatcher/+bug/1166935/+subscriptions
>
Hi Senthil,
On 11 April 2013 10:14, Senthil Kumaran S <email address hidden>wrote:
> Hi Tyler,
>
> On Thu, Apr 11, 2013 at 9:41 AM, Tyler Baker <email address hidden>
> wrote:
> > The case is that everyone of the those test definitions _has_ a name,
> > description, and format defined. However, no test definition includes a
> > version definition. My guess is that most of the other test definitions
> > will be lacking the version definition as well.
>
> This is because version is not required for those test definitions
> which reside in git or bzr repository. lava-test-shell will get the
> version from git/bzr repo automatically. Only if the test definition
> is referred from a URL the version parameter should be explicit.
>
I understand now, thanks for the clarification. I would suggest "Only if
the test definition
is referred from a URL the version parameter should be explicit." be
included in the documentation if it is not already.
> > - Document the changes to the test definitions, and the rationale. i.e.
> > that name, description, format, version are required, and why.
>
> I shall document it in lava-test-shell sometime tomorrow.
>
Much appreciated.
> > - Update the test definitions from /git.linaro. org/gitweb? p=qa/test- definitions. git;a=summary
> > https:/
>
> This is up-to-date now.
>
> > *- *Identify V.L.O users who use lava-test-shell, point them to the
> > documentation, and ask them to update their tests.
>
> These users are identified. As soon the document is available we will
> point them to it.
>
Excellent!
> > We need to preemptive, and transparent if we plan to break www.stylesen. org/ www.sasenthilku maran.com/ /bugs.launchpad .net/bugs/ 1166935 R>2013- 04-09 05:57:07 PM WARNING: [ACTION-E] expr='object. test_runs[ 0].testdef_ metadata. description' , expr='schema. properties. test_runs. items.propertie s.testdef_ metadata. properties. description. type')) . R>2013- 04-09 05:57:07 PM INFO: Submitting the test result qemu/', terceiro@ localhost/ RPC2/'} R>2013- 04-09 05:57:07 PM ERROR: Error adding host result hY/lava- test-shellW5j2J L.bundle /lava_dispatche r/actions/ launch_ control. py", from_host load(f) [1] .cache/ branch< email address hidden> /linaro_ dashboard_ bundle/ io.py", decimal. Decimal, pairs_hook= object_ pairs_hook) .cache/ eggs/simplejson -2.4.0- py2.7-linux- x86_64. egg/simplejson/ __init_ _.py", use_decimal, **kw) .cache/ eggs/simplejson -2.4.0- py2.7-linux- x86_64. egg/simplejson/ __init_ _.py", encoding, **kw).decode(s) .cache/ eggs/simplejson -2.4.0- py2.7-linux- x86_64. egg/simplejson/ decoder. py", .cache/ eggs/simplejson -2.4.0- py2.7-linux- x86_64. egg/simplejson/ decoder. py", R>2013- 04-09 05:57:07 PM DEBUG: server RPC endpoint URL: terceiro@ localhost/ RPC2/ R>2013- 04-09 05:57:07 PM INFO: Dashboard : localhost/ dashboard/ permalink/ bundle/ 9558159cfcb4e56 fb4f3ba9519b676 a0531d26d9/ /bugs.launchpad .net/lava- dispatcher/ +bug/1166935/ +subscriptions
> > compatibility.
>
> I agree :)
>
> Thank You.
> --
> Senthil Kumaran S
> http://
> http://
>
> --
> You received this bug notification because you are a member of Linaro
> Validation Team, which is subscribed to LAVA Dispatcher.
> https:/
>
> Title:
> crash while processing results bundle after dashboard bundle format
> update
>
> Status in LAVA Dispatcher:
> In Progress
>
> Bug description:
> Running everything from trunk on a freshly created instance, I see the
> following error:
>
> <LAVA_DISPATCHE
> lava_test_shell is finished with error (ValidationError: Object has
> incorrect type (expected string)
> object_
> schema_
> <LAVA_DISPATCHE
> with parameters = {u'token': '<HIDDEN>', u'stream': u'/anonymous/
> u'server': u'http://
> <LAVA_DISPATCHE
> bundle /tmp/tmp8TL_
> Traceback (most recent call last):
> File
> "/srv/lava/.<email address hidden>
> line 159, in _get_results_
> doc = DocumentIO.
> File
> "/srv/lava/
> line 123, in load
> doc = json.load(stream, parse_float=
> object_
> File
> "/srv/lava/
> line 372, in load
> use_decimal=
> File
> "/srv/lava/
> line 445, in loads
> return cls(encoding=
> File
> "/srv/lava/
> line 402, in decode
> obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> File
> "/srv/lava/
> 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_DISPATCHE
> http://
> <LAVA_DISPATCHE
> http://
>
> To manage notifications about this bug go to:
> https:/
>
-- www.facebook. com/pages/ Linaro twitter. com/#!/ linaroorg - http:// www.linaro. org/linaro- blog
Tyler Baker
Technical Architect, Automation & CI
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://
http://