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=6585; build_id = 2 work_directory = cpu_usage = 7 task_executed = 1 disk_io = 0 line_number = 0 path_to_sstate_obj = sstate_checksum = 7273bfbf3e5f27acc8f7405ccffc3032 source_url = order = 1523 elapsed_time = logfile = /home/ionut/work/weekly/poky/build/tmp/work/x86_64-linux/wayland-native/1.5.0-r0/temp/log.do_unpack.22955 recipe_id = 261 task_name = do_unpack message = recipe wayland-native-1.5.0-r0: task do_unpack: Succeeded outcome = 0 id = 6585 sstate_result = 0 script_type = 0 Cheers, Ionut C
An executed - succeeded task might have elapsed time of 0 if that's the elapsed time reported by buildstats. The real problem is when buildstats says one thing, and Toaster says a different thing, which is the issue recorded by 6833. Marking this as a duplicate of 6833 *** This bug has been marked as a duplicate of bug 6833 ***
Reopened as the 6833 refers to another issue than this. 6833 - has different values in the db and stats file while this bug is referring to the fact that the elapsed_time value is null (value is missing). Cheers, Ionut C
Will be submitted to review on Fri, 31/10.
patch merged to master http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fc75011506c2109bb060c4d0c30266603a39ac6d
Reopened as the issue appeared again for 1.7.1 rc1, commit: 6dd21a9f152a93e2df1178d7a5bd903d7edcf4be. sqlite> select * from orm_task where id=1536; build_id = 1 work_directory = cpu_usage = 0.9 task_executed = 1 disk_io = 256 line_number = 0 path_to_sstate_obj = sstate_checksum = 59fe571da1e596c3202a68426b10fc1f source_url = order = 695 elapsed_time = logfile = /home/ionut/work/poky_1.7/poky/build/tmp/work/x86_64-linux/alsa-lib-native/1.0.28-r0/temp/log.do_patch.20241 recipe_id = 61 task_name = do_patch message = recipe alsa-lib-native-1.0.28-r0: task do_patch: Succeeded outcome = 0 id = 1536 sstate_result = 0 script_type = 0 sqlite> select * from orm_task where id=4463; build_id = 1 work_directory = cpu_usage = 1.5 task_executed = 1 disk_io = 0 line_number = 0 path_to_sstate_obj = sstate_checksum = 86d66b62174cd3c93403dd69bb39e98d source_url = order = 868 elapsed_time = logfile = /home/ionut/work/poky_1.7/poky/build/tmp/work/x86_64-linux/wayland-native/1.5.0-r0/temp/log.do_unpack.17271 recipe_id = 76 task_name = do_unpack message = recipe wayland-native-1.5.0-r0: task do_unpack: Succeeded outcome = 0 id = 4463 sstate_result = 0 script_type = 0 sqlite> select * from orm_task where id=1343; build_id = 1 work_directory = cpu_usage = 6.4 task_executed = 1 disk_io = 4 line_number = 0 path_to_sstate_obj = sstate_checksum = 3ae2716d849b54828a3a7c2fee658657 source_url = order = 171 elapsed_time = logfile = /home/ionut/work/poky_1.7/poky/build/tmp/work/x86_64-linux/gettext-native/0.18.3.2-r0/temp/log.do_unpack.2168 recipe_id = 249 task_name = do_unpack message = recipe gettext-native-0.18.3.2-r0: task do_unpack: Succeeded outcome = 0 id = 1343 sstate_result = 0 script_type = 0 Attached the db. Cheers, Ionut C
Created attachment 2317 [details] toaster.sqlite
Won't be fixed for 1.7 point releases, fixed in master.