How to Contribute to System Testing and Extract Results

Slides:



Advertisements
Similar presentations
1 The ns-2 Network Simulator H Plan: –Discuss discrete-event network simulation –Discuss ns-2 simulator in particular –Demonstration and examples: u Download,
Advertisements

Report Distribution Report Distribution in PeopleTools 8.4 Doug Ostler & Eric Knapp 7264.
Automated Tests in NICOS Nightly Control System Alexander Undrus Brookhaven National Laboratory, Upton, NY Software testing is a difficult, time-consuming.
G51FSE Version Control Naisan Benatar. Lecture 5 - Version Control 2 On today’s menu... The problems with lots of code and lots of people Version control.
Desktop Security: Worms and Viruses Brian Arkills, C&C NDC-Sysmgt.
Configuration Management Process and Environment MACS Review 1 February 5th, 2010 Roland Moser PR a-RMO, February 5 th, 2010 R. Moser 1 R. Gutleber.
Windows Server MIS 424 Professor Sandvig. Overview Role of servers Performance Requirements Server Hardware Software Windows Server IIS.
Abstract The automated multi-platform software nightly build system is a major component in the ATLAS collaborative software organization, validation and.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
M Gallas CERN EP-SFT LCG-SPI: SW-Testing1 LCG-SPI: SW-Testing LCG Applications Area GridPP 7 th Collaboration Meeting LCG/SPI LCG.
Unit tests, Integration tests Physics tests Andrea Dotti, Gunter Folger, Pere Mato CERN – PH/SFT Geant4 workshop 2012.
© 2012 WIPRO LTD | 1 Version 1.0a, 23 rd April 2012 TTCN-3 Users Conference Practical integration of TTCN-3 with Robot test automation framework.
LSC Segment Database Duncan Brown Caltech LIGO-G Z.
Nightly Releases and Testing Alexander Undrus Atlas SW week, May
NICOS System of Nightly Builds for Distributed Development Alexander Undrus CHEP’03.
Usability Issues Documentation J. Apostolakis for Geant4 16 January 2009.
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
Progress with migration to SVN Part3: How to work with g4svn and geant4tags tools. Geant4.
Study for Migration from CVS to SubVersion (SVN) Gunter Folger CERN/PH/SFT.
Cloning Windows NT Systems Mainly based on experiences at RAL and Oxford.
LCG-SPI: SW-Testing LCG AppArea internal review (20/10/03)
Samba – Good Just Keeps Getting Better The new and not so new features available in Samba, and how they benefit your organization. Copyright 2002 © Dustin.
20/09/2006LCG AA 2006 Review1 Committee feedback to SPI.
Feedback from the POOL Project User Feedback from the POOL Project Dirk Düllmann, LCG-POOL LCG Application Area Internal Review October 2003.
ATLAS Production System Monitoring John Kennedy LMU München CHEP 07 Victoria BC 06/09/2007.
Getting Started with.NET Getting Started with.NET/Lesson 1/Slide 1 of 31 Objectives In this lesson, you will learn to: *Identify the components of the.NET.
Compaq Availability Manager Installation, Configuration, Setup and Usage Barry Kierstein.
G.Govi CERN/IT-DB 1 September 26, 2003 POOL Integration, Testing and Release Procedure Integration  Packages structure  External dependencies  Configuration.
Linux Operations and Administration
Unit 17: SDLC. Systems Development Life Cycle Five Major Phases Plus Documentation throughout Plus Evaluation…
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Benchmark 2 progress report and future directions Sergey Lyskov
Geant4 is a toolkit to simulate the passage of particles through matter, and is widely used in HEP, in medical physics and for space applications. Ongoing.
Pavel Nevski DDM Workshop BNL, September 27, 2006 JOB DEFINITION as a part of Production.
Follow-up to SFT Review (2009/2010) Priorities and Organization for 2011 and 2012.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
Modularization of Geant4 Dynamic loading of modules Configurable build using CMake Pere Mato Witek Pokorski
SYSTEM INTEGRATION TESTING Getting ready for testing shifts Gunter Folger CERN PH/SFT Geant4 Collaboration Workshop 2011 SLAC.
Software Release Build Process and Components in ATLAS Offline Emil Obreshkov for the ATLAS collaboration.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
1 March 12, Testing William Cohen NCSU CSC 591W March 12, 2008.
Architecture Review 10/11/2004
CMS DCS: WinCC OA Installation Strategy
Software Engineering (CSI 321)
EGEE Middleware Activities Overview
Shared Services with Spotfire
Project Center Use Cases Revision 2
Project Center Use Cases
CPU Benchmarks Parallel Session Summary
Generator Services planning meeting
LCGAA nightlies infrastructure
GLAST Release Manager Automated code compilation via the Release Manager Navid Golpayegani, GSFC/SSAI Overview The Release Manager is a program responsible.
NIGHTLY BUILD SCRIPT FOR THE LEVEL-1 TRIGGER ONLINE SOFTWARE
CVS revisions UML diagram
Project Center Use Cases Revision 3
PHP / MySQL Introduction
CernVM Status Report Predrag Buncic (CERN/PH-SFT).
Project Center Use Cases Revision 3
First Internal Pool Release 0.1
5 SYSTEM SOFTWARE CHAPTER
Introduction of Week 3 Assignment Discussion
Solving ETL Bottlenecks with SSIS Scale Out
Design and Programming
Gunter Folger Geant4 Genova Workshop 4-July-2001
5 SYSTEM SOFTWARE CHAPTER
Geant4: System Testing Team
SUSE Linux Enterprise Desktop Administration
Automation of Control System Configuration TAC 18
MapReduce: Simplified Data Processing on Large Clusters
Presentation transcript:

