Bug 10569 - Integrate DevAuto USB multiplexer module to AFT
Summary: Integrate DevAuto USB multiplexer module to AFT
Status: VERIFIED INVALID
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.3 M1
Assignee: Benjamin Esquivel
QA Contact: Jair Gonzalez
URL:
Whiteboard:
Depends on:
Blocks: devauto
  Show dependency tree
 
Reported: 2016-11-01 20:50 UTC by Jair Gonzalez
Modified: 2016-12-21 17:00 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jair Gonzalez 2016-11-01 20:50:47 UTC
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.
Comment 1 Benjamin Esquivel 2016-12-20 17:43:25 UTC
With bug 10604 using the distributed version of AFT, it is not required to integrate Devauto's USB muxer to it. Reason being that the DAFT controller instance does not rely on the USB installing capability
Comment 2 Jair Gonzalez 2016-12-21 17:00:28 UTC
Moving the ticket to Verified state as per the previous comment from Benjamin.