{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T12:00:16Z","timestamp":1790424016290,"version":"4.1.0"},"reference-count":77,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA1","license":[{"start":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T00:00:00Z","timestamp":1775779200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100001711","name":"Schweizerischer Nationalfonds zur F\u00f6rderung der Wissenschaftlichen Forschung","doi-asserted-by":"publisher","award":["10001777"],"award-info":[{"award-number":["10001777"]}],"id":[{"id":"10.13039\/501100001711","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100018699","name":"HORIZON EUROPE Digital, Industry and Space","doi-asserted-by":"publisher","award":["101189899"],"award-info":[{"award-number":["101189899"]}],"id":[{"id":"10.13039\/100018699","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,4,10]]},"abstract":"<jats:p>\n                    Infrastructure-as-Code\n                    <jats:monospace>(IaC)<\/jats:monospace>\n                    engines, such as Terraform, OpenTofu, and Pulumi, automate the provisioning and management of cloud resources. They parse\n                    <jats:monospace>IaC<\/jats:monospace>\n                    specifications and orchestrate the required actions, making them the backbone of modern clouds, and critical to the reliability of both the underlying infrastructure and the software that depends on it. Despite this importance, this class of systems has received little attention: prior work largely targets the correctness of\n                    <jats:monospace>IaC<\/jats:monospace>\n                    programs rather than the\n                    <jats:monospace>IaC<\/jats:monospace>\n                    engines themselves. Existing test suites rely on manually written oracles and struggle to expose faults that manifest across multiple executions, leaving a significant reliability gap.\n                  <\/jats:p>\n                  <jats:p>\n                    We present EMI\n                    <jats:sc>a<\/jats:sc>\n                    C, a metamorphic testing framework for\n                    <jats:monospace>IaC<\/jats:monospace>\n                    engines. EMI\n                    <jats:sc>a<\/jats:sc>\n                    C defines metamorphic relations as graph-based transformations of\n                    <jats:monospace>IaC<\/jats:monospace>\n                    programs and checks invariants across executions of the original and transformed programs. A central novelty is our use of\n                    <jats:italic toggle=\"yes\">e-graphs<\/jats:italic>\n                    in software testing, as both a test-input generator and an equivalence oracle. E-graphs compactly represent program equivalences, enabling the systematic generation of large spaces of equivalent\n                    <jats:monospace>IaC<\/jats:monospace>\n                    programs. To ground these relations, we analyze 43,593 real-world Terraform programs and show that\n                    <jats:monospace>IaC<\/jats:monospace>\n                    dependency graphs are typically small and sparse, making e-graphs a natural fit.\n                  <\/jats:p>\n                  <jats:p>\n                    Evaluating EMI\n                    <jats:sc>a<\/jats:sc>\n                    C on Pulumi, Terraform, and OpenTofu, we show that it complements existing test suites by exercising engine-critical code paths and covering 98 previously untested statements in Terraform and 1,313 in Pulumi. EMI\n                    <jats:sc>a<\/jats:sc>\n                    C also uncovers previously unknown issues in all three test suites, improving their adequacy. Three test cases have been merged into Terraform\u2019s main branch, and Pulumi has merged a specification fix.\n                  <\/jats:p>","DOI":"10.1145\/3798226","type":"journal-article","created":{"date-parts":[[2026,4,10]],"date-time":"2026-04-10T14:33:43Z","timestamp":1775831623000},"page":"737-765","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Metamorphic Testing for Infrastructure-as-Code Engines"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-1715-2059","authenticated-orcid":false,"given":"David","family":"Spielmann","sequence":"first","affiliation":[{"name":"University of St. Gallen, St. Gallen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-5042-1207","authenticated-orcid":false,"given":"George","family":"Zakhour","sequence":"additional","affiliation":[{"name":"University of St. Gallen, St. Gallen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-8264-9087","authenticated-orcid":false,"given":"Dominik","family":"Arnold","sequence":"additional","affiliation":[{"name":"University of Zurich, Zurich, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7825-3409","authenticated-orcid":false,"given":"Matteo","family":"Biagiola","sequence":"additional","affiliation":[{"name":"Universit\u00e0 della Svizzera italiana, Lugano, Switzerland"},{"name":"University of St. Gallen, St. Gallen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8268-9037","authenticated-orcid":false,"given":"Roland","family":"Meier","sequence":"additional","affiliation":[{"name":"armasuisse, Thun, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9324-8894","authenticated-orcid":false,"given":"Guido","family":"Salvaneschi","sequence":"additional","affiliation":[{"name":"University of St. Gallen, St. Gallen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,4,10]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3407840"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-99524-9_24"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2014.2372785"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-12002-2_12"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSR66628.2025.00101"},{"key":"e_1_3_1_7_2","first-page":"209","volume-title":"Proceedings of the 8th USENIX Conference on Operating Systems Design and Implementation (San Diego, California) (OSDI\u201908)","author":"Cadar Cristian","year":"2008","unstructured":"Cristian Cadar, Daniel Dunbar, and Dawson Engler. 2008. KLEE: unassisted and automatic generation of high-coverage tests for complex systems programs. In Proceedings of the 8th USENIX Conference on Operating Systems Design and Implementation (San Diego, California) (OSDI\u201908). USENIX Association, USA, 209\u2013224."},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/3571207"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2023.3256322"},{"key":"e_1_3_1_10_2","unstructured":"Checkov by Prisma Cloud. 2025. Checkov. https:\/\/www.checkov.io\/"},{"key":"e_1_3_1_11_2","volume-title":"Metamorphic testing: A new approach for generating next test cases","author":"Chen T.Y.","year":"1998","unstructured":"T.Y. Chen, S.C. Cheung, and S.M. Yiu. 1998. Metamorphic testing: A new approach for generating next test cases. Technical Report HKUST-CS98-01. Department of Computer Science, The Hong Kong University of Science and Technology, Hong Kong. https:\/\/arxiv.org\/abs\/2002.12543 Technical Report, arXiv:2002.12543."},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/2931037.2948707"},{"key":"e_1_3_1_13_2","unstructured":"Pulumi Corporation. 2023. Resources deleted for no apparent reason. GitHub issue #2593 pulumi\/pulumi-aws. https:\/\/github.com\/pulumi\/pulumi-aws\/issues\/2593"},{"key":"e_1_3_1_14_2","unstructured":"Progress Software Corporation. 2025. Chef Documentation. https:\/\/docs.chef.io Accessed: 2025-02-25."},{"key":"e_1_3_1_15_2","doi-asserted-by":"crossref","unstructured":"Samuel Coward Theo Drane and George A Constantinides. 2024. Constraint-Aware E-Graph Rewriting for Hardware Performance Optimization. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (2024).","DOI":"10.1109\/TCAD.2024.3483096"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-73595-3_13"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1109\/C-M.1978.218136"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/1066100.1066102"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/3689799"},{"key":"e_1_3_1_21_2","unstructured":"Chris Fallin. 2023. \u00e6graphs: Acyclic E-graphs for Efficient Optimization in a Production Compiler. In EGRAPHS Workshop. https:\/\/pldi23.sigplan.org\/details\/egraphs-2023-papers\/2\/-graphs-Acyclic-E-graphs-for-Efficient-Optimization-in-a-Production-Compiler Invited Talk."},{"key":"e_1_3_1_22_2","unstructured":"Kate Fazzini. [n. d.]. A Technical Slip-up Exposes Cloud Collaboration Risks. https:\/\/www.wsj.com\/articles\/a-technical-slip-up-exposes-cloud-collaboration-risks-1497353313. Accessed: 2025-05-20."},{"key":"e_1_3_1_23_2","unstructured":"Firefly. 2025. The State of IaC 2025. https:\/\/www.firefly.ai\/state-of-iac-2025 Accessed: 2025-10-07."},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/2685612"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/364099.364331"},{"key":"e_1_3_1_26_2","unstructured":"Google. 2025. Go Coverage Profiling. https:\/\/go.dev\/doc\/build-cover. Accessed 2025-09-15."},{"key":"e_1_3_1_27_2","unstructured":"Google. 2025. The Go Programming Language. https:\/\/go.dev\/. Accessed 2025-09-15."},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2009.71"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3696630.3728544"},{"key":"e_1_3_1_30_2","unstructured":"HashiCorp. 2020. Cycle error when removing a resource along with create_before_destroy. https:\/\/github.com\/hashicorp\/terraform\/issues\/26226. Accessed: 2025-09-26."},{"key":"e_1_3_1_31_2","unstructured":"HashiCorp. 2021. Graph missing dependency from resource update to resource destroy. https:\/\/github.com\/hashicorp\/terraform\/issues\/28150. Accessed: 2025-09-26."},{"key":"e_1_3_1_32_2","unstructured":"HashiCorp. 2022. Resources disappearing from state after successful apply. GitHub issue #27671 hashicorp\/terraform-provider-aws. https:\/\/github.com\/hashicorp\/terraform-provider-aws\/issues\/27671"},{"key":"e_1_3_1_33_2","unstructured":"HashiCorp. 2025. CDK for Terraform. https:\/\/developer.hashicorp.com\/terraform\/cdktf Accessed: 2025-02-25."},{"key":"e_1_3_1_34_2","unstructured":"HashiCorp. 2025. Terraform Docs Overview. https:\/\/developer.hashicorp.com\/terraform\/docs Accessed: 2025-02-25."},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICST53961.2022.00031"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-45065-5_19"},{"key":"e_1_3_1_37_2","unstructured":"Puppet Inc. 2025. Puppet Documentation. https:\/\/www.puppet.com\/docs\/index.html Accessed: 2025-02-25."},{"key":"e_1_3_1_38_2","unstructured":"RedHat Inc. 2025. Ansible Community Documentation. https:\/\/docs.ansible.com Accessed: 2025-02-25."},{"key":"e_1_3_1_39_2","doi-asserted-by":"crossref","unstructured":"Laura Inozemtseva and Reid Holmes. 2014. Coverage is not strongly correlated with test suite effectiveness. In Proceedings of the 36th international conference on software engineering. 435\u2013445.","DOI":"10.1145\/2568225.2568271"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/512529.512566"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3674653"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/3360607"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/2594291.2594334"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3428264"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/3510454.3516829"},{"key":"e_1_3_1_46_2","unstructured":"Kurt Mackie. [n. d.]. Configuration Glitch Caused Microsoft\u2019s Jan. 25 Exchange Online Disruption. https:\/\/redmondmag.com\/articles\/2023\/01\/26\/configuration-glitch-caused-microsoft-jan-25-exchange-online-disruption.aspx. Accessed: 2025-05-20."},{"key":"e_1_3_1_47_2","doi-asserted-by":"crossref","unstructured":"Muhammad Numair Mansur Maria Christakis and Valentin W\u00fcstholz. 2021. Metamorphic testing of Datalog engines. In Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. 639\u2013650.","DOI":"10.1145\/3468264.3468573"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598052"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1145\/96267.96279"},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3386012"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.5555\/909447"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/3524842.3527964"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSR59073.2023.00079"},{"key":"e_1_3_1_54_2","unstructured":"OpenTofu. 2025. OpenTofu Documentation. https:\/\/opentofu.org\/docs\/ Accessed: 2025-03-03."},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1145\/3476105"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2021.3107634"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2020.3009698"},{"key":"e_1_3_1_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/3408897"},{"key":"e_1_3_1_59_2","doi-asserted-by":"publisher","DOI":"10.1145\/3368089.3409710"},{"key":"e_1_3_1_60_2","doi-asserted-by":"publisher","DOI":"10.1145\/3428279"},{"key":"e_1_3_1_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/3729326"},{"key":"e_1_3_1_62_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2016.2532875"},{"key":"e_1_3_1_63_2","unstructured":"Amazon Web Services. 2025. AWS CDK. https:\/\/docs.aws.amazon.com\/cdk\/v2\/guide\/home.html Accessed: 2025-02-25."},{"key":"e_1_3_1_64_2","unstructured":"Amazon Web Services. 2025. AWS CloudFormation. https:\/\/aws.amazon.com\/cloudformation\/ Accessed: 2025-10-08."},{"key":"e_1_3_1_65_2","first-page":"70","volume-title":"2024 Formal Methods in Computer-Aided Design (FMCAD)","author":"Singher Eytan","year":"2024","unstructured":"Eytan Singher and Shachar Itzhaky. 2024. Easter egg: Equality reasoning based on E-graphs with multiple assumptions. In 2024 Formal Methods in Computer-Aided Design (FMCAD). IEEE, 70\u201383."},{"key":"e_1_3_1_66_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3393070"},{"key":"e_1_3_1_67_2","doi-asserted-by":"publisher","DOI":"10.1145\/3643991.3644888"},{"key":"e_1_3_1_68_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380384"},{"key":"e_1_3_1_69_2","doi-asserted-by":"publisher","unstructured":"David Spielmann George Zakhour Dominik Arnold Matteo Biagiola Roland Meier and Guido Salvaneschi. 2026. Artifact for Metamorphic Testing for Infrastructure-as-Code Engines. doi:10.5281\/zenodo.18755966 Software artifact; latest version.","DOI":"10.5281\/zenodo.18755966"},{"key":"e_1_3_1_70_2","doi-asserted-by":"publisher","unstructured":"David Spielmann George Zakhour Dominik Arnold Matteo Biagiola Roland Meier and Guido Salvaneschi. 2026. Artifact for Metamorphic Testing for Infrastructure-as-Code Engines. doi:10.5281\/zenodo.18755967 Software artifact; version 1.","DOI":"10.5281\/zenodo.18755967"},{"key":"e_1_3_1_71_2","doi-asserted-by":"publisher","DOI":"10.1145\/3763093"},{"key":"e_1_3_1_72_2","doi-asserted-by":"publisher","DOI":"10.1145\/1594834.1480915"},{"key":"e_1_3_1_73_2","unstructured":"Pulumi Team. 2025. Pulumi Docs. https:\/\/www.pulumi.com\/docs\/ Accessed: 2025-02-24."},{"key":"e_1_3_1_74_2","unstructured":"Avito Tech. 2024. go-mutesting: Mutation testing for Go source code. https:\/\/github.com\/avito-tech\/go-mutesting. Accessed: 2025-08-05."},{"key":"e_1_3_1_75_2","unstructured":"Vpn Monitor Research Team. 2019. Report: Travel Reservations Platform Leaks US Government Personnel Data. https:\/\/www.vpnmentor.com\/blog\/us-travel-military-leak\/. Accessed: 2025-05-20."},{"key":"e_1_3_1_76_2","doi-asserted-by":"publisher","DOI":"10.1145\/3434304"},{"key":"e_1_3_1_77_2","doi-asserted-by":"publisher","DOI":"10.1109\/QSIC.2009.26"},{"key":"e_1_3_1_78_2","doi-asserted-by":"publisher","DOI":"10.1145\/3704913"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3798226","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T11:22:52Z","timestamp":1790421772000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3798226"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,10]]},"references-count":77,"journal-issue":{"issue":"OOPSLA1","published-print":{"date-parts":[[2026,4,10]]}},"alternative-id":["10.1145\/3798226"],"URL":"https:\/\/doi.org\/10.1145\/3798226","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,4,10]]},"assertion":[{"value":"2025-10-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-02-17","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-10","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}