Journals of Accelerator Conferences Website (JACoW)

JACoW is a publisher in Geneva, Switzerland that publishes the proceedings of accelerator conferences held around the world by an international collaboration of editors.

URLhttps://doi.org/10.18429/JACoW-ICALEPCS2025-TUBG006
TitleHunting for hidden bugs: dealing with test flakiness in SKA control software
Authors
  • G. Marotta
    INAF - OAA (Arcetri Astropysical Observatory), Arcetri Astrophysical Observatory
  • E. Giani, C. Baffa
    INAF - OAA (Arcetri Astropysical Observatory)
  • S. Di Frischia
    INAF - OAAb (Abruzzo Astronomycal Observatory)
  • I. Novak, M. Colciago
    Cosylab Switzerland
  • G. Brajnik
    University of Udine, IDS Srl
  • E. Lena
    IDS Srl
AbstractTest flakiness—when a test intermittently passes or fails without changes to the code—poses a significant challenge in the validation of distributed control systems. This paper presents an investigation into test flakiness in CSP.LMC (Local Monitoring and Control for the Central Signal Processor), a key subsystem of the SKA (Square Kilometre Array) telescope. CSP.LMC is a Python application built on the TANGO framework, that is tested using a multi-level testing approach combining unit, component, and integration tests. To achieve scalable and reproducible deployment, the entire SKA control software runs within a Kubernetes environment. We systematically collect test outcomes and execution benchmarks to monitor system stability over time. A data mining approach is applied to uncover correlations and hidden patterns associated with test instability. Our analysis aims to uncover subtle software issues that are not easily detected through standard test evaluation. Furthermore, we aim to explore how the complexity of both the software architecture and its deployment may introduce sources of non-determinism that can lead to flaky tests. We discuss the impact of flakiness on the reliability of SKA control software and propose practical strategies to benchmark, detect, and mitigate flaky tests in complex distributed environments.
Paperdownload: TUBG006.pdf
CiteBibTeX, LaTeX, Text/Word, RIS, EndNote
Conference20th Int. Conf. Accel. Large Exp. Phys. Control Syst. (ICALEPCS'25)
Series
LocationChicago, IL, USA
Date20-26 Sep 2025
PublisherJACoW Publishing, Geneva, Switzerland
Editorial BoardKent Wootton (ANL), Jeffery Biss (FNAL), Gustavo Bruno (ANL), Jeff Kirchman (ANL), Kelly Jaje (ANL), Denise Skiadopoulos (ANL), SuYin Grass Wang (ANL)
Online ISBN978-3-95450-255-4
Online ISSN2226-0358
Received21 September 2025
Revised24 September 2025
Accepted31 October 2025
Issued25 November 2025
DOI10.18429/JACoW-ICALEPCS2025-TUBG006
Pages259-265