User Tools

Site Tools


Testing Dashboard


It was decided to adopt the Mongo DB/API/Json approach dashboard meeting minutes

Dashboard 1st Demo suppport



All the test projects generate results in different format. The goal of a testing dashboard is to provide a consistent view of the different tests from the different projects.


We may describe the overall system dealing with test and testbeds as follow:

We may distinguish

  • the data collection: Test projects push their data using a REST API
  • the production of the test dashboard: the LF WP develop a portal that will call the API to retrieve the data and build the dashboard
Test collection

The test collection API is under review, it consists in a simple Rest API associated a Mongo DB.

Most of the tests will be run from the CI but test collection shall not affect CI in any way that is one of the reason to externalize data collection and not using a jenkins Plugin.


A module shall extract the raw results pushed by the test projects to create a testing dashboard. This dashboard shall be able to show:

  • The number of testcases/test projects/ people involved/organization involved
  • All the tests executed on a a given POD
  • All the tests from a test project
  • All the testcases executed on all the POD
  • All the testcases in critical state for version X installed with installer I on testbed T
  • ….

It shall be possible to filter per:

  • POD
  • Test Project
  • Testcase
  • OPNFV version
  • Installer

For each test case we shall be able to see:

  • Error rate versus time
  • Duration versus time
  • Packet loss
  • Delay
  • ….

And also the severity (to be commonly agreed) of the errors…

description comment
critical not acceptable for release
major failure rate? , failed on N% of the installers?

The expected load will not be a real constraint.

In fact the tests will be run less that 5 times a day and we do not need real time (upgrade evey hours would be enough).

Role of the test projects

Each test project shall:

  • declare itself using test collection API (see Description)
  • declare the testcases
  • push the results into the test DB
  • Create a <my_project> file into releng, This file indicate how to produce "ready to dashboard" data set, that are exposed afterwards through the API
Project testcases Dashboard ready description
Functest vPing graph1: duration = f(time)
graph 2 bar graph (tests run / tests OK)
Tempest graph1: duration = f(time)
graph 2 (nb tests run, nb tests failed)=f(time)
graph 3: bar graph nb tests run, nb failed
yardstick Ping graph1: duration = f(time)
graph 2 bar graph (tests run / tests OK)

First studies for dashboarding

Visualization examples

Test results server

Test results server:

  • Single server which hosts and visualizes all OPNFV test results
    • (also -
  • The server will host
    • Test results portal / landing page (nginx)
    • Test results data base (MongoDB)
    • Yardstick specific data base (InfluxDB)
    • ELK stack - with Kibana to serve as Test Dashboard
    • Grafana (for Yardstick results visualization)
    • (future) - use Kafka as message broker and hook up data-bases (ES, Mongo, ..) to Kafka

Port assignment (for FW):

  • 80 - nginx - landingpage

Port assignment (local)

  • 5000 - logstash
  • 5601 - Kibana
  • 8083, 8086 - InfluxDB
  • 8082, tornado
  • 3000 - Grafana
  • 9200-9300 - Elasticsearch APIs
opnfv_test_dashboard.txt · Last modified: 2016/01/19 14:33 by Peter Bandzi