Created attachment 1659 [details] database FAIL: test_quality_Build (bldviewer.tests.QualityTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/brandusa/masterT/bitbake/lib/toaster/bldviewer/tests.py", line 43, in test_quality_Build self.assertEqual(warnings_no[0]["warnings_no"], len(level_warning)) AssertionError: 9 != 3 The build table: { "pk": 2, "model": "orm.build", "fields": { "build_name": "201312051725", "outcome": 0, "completed_on": "2013-12-05T16:01:58.165Z", "warnings_no": 9, "distro_version": "1.5+snapshot-20131205", "started_on": "2013-12-05T15:25:50.935Z", "machine": "qemumips", "bitbake_version": "1.21.0", "cooker_log_path": "/home/brandusa/masterT/build/tmp/log/cooker/qemumips/20131205152452.log", "image_fstypes": "ext3 tar.bz2", "errors_no": 0, "distro": "poky-lsb" } The logmessage table: { "pk": 1, "model": "orm.logmessage", "fields": { "lineno": 95, "message": "QA Issue: python-native: configure was passed unrecognised options: --without-cxx --with-cyclic-gc", "pathname": "/home/brandusa/masterT/bitbake/lib/bb/__init__.py", "build": 2, "level": 1 } }, { "pk": 2, "model": "orm.logmessage", "fields": { "lineno": 95, "message": "QA Issue: libtool-cross: configure was passed unrecognised options: --with-sysroot", "pathname": "/home/brandusa/masterT/bitbake/lib/bb/__init__.py", "build": 2, "level": 1 } }, { "pk": 3, "model": "orm.logmessage", "fields": { "lineno": 95, "message": "QA Issue: python: configure was passed unrecognised options: --without-cxx --with-cyclic-gc", "pathname": "/home/brandusa/masterT/bitbake/lib/bb/__init__.py", "build": 2, "level": 1 } The database is attached.
There may be warnings and errors that are not coming through during task execution - as such, they may be counted, but not recorded. I will investigate for the particular scenario needed, but I think this test is invalid.
*** Bug 5693 has been marked as a duplicate of this bug. ***
I cannot reproduce this bug. If you can reproduce the bug, please reproduce it with this patch applied http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=adamian/traceevents&id=38ec6ead67f218640bec3a8bb4efe493cfc91699 and attache toaster_events.out and toaster_ui.log files here.
Created attachment 1855 [details] database The error is quite easy to reproduce. I have attached another database where you can find this problem.
Created attachment 1856 [details] toaster_ui.log master:ac4ff568f5b2ad4f50a1b7b60797e7b797c314bb
Created attachment 1858 [details] toaster_ui.log When I apply the patch from Alex D I don't get the error, the test is passed.
Created attachment 1859 [details] toaster_events.out
Ropened.
merged to master http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=53b781f41e71c359b66603a9786cf30cbaf73a65
This is verified. Ionut C