arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.27075cs.SE
收藏

我们哪里失败了?-- 在嵌入式开源软件中重现构建失败

Where did we fail? -- Reproducing build failures in embedded open source software

Ericsson AB(爱立信);KTH Royal Institute of Technology(皇家理工学院);Mälardalen University(马尔默达尔大学);Carleton University(卡尔顿大学)

Han Fu, Andreas Ermedahl, Sigrid Eldh, Kristian Wiklund, Philipp Haller, Cyrille Artho

AI总结:

研究针对嵌入式系统中CI构建失败问题,提出PhantomRun框架,通过统一抽象层和可重用数据集标准化构建日志的检索、存储与重现,实现91.8%的构建重现率。

摘要:

由于嵌入式系统中硬件软件协同开发,持续集成(CI)构建经常因复杂的交叉编译、板配置和工具链限制而失败。尽管CI构建日志包含有价值的诊断信息,但它们寿命短且难以重用,因为运行器、工具链和日志格式异构。为了解决这些挑战,我们提出了PhantomRun,一个统一的抽象层和公开可重用的数据集,标准化CI构建日志和元数据的检索、存储和重现。在4628次失败的CI运行中,我们重建了91.8%的构建,并在98%的评估案例中保留了执行结果。PhantomRun提供两个核心能力:检索任意提交的构建日志并忠实重执行对应的构建。通过以统一、机器可读的格式暴露所有构建工件和元数据,PhantomRun使CI失败的可重复和纵向研究成为可能。实证评估表明,重现的构建与原构建非常接近,通常仅在时间戳或次要非确定性重排序方面存在差异,证明了大规模历史CI重建的可行性。

英文摘要:

Due to hardware-software co-development in embedded systems, continuous integration (CI) builds frequently fail because of complex cross-compilation, board configurations, and toolchain constraints. Although CI build logs contain valuable diagnostic information, they are short-lived and difficult to reuse due to heterogeneous runners, toolchains, and log formats. To address these challenges, we present PhantomRun, a unified abstraction layer and publicly reusable dataset that standardizes the retrieval, storage, and reproduction of CI build logs and metadata. Across 4628 failing CI runs, we reconstructed 91.8% of builds and preserved execution outcomes in 98% of evaluated cases. PhantomRun provides two core capabilities: retrieving the build log of any commit and faithfully re-executing the corresponding build in a controlled environment. By exposing all build artifacts and metadata in a uniform, machine-readable format, PhantomRun enables reproducible and longitudinal studies of CI failures. An empirical evaluation shows that reproduced builds closely match their originals, typically differing only in timestamps or minor nondeterministic reordering, demonstrating the feasibility of large-scale historical CI reconstruction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