The following issue is present: -------- Detailed log of last build step: https://autobuilder.yocto.io/builders/nightly-oecore/builds/538/steps/BuildImages/logs/stdio Last 60 lines of "BuildImages.stdio" Error log: ERROR: Unable to parse /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py Detailed log of last build step: https://autobuilder.yocto.io/builders/nightly-oecore/builds/538/steps/Running Sanity Tests/logs/stdio Last 60 lines of "Running Sanity Tests.stdio" Error log: ERROR: Unable to parse /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py Detailed log of last build step: https://autobuilder.yocto.io/builders/nightly-oecore/builds/538/steps/Building Toolchain Images/logs/stdio Last 60 lines of "Building Toolchain Images.stdio" Error log: ERROR: Unable to parse /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py Detailed log of last build step: https://autobuilder.yocto.io/builders/nightly-oecore/builds/538/steps/Running SDK Sanity Tests/logs/stdio Last 60 lines of "Running SDK Sanity Tests.stdio" Error log: ERROR: Unable to parse /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py Detailed log of last build step: https://autobuilder.yocto.io/builders/nightly-oecore/builds/538/steps/Building Toolchain Images_1/logs/stdio Last 60 lines of "Building Toolchain Images_1.stdio" Error log: ERROR: Unable to parse /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py Detailed log of last build step: https://autobuilder.yocto.io/builders/nightly-oecore/builds/538/steps/BuildImages_1/logs/stdio Last 60 lines of "BuildImages_1.stdio" Error log: ERROR: Unable to parse /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py -------------- Going into the AB log, this is the problem: ----- ### Shell environment set up for builds. ### You can now run 'bitbake <target>' Common targets are: core-image-minimal core-image-sato meta-toolchain meta-ide-support You can also run generated qemu images with a command like 'runqemu qemux86' ERROR: Unable to parse /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py Traceback (most recent call last): File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py", line 400, in DataSmart.expandWithRefs(s="${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}", varname='PATH[:=]'): except Exception as exc: > raise ExpansionError(varname, s, exc) from exc bb.data_smart.ExpansionError: Failure expanding variable PATH[:=], expression was ${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR} which triggered exception TypeError: getVar() missing 1 required positional argument: 'expand' program finished with exit code 1 elapsedTime=0.858745 ----- AB build info: ----- Build status: FAILURE Build worker for this Build: centos7.yocto.io Complete logs for all build steps: https://autobuilder.yocto.io/builders/nightly-oecore/builds/538 Build Reason: Triggerable(trigger_main-build_nowait) Build Properties: • Contents of bblayers.conf (Note. LCONF_VERSION will not show up correctly) LCONF_VERSION = BBPATH = "${TOPDIR}" BBFILES ?="" BBLAYERS += " \ /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/meta \ " • BuildImages : -c populate_sdk_ext core-image-minimal • DEST : /srv/autobuilder/autobuilder.yoctoproject.org/pub/nightly/20171105-1 • DISTRO : oecore • Contents of auto.conf (local.conf for autobuilders) INHERIT += "report-error" PACKAGE_CLASSES = "package_rpm package_deb package_ipk" BB_NUMBER_THREADS = "24" PARALLEL_MAKE = "-j 28" SDKMACHINE ?= "x86_64" BB_TASK_NICE_LEVEL = "5" BB_TASK_NICE_LEVEL_task-testimage = "0" BB_TASK_IONICE_LEVEL = "2.7" BB_TASK_IONICE_LEVEL_task-testimage = "2.1" DL_DIR = "/srv/autobuilder/autobuilder.yoctoproject.org/current_sources" SSTATE_DIR ?= "/srv/autobuilder/autobuilder.yoctoproject.org/pub/sstate/" MACHINE = "qemuarm" PREMIRRORS = "" BB_GENERATE_MIRROR_TARBALLS = "1" INHERIT += "uninative" require conf/distro/include/yocto-uninative.inc PRSERV_HOST = "localhost:0" ADTREPO = "http://adtrepo.yoctoproject.org//DISTRO_VERSION ??= nodistro.0" QEMU_USE_KVM = "True" SDK_EXT_TYPE = "minimal" SDK_INCLUDE_TOOLCHAIN = "1" SANITY_TESTED_DISTROS = ""
This is strange, it's almost as if the wrong bitbake version is being used here (one prior to when we made the expand option to getVar() optional).
Looking at the build log that's exactly what happened: oe-core master against bitbake 1.34.
*** Bug 12309 has been marked as a duplicate of this bug. ***
This is a bug in the autobuilder configuration.
The cronjob triggering our idlebuild jobs on the weekend wasn't setting the branch_oecore property correctly. I've edited the cronjob, this should be fixed on the next run.