Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, 24 2002 - n° 1 CVS setup at CC-IN2P3 and Datagrid edg- build tools CVS management,

Slides:



Advertisements
Similar presentations
© 2010 UC Regents | UC Berkeley ist.berkeley.edu IST Platform Services IST Platform Services and Web Hosting Options Micronet Meeting June 23, 2010 Don.
Advertisements

EIONET Training Beginners Zope Course Miruna Bădescu Finsiel Romania Copenhagen, 27 October 2003.
Andrew McNab - Manchester HEP - 24 May 2001 WorkGroup H: Software Support Both middleware and application support Installation tools and expertise Communication.
A Comprehensive Web Application Development and Deployment Platform.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
What is MySQL? MySQL is a relational database management system (A relational database stores data in separate tables rather than putting all the data.
Optinuity Confidential. All rights reserved. C2O Configuration Requirements.
27-29 September 2002CrossGrid Workshop LINZ1 USE CASES (Task 3.5 Test and Integration) Santiago González de la Hoz CrossGrid Workshop at Linz,
K.Harrison CERN, 23rd October 2002 HOW TO COMMISSION A NEW CENTRE FOR LHCb PRODUCTION - Overview of LHCb distributed production system - Configuration.
10/7/2005JNK ~ University of Notre Dame 1 Sourceforge.net CVS ~ Compile Farm John Korecki Computer Science & Engineering REU University of Notre Dame Fall.
EC Review – 01/03/2002 – G. Zaquine – Quality Assurance – WP12 – CS-SI – n° 1 DataGrid Quality Assurance Gabriel Zaquine Quality Engineer - WP12 – CS-SI.
WDK Driver Test Manager. Outline HCT and the history of driver testing Problems to solve Goals of the WDK Driver Test Manager (DTM) Automated Deployment.
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
A crash course in njit’s Afs
Enabling Grids for E-sciencE Medical image processing web portal : Requirements analysis. An almost end user point of view … H. Benoit-Cattin,
ECE355 Project SIP Applications Tiuley Alguindigue
SPI Software Process & Infrastructure GRIDPP Collaboration Meeting - 3 June 2004 Jakub MOSCICKI
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
BASIC NETWORK CONCEPTS (PART 6). Network Operating Systems NNow that you have a general idea of the network topologies, cable types, and network architectures,
Linux Operations and Administration
Selected Topics in Software Computing Distributed Software Development CVSQL Final Project Presentation.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
Customized cloud platform for computing on your terms !
SPI Software Process & Infrastructure EGEE France - 11 June 2004 Yannick Patois
Software Tools and Processes Training and Discussion October 16, :00-4:30 p.m. Jim Willenbring.
C. Loomis – Testbed Status – 28/01/2002 – n° 1 Future WP6 Tasks Charles Loomis January 28, 2002
1 Linux in the Computer Center at CERN Zeuthen Thorsten Kleinwort CERN-IT.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
Yannick Patois – Datagrid Repository Presentation- 2001/11/21 - n° 1 Partner Logo DataGrid Software Repository presentation A short presentation of the.
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
Subversion (SVN) Tutorial Source:
The huge amount of resources available in the Grids, and the necessity to have the most up-to-date experimental software deployed in all the sites within.
1 The new Fabric Management Tools in Production at CERN Thorsten Kleinwort for CERN IT/FIO HEPiX Autumn 2003 Triumf Vancouver Monday, October 20, 2003.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
01/13/051 Cheap, Easy Virtual Hosts for Web-Based Services Richard L. Goerwitz III.
Server Performance, Scaling, Reliability and Configuration Norman White.
REMOTE LOGIN. TEAM MEMBERS AMULYA GURURAJ 1MS07IS006 AMULYA GURURAJ 1MS07IS006 BHARGAVI C.S 1MS07IS013 BHARGAVI C.S 1MS07IS013 MEGHANA N. 1MS07IS050 MEGHANA.
Getting started DIRAC Project. Outline  DIRAC information system  Documentation sources  DIRAC users and groups  Registration with DIRAC  Getting.
File sharing requirements of remote users G. Bagliesi INFN - Pisa EP Forum on File Sharing 18/6/2001.
Cyber Security Review, April 23-24, 2002, 0 Operated by the Southeastern Universities Research Association for the U.S. Depart. Of Energy Thomas Jefferson.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
GLite build and integration system Building and Packaging Robert HARAKALY
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Tools and techniques for managing virtual machine images Andreas.
Software Engineering Overview DTI International Technology Service-Global Watch Mission “Mission to CERN in Distributed IT Applications” June 2004.
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
ASIS + RPM: ASISwsmp German Cancio, Lionel Cons, Philippe Defert, Andras Nagy CERN/IT Presented by Alan Lovell.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Linux Operations and Administration
Milan, 15 June 2001WP1 Meeting - F. Donno1 GRID Packaging and Code Management for WP1 F. Donno INFN - Pisa.
WMarket For Adminstrators Install with Docker or the Automatic Script.
The EDG Testbed The European DataGrid Project Team
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Predrag Buncic (CERN/PH-SFT) Software Packaging: Can Virtualization help?
Fujitsu America Proprietary and Confidential, (c) FUJITSU America Inc Download Authentic Desktop Edition How to download Authentic 2004 Download.
GLite build and integration system Building and Packaging Robert HARAKALY
DataGrid is a project funded by the European Commission under contract IST EDG Baseline API Document Document build description and current.
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
SPI Software Process & Infrastructure Project Plan 2004 H1 LCG-PEB Meeting - 06 April 2004 Alberto AIMAR
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
SSH. 2 SSH – Secure Shell SSH is a cryptographic protocol – Implemented in software originally for remote login applications – One most popular software.
Maite Barroso – WP4 Workshop – 10/12/ n° 1 -WP4 Workshop- Developers’ Guide Maite Barroso 10/12/2002
Introduction to Ansible
Linux Basics Part 2. VIM Editor vi improved Installed on most Linux machines Can be a bit confusing at first... o Cheat sheets FTW Other popular editors:
Yannick Patois - Datagrid Software Repository Presentation - September, 24, n° 1 Datagrid Software Repository Presentation CVS, packages, automatic.
DataGrid Quality Assurance
SPI Software Process & Infrastructure
Tools and Services Workshop Overview of Atmosphere
TYPES OF SERVER. TYPES OF SERVER What is a server.
Lab 1 introduction, debrief
Lab 7 - Topics Establishing SSH Connection Install SSH Configure SSH
Presentation transcript:

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 CVS setup at CC-IN2P3 and Datagrid edg- build tools CVS management, centralized code checking and automatic building of rpm packages from CVS Yannick Patois

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Table Of Content  CVS service at CC-IN2P3 (Loïc Tortay) How it started Authorized user access in read/write setup Anonymous access setup CVSweb  Datagrid CVS tools (edg-build) General idea Code checking RPM building Package publishing RPM distribution management

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 CVS service at CC-IN2P3 - starting point  To share code development among local users: CVS repository on AFS  But a project (Datagrid) needed a CVS repository open to more people Lab policy wouldn't allow local login for everyone Needed another solution  Once created and tested for Datagrid, this CVS service was extender to other experiments: cvs.in2p3.fr was created.  The presented setup has been set in place by Loïc Tortay at CC-IN2P3.  CVS.IN2P3.FR Dedicated authentication mechanism (not part of the generic users account policy) Offer open CVS services to experiements.

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 CVS at CC-IN2P3 - Read/Write access setup  Authentication by ssh keys  Interactive login is disabled  CVS operations are performed through a specific pseudo-shell that only allow CVS operations to be executed.  rcvssh : remote CVS shell Build from 'anoncvssh' (OpenBSD project) Authentication managed above (by sshd) The shell ensure that the command and arguments are in a predefined set of allowed commands (cvs commands in our case) Can chroot the user to a subtree (anonymous access) Verbose login facility

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 CVS setup at CC-IN2P3 - Anonymous access  Anonymous access is done on a chrooted cvs server  Use a different port than the authenticated access mechanism  The dedicated ssh daemon uses specifics configurations parameters (allow password authentication, allow empty password, only one account allowed) Picture taken from with kind courtesy of Mike Reed.

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 CVS setup at CC-IN2P3 - CVSweb and other tools  CVSweb setup Module based configuration Web access aliased cvs.in2p3.fr/experiment Apache access rights can be managed by experiment  CVS commit info on mailing list

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 CVS Services at CCIN2P3  Service just started a few weeks ago A few experiments (EROS, SUPERNOVAE,..) uses it  Datagrid CVS repository Around 120 accounts 360Mb of sources A few hundreds connexions per day (more than one thousand if accounting for automatic connexion -like autobuild)

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Autobuild tools: The Datagrid collaboration  European grid project A Grid for  HEP  Biomedical applications (genomic and imaging)  Earth study (ESA)  Constraint Distributed development Several dependent modules (around 30)

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 The Datagrid Software Repository  The Datagrid Software Repository Hosted at CC-IN2P3 (Lyon) CNRS - France Main services:  Source code management for developers (CVS)  Packages distribution (RPMS)  The autobuild an check system (automatic building of packages)  Packages distribution Management

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Autobuild system - generalities  Autobuild Around 3000 SLOC of python One external Java program called A lot of os.system() calls to various unix utilities (from mkdir to cvs)  Context Run on RH6.2 and RH7.2, have been tested on Solaris CVS and package repository machine is remote (btw it's an AIX machine). Publication Machine IBM- AIX CVS repository Packages (rpm) repository Publication Machine IBM- AIX CVS repository Packages (rpm) repository Build Machine RedHat Linux Building, package managing Build Machine RedHat Linux Building, package managing CVS checkout ScpScp

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Autobuild system : what it does  Statistical informations about the project RPMS number/size SLOCs for every edg code  Auto-documentation pages Processed user doc (LaTeX files,...) Autogenerated code doc (Doxygen...)  Build platform informations Installed rpms, environments...  CVS module processing for each module Conformance check  README and INSTALL files  CVS tags Build  autotools  make  make doc  make check  make install  make dist  make rpm Publish build RPMs

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Autobuild : result sample

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Edg-release rpm lists

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Autobuild present and futur state  Autobuild program (called edg-build) can be downloaded from The code is most likely still very specific to Datagrid own needs, but is improving.  Current evolution plan Build on demand to developers on build failure Package managing capability (partially implemented)

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Creating RPM lists from dependencies I (idea)  Problem : Managing huge lists of RPM (edg-release) can be difficult.  Idea : Creating them from the RPM inter-dependencies Practical implementation Datagrid RPMS Striped RPMS (only headers) Custom “everything” RPM database Build Machine Local copy RPM task (virtual rpm pkgs) RPM task (virtual rpm pkgs) Full RPM list --whatprovide--whatrequire--whatprovide--whatrequire Custom list RPM database Rpm -Va Validation

Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 Creating RPM List from Dependencies II (example) Redhat-base-edg i386.rpm redhat-kernel-edg i386.rpm task-build-wp i386.rpm Redhat-base-edg i386.rpm redhat-kernel-edg i386.rpm task-build-wp i386.rpm Name: task-build-wp6 [...] # This is for edg-example Requires: libtool Requires: automake Requires: autoconf Requires: make Requires: c++ Requires: doxygen Requires: sgml-tools Requires: tetex-dvips Requires: ghostscript [...] Full RPM List