Bug 14046

Summary: Removal of builtools from workers breaks Send QA email on older distros
Product: [Infrastructure] AutoBuilder Reporter: Steve Sakoman <steve>
Component: autobuilderAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: infras.ab.watcher, Infras.watcher, pidge, randy.macleod
Version: unspecified   
Target Milestone: 3.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Steve Sakoman 2020-09-16 09:13:49 UTC
Error encountered is:

RuntimeError: Sorry, python 3.5.0 or later is required for this version of bitbake

Example failure on debian8-ty-1:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1372
Comment 1 Steve Sakoman 2020-09-21 08:23:50 UTC
I've applied the proposed fix to my autobuilder helper:

HEAD is now at 27ab803 scripts/send-qa-email,utils: Use buildtools if present

However the error occurred again on perf-centos7:

https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/3438
Comment 2 Richard Purdie 2020-09-22 07:26:44 UTC
Steve: That is in fact a different problem, its a different script failing.

I've updated buildtools to contain jinaj2 on master, you may find that either Mochael has fixed the issue, or that you need to update to a newer buildtools from master that ha jinaj2. The latter would be safer long term.
Comment 3 Richard Purdie 2020-09-24 04:32:09 UTC
This occurred for the 3.1.3 rc1 build but I've debugged the "fix" and confirmed it really does work. http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder-helper/commit/?id=36346726740c51cc40873ecb543c0e845e23eea4