EMI INFSO-RI-261611 EMI Quality Assurance Tools Lorenzo Dini (CERN) SA2.4 Task Leader.

Slides:



Advertisements
Similar presentations
SC7 WG6 Rome Engineering Ingegneria Informatica S.p.A. INFSO-RI Isabel Matranga ETICS Automated Building,Testing and Quality Assurance.
Advertisements

EC Review – 01/03/2002 – G. Zaquine – Quality Assurance – WP12 – CS-SI – n° 1 DataGrid Quality Assurance Gabriel Zaquine Quality Engineer - WP12 – CS-SI.
EMI INFSO-RI SA2: Session Summary Alberto Aimar WP Package Leader 1 June 2011, Lund.
EMI INFSO-RI NA2 – Outreach and Collaborations Emidio Giorgio (INFN Catania) NA2 Leader 1 st EMI Periodic Review Brussels, 22 June 2011.
INFSO-RI Quality Assurance with ETICS – multi- node automated testing CGW 09 M.Zurek, A. A. Rodriguez, A. Aimar, A. di Meglio, L. Dini CERN Krakow,
EMI SA2: Quality Assurance (EMI-SA2 Work Package) Alberto Aimar (CERN) WP Leader.
EMI INFSO-RI EMI SA2 Report Quality Assurance Alberto Aimar (CERN) SA2 WP Leader.
EMI INFSO-RI Metrics review Claudio (SA1), Lars, Duarte, Eamonn and Maria (SA2)
EMI INFSO-RI EMI Quality Assurance Processes (PS ) Alberto Aimar (CERN) CERN IT-GT-SL Section Leader EMI SA2 QA Activity Leader.
EMI SA2: Quality Assurance (EMI-SA2 Work Package) Alberto Aimar (CERN) WP Leader.
EMI is partially funded by the European Commission under Grant Agreement RI Post EMI Plans and MeDIA Alberto DI MEGLIO, CERN Project Director WLCG.
EMI INFSO-RI SA2 - Quality Assurance Alberto Aimar (CERN) SA2 Leader EMI First EC Review 22 June 2011, Brussels.
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
INFSO-RI Module 01 ETICS Overview Alberto Di Meglio.
INFSO-RI Module 01 ETICS Overview Etics Online Tutorial Marian ŻUREK Baltic Grid II Summer School Vilnius, 2-3 July 2009.
European Middleware Initiative (EMI) – Release Process Doina Cristina Aiftimiei (INFN) EGI Technical Forum, Amsterdam 17. Sept.2010.
INFSO-RI Enabling Grids for E-sciencE The gLite Software Development Process Alberto Di Meglio EGEE – JRA1 CERN.
INFSO-RI SA1 Service Management Alberto AIMAR (CERN) ETICS 2 Final Review Brussels - 11 May 2010.
Evolution of Grid Projects and what that means for WLCG Ian Bird, CERN WLCG Workshop, New York 19 th May 2012.
EMI is partially funded by the European Commission under Grant Agreement RI SA2 – Quality Assurance Alberto AIMAR (CERN) SA2 Leader EMI Second EC.
INFSO-RI JRA 1 Testbed Management Technologies Alain Roy (University of Wisconsin-Madison, USA) ETICS 2 Final Review Brussels - 11 May 2010.
EMI INFSO-RI Guidelines and SQA Process Maria Alandes Pradillo (CERN) SA2.2 Task Leader.
EMI is partially funded by the European Commission under Grant Agreement RI SA2 – Development Tools Andres Abad Rodriguez SA2.4 Tools Activity Leader.
EMI INFSO-RI SA1 – Maintenance and Support Francesco Giacomini (INFN) SA1 Leader 1 st EMI Periodic Review Brussels, 22 June 2011.
EMI INFSO-RI SA2: Quality Assurance Platforms for EMI 2 Andres Abad Rodriguez SA2.4 EMI All Hands Meeting May 30 th -June 1 ST, Lund (Sweden) Platforms.
EMI INFSO-RI SA2.3 Metrics Report Eamonn Kenny (TCD) Gianni Pucciani (CERN)
EMI INFSO-RI EMI Roadmap to Standardization and DCI Collaborations Alberto Di Meglio (CERN) Project Director.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Tools and techniques for managing virtual machine images Andreas.
EMI INFSO-RI SA1 Session Report Francesco Giacomini (INFN) EMI Kick-off Meeting CERN, May 2010.
EMI INFSO-RI EMIR integration in BDII Maria Alandes Pradillo (CERN) Information System Product Team.
EMI INFSO-RI ARC tools for revision and nightly functional tests Jozef Cernak, Marek Kocan, Eva Cernakova (P. J. Safarik University in Kosice, Kosice,
European Middleware Initiative (EMI) The Software Engineering Model Alberto Di Meglio (CERN) Interim Project Director.
EMI INFSO-RI European Middleware Initiative (EMI) Alberto Di Meglio (CERN)
European Middleware Initiative (EMI) An Overview Alberto Di Meglio v
EMI INFSO-RI Software Quality Assurance in EMI Maria Alandes Pradillo (CERN) SA2.2 Task Leader.
EMI INFSO-RI Software Metric Definitions, Reports and Analysis in EMI Authors: Eamonn Kenny (TCD), Gianni Pucciani (CERN) Date: Tuesday 12 th April.
EMI INFSO-RI Argus The EMI Authorization Service Valery Tschopp (SWITCH) Argus Product Team.
EMI INFSO-RI Technical Overview Balázs Kónya (Lund University) Technical Director 1 st EMI Periodic Review Brussels, 22 June 2011.
EMI INFSO-RI Metrics report visualization and reporting Lars Barlindhaug (CERN)
D4Science and ETICS Building and Testing gCube and gCore Pedro Andrade CERN EGEE’08 Conference 25 September 2008 Istanbul (Turkey)
Grid Technology CERN IT Department CH-1211 Geneva 23 Switzerland t DBCF GT Grid Technology SL Section Software Lifecycle Duarte Meneses.
INFSO-RI SA2 ETICS2 first Review Valerio Venturi INFN Bruxelles, 3 April 2009 Infrastructure Support.
European Middleware Initiative (EMI) – Training Kathryn Cassidy, TCD EMI NA2.
EMI INFSO-RI SA1 – Maintenance and Support Francesco Giacomini (INFN) EMI First EC Review Brussels, 22 June 2011.
EMI Inter-component and Large Scale Testing Infrastructure Danilo Dongiovanni INFN-CNAF.
INFSO-RI JRA2 Test Management Tools Eva Takacs (4D SOFT) ETICS 2 Final Review Brussels - 11 May 2010.
EMI is partially funded by the European Commission under Grant Agreement RI Build and Test Services of the EMI project: Lessons Learned and Perspectives.
ETICS An Environment for Distributed Software Development in Aerospace Applications SpaceTransfer09 Hannover Messe, April 2009.
EMI is partially funded by the European Commission under Grant Agreement RI EMI SA2 Report Andres ABAD RODRIGUEZ, CERN SA2.4, Task Leader EMI AHM,
EMI INFSO-RI SA2: Quality Assurance Status Report Alberto Aimar(SA2) SA2 Leader EMI First EC Review 22 June 2011, Brussels.
EMI INFSO-RI Testbed for project continuous Integration Danilo Dongiovanni (INFN-CNAF) -SA2.6 Task Leader Jozef Cernak(UPJŠ, Kosice, Slovakia)
EMI is partially funded by the European Commission under Grant Agreement RI Common Framework for Extracting Information and Metrics from Multiple.
EMI INFSO-RI EMI 1, open source middleware and the road to sustainability Alberto Di Meglio (CERN) Project Director EGI User Forum EMI Technical.
EMI INFSO-RI /04/2011What's new in EMI 1: Kebnekaise What’s new in EMI 1 Kathryn Cassidy (TCD)‏ EMI NA2.
Experiencing in using ETICS, a multi-platform and open source build and test system for big software projects Elisabetta Ronchieri INFN CNAF 5 July 2011,
EMI is partially funded by the European Commission under Grant Agreement RI EMI Outlook and Open Source Activities Alberto DI MEGLIO, CERN Project.
INFSO-RI SA1 Status Report Status and Progress of the ETICS-SA1 Activity ETICS2 All Hands Meeting Alberto AIMAR CERN Bologna 9-11 November 2009.
Implementation of GLUE 2.0 support in the EMI Data Area Elisabetta Ronchieri on behalf of JRA1’s GLUE 2.0 Working Group INFN-CNAF 13 April 2011, EGI User.
EGI-InSPIRE RI EGI-InSPIRE RI EGI-InSPIRE Software provisioning and HTC Solution Peter Solagna Senior Operations Manager.
INFSO-RI SA2 ETICS2 first Review Valerio Venturi INFN Bruxelles, 3 April 2009 Infrastructure Support.
Argus EMI Authorization Integration
Open-O Integration Project Introduction
EMI and GISELA Collaboration
EMI Interoperability Activities
SA2: Quality Assurance Status Report
Infrastructure Support
ETICS Services Management
SL Section Software Lifecycle Duarte Meneses
EMI: dal Produttore al Consumatore
Module 01 ETICS Overview ETICS Online Tutorials
Presentation transcript:

EMI INFSO-RI EMI Quality Assurance Tools Lorenzo Dini (CERN) SA2.4 Task Leader

EMI INFSO-RI Task Goals Initial situation Build, Integration, Packaging Build and Test Infrastructure Software Repositories Continuous Testing Quality Assurance – Metrics Workflow – QA Reports 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 2 Outline

EMI INFSO-RI EMI QA tools not only for Quality Assurance Single tool-chain and workflow for – Build, integration, Packaging, Testing, QA Unified project builds in a single box Single release tool Single dependency management Uniform and compliant packaging Tests stored together with configuration QA metrics created in builds 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 3 SA2.4 - EMI QA Tools

EMI INFSO-RI LanguagesRelease Integration Dependency Management PackagingTestingBug Tracker 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 4 Initial Situation

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 5 Survey Results 1

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 6 Survey Results 2

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 7 Survey Results 3

EMI INFSO-RI Different cultures, environments, requirements and priorities led to different tools difficult to merge Uniform the build environment to provide a common software engineering workflow without affect developer efficiency Provide a comprehensive infrastructure able to satisfy the totality of needs Introduce testing, QA metrics generation and reporting in the same tool-chain Support everybody on a new system 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 8 Challenges

EMI INFSO-RI Taken the versatility of the gLite ETICS system as a general framework Adopted the ARC dependency management with EPEL and packaging with Mock (Debian with PBuilder) Configured minimal worker nodes as dCache with packages installed as privileged user at build start and build in user space Kept Maven to uniformly and effectively build Java components as UNICORE 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 9 Build, Integration and Packaging

EMI INFSO-RI Every EMI software component is configured in a single ETICS project and organized in releases The whole release is built from source in a single minimal clean node 4 times a day ETICS checks-out the source code, installs the dependencies using YUM/APT and triggers the build systems (Autotools, Ant, Maven) in user space ETICS creates missing SPEC files and produces RPMs and DEBs ETICS triggers Mock/PBuilder in a pristine environment for the packaging 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 10 Build, Integration and Packaging

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 11 Build, Integration and Packaging

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 12 Build, Integration and Packaging

EMI INFSO-RI Virtual infrastructure based on CERN Microsoft HyperV and Condor >50 VMs in >10HVs available at any time for builds and tests VMs are automatically scratched after jobs to ensure clean environments Some high performance nodes have been dedicated to project builds to minimize the build cycle 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 13 Build and Test Infrastructure

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 14 Build and Test Infrastructure

EMI INFSO-RI EMI software repositories are provided for each release and release candidate These repositories are automatically populated after builds An EMI external repository is also provided for packages not available in the OS (SL, EPEL, Debian) Automatic ETICS repositories are also generated with the contents of the builds 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 15 Software Repositories

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 16 Continuous Testing “The gLite Data Management Continuous Integration and Testing Process” – 14:30

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 17 Quality Assurance The goal of Process Metrics is to identify improvement opportunities in the way the software is developed and tested, from a process point of view. In our context the main sources of process metrics are the Defect Tracking tools used in EMI. Product (or Internal) Metrics measure certain characteristics of the product like complexity, changeability and testability. At the moment we rely on static code analyzers to measure these characteristics. ”Software Metrics Defines, Reports and Analysis in EMI” – 12:00

EMI INFSO-RI QA Metrics Workflow school.scc.kit.edu/img/dCache_logo.gif XSLT XSD

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 19 Bug Tracker exporters “Software Quality Assurance in EMI” – 11:00 XSLT XSD The middleware distributions decided not to merge their tracking systems Agreements on fields, states, workflow and interfaces to track the process Exporters query each system and provide a standard XML document with the data This documents are stored and backed up on servers provided by distributions

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 20 QA Plug-ins QA Plug-ins are ETICS modules that run during the build and trigger common static analysis tools for QA SLOCCount, FindBugs, PMD, Checkstyle, PyLint, RPMLint, CPPCheck, etc... Product QA Metrics are produced and stored permanently in the ETICS repository

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 21 QA Report Generator Queries the XML for the process metrics and the ETICS repository for the product metrics creating aggregated metrics. Generates charts, plots and tables with QA information and fills in QA templates with the dynamic information. Reports can be produced daily for Product Teams and Release Manager Produces drafts for EU QA Deliverables

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 22 QA Reports: Process Metrics

EMI INFSO-RI /04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 23 QA Reports: Product Metrics

EMI INFSO-RI A very heterogeneous starting point Uniform software engineering tool-chain Successfully integrated EMI 0 and EMI 1 New integrated testing and QA process All performed improvements benefit all teams at once. Specific solution can make a single team happier but are globally more expensive and not maintainable. 12/04/2011 EGI User Forum - EMI Technical Forum - April Vilnius 24 Conclusions

EMI INFSO-RI Thank you 12/04/ EGI User Forum - EMI Technical Forum - April Vilnius EMI is partially funded by the European Commission under Grant Agreement INFSO-RI