generic-poky/bitbake/lib/bb
Richard Purdie 0a4a6d6956 bitbake: siggen: Pass basehash to worker processes and sanity check reparsing result
Bitbake can parse metadata in the cooker and in the worker during builds. If
the metadata isn't deterministic, it can change between these two parses and
this confuses things a lot. It turns out to be hard to debug these issues
currently.

This patch ensures the basehashes from the original parsing are passed into
the workers and that these are checked when reparsing for consistency. The user
is shown an error message if inconsistencies are found.

There is debug code in siggen.py (see the "Slow but can be useful for debugging
mismatched basehashes" commented code), we don't enable this by default due to
performance issues. If you run into this message, enable this code and you will
find "sigbasedata" files in tmp/stamps which should correspond to the hashes
shown in this error message. bitbake-diffsigs on the files should show which
variables are changing.

(Bitbake rev: 857829048c14338132784326ba98a71f12192db8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-04 12:50:55 +00:00
..
fetch2 bitbake: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +01:00
parse bitbake: cookerdata/ast: Fail gracefully if event handler function is not found 2016-09-02 18:09:49 +01:00
pysh bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
server bitbake: bitbake: implement idle timeout for xmlrpc server 2016-07-21 07:48:52 +01:00
tests bitbake: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +01:00
ui bitbake: depexp: Close UI with error message on NoProvider event 2016-10-11 08:29:49 +01:00
COW.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
__init__.py bitbake: bitbake: Update version to 1.32.0 2016-10-11 08:47:17 +01:00
build.py bitbake: build: Ensure we preserve sigbasedata files as well as sigdata ones 2016-11-04 12:50:55 +00:00
cache.py bitbake: cache: allow parsing a recipe with a custom config datastore 2016-09-02 18:09:48 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: lib/bb/checksum: avoid exception on broken symlinks 2016-07-29 09:53:32 +01:00
codeparser.py bitbake: codeparser: Use hashlib for hashing, not hash() 2016-06-03 13:48:33 +01:00
command.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: runqueue: Optimise task id string manipulations 2016-10-09 12:33:26 +01:00
cookerdata.py bitbake: cookerdata.py: Catch BBHandledException, preventing a backtrace in an event 2016-09-21 21:58:06 +01:00
daemonize.py bitbake: daemonize/prserv/tests/fetch: Convert file() -> open() 2016-05-13 13:41:32 +01:00
data.py bitbake: data: Fix handling of vardepvalueexclude 2016-10-01 21:45:57 +01:00
data_smart.py bitbake: data_smart/utils: Add 'd' to the context used for better_eval in python expansion 2016-06-13 12:16:10 +01:00
event.py bitbake: bb.event: fix infinite loop on print_ui_queue 2016-10-15 10:01:44 +01:00
exceptions.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
main.py bitbake: main: Check bitbake server-only port is a number 2016-10-09 12:33:26 +01:00
methodpool.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00
monitordisk.py bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
msg.py bitbake: knotty: add quiet output mode 2016-07-08 09:57:27 +01:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Fix py3 update stack overflow 2016-08-11 00:07:08 +01:00
process.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
progress.py bitbake: lib/bb/progress: avoid possibility of start event being reported twice 2016-07-26 08:10:35 +01:00
providers.py bitbake: cooker/providers: Only add target to world build if task exists 2016-09-22 11:18:11 +01:00
runqueue.py bitbake: runqueue.py: Remove redundant whitelist checks 2016-10-11 23:43:16 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen: Pass basehash to worker processes and sanity check reparsing result 2016-11-04 12:50:55 +00:00
taskdata.py bitbake: taskdata/runqueue: Rewrite without use of ID indirection 2016-06-15 08:35:07 +01:00
tinfoil.py bitbake: tinfoil: add a parse_recipe_file function 2016-09-02 18:09:49 +01:00
utils.py bitbake: lib/bb/utils: edit_metadata() comment tweaks 2016-09-08 00:33:46 +01:00