[Compass-ci] [PATCH v2 lkp-tests 2/4] lib/env.sh: move functions to env.sh