Sometimes, oe-selftest hang at wic test cases. I've met this situation for two times. Below are some process information. chenqi 2239 3585 0 Jan31 pts/16 00:00:00 /bin/sh -c wic create wictestdisk --image-name=core-image-minimal -D -o /buildarea5/chenqi/SWAT/poky/build-selftest/wic-tmp/ chenqi 2241 2239 0 Jan31 pts/16 00:00:00 python3 /buildarea5/chenqi/SWAT/poky/scripts/wic create wictestdisk --image-name=core-image-minimal -D -o /buildarea5/chenqi/SWAT/poky/build-selftest/wic-tmp/ chenqi 21859 1 0 Jan31 ? 00:00:00 python3 /buildarea5/chenqi/SWAT/poky/scripts/wic create wictestdisk --image-name=core-image-minimal -D -o /buildarea5/chenqi/SWAT/poky/build-selftest/wic-tmp/ chenqi 30288 1 0 Jan26 ? 00:00:00 python3 /buildarea5/chenqi/SWAT/poky/scripts/wic create wictestdisk --image-name=core-image-minimal --skip-build-check --outdir /buildarea5/chenqi/SWAT/poky/build-selftest/wic-tmp/ chenqi 31153 1 0 Jan30 ? 00:00:00 python3 /buildarea5/chenqi/SWAT/poky/scripts/wic create sdimage-bootpart -e core-image-minimal -o /buildarea5/chenqi/SWAT/poky/build-selftest/wic-tmp/ chenqi 2247 2241 99 Jan31 pts/16 16:15:47 python3 /buildarea5/chenqi/SWAT/poky/bitbake/bin/bitbake -e core-image-minimal Process 2247 is blocked, causing test case hang there for more than 16 hours. And there are some wic processes whose ppid is 1. This is unusual. I think there's some problem with it.
I have a suspicion that http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=65a7662c5b83d56b7baff5cc4ee79051c3ced18c may fix this (wic starts bitbake server). Could you see if you can reproduce after that fix please?
I've tested with latest master, with the above patch, the problem does not occur any more. bitbake: server/process: Add missing exception raise The intent of the code was to catch one kind of error, it was actually swallowing all exceptions and looping indefinitely. Fix it to work as intended. This explains some mystery hangs we've been seeing. (Bitbake rev: d73dbc3580faa1225d95ae4cefac4879ca3c1b2f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>