arrow
返回

Automated Infrastructure as Code Program Testing

自动化基础设施即代码程序测试

delete2024-06-01
delete1
PRE
AI
D
Daniel Sokolowski *
D
David Spielmann
Guido Salvaneschi 封面图
Guido Salvaneschi (Guido Salvaneschi)
DOI:10.1109/TSE.2024.3393070delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Infrastructure as Code (IaC) enables efficient deployment and operation, which are crucial to releasing software quickly. As setups can be complex, developers implement IaC programs in general-purpose programming languages like TypeScript and Python, using PL-IaC solutions like Pulumi and AWS CDK. The reliability of such IaC programs is even more relevant than in traditional software because a bug in IaC impacts the whole system. Yet, even though testing is a standard development practice, it is rarely used for IaC programs. For instance, in August 2022, less than 1 % of the public Pulumi IaC programs on GitHub implemented tests. Available IaC program testing techniques severely limit the development velocity or require much development effort. To solve these issues, we propose Automated Configuration Testing (ACT), a methodology to test IaC programs in many configurations quickly and with low effort. ACT automatically mocks all resource definitions in the IaC program and uses generator and oracle plugins for test generation and validation. We implement ACT in ProTI, a testing tool for Pulumi TypeScript with a type-based generator and oracle, and support for application specifications. Our evaluation with 6 081 programs from GitHub and artificial benchmarks shows that ProTI can directly be applied to existing IaC programs, quickly finds bugs where current techniques are infeasible, and enables reusing existing generators and oracles thanks to its pluggable architecture.
Keyword:
Testing
Generators
Software
Cloud computing
Engines
Codes
Libraries
Property-based testing
fuzzing
infrastructure as code
DevOps
Decentralizing Infrastructure as Code
err2023-01-01
err1
PREAI
errSokolowski, Daniel; Weisenburger, Pascal; Salvaneschi, Guido
err分享
err收藏
Metamorphic Testing for Infrastructure-as-Code Engines基础设施即代码引擎的蜕变测试
err2026-04-01
err0
PREAI
errSpielmann, David; Zakhour, George; Arnold, Dominik; Biagiola, Matteo; Meier, Roland; Salvaneschi, Guido
err分享
err收藏
err分享
err收藏
Infrastructure From Code: The Next Generation of Cloud Lifecycle Automation
err2023-01-01
err4
PREAI
errAviv, Itzhak; Gafni, Ruti; Sherman, Sofia; Aviv, Berta; Sterkin, Asher; Bega, Etzik
err分享
err收藏
Software test-code engineering: A systematic mapping
err2015-02-01
err42
PREAI
errYusifoglu, Vahid Garousi; Amannejad, Yasaman; Can, Aysu Betin
err分享
err收藏

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
3.0K
被引数:
1.3W

机构

暂无机构信息
引用论文

引用论文

Positioning of Superparamagnetic Particles by Superimposing Homogeneous Fields and Field Gradients
err2014-11-01
err0
PREAI
errBenjamin Riedmuller; Bhaskaryjoti Sarma; Nicolas Hibst; Ulrich Herr
err分享
err收藏
53.2: Distinguished Paper: Novel Laser Transfer Technology for Manufacturing Large‐Sized OLED Displays
err2012-07-05
err0
PREAI
errTakashi Hirano; Keisuke Matsuo; Kokichi Kohinata; Koji Hanawa; Tatsuya Matsumi; Eisuke Matsuda; Ryoko Matsuura; Tadashi Ishibashi; Akihiko Yoshida; Tatsuya Sasaoka
err分享
err收藏
Laser direct-printing for inter-connectivity and manufacturing of organic electronic components
err2012-01-01
err0
PREAI
errAnne Patricia Alloncle; Julie Ailuno; Ludovic Rapp; Philippe Delaporte
err分享
err收藏
FindICI: Using machine learning to detect linguistic inconsistencies between code and natural language descriptions in infrastructure-as-code
err2022-09-20
err7
errOAAI
errBorovits, Nemania; Kumara, Indika; Di Nucci, Dario; Krishnan, Parvathy; Dalla Palma, Stefano; Palomba, Fabio; Tamburri, Damian A.; van den Heuvel, Willem-Jan
err分享
err收藏
Topology Optimization of Bridges Supported by a Concrete Shell
err2018-03-23
err0
PREAI
errBruno Briseghella; Luigi Fenu; Yue Feng; Enrico Mazzarolo; Tobia Zordan
err分享
err收藏
学者 查看更多内容