[yocto] [PATCH][ptest-runner] ptest-runner: Add support timeout failure type to XML result file

Anibal Limon anibal.limon at linaro.org
Sat Jan 5 09:30:03 PST 2019


On Thu, 3 Jan 2019 at 15:45, <richard.purdie at linuxfoundation.org> wrote:

> On Thu, 2019-01-03 at 12:02 -0600, Aníbal Limón wrote:
> > The ptest-runner support logging results to stdout and to a XML file
> > in stdout the ptest is mark as:
> >
> > ...
> > ERROR: Exit status is 1
> > TIMEOUT: ptest-directory
> > ...
> >
> > Add the same support in XML file for example,
> >
> > ...
> > <testcase classname='ptest-directory' name='run-ptest'>
> >   <failure type='exit_code' message='run-ptest exited with code:
> > 1'></failure>
> >   <failure type='timeout'/>
> > </testcase>
> > ...
> >
> > [YOCTO #13088]
> >
> > Signed-off-by: Aníbal Limón <anibal.limon at linaro.org>
>
> Sounds good, thanks!
>
> I have a feeling this will show up a few bugs but we should find and
> fix the ones which are timing out...
>
> I'd still be interested in the time each directory takes too if we can
> get that as it would help us decide which tests to run.
>

The timeout is set to 5 minutes (300 secs) by default and currently there
is no way to set a timeout per ptest,
I will create other patch to add the timeout value to stdout and XML file.

Anibal

>
> Cheers,
>
> Richard
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190105/347c2371/attachment-0001.html>


More information about the yocto mailing list