Bug 12104

Summary: Reduce the number of exported environment variables
Product: [Infrastructure] AutoBuilder Reporter: Joshua Lock <joshuagloe>
Component: autobuilderAssignee: Joshua Lock <joshuagloe>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: infras.ab.watcher, Infras.watcher, pidge
Version: 2.4   
Target Milestone: 2.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Lock 2017-09-19 10:17:03 UTC
We have seen several issues over the 2.4 cycle where environment variables exported and used by the yocto-autobuilder have polluted the build environment[1][2].

Our build environment should be as pristine as possible to prevent adverse effects on the build system, therefore we should make a concerted effort to further reduce the amount of environment variables we export on the workers.

1. http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=888c6fee25e3541b7b0e9765bca8b60373a47fc2
2. http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=7c77c01d4818f0cdb9a325a865379bb673b26bcc
Comment 1 Joshua Lock 2018-03-22 08:45:10 UTC
Resolved by the new infrastructure architecture of helper scripts (yocto-autobuilder-helper) with a more recent buildbot with minimal configuration (yocto-autobuilder2).