| Summary: | Builds in observer mode aren't being registered in the database | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Mihail Stanciu <stanciux.mihail> |
| Component: | toaster | Assignee: | Alexandru Damian <alexandru.damian> |
| Status: | VERIFIED FIXED | QA Contact: | Ionut Chisanovici <ionutx.chisanovici> |
| Severity: | critical | ||
| Priority: | Undecided | CC: | alexandru.damian, belen.barros.pena, cristiana.voicu, jessica.zhang |
| Version: | 1.8 | ||
| Target Milestone: | 1.8 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Mihail Stanciu
2015-02-25 14:40:33 UTC
The only table that is being populated is orm_build.
Also, in the toaster_ui.log the following traceback is repeating for every recipe bb file:
ERROR: Could not match layer version for recipe path /home/ionut/work/poky_1.8/poky/meta/recipes-graphics/xorg-lib/libxrandr_1.4.2.bb : []
ERROR: Your database backend doesn't behave properly when autocommit is off. Turn it on before using 'atomic'.
Traceback (most recent call last):
File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/toasterui.py", line 219, in main
buildinfohelper.store_started_task(event)
File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 829, in store_started_task
recipe_information = self._get_recipe_information_from_taskfile(event.taskfile)
File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 703, in _get_recipe_information_from_taskfile
layer_version_obj = self._get_layer_version_for_path(localfilepath)
File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 696, in _get_layer_version_for_path
unknown_layer, created = Layer.objects.get_or_create(name="__FIXME__unidentified_layer", local_path="/", layer_index_url="")
File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 154, in get_or_create
return self.get_queryset().get_or_create(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 388, in get_or_create
six.reraise(*exc_info)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 379, in get_or_create
with transaction.atomic(using=self.db):
File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py", line 244, in __enter__
"Your database backend doesn't behave properly when "
TransactionManagementError: Your database backend doesn't behave properly when autocommit is off. Turn it on before using 'atomic'.
ERROR:
Traceback (most recent call last):
File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/toasterui.py", line 132, in main
buildinfohelper.update_and_store_task(event)
File "/home/ionut/work/poky_1.8/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 894, in update_and_store_task
assert identifier in self.internal_state['taskdata']
AssertionError
Cheers,
Ionut
Pushed for review on adamian/20150225_reviewset *** Bug 7364 has been marked as a duplicate of this bug. *** Pushed for review on bitbake-devel mail list. Merged into master. Verified on master: 5c1c8af083ca7b57cc339d16ce0513b27c5dac90sql |