EPJ Web of Conferences (Jan 2019)

LHCb Continuous Integration and Deployment system: a message based approach

  • Chitic Stefan-Gabriel,
  • Couturier Ben,
  • Clemencic Marco,
  • Closier Joel

DOI
https://doi.org/10.1051/epjconf/201921405001
Journal volume & issue
Vol. 214
p. 05001

Abstract

Read online

A continuous integration system is crucial to maintain the quality of the 6 millions lines of C++ and Python source code of the LHCb software in order to ensure consistent builds of the software as well as to run the unit and integration tests. Jenkins automation server is used for this purpose. It builds and tests around 100 configurations and produces in the order of 1500 built artifacts per day which are installed on the CVMFS file system or potentially on the developers’ machines. Faced with a large and growing number of configurations built every day, and in order to ease inter-operation between the continuous integration system and the developers, we decided to put in place a flexible messaging system. As soon as the built artifacts have been produced, the distributed system allows their deployment based on the priority of the configurations. We will describe the architecture of the new system, which is based on RabbitMQ messaging system (and the pika Python client library), and uses priority queues to start the LHCb software integration tests and to drive the installation of the nightly builds on the CVMFS file system. We will also show how the introduction of an event based system can help with the communication of results to developers.