Bug 6686 - cpu_usage value null for tasks with outcome=0
Summary: cpu_usage value null for tasks with outcome=0
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Alexandru Damian
QA Contact: Ionut Chisanovici
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-09-05 08:34 UTC by Ionut Chisanovici
Modified: 2014-09-05 08:40 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ionut Chisanovici 2014-09-05 08:34:42 UTC
Hi,

BUILD: 1.7_M3_RC1: a44006262cf3b810ec78b4cccd8076102a7a0f3e

The value of the elapsed_time field for certain tasks having outcome=0 is null.
See below:

sqlite> select * from orm_task where id=6307;
          build_id = 2
    work_directory = 
         cpu_usage = 
     task_executed = 0
           disk_io = 
       line_number = 0
path_to_sstate_obj = 
   sstate_checksum = 2fbdfa62c7c41855b68649db32dddf2b
        source_url = 
             order = 753
      elapsed_time = 1.02
           logfile = /home/ionut/work/weekly/poky/build/tmp/work/x86_64-linux/gdbm-native/1.11-r0/temp/log.do_install.29549
         recipe_id = 190
         task_name = do_install
           message = recipe gdbm-native-1.11-r0: task do_install: Succeeded
           outcome = 1
                id = 6307
     sstate_result = 0
       script_type = 3

Cheers,
Ionut C
Comment 1 Ionut Chisanovici 2014-09-05 08:39:59 UTC
Closing this one as the task outcome is 1.

Regards,
Ionut C
Comment 2 Ionut Chisanovici 2014-09-05 08:40:15 UTC
Verified.