Tested on master: 40d80f9e019118ac7bcd268f21e350bc154a4a63 Steps to reproduce 1. Start toaster in observer mode (source toaster start) 2. Start a build once toaster finishes initializing (bitbake core-image-minimal) Expected result: Build start should be picked up by toaster and information should be added to the database as the build is being completed. Observed result: Build start isn't being picked up by Toaster. Once build finishes, it appears in Toaster, but all tables are empty.
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