Bug 5671 - For "do_populate_sysroot_setscene" the task "do_populate_sysroot" has wrong outcome
Summary: For "do_populate_sysroot_setscene" the task "do_populate_sysroot" has wrong o...
Status: VERIFIED WORKSFORME
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 M2
Assignee: Alexandru Damian
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-12-16 14:27 UTC by Andreea Brandusa Proca
Modified: 2014-02-21 05:36 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
database (2.16 MB, application/x-xz)
2013-12-16 14:27 UTC, Andreea Brandusa Proca
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-12-16 14:27:31 UTC
Created attachment 1673 [details]
database

For each task with name ending in '_setscene' the same task without '_setscene' at the end must exist, always with outcome = 2 (sstate) (for same recipe) but this doesn't happen for "do_populate_sysroot" task.

Example: 

{
        "pk": 3783,
        "model": "orm.task",
        "fields": {
            "work_directory": "",
            "cpu_usage": "7.2",
            "task_executed": true,
            "disk_io": 68,
            "line_number": 0,
            "path_to_sstate_obj": "",
            "sstate_checksum": "d079ac1842d99dacb065773760c27d07",
            "recipe": 151,
            "sstate_result": 0,
            "source_url": "",
            "elapsed_time": "0.254831",
            "logfile": "/home/brandusa/master/poky-contrib/build/tmp/work/x86_64-linux/e2fsprogs-native/1.42.8-r0/temp/log.do_populate_sysroot_setscene.11276",
            "build": 2,
            "task_name": "do_populate_sysroot_setscene",
            "message": "recipe e2fsprogs-native-1.42.8-r0: task do_populate_sysroot_setscene: Succeeded",
            "outcome": 0,
            "order": 29,
            "script_type": 2
        }
and
   {
        "pk": 2109,
        "model": "orm.task",
        "fields": {
            "work_directory": "",
            "cpu_usage": "3.8",
            "task_executed": true,
            "disk_io": 1252,
            "line_number": 0,
            "path_to_sstate_obj": "",
            "sstate_checksum": "3695cf204fe47fc86d8f8af75cbf11fb",
            "recipe": 151,
            "sstate_result": 3,
            "source_url": "",
            "elapsed_time": "2.296183",
            "logfile": "/home/brandusa/master/poky-contrib/build/tmp/work/i586-poky-linux/e2fsprogs/1.42.8-r0/temp/log.do_populate_sysroot.19596",
            "build": 2,
            "task_name": "do_populate_sysroot",
            "message": "recipe e2fsprogs-1.42.8-r0: task do_populate_sysroot: Succeeded",
            "outcome": 0,
            "order": 2288,
       }
On toaster/master :7e7b2a24952c904fe934565068b1f6583eacd450
I attach the database.
Comment 1 Alexandru Damian 2014-02-12 12:37:45 UTC
I believe this is fixed as a result of a change in how tasks are looked up, can you please check ?
Comment 2 Andreea Brandusa Proca 2014-02-21 05:36:27 UTC
Verified in master:54562006c1327c5b99daa4cc05a3ba7e38412da1.