You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Introduction 

CMF perform fully automated sanity testing of multiple video reference platforms on both Gerrit and Github contributions and on nightly branches.

Testing can also be performed on tip dunfell/rdk-next on demand.

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:

  • RDK Video Accelerator UI (all platforms)
  • LGI Refapp2 (brcm97218 and RPI-3)
  • DTVKit DVB UI (brcm97218)

CMF Video Sanity Tests use the StormTest product to do image comparison, video and audio detection, OCR etc..

CMF currently support the following platforms and profiles for contribution and nightly branch CI.


PlatformProfilesTestingComment
RPI 3 Hybrid 

Video Accelerator UI


LGI Refapp2

Contribution

Nightly

Contribution

Nightly


RPI 3 MediaclientVideo Accelerator UI

Contribution

Nightly


RPI 3 IP ClientVideo Accelerator UINightly
RPI 4 Hybrid 32 BitVideo Accelerator UINightly
RPI 4 Mediaclient 32 BitVideo Accelerator UINightly
BRCM972180HB

Video Accelerator UI


LGI Refapp2

Contribution

Nightly

Contribution

Nightly

contribution builds are meta layers only
BRCM972180HBDTVKit DVB UINightly

Currently Not Run:   BCM72180-135 - Getting issue details... STATUS

AMLOGIC AH212 IP ClientVideo Accelerator UI

Contribution

Nightly

contribution builds are meta layers only
AMLOGIC AT301 TV ProfileVideo Accelerator UI

Contribution

Nightly

contribution builds are meta layers only
REALTEKVideo Accelerator UIWIP

Automated Sanity Flows

Each sanity test flow follows the same principle:

  • Look for a free DUT resource (Jenkins Lock)
  • Retrieve the automated build image
  • Deploy the image on the DUT
  • Verify the image has flashed successfully
    • check version.txt 
    • key service and process checks e.g. wpeframework, rmfstreamer etc
    • has IP
  • 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

Some examples of the automated flows:




  • No labels