LLM-assisted Industrial-Scale Differential Testing of Package Incompatibilities in Linux Distributions
Abstract
An open source Linux distribution often undergoes version upgrades and migrations, which is prone to incompatibility issues especially when it comes to large-scale software changes. Although differential testing has been widely used in software testing, it is still challenging to apply it for detecting such incompatibilities in the context of industrial settings. In this paper, we report our experience in leveraging LLMs to address the challenges faced by the Linux distribution community. Specifically, we develop an LLM-based differential testing method called Versify to assist maintainers of Linux distributions in locating incompatibilities during version upgrades and migrations. Its trial operation period within the Linux distribution community shows that it uncovered 8,489 instances of differing behavior, of which 644 were prioritized for attention by developers. After deduplication and filtering, 39 unique compatibility reports were identified. Feedback from Linux distributions developers indicates that our reports have provided valuable recommendations for package selection in future OS releases.
BibTeX
@inproceedings{Yang-al:ASE25,
author = {Yuhao Yang and
Chijin Zhou and
Runzhe Wang and
Weibo Zhang and
Yuheng Shen and
Xiaohai Shi and
Tao Ma and
Chang Gao and
Zhe Wang and
Ying Fu and
Heyuan Shi},
title = {{LLM-assisted} {Industrial-Scale} Differential Testing of Package Incompatibilities in Linux Distributions},
booktitle = {ASE},
pages = {3546--3556},
publisher = {{IEEE}},
year = {2025},
}