Bug 5073 - [webhob-poky/master]No values for CPU usage and I/O info.
Summary: [webhob-poky/master]No values for CPU usage and I/O info.
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Alexandru Damian
QA Contact:
URL:
Whiteboard: toasterui, oecore
Depends on:
Blocks:
 
Reported: 2013-08-29 13:01 UTC by Andreea Brandusa Proca
Modified: 2014-01-21 15:34 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
tasks with time but 'none' for cpu and disk i/o (14.80 KB, image/png)
2013-10-15 09:38 UTC, Belen Barros Pena
no flags Details
task build stats file (633 bytes, application/octet-stream)
2013-10-15 09:39 UTC, Belen Barros Pena
no flags Details
db containing the build data (13.74 MB, application/octet-stream)
2013-10-15 10:25 UTC, Belen Barros Pena
no flags Details
netbase-1_tasks.png (355.65 KB, image/png)
2013-11-04 18:58 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreea Brandusa Proca 2013-08-29 13:01:59 UTC
Even if the tasks are executed, the CPU usage and the I/O info have no values.
Comment 1 Alexandru Damian 2013-09-11 09:40:51 UTC
Fixed in local tree, needs upstreaming.
Comment 2 Belen Barros Pena 2013-10-01 13:58:39 UTC
verified fixed in webhob-master-1_5-2609
Comment 3 Belen Barros Pena 2013-10-07 15:18:53 UTC
Not working on webhob-poky/master:aa7bec2e9dffd6901ebe3accf748ce458d1481a3
Comment 4 Alexandru Damian 2013-10-08 10:10:09 UTC
Fixed in webhob-poky/master:bd2c7a01fd3ccf1b74c7eb4a8f240bf482c3cb03
Comment 5 Belen Barros Pena 2013-10-11 12:15:22 UTC
Verified fixed in webhob-poky-master:f5896b40ced9a7ebbd7428f8792dd063cd095bfb
Comment 6 Belen Barros Pena 2013-10-15 09:38:11 UTC
I am reopening this because I am still seeing instances of tasks reporting time, but "none" for cpu and disk i/o, in 

webhob-poky-master:f5896b40ced9a7ebbd7428f8792dd063cd095bfb


Tasks do have both values in build stats (see attached).
Comment 7 Belen Barros Pena 2013-10-15 09:38:56 UTC
Created attachment 1563 [details]
tasks with time but 'none' for cpu and disk i/o
Comment 8 Belen Barros Pena 2013-10-15 09:39:32 UTC
Created attachment 1564 [details]
task build stats file
Comment 9 Belen Barros Pena 2013-10-15 10:25:43 UTC
Created attachment 1565 [details]
db containing the build data

Attaching the sqlite file containing the build data. Build id is '1'
Comment 10 Belen Barros Pena 2013-11-04 18:57:48 UTC
dora-toaster:46814c99eed399b6dd9ff9e83260fefe79c23ec8

This doesn't seem to be fully fixed yet. There are still tasks reporting time, but not cpu and disk i/o. From what I have found, this seems to happen when:

1. there is no build stats file for that particular task. Well, in this case, I am not sure if we can do something about it.

2. when the recipe name includes a '_' character. Take the recipe netbase-1_5.1-r0. All netbase tasks are bringing in a time, but not cpu and disk i/o (see attached screenshot netbase-1_tasks.png), despite the fact that there are build stats files for each of them containing the information. The same happens with opkg-1_0.1.8+svn653-r13.0, glib-2.0_2.36.4, pixman-native-1_0.30.2-r0 and so on.

So there seems to be some kind of relation between those '_' characters in the recipe name and null cpu and disk i/o fields.
Comment 11 Belen Barros Pena 2013-11-04 18:58:19 UTC
Created attachment 1601 [details]
netbase-1_tasks.png
Comment 12 Alexandru Damian 2013-11-05 16:00:55 UTC
Root-caused this bug to toasterui ignoring PE values for recipes that defines a PE value.

Fix available for review in poky-contrib:toaster/master
Comment 13 Alexandru Damian 2013-11-18 11:37:03 UTC
Merged in origin/master and origin/dora-toaster.
Comment 14 Belen Barros Pena 2013-11-19 10:37:52 UTC
No CPU or Disk I/O data coming in with master:b0281b3a190dec6502b4abc6a5b14ae46243f913
Comment 15 Alexandru Damian 2013-11-21 11:38:18 UTC
Fixed in poky-contrib toaster/master:60d06c661730aa349befe1daef487ae9190f954d
Comment 16 Andreea Brandusa Proca 2014-01-21 15:34:22 UTC
Verified in master:e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371