From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Yeoh, Ee Peng" <ee.peng.yeoh@intel.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Cc: "Eggleton, Paul" <paul.eggleton@intel.com>
Subject: Re: [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis
Date: Mon, 28 Jan 2019 16:29:29 +0000 [thread overview]
Message-ID: <2e5c9d2f2ab6da1386bb73e7099371779422dec4.camel@linuxfoundation.org> (raw)
In-Reply-To: <9DDD2658D1FE414E99172D2DB1E4D04348170F12@PGSMSX109.gar.corp.intel.com>
Hi Ee Peng,
On Mon, 2019-01-28 at 02:12 +0000, Yeoh, Ee Peng wrote:
> Thanks for providing the precious inputs.
> Agreed with you that the current patch that enable files based
> regression was not enough for other use cases.
>
> From the information that you had shared, there are 2 more regression
> use cases that I have in mind:
> Use case#1: directory based regression
> Given that Autobuilder stored result files inside /testresults
> directories, user shall be able to perform the directory based
> regression using output from Autobuilder directly, such as below
> Autobuilder directories.
> https://autobuilder.yocto.io/pub/releases/yocto-2.6.1.rc1/testresults/qemux86/testresults.json
> https://autobuilder.yocto.io/pub/releases/yocto-2.7_M1.rc1/testresults/qemux86/testresults.json
> https://autobuilder.yocto.io/pub/releases/yocto-2.7_M2.rc1/testresults/qemux86/testresults.json
>
> Assumed that there are 2 directories storing list of result files.
> User shall provide these 2 directories for regression, regression
> scripts will first parse through all the available files inside each
> directories, then perform regression based on available configuration
> data to determine the regression pair (eg. select result_set_1 from
> directory#1 and result_set_x from directory#2 if they both have
> matching configurations).
Yes, this would be very useful. I suspect you don't need to have
matching layouts, just import from all the json files in a given
directory for the comparison.
This way we can support arbitrary layouts.
> Use case#2: git branch based regression
> Given that Autobuilder stored result files inside /testresults
> directories, user shall first store these directories and the result
> files in each git branch accordingly using the existing store plugin.
> After that, user can used the git branch based regression to analysis
> the information.
> Store in yocto-2.6.1.rc1, yocto-2.7_M1.rc1, yocto-2.7_M2.rc1 git
> branch accordingly
> https://autobuilder.yocto.io/pub/releases/yocto-2.6.1.rc1/testresults/
> https://autobuilder.yocto.io/pub/releases/yocto-2.7_M1.rc1/testresults/
> https://autobuilder.yocto.io/pub/releases/yocto-2.7_M2.rc1/testresults/
>
> Assumed that result files are stored inside git repository with
> specific git branch storing result files for single commit. User
> shall provide the 2 specific git branches for regression, regression
> scripts will first parse through all the available files inside each
> git branch, then perform regression based on available configuration
> data to determine the regression pair (eg. select result_set_1 from
> git_branch_1 and result_set_x from git_branch_2 if they both have
> matching configurations).
>
> The current codebase can be easily extended to enable both use cases
> above. Please let me know if both use cases above are important and
> please give us your inputs.
Yes, I think these are two key use cases we need to support.
I think there is a third thing we also need to look at:
It would be great if there was some way of allowing some kind of
templating when storing into the git repository. This way a general
local log file from tmp/log/oeqa could be stored into the git repo,
being split according to the layout of the repo if needed.
Our default layout could match that from the autobuilder but the
repository could define a layout?
As mentioned, we also need to think about ptest. Currently the runtime
ptest code has some parsing and log generation code. I think pieces
like:
http://git.yoctoproject.org/cgit.cgi/poky-contrib/tree/meta/lib/oeqa/utils/logparser.py#n101
and the log_as_files() code should be moved to the reporting tool and
that the test code should just generate the json results file which can
later be parsed/processed as needed. I did post on the list earlier
about some of the other challenges we have with the ptest data.
buildperf is the other piece of this which we'll need to think about.
Cheers,
Richard
next prev parent reply other threads:[~2019-01-28 16:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-22 9:42 [PATCH 0/2 v5] test-case-mgmt Yeoh Ee Peng
2019-01-22 9:42 ` [PATCH 1/2 v5] resultstool: enable merge, store, report and regression analysis Yeoh Ee Peng
2019-01-24 5:50 ` Yeoh, Ee Peng
2019-01-25 15:44 ` Richard Purdie
2019-01-28 2:12 ` Yeoh, Ee Peng
2019-01-28 16:29 ` Richard Purdie [this message]
2019-01-29 9:15 ` Yeoh, Ee Peng
[not found] ` <E0805CCB83E6104E80E61FD34E5788AE55DD30DC@PGSMSX110.gar.corp.intel.com>
2019-01-31 5:23 ` Yeoh, Ee Peng
2019-01-31 23:39 ` Richard Purdie
2019-02-14 6:48 ` Yeoh, Ee Peng
2019-01-25 16:18 ` Richard Purdie
2019-01-22 9:42 ` [PATCH 2/2 v5] scripts/resultstool: enable manual execution and result creation Yeoh Ee Peng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2e5c9d2f2ab6da1386bb73e7099371779422dec4.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=ee.peng.yeoh@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox