Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Testing can also be performed on tip dunfell/rdk-next on demand.CMF Video Sanity Tests

CMF Sanity Tests are command line driven (e.g. gst-launch, aampcli) as well as UI driven. We have UI tests for the following UI's:

...

  • Look for a free DUT resource (Jenkins Lock)
  • Retrieve the automated build image
  • Deploy the image on the DUT
    • includes deploying any test related scripts 
  • Verify the image has flashed successfully
    • check version.txt 
    • key service and process checks e.g. wpeframework, rmfstreamer etc
    • IP address has IPbeen assigned
  • Retrieve the DUT logs pre test
    • includes a long set of commands CMF define
    • retrieve the actual device logs (/opt/logs)
  • Perform the video command line and UI testing
    • Screenshots and other useful info is captured here
  • Retrieve the DUT logs post test
  • Prepare a test report (for contributions this is sent to Gerrit/Github and Verified/Platform-Verified status is set accordinly)
  • Power down the device and free it for the next request

Aim is to keep each sanity test flow to <= 30 minutes.

All interaction with the DUT is done via serial and ssh.


Some examples of the automated flows:

Gallery
excludeat301
titleAutomated Flow Examples


Contribution Tests

Tests are split between command line and UI based tests.

A global appState variable is used to determine if the app should be stopped/started or is running based on the test being run.

TestRPI 3 HybridRPI 3 MediaclientRPI 3 IP Client RPI 4 Hybrid 32 BitRPI 4 Mediaclient 32 BitBRCM972180HB VABRCM972180HB Refapp2AMLOGIC AH212AMLOGIC AT301REALTEK
gst-play-1.0









gst-launch uri=aamp









aamp-cli HLS









aamp-cli DASH









aamp-cli PLAYREADY_DRM









aamp-cli WIDEVINE_DRM









rdkShellServicesCITest 









aampCITests CI