<?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>9460</bug_id>
          
          <creation_ts>2016-04-13 22:22:36 +0000</creation_ts>
          <short_desc>Provide a way to automate testing of meta-mingw</short_desc>
          <delta_ts>2017-12-06 16:52:52 +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.2</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>enhancement</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          <dependson>10914</dependson>
    
    <dependson>10971</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>brian.avery</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>sgw</cc>
    
    <cc>sonia.delgado</cc>
          
          
          <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>61181</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-04-13 22:22:36 +0000</bug_when>
    <thetext>Provide a way to automate testing of meta-mingw and meta-darwin layers.
These two layers are officially supported by the Yocto project, but there are no
automated tests (that I know of) that target these layers.

Probably the most common usage of those meta layers are cross-compiled toolchains, so that would make them the prime candidates for automated testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63675</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-07-06 16:03:16 +0000</bug_when>
    <thetext>An initial step towards automating testing of these layers is to have them integrated into a buildset and built on the autobuilder, thus at least testing the builds are successful. This is why the issue is filed against the autobuilder, which confused this reader on first reading this report.

A future step may be to develop automated tests for them, but that should likely be a separate ticket.

Note: the meta-darwin build is problematic. The layer requires files be extracted from a Mac OS SDK and we don&apos;t have permissions to distribute these files, therefore a meta-darwin build on the public autobuilder will be problematic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65316</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-08-18 17:00:34 +0000</bug_when>
    <thetext>for meta-darwin I&apos;d consider using TravisCI for the tests. If you run it as an objective c test, you get an OSX environment.
https://docs.travis-ci.com/user/languages/objective-c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65490</commentid>
    <comment_count>3</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-08-24 16:06:20 +0000</bug_when>
    <thetext>https://www.appveyor.com/docs/running-tests/ can test windows instantiations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66085</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-09-13 14:20:05 +0000</bug_when>
    <thetext>I believe that meta-darwin and meta-mingw can be a target for creating tests for the 2.3 release. CC&apos;ing QA so they can file the bugs as necessary.

based on the description of meta-darwin and meta-mingw: OpenEmbedded meta layer for [darwin|mingw] based SDKs. The first approach could be to add oe-selftest cases to the layers then it should be decided whether to execute them along with the nightly-oe-selftest or create a separate one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69709</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-01-11 14:22:43 +0000</bug_when>
    <thetext>I&apos;m moving out the meta-darwin piece into a separate bug as that&apos;s more complicated and requires access to a macOS install. See bug 10912.

Adding a meta-mingw builder is much simpler and something we can easily provide for 2.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69714</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-01-11 14:53:12 +0000</bug_when>
    <thetext>I have an implementation of a minimal builder config which calls:

$ bitbake core-image-sato core-image-minimal -c populate_sdk
$ bitbake core-image-sato core-image-minimal -c testsdk

I can&apos;t test it because of bug 10914</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69957</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-01-20 13:21:26 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=ac756a4d94627692da2dd0fa9c523f8402a540f1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70172</commentid>
    <comment_count>8</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-01-26 11:35:34 +0000</bug_when>
    <thetext>Dependent bug was closed after M2 rc1 had been built, moving this to M3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70691</commentid>
    <comment_count>9</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-02-14 16:27:31 +0000</bug_when>
    <thetext>meta-mingw build added to nightly-qa-extras and deployed to both AB clusters:

http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=ac756a4d94627692da2dd0fa9c523f8402a540f1
http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=e791185ce086dd9b48f0f006c7eab2da561aec7a
http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=7ff32480c118cf0f39db90bd6d47bd5819eed633</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>