Bug 9910

Summary: pstree isn't pretty since Py3
Product: [Build System, Metadata & Runtime] BitBake Reporter: Ross Burton <ross.burton>
Component: bitbakeAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, sgw
Version: 2.1   
Target Milestone: 2.2 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2016-07-12 14:47:26 UTC
Since moving to Py3 (or around about that time) the pstree output isn't pretty anymore:

$ pstree -p 11785
python3(11785)───python3(11789)─┬─pseudo(11883)───python3(11884)─┬─python3(1106)
                                │                                ├─python3(1362)───run.BUILDSPEC.1(2603)───rpmbuild.real(2604)
                                │                                ├─python3(3171)───run.BUILDSPEC.3(17927)───rpmbuild.real(17961)
                                │                                ├─python3(15955)
                                │                                ├─python3(18458)───sh(17035)───x86_64-poky-lin(17050)
                                │                                └─python3(32320)───sh(17002)───opkg-build(17004)───ar(17193)

It used to say Cooker, WorkerQueue, etc etc.
Comment 1 Ross Burton 2016-07-20 13:45:25 UTC
Fixed in bitbake 6576a9a95486c28a01d4211b4a33cc3e2c55a7cc.