<?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>11823</bug_id>
          
          <creation_ts>2017-07-24 04:06:52 +0000</creation_ts>
          <short_desc>AB: test intel-iot-refkit with the right submodules</short_desc>
          <delta_ts>2017-07-25 15:22:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>IoT Reference OS Kit</product>
          <component>intel-iot-refkit-default</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11745</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Stephano Cetola">stephano</assigned_to>
          <cc>joshuagloe</cc>
    
    <cc>patrick.ohly</cc>
          
          <qa_contact name="yeoh ee peng">ee.peng.yeoh</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75238</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-07-24 04:06:52 +0000</bug_when>
    <thetext>builddir : /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit
buildername : nightly-refkit
buildnumber : 74
commit-description : 2.4_M1-574-g2ec7562

error messages:

Last 60 lines of &quot;BuildImages.stdio&quot; Error log:

ERROR: Layer &apos;refkit&apos; depends on layer &apos;iot-web&apos;, but this layer is not enabled in your configuration
ERROR: Layer &apos;refkit-gateway&apos; depends on layer &apos;iot-web&apos;, but this layer is not enabled in your configuration
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Detailed log of last build step: https://autobuilder.yocto.io/builders/nightly-refkit/builds/74/steps/BuildImages_1/logs/stdio
Last 60 lines of &quot;BuildImages_1.stdio&quot; Error log:

ERROR: Layer &apos;refkit&apos; depends on layer &apos;iot-web&apos;, but this layer is not enabled in your configuration
ERROR: Layer &apos;refkit-gateway&apos; depends on layer &apos;iot-web&apos;, but this layer is not enabled in your configuration
ERROR: Layer &apos;security&apos; depends on layer &apos;xfce-layer&apos;, but this layer is not enabled in your configuration
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75282</commentid>
    <comment_count>1</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2017-07-25 14:31:39 +0000</bug_when>
    <thetext>I&apos;m currently adding functionality to autobuilder which should fix these issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75284</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-07-25 14:58:12 +0000</bug_when>
    <thetext>meta-refkit/conf/bblayers.conf.sample contains ##OEROOT##/../iot-web-layers/meta-iot-web. However, upstream meta-iot-web recently renamed the collection.

This should be addressed by 
https://github.com/intel/intel-iot-refkit/pull/253/commits/a543d6c0a2df1c07714d99c584f70ddfaf54727c which is in intel-iot-refkit master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75285</commentid>
    <comment_count>3</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-07-25 15:02:06 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I&apos;m currently adding functionality to autobuilder which should fix these
&gt; issues.

What do you intend to add?

Was the problem that the AB checked out iot-web-layers master instead of the revision that intel-iot-refkit specified?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75288</commentid>
    <comment_count>4</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-07-25 15:06:09 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Was the problem that the AB checked out iot-web-layers master instead of the
&gt; revision that intel-iot-refkit specified?

What it should do is check out exactly the revisions specified by intel-iot-refkit (see meta-refkit/README.rst for a hint if you need to do it in a script, or use &quot;git submodules&quot;), then update bitbake and OE-core to master or master-next (depending on what the AB is currently testing).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75289</commentid>
    <comment_count>5</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2017-07-25 15:08:31 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; Was the problem that the AB checked out iot-web-layers master instead of the
&gt; &gt; revision that intel-iot-refkit specified?
&gt; 
&gt; What it should do is check out exactly the revisions specified by
&gt; intel-iot-refkit (see meta-refkit/README.rst for a hint if you need to do it
&gt; in a script, or use &quot;git submodules&quot;), then update bitbake and OE-core to
&gt; master or master-next (depending on what the AB is currently testing).

That is exactly the path I&apos;ll be taking. The problem I&apos;m correcting is how the autobuilder currently finds those git submodules.

Today, it is hard-coded like this:

CreateBBLayersConf:
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/tree/buildset-config.controller/nightly-refkit.conf

Obviously, this is a terrible idea. I&apos;ll be removing the need for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75290</commentid>
    <comment_count>6</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2017-07-25 15:22:29 +0000</bug_when>
    <thetext>Closing as a duplicate of 11745.

*** This bug has been marked as a duplicate of bug 11745 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>