MTToGDS Disclaimer - PowerPoint PPT Presentation

About This Presentation
Title:

MTToGDS Disclaimer

Description:

'All dancing bears depicted in this presentation are fictitious. ... Mtt will dump test results in XML format, preserving all phase relations ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 13
Provided by: mik9173
Learn more at: https://www.open-mpi.org
Category:

less

Transcript and Presenter's Notes

Title: MTToGDS Disclaimer


1
MTToGDS - Disclaimer
  • All dancing bears depicted in this presentation
    are fictitious. Any similarity to any person
    living or dead is merely coincidental."

2
Agenda
  • Milestones and Features
  • Object model
  • MTT client changes
  • MTT output in XML format
  • Open Issues

3
Milestones and Features
  • Milestone 1
  • Mtt will dump test results in XML format,
    preserving all phase relations
  • New script mtt-gds-submit-results.py will
    parse XML files generated by mtt and submit
    results to GDS
  • Milestone 2
  • New script mtt-gds-query.py query GDS by user
    provided criteria and generate simple reports
  • Milestone 3
  • Mtt integration with GDS related scripts.

4
Object Model
  • BuildPhase
  • TestSession
  • InstallPhase
  • RunPhase

5
Object Model description
  • TestSession class contains mtt session related
    info (org name, start/end dates, test
    description, )
  • BuildPhase class contains information for every
    test built with mtt. (compiler related info,
    build messages and flows)
  • InstallPhase class contains info for every MPI
    instance used in the specific TestSession. It is
    also points to corresponding MPI BuildPhase
    object. (mpi version, mpi name, mpi pathes,
    confugure options, stdout/in/err)
  • RunPhase class contains runtime info for specific
    test. (os, start/end dates, stdout/err/in,).
    RunPhase points to its corresponding BuildPhase
    and InstallPhase objects.

6
Object Model (example)
  • create mtt session objects with all MPI related
    params
  • mttSession models.TestSession()
  • create phase related objects
  • buildTestPhase models.BuildTestPhase()
  • runTestPhase models.RunTestPhase()
  • mpiInstTestPhase models.InstallTestPhase()
  • setup relations between phases and set phase
    specific attributes
  • buildTestPhase.session mttSession
  • buildTestPhase.compiler_name gnu
  • buildTestPhase.suite intel

7
Object Model - example
  • MPI Install phase setup
  • mpiInstTestPhase.session mttSession
  • mpiInstTestPhase.buildPhase buildTestPhase
  • mpiInstTestPhase.configure_args CFLAGS-g
    with-openib
  • mpiInstTestPhase.mpi_version 1.3
  • Test run phase setup
  • runPhase.session mttSession
  • runPhase.installPhase mpiInstTestPhase
  • runPhase.test_name MPI_SSend_ator_f
  • runPhase.command /path/to/mpirun .
  • runPhase.exit_value 0

8
MTToGDS query examples
  • Select from TestSession
  • allSessionsObjects models.TestSession.all()
  • allSessionObjects db.GqlQuery(select from
    TestSession where org 1, voltaire)
  • for mttSession in mttSessionObjects
  • Using GQL language over Object Model
  • q db.GqlQuery("SELECT FROM TestSession "  
                  "WHERE start_date 1 AND end_date
    lt 2 "                 "ORDER BY org DESC",   
                01-01-2009", 01-02-2009") The
    query is not executed until results are
    accessed.results q.fetch(5)for p in results
  • When a model has a ReferenceProperty to another
    model, each referenced entity gets a property
    whose value is a Query that returns all of the
    entities of the first model that refer to it
    (.modelname.set is a special property
    representing all back-references of specified
    type)
  • To fetch and iterate over every BuildPhase
    entity that refers to the TestPhase
  • instance mttSession
  • for buildPhase in mttSession.BuildPhase_set 
    ...

9
MTT client changes
  • Add code to generate XML from test reports (same
    way we generate HTML tables)
  • Add perl wrapper to call GDS python script
    (mtt-submit-to-gds.py) to submit results in GDS
  • Introduce GUID to interconnect various mtt
    reports phases

10
MTT XML output example
  • ltmtt_session start_date idxxxgt
  • ltmtt_phase typeMPIInstallphase id1
    buildPhaseID8gt
  • ltattr nameorg valuevoltaire/gt
  • lt/mtt_phasegt
  • ltmtt_phase typeTestRunPhase id2
    installPhaseID4gt
  • ltatt namecommand value/path/to/mpirun
    ./gt
  • lt/mtt_phasegt
  • lt/mtt_sessiongt

11
Open Issues
  • Read/write permissions to access GDS
  • Gmail login is required to access GDS
  • We need master ompi Gmail account
  • Mtt will contain Google's SDK to provide GDS API.
    Mtt will depend on python version and libs.
  • Do we need Object model versioning mechanism?
  • Maybe more?

12
Lets eat!
Write a Comment
User Comments (0)
About PowerShow.com