Testing Idempotence for Infrastructure as Code - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Testing Idempotence for Infrastructure as Code

Florian Rosenberg
  • Fonction : Auteur
  • PersonId : 1003246
Fábio Oliveira
  • Fonction : Auteur
  • PersonId : 1003247
Tamar Eilam
  • Fonction : Auteur
  • PersonId : 1003248

Résumé

Due to the competitiveness of the computing industry, software developers are pressured to quickly deliver new code releases. At the same time, operators are expected to update and keep production systems stable at all times. To overcome the development–operations barrier, organizations have started to adopt Infrastructure as Code (IaC) tools to efficiently deploy middleware and applications using automation scripts. These automations comprise a series of steps that should be idempotent to guarantee repeatability and convergence. Rigorous testing is required to ensure that the system idempotently converges to a desired state, starting from arbitrary states. We propose and evaluate a model-based testing framework for IaC. An abstracted system model is utilized to derive state transition graphs, based on which we systematically generate test cases for the automation. The test cases are executed in light-weight virtual machine environments. Our prototype targets one popular IaC tool (Chef), but the approach is general. We apply our framework to a large base of public IaC scripts written by operators, showing that it correctly detects non-idempotent automations.
Fichier principal
Vignette du fichier
978-3-642-45065-5_19_Chapter.pdf (619.89 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01480784 , version 1 (01-03-2017)

Licence

Paternité

Identifiants

Citer

Waldemar Hummer, Florian Rosenberg, Fábio Oliveira, Tamar Eilam. Testing Idempotence for Infrastructure as Code. 14th International Middleware Conference (Middleware), Dec 2013, Beijing, China. pp.368-388, ⟨10.1007/978-3-642-45065-5_19⟩. ⟨hal-01480784⟩
362 Consultations
418 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More