<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12308</bug_id>
          
          <creation_ts>2017-11-06 16:28:42 +0000</creation_ts>
          <short_desc>Need to set oe-core branch in branch population?</short_desc>
          <delta_ts>2017-12-01 14:25:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77984</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-11-06 16:28:42 +0000</bug_when>
    <thetext>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 &quot;BuildImages.stdio&quot; 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 &quot;Running Sanity Tests.stdio&quot; 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 &quot;Building Toolchain Images.stdio&quot; 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 &quot;Running SDK Sanity Tests.stdio&quot; 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 &quot;Building Toolchain Images_1.stdio&quot; 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 &quot;BuildImages_1.stdio&quot; 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 &apos;bitbake &lt;target&gt;&apos;

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 &apos;runqemu qemux86&apos;
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 &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/bitbake/lib/bb/data_smart.py&quot;, line 400, in DataSmart.expandWithRefs(s=&quot;${@os.path.dirname(bb.utils.which(d.getVar(&apos;PATH&apos;),&apos;bitbake&apos;))}:${HOSTTOOLS_DIR}&quot;, varname=&apos;PATH[:=]&apos;):
                 except Exception as exc:
    &gt;                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(&apos;PATH&apos;),&apos;bitbake&apos;))}:${HOSTTOOLS_DIR} which triggered exception TypeError: getVar() missing 1 required positional argument: &apos;expand&apos;

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 = &quot;${TOPDIR}&quot;
BBFILES ?=&quot;&quot;
BBLAYERS &amp;#43;= &quot; \
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/meta \
&quot;

• 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 &amp;#43;= &quot;report-error&quot;
PACKAGE_CLASSES = &quot;package_rpm package_deb package_ipk&quot;
BB_NUMBER_THREADS = &quot;24&quot;
PARALLEL_MAKE = &quot;-j 28&quot;
SDKMACHINE ?= &quot;x86_64&quot;
BB_TASK_NICE_LEVEL = &quot;5&quot;
BB_TASK_NICE_LEVEL_task-testimage = &quot;0&quot;
BB_TASK_IONICE_LEVEL = &quot;2.7&quot;
BB_TASK_IONICE_LEVEL_task-testimage = &quot;2.1&quot;
DL_DIR = &quot;/srv/autobuilder/autobuilder.yoctoproject.org/current_sources&quot;
SSTATE_DIR ?= &quot;/srv/autobuilder/autobuilder.yoctoproject.org/pub/sstate/&quot;
MACHINE = &quot;qemuarm&quot;
PREMIRRORS = &quot;&quot;
BB_GENERATE_MIRROR_TARBALLS = &quot;1&quot;
INHERIT &amp;#43;= &quot;uninative&quot;
require conf/distro/include/yocto-uninative.inc
PRSERV_HOST = &quot;localhost:0&quot;
ADTREPO = &quot;http://adtrepo.yoctoproject.org//DISTRO_VERSION ??= nodistro.0&quot;
QEMU_USE_KVM = &quot;True&quot;
SDK_EXT_TYPE = &quot;minimal&quot;
SDK_INCLUDE_TOOLCHAIN = &quot;1&quot;
SANITY_TESTED_DISTROS = &quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78088</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-11-08 23:09:37 +0000</bug_when>
    <thetext>This is strange, it&apos;s almost as if the wrong bitbake version is being used here (one prior to when we made the expand option to getVar() optional).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78113</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-11-09 16:04:32 +0000</bug_when>
    <thetext>Looking at the build log that&apos;s exactly what happened: oe-core master against bitbake 1.34.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78116</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-11-09 16:05:13 +0000</bug_when>
    <thetext>*** Bug 12309 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78117</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-11-09 16:08:05 +0000</bug_when>
    <thetext>This is a bug in the autobuilder configuration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78124</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-11-09 16:29:52 +0000</bug_when>
    <thetext>The cronjob triggering our idlebuild jobs on the weekend wasn&apos;t setting the branch_oecore property correctly. I&apos;ve edited the cronjob, this should be fixed on the next run.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>