1
Return

Cross-Project Flakiness: A Case Study of the OpenStack Ecosystem

delete2026-05-29
delete0
PRE
AI
T
Tao Xiao
D
Dong Wang
S
Shane McIntosh
H
Hideaki Hata
Y
Yasutaka Kamei
DOI:10.1109/tse.2026.3685588delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Automated regression testing is a cornerstone of modern software development, often contributing directly to code review and Continuous Integration (CI). Yet some tests suffer from flakiness, where their outcomes vary non-deterministically. Flakiness erodes developer trust in test results, wastes computational resources, and undermines CI reliability. While prior research has examined test flakiness within individual projects, its broader ecosystem-wide impact remains largely unexplored. In this paper, we present an empirical study of test flakiness in the OpenStack ecosystem, which focuses on (1) cross-project flakiness, where flaky tests impact multiple projects, and (2) inconsistent flakiness, where a test exhibits flakiness in some projects but remains stable in others. By analyzing 649 OpenStack projects, we identify 1,535 cross-project flaky tests and 1,105 inconsistently flaky tests. We find that cross-project flakiness affects 55% of OpenStack projects and significantly increases both review time and computational costs. Surprisingly, 70% of unit tests exhibit cross-project flakiness, challenging the assumption that unit tests are inherently insulated from issues that span modules like integration and system-level tests. Through qualitative analysis, we observe that race conditions in CI, inconsistent build configurations, and dependency mismatches are the primary causes of inconsistent flakiness. These findings underline the need for better coordination across complex ecosystems, standardized CI configurations, and improved test isolation strategies.
Keywords:
Continuous integration
flaky test
OpenStack

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

S
shinshu university
Scholars:
1.2K
Papers: 428
Citations: 0
K
kyushu university
Scholars:
3.7K
Papers: 1.4K
Citations: 0
T
tianjin university
Scholars:
7.7W
Papers: 5.6W
Citations: 88
U
university of waterloo
Scholars:
2.1K
Papers: 1.1K
Citations: 1
Cited Papers

Cited Papers

Citing Papers

Citing Papers