How to Contribute to System Testing and Extract Results Gunter Folger CERN/PH/SFT Geant4 workshop 2010/ ESA

Content STT ⇔ System Testing Team Mandate, or Tasks How does it work? How to contribute

Mandate To improve the quality and robustness of GEANT4 code at the "System Level", To ensure it compiles and runs without crashing on all supported platforms in tests which cover a wide range of physics, geometries, particles, processes over many events.  Although physics validation is not our aim, we will obviously be aware of the physics quality and seek cooperation with the category teams.

Tasks Integration testing of proposed tags Q/A for release Regular - ~ daily - testing of new code Currently no backup person Help is needed in this routine job Q/A for release Using tools checking memory use, Checking code for std::, ... Physics validation test suite HEP oriented

Regular integration testing Propose Tags Tags Select Testing Analyse results Accept / Reject

Steps – prepare testing Tag(s) are proposed by developer Tags are selected by STT Taking into account dependencies Avoiding sets of tags risking confusing results Bonsai interface makes it easy to do mistake in this step Two/three step process per tag Some pitfalls or bugs Some mistakes are be hard to correct, only in db itsself. Replacement for web interface in development

Testing Testing automatic – unless there is a problem Configure environment using cmt Checkout – querying bonsai db for tags Compile/Build using Geant4 make system Testing, QMtest runs all tested defined in test suite Failure defined as sizeof(stderr) != 0, or crash. In case of crash, core file is created Results of build & test copied to web Crash require manual intervention Core file can only be inspected on testing machine No trace back generated

Steps – analyze results Reject failing tag(s) Compilation error/warning Runtime error messages, crash Accept tags if no (new) problem

Current difficulties to share work Bonsai web interface Cumbersome to select tags correctly Easy to make mistakes Debugging of crashes requires access to testing machines Still fairly large number of failures on Windows Replacement under development Alpha version available at https://sftweb.cern.ch/gea nt4/geant4tags Access possible Improve handling of crash? Already greatly reduced Difficulty Remedy

How can you contribute? Assuming Bonsai web interface is replaced Running Shifts for testing? Starting with few volunteers

How can you contribute (2) Short term help Several tests fail on windows 6 months ago, the number was much higher So far, all were due to bugs in code Help in finding problems will be welcome.

How to access information From bonsai, there is link to results page, or Link to testing results

Not covered Extending test suite, include new tests or examples cmt configuration for Geant4

Summary Improvements in testing procedures and tools will allow to share testing work A few volunteers initially needed to test Help with debugging on windows is welcome

Backup Slides shown in Catania/2009

Overview Move of Geant4 integration testing from TINDERBOX to SPI nightly build system Pop versus push Bonsai untouched Recent changes in nightly build system Server approach with goal to run several “jobs” in parallel Geant4 contributed new display of results Future planned changes More involvement of developers More frequent tests with direct feedback Shifts of running testing?

What has changed for Geant4 developer? Did you notice a change Compilation warnings no longer tolerated More examples included in testing MAC fully integrated Windows still requires work

Move to SPI nightlies (1) Supported platform include Linux, Mac, and Windows Previous setup worked for Linux, but Mac and Windows not integrated Regular build on set of machines once per night Machine pulls information on what to build Build is completely on local disk Source is checked out by each machine, possibly more than once Performance, and less affected by afs problems Network timeout, quota,... Support for testing different configurations on one machine Currently two: Current selected tags Reference tag, patch, release, as soon as preliminay tag exists Started to test multiple compilers on SLC5

Move to SPI nightlies (2) Build configured via CMT was setup scripts Single configuration file for all systems, yet allows for specialisation. Standard Geant4 make based build system used to build libraries

Move to SPI nightlies (3) Test tool is QMTest Tinderbox no longer in use ( ~March 09) Setup in cvs under tests/tools/qmtest Based on python, easily extended Allows to easily run tests, examples, but also benchmarks, without using cryptic symlinks from test to examples. A test consists of 2+ tests Build the executable compilation warnings flagged as FAILURE Run the executable with possible different input file(s)  multiple tests for same executable

Move to SPI nightlies (4) Log files copied to web server parsed and available from http://lcgapp.cern.ch/spi/cgi-bin/nightlies Or http://lcgapp.cern.ch/spi/cgi-bin/nightly.py

Inventory of examples tested See also http://geant4.cern.ch/collaboration/working_groups/testing/tests.shtml

Improvements of SPI nightlies(1) Original SPI display of results difficult to analyse Failing tests difficult to correlate across platforms Addressed by storing results in database Offering lots of possibilities to view results Web page allows to analyse failures across platforms, days, ... Work of technical student Victor Diez Gonzales

Improvement of SPI nightlies(2) Distributions of builds to machines completely revised A server distributes build to Client machines Capabilities of client in central configuration file Server may run several build in parallel, if resources allow Number of CPUs available and allowed to use

Summary Migration to SPI nightlies successful Effort to run testing significantly reduced Select tag in bonsai Check results Accept/reject tags, eventually debug on build machine What is next? Ideas: Add yet more tests, e.g. benchmark directory Automatic generation of stack trace for crash Create tests database