Bug 5553 - Missing task order numbers
Summary: Missing task order numbers
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.6 M4
Assignee: Alexandru Damian
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-11-18 15:58 UTC by Belen Barros Pena
Modified: 2014-07-25 10:37 UTC (History)
6 users (show)

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


Attachments
no-tasks-138-139.png (291.07 KB, image/png)
2013-11-18 15:58 UTC, Belen Barros Pena
no flags Details
failed-setscene-task.png (143.38 KB, image/png)
2013-11-18 15:58 UTC, Belen Barros Pena
no flags Details
task-226.png (341.80 KB, image/png)
2013-11-18 15:59 UTC, Belen Barros Pena
no flags Details
Building in master: toaster_ui.log (1.84 MB, text/x-log)
2013-11-20 13:54 UTC, Andreea Brandusa Proca
no flags Details
Database (2.96 MB, application/x-xz)
2014-02-18 14:53 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 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.