<?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>9783</bug_id>
          
          <creation_ts>2016-06-16 11:10:36 +0000</creation_ts>
          <short_desc>Implement automated testing for meta-swupd</short_desc>
          <delta_ts>2018-10-11 15:24:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>meta-swupd</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          <dependson>11304</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Patrick Ohly">patrick.ohly</assigned_to>
          <cc>richard.purdie</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>63016</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-06-16 11:10:36 +0000</bug_when>
    <thetext>meta-swupd is increasingly complex and manual testing of long-running processes is error prone.

Define and develop automated tests for meta-swupd to test:
* update artefact generation 
* update artefact consumption
* swupdimage composed images</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65015</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-08-10 12:27:42 +0000</bug_when>
    <thetext>We should also be sure to test when the common swupd related configuration variables aren&apos;t set, for example swupd master has been broken for some time if the SWUPD_BUNDLES variable was not set.

We should test set and unset versions of:
* SWUPD_BUNDLES
* BUNDLE_FEATURES
* SWUPD_IMAGES</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74705</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-07-03 07:16:59 +0000</bug_when>
    <thetext>https://github.com/intel/intel-iot-refkit/blob/master/meta-refkit-core/lib/oeqa/selftest/systemupdate/systemupdatebase.py could be used as base for the selftest.

See https://github.com/intel/intel-iot-refkit/blob/master/meta-refkit-core/lib/oeqa/selftest/cases/refkit_ostree.py for how files get served via HTTP. Might be worth moving the common code for that to selftest/systemupdate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81811</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-10-11 15:24:15 +0000</bug_when>
    <thetext>Upstream swupd has changed a lot and integration with the Yocto Project would be tricky and need rework to the layer. Closing this as obsolete since any new integration would need rework and have its own issues.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>