Bug 5553

Summary: Missing task order numbers
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium CC: alexandru.damian, andreea.b.proca, belen.barros.pena, cristiana.voicu, richard.purdie, stanciux.mihail
Version: unspecified   
Target Milestone: 1.6 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
no-tasks-138-139.png
none
failed-setscene-task.png
none
task-226.png
none
Building in master: toaster_ui.log
none
Database none

Description Belen Barros Pena 2013-11-18 15:58:24 UTC
Created attachment 1626 [details]
no-tasks-138-139.png

There should be no gaps in the sequence of task order numbers. But as the screenshot no-tasks-138-139.png shows, tasks 138 and 139 seem to be missing.

Also, the task linux-yocto.do_populate_sysroot_setscene is reported in a warning as task 138 (see attached failed-setscene-task.png), but in toaster is reported with task number 226 (see attached task-226.png).

Since both things involve task number 138, they might be related.
Comment 1 Belen Barros Pena 2013-11-18 15:58:52 UTC
Created attachment 1627 [details]
failed-setscene-task.png
Comment 2 Belen Barros Pena 2013-11-18 15:59:25 UTC
Created attachment 1628 [details]
task-226.png
Comment 3 Alexandru Damian 2013-11-19 16:51:27 UTC
Probably fixed by patch on bitbake-devel mail list:

"bug fix for a typo in buildinfohelper"
Comment 4 Alexandru Damian 2013-11-19 16:51:39 UTC
Probably fixed by patch on bitbake-devel mail list:

"bug fix for a typo in buildinfohelper"
Comment 5 Andreea Brandusa Proca 2013-11-20 13:54:13 UTC
Created attachment 1633 [details]
Building in master: toaster_ui.log
Comment 6 Andreea Brandusa Proca 2013-11-20 13:57:39 UTC
The test failed;

Traceback (most recent call last):
  File "/home/brandusa/master/toaster/bitbake/lib/toaster/orm/tests.py", line 415, in test_quality_Task
    self.assertEqual(task_order, task_values[len(task_values)-1]["order"])
AssertionError: 1621 != 1767

In the test, the empty order fields are ignored.
Comment 7 Andreea Brandusa Proca 2013-11-21 13:37:38 UTC
On dora-toaster this test fails too.

Traceback (most recent call last):
  File "/home/brandusa/dora-toaster/bitbake/lib/toaster/orm/tests.py", line 415, in test_quality_Task
    self.assertEqual(task_order, task_values[len(task_values)-1]["order"])
AssertionError: 1451 != 1597


I dora-toaster, 6302d1baf516d5cff5d2b65cc734ca5098a26894, for a core-image-minimal build.
Comment 8 Belen Barros Pena 2013-12-23 15:45:42 UTC
I can replicate this in master:3ada51f7aa26fc95d5f9ba4498c0ea54acc6e42e
Comment 9 Andreea Brandusa Proca 2014-02-10 10:51:58 UTC
Can not reproduce it in master:095bb006c3dbbfbdfa05f13d8d7b50e2a5ab2af0
Comment 10 Andreea Brandusa Proca 2014-02-10 10:52:13 UTC
Verified.
Comment 11 Andreea Brandusa Proca 2014-02-18 14:30:03 UTC
I can reproduce this issue in master:b70a10ca3ee4a0add90d387e2c8288e531aaa47c
Comment 12 Andreea Brandusa Proca 2014-02-18 14:53:58 UTC
Created attachment 1778 [details]
Database
Comment 13 Alexandru Damian 2014-02-19 18:37:11 UTC
Fix for review in toaster/master.
Comment 14 Alexandru Damian 2014-03-27 11:27:14 UTC
Patch merged in master.
Comment 15 Mihail Stanciu 2014-07-25 09:21:46 UTC
Verified.