| Summary: | bitbake hangs when PR server is down or invalid | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Ben Shelton <ben.shelton> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | VERIFIED FIXED | QA Contact: | Costin <costin.c.constantin> |
| Severity: | major | ||
| Priority: | Medium+ | CC: | bogdanx.a.voiculescu, ke.zou, poky.bs.watcher, poky.watcher, yi.zhao, zhangle.yang |
| Version: | 1.7 | ||
| Target Milestone: | 1.8 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | TC needed | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Ben Shelton
2014-11-05 22:19:12 UTC
I tested it with same steps in latest master (8657c2fd57600e0b0eaf2a14692de7453c78e1bb). The traceback disappeared. But the bitbake still hung and didn't exit. ################ $ bitbake busybox ERROR: PRservice bob:8585 not available Summary: There was 1 ERROR message shown, returning a non-zero exit code. ################ ############### $ ps aux|grep bitbake zhaoyi 6803 0.4 0.6 97488 25536 pts/12 S+ 14:20 0:01 python /home/zhaoyi/work/poky/poky-build/bitbake/bin/bitbake busybox zhaoyi 6805 0.0 0.5 175644 22924 pts/12 S+ 14:20 0:00 python /home/zhaoyi/work/poky/poky-build/bitbake/bin/bitbake busybox zhaoyi 6846 26.8 8.9 508392 354556 pts/12 Sl+ 14:20 1:26 python /home/zhaoyi/work/poky/poky-build/bitbake/bin/bitbake busybox zhaoyi 6847 26.7 8.7 504612 349696 pts/12 Sl+ 14:20 1:26 python /home/zhaoyi/work/poky/poky-build/bitbake/bin/bitbake busybox ################ And I can not terminate it by Ctrl-C . Really fixed with: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1393e224b51d07297f615cc53dab4ef3bab72770 What happened is I added the broken line to local.conf and then fixed bitbake until it worked. I did not dirty the cache again and test a reparse with that broken line though. This time I've done that! Hello, Verified on latest master and it works: poky hash: 0aff27522d467ee5d02289594207ddef4add7081 cosscat@ubnt:/media/yp_builds/poky/build$ bitbake busybox ERROR: PRservice costin:8585 not available Summary: There was 1 ERROR message shown, returning a non-zero exit code. cosscat@ubnt:/media/yp_builds/poky/build$ echo $? 1 Bitbake exits without problem. Costin |