Bug 1569

Summary: [QA/Test] Add recipe for rt tests and automate test (ptest)
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Richard Purdie <richard.purdie>
Component: meta-yoctoAssignee: Maxin B. John (inactive) <maxin.baby.john>
Status: RESOLVED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: enhancement    
Priority: Medium CC: jessica.zhang, maxin.baby.john, poky.bs.watcher, poky.watcher, sgw, song.liu
Version: unspecified   
Target Milestone: 1.8   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Richard Purdie 2011-10-03 07:58:26 UTC
We should add a recipe which allows us to include the rt tests in an image and then run them automatically alongside our other automated runtime image tests.
Comment 1 Richard Purdie 2013-04-25 11:02:00 UTC
In modern terms, this means adding a ptest package for the rt tests and then the ptest automation tests would pick this up and run them.
Comment 2 Saul Wold 2013-07-09 17:26:21 UTC
Recipe exists for the rt-tests now, but a script is now needed to be written that can be used in ptest, if we are already running rt-tests, then scriptifing what is currently being run is all that's needed.
Comment 3 Alexandru Georgescu 2013-09-19 13:42:23 UTC
marking it for 1.6...
Comment 4 Alexandru Georgescu 2014-04-23 08:08:30 UTC
moved to 1.7
Comment 5 Maxin B. John (inactive) 2014-05-06 14:16:58 UTC
Linaro run rt-tests as listed below:

https://git.linaro.org/qa/test-definitions.git/blob/HEAD:/openembedded/hackbench.yaml

https://git.linaro.org/qa/test-definitions.git/blob/HEAD:/openembedded/cyclictest.yaml

Is it acceptable to adopt similar script for rt-tests ptest ?
Comment 6 Saul Wold 2014-11-14 18:46:24 UTC
No reason not to adopt similar scripts, please proceed.
Comment 7 Maxin B. John (inactive) 2014-11-26 09:58:16 UTC
The tests are implemented using rt_bmark.py which uses the "stress" application
to check the real-time performance under various conditions. 

We need to add the stress package as a dependency for this ptest.

Submitted the patch to mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2014-November/099275.html
Comment 8 Maxin B. John (inactive) 2014-12-11 12:15:15 UTC
Sent patch to oe-core mailing list and waiting for review comments.
Comment 9 Maxin B. John (inactive) 2014-12-15 17:18:52 UTC
Updated estimation in Person-Days
Comment 11 Maxin B. John (inactive) 2015-04-09 14:37:55 UTC
Changing status to Resolved -> Fixed.