Bug 8412 - Add IO load and "ip -s link" stats to the host dumps from testimage
Summary: Add IO load and "ip -s link" stats to the host dumps from testimage
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.0
Assignee: Mariano Lopez
QA Contact:
URL:
Whiteboard: 30 Sept 2015: IN PROGRESS REVIEW
Depends on:
Blocks:
 
Reported: 2015-09-28 20:53 UTC by Randy Witt
Modified: 2015-10-08 15:15 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Done (doc changes complete)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Witt 2015-09-28 20:53:54 UTC
Brian reported that sometimes tap devices have disappeared for him while running tests. This is why "ip -s link" would be valuable.

Since it is thought that sometimes IO may cause issues with testing, it would also be useful to have information from iostat or another tool that gives an idea of IO load.
Comment 1 Mariano Lopez 2015-09-29 17:16:00 UTC
Patch sent to the mailing list
Comment 2 Mariano Lopez 2015-09-29 21:48:35 UTC
The patch need to have sysstat and iproute2 to be installed in the host, so this requires a change in the documentation as Khem mentioned in the review of the patch.
Comment 3 Mariano Lopez 2015-09-29 22:04:58 UTC
Scott, I'm assigning this bug to you because the documentation needs updating as part of this bug.

The update in the documentation is in Yocto Project Development Manual as follows:

In the section "5.21.1.1. Enabling Runtime Tests on QEMU" we need to add a new bullet with "host packages" and depending on the distribution is the names of the packages:

Debian, openSuse and Ubuntu: sysstat, iproute2
Centos and Fedora: sysstat, iproute
Comment 4 Scott Rifenbark 2015-09-30 15:53:28 UTC
Mariano, 

I updated the manual with a new bullet as suggested.  Please look at http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#qemu-image-enabling-tests and let me know if this works.  Once approved, I will change the state of the bug. 

Thanks,
Scott
Comment 5 Mariano Lopez 2015-10-01 15:42:40 UTC
Scott,

Just CentOS is missing everything else looks good.

Thanks
Comment 6 Scott Rifenbark 2015-10-01 15:51:33 UTC
Mariano, 

Sorry about that.  I don't know how I missed that.  I updated the list here http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#qemu-image-enabling-tests.

Scott
Comment 7 Mariano Lopez 2015-10-01 18:53:00 UTC
Scott,

Great, I will take the bug just to verify the patch that I sent gets integrated in master.

Thanks!
Comment 8 Scott Rifenbark 2015-10-01 18:55:15 UTC
Ok - I am setting to RESOLVED and marking the doc flag to done.

Thanks
Comment 9 Mariano Lopez 2015-10-01 19:08:37 UTC
This has been integrated in commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ebd5035a7bb6afc755e13908e62fbde5aec53581
Comment 10 brian avery 2015-10-06 20:43:51 UTC
could we put this in the same testimage directory that the rest of the qemu_*logs end up?  that way it is collocated with the test that failed and it won't run the risk of being purged from temp.
Comment 11 Mariano Lopez 2015-10-08 15:15:32 UTC
It is possible to change the dump dir changing TESTIMAGE_DUMP_DIR var