<?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>10569</bug_id>
          
          <creation_ts>2016-11-01 20:50:47 +0000</creation_ts>
          <short_desc>Integrate DevAuto USB multiplexer module to AFT</short_desc>
          <delta_ts>2016-12-21 17:00:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</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 M1</target_milestone>
          
          <blocked>9689</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</reporter>
          <assigned_to name="Benjamin Esquivel">benjamin.esquivel</assigned_to>
          <cc>anibal.limon</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>igor.stoppa</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>randy.macleod</cc>
          
          <qa_contact name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</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>67831</commentid>
    <comment_count>0</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2016-11-01 20:50:47 +0000</bug_when>
    <thetext>AFT (Automated Flasher Tester - https://github.com/skuusela/AFT) is a tool for deploying and verifying a SW image on an appropriate target HW device. On the other hand, DevAuto is a library package with the purpose to facilitate the control of hardware devices required for creating a fully automated testing service for CI.

In its current form, AFT makes use of a pre-configured Debian image on an USB stick per DUT to allow to boot the device to a known state. From that point onward, the host is able to submit commands to the DUT through SSH in order to copy and flash the target test image to a SD Card on it, to boot from it and finally leave the device ready for testing.

With the objective to be able to flash the target image to the USB stick and install it to the SD Card directly, without requiring the Debian support image, a change on the AFT classes and workflow is required. The modification consists in integrating the DevAuto library and allowing the use of a USB multiplexer to handle the switching of the USB stick between the AFT host and the DUT. This will also provide the benefit of testing the flashing process with an approach that is much more similar to the one final users employ to interact with the device by connecting and disconnecting the USB stick.

Finally, the goal is to implement the described enhancement in addition to the current method AFT uses for flashing in existing setups.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69239</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-12-20 17:43:25 +0000</bug_when>
    <thetext>With bug 10604 using the distributed version of AFT, it is not required to integrate Devauto&apos;s USB muxer to it. Reason being that the DAFT controller instance does not rely on the USB installing capability</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69272</commentid>
    <comment_count>2</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2016-12-21 17:00:28 +0000</bug_when>
    <thetext>Moving the ticket to Verified state as per the previous comment from Benjamin.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>