Bug 5216 - [webhob-poky/master] failed setscene tasks outcome is reported as "Not available"
Summary: [webhob-poky/master] failed setscene tasks outcome is reported as "Not availa...
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Alexandru Damian
QA Contact:
URL:
Whiteboard: toasterui
Depends on:
Blocks:
 
Reported: 2013-09-17 12:27 UTC by Belen Barros Pena
Modified: 2013-12-30 11:19 UTC (History)
4 users (show)

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


Attachments
setscene_task-fail.png (285.31 KB, image/png)
2013-09-17 12:27 UTC, Belen Barros Pena
no flags Details
not-available-outcome-setscene-failed-tasks.png (158.31 KB, image/png)
2013-09-17 12:28 UTC, Belen Barros Pena
no flags Details
I attach the database. (1.44 MB, application/x-xz)
2013-11-13 12:28 UTC, Andreea Brandusa Proca
no flags Details
task-226-failed.png (341.80 KB, image/png)
2013-11-18 15:49 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 Belen Barros Pena 2013-09-17 12:27:35 UTC
Created attachment 1508 [details]
setscene_task-fail.png

While building core-image-base the setscene task 

initramfs-live-install.do_populate_sysroot_setscene 

failed (see screenshot setscene_task-fail.png). In the Web Hob simple interface, the outcome for that task is reported as "Not Available" (see screenshot not-available-outcome-setscene-failed-tasks.png).

Failed setscene tasks outcome should be 'failed'
Comment 1 Belen Barros Pena 2013-09-17 12:28:07 UTC
Created attachment 1509 [details]
not-available-outcome-setscene-failed-tasks.png
Comment 2 Belen Barros Pena 2013-11-08 10:49:04 UTC
Another example of a task with outcome 'not available' (5):

if task_executed = FALSE, outcome must be 1, 2 or 3.

id = 1711   build = 2
F
======================================================================
FAIL: test_quality_Task (orm.tests.QualityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brandusa/dora-toaster/bitbake/lib/toaster/orm/tests.py", line 478, in test_quality_Task
    self.assertEqual(values[i]["outcome"], 3)
AssertionError: 5 != 3

{
        "pk": 1711,
        "model": "orm.task",
        "fields": {
            "work_directory": "",
            "cpu_usage": null,
            "task_executed": false,
            "disk_io": null,
            "line_number": 0,
            "path_to_sstate_obj": "",
            "sstate_checksum": "",
            "recipe": 110,
            "sstate_result": 0,
            "source_url": "",
            "elapsed_time": "0",
            "logfile": "",
            "build": 2,
            "task_name": "do_packagedata",
            "message": "",
            "outcome": 5,
            "order": null,
            "script_type": 0
        }
Comment 3 Alexandru Damian 2013-11-08 14:28:16 UTC
Patch uploaded to poky-contrib/toaster/master
Comment 4 Andreea Brandusa Proca 2013-11-13 12:26:52 UTC
This problem also appears for not setscene tasks.

Example:

 {
        "pk": 1711,
        "model": "orm.task",
        "fields": {
            "work_directory": "",
            "cpu_usage": null,
            "task_executed": false,
            "disk_io": null,
            "line_number": 0,
            "path_to_sstate_obj": "",
            "sstate_checksum": "",
            "recipe": 110,
            "sstate_result": 0,
            "source_url": "",
            "elapsed_time": "0",
            "logfile": "",
            "build": 2,
            "task_name": "do_packagedata",
            "message": "",
            "outcome": 5,
            "order": null,
            "script_type": 0
        }

 {
        "pk": 110,
        "model": "orm.recipe",
        "fields": {
            "description": "BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete POSIX environment for any small or embedded system.",
            "license": "GPLv2 & bzip2",
            "author": "Not Available",
            "bugtracker": "https://bugs.busybox.net/",
            "section": "base",
            "layer_version": 5,
            "licensing_info": "Not Available",
            "summary": "Tiny versions of many common UNIX utilities in a single small executable.",
            "version": ":1.21.1-r0",
            "homepage": "http://www.busybox.net",
            "file_path": "/home/brandusa/dora-toaster/meta/recipes-core/busybox/busybox_1.21.1.bb",
            "name": "busybox"
        }
Comment 5 Andreea Brandusa Proca 2013-11-13 12:28:42 UTC
Created attachment 1619 [details]
I attach the database.
Comment 6 Alexandru Damian 2013-11-18 11:38:35 UTC
Merged in origin/master and origin/dora-toaster.
Comment 7 Belen Barros Pena 2013-11-18 15:49:34 UTC
I can still reproduce this in master:d7ccfc7605f1eb61511b1b2b8db4ac689ce6a468

See attached screenshot task-226-failed.png

Task with order number 226 failed, and its outcome shows 'not applicable'.
Comment 8 Belen Barros Pena 2013-11-18 15:49:55 UTC
Created attachment 1625 [details]
task-226-failed.png
Comment 9 Belen Barros Pena 2013-11-18 15:50:35 UTC
(In reply to comment #7)
> I can still reproduce this in master:d7ccfc7605f1eb61511b1b2b8db4ac689ce6a468
> 
> See attached screenshot task-226-failed.png
> 
> Task with order number 226 failed, and its outcome shows 'not applicable'.

Sorry, I meant 'not available'
Comment 10 Alexandru Damian 2013-11-21 11:39:00 UTC
Fixed in poky-contrib toaster/master:60d06c661730aa349befe1daef487ae9190f954d
Comment 11 Belen Barros Pena 2013-11-26 11:42:46 UTC
(In reply to comment #10)
> Fixed in poky-contrib toaster/master:60d06c661730aa349befe1daef487ae9190f954d

Has this been merged to master and dora-toaster? Or should the status be 'in progress review'?
Comment 12 Belen Barros Pena 2013-12-30 11:19:54 UTC
Verified in master:005af45191ded6185c618c708181b31281e43092

Failed _setscene tasks show outcome "Failed".