Bug 6975 - elapsed_time value in database doesn't match sometime the value in the task stats file
Summary: elapsed_time value in database doesn't match sometime the value in the task s...
Status: VERIFIED WONTFIX
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.6.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Jessica
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-18 08:59 UTC by Ionut Chisanovici
Modified: 2015-03-23 09:28 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
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-11-18 08:59:02 UTC
For 1.6.2 rc2, commit: 30b8d9378b8260e452552b806610dc9b6fe0b69f, database value for elapsed_time for some tasks doesn't match the value from the stats file:

sqlite> select * from orm_task where id=3649;
          build_id = 1
    work_directory = 
         cpu_usage = 5
     task_executed = 1
           disk_io = 52
       line_number = 0
path_to_sstate_obj = 20/sstate:xproto::7.0.25:r0::3:203a1756558b013be7bb0944cf96eb81_populate_lic.tgz
   sstate_checksum = 203a1756558b013be7bb0944cf96eb81
        source_url = 
             order = 1840
      elapsed_time = 0.63
           logfile = /home/ionut/work/weekly/poky/build/tmp/work/i586-poky-linux/xproto/1_7.0.25-r0/temp/log.do_populate_lic.24592
         recipe_id = 316
         task_name = do_populate_lic
           message = recipe xproto-1_7.0.25-r0: task do_populate_lic: Succeeded
           outcome = 0
                id = 3649
     sstate_result = 1
       script_type = 2

$ cat core-image-sato-qemux86/201411171101/xproto-1_7.0.25-r0/do_populate_lic | grep Elaps
xproto-1_7.0.25-r0: do_populate_lic: Elapsed time: 0.44 seconds

Cheers,
Ionut C
Comment 1 Paul Eggleton 2014-11-20 16:03:32 UTC
This issue is fixed in master; I think at this stage it's not serious enough to warrant fixing it in daisy so I'm marking this as wontfix.
Comment 2 Alexandru Georgescu 2015-03-23 09:28:33 UTC
Verified as per Paul's comments.