Lune

OSDI2025Top-tier venue

Deriving Semantic Checkers from Tests to Detect Silent Failures in Production Distributed Systems

Chang Lou, Dimas Shidqi Parikesit, Yujin Huang, Zhewen Yang, Senapati Diwangkara, Yuzhuo Jing, Achmad Imam Kistijantoro, Ding Yuan, Suman Nath, Peng Huang

2025Year
6Citations
5Top-tier citations

Abstract

Production distributed systems provide rich features, but various defects can cause a system to silently violate its semantics without explicit errors. Such failures cause serious consequences. Yet, they are extremely challenging to detect, as it requires deep domain knowledge and substantial manual efforts to write good checkers.

In this paper, we explore a novel approach that directly derives semantic checkers from system test code. We first present a large-scale study on existing system test cases. Guided by the study findings, we develop T2C, a framework that uses static and dynamic analysis to transform and generalize a test into a runtime checker. We apply T2C on four large, popular distributed systems and successfully derive tens to hundreds of checkers. These checkers detect 15 out of 20 real-world silent failures we reproduce and incur small runtime overhead. 1 public void testSessionTimeout() 2 DisconnectableZooKeeper zk = createClient(TIMEOUT); 3 zk.create("/stest", new byte[0], OPEN_ACL, EPHEMERAL); 4 zk.close(); 5 zk.disconnect(); 6 zk = createClient(TIMEOUT); 7 Assert.assertTrue(zk.exists("/stest",false) != null); 8 Thread.sleep(TIMEOUT*2); 9 Assert.assertTrue(zk.exists("/stest",false) == null); 10 zk.close(); 11

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 42190d0b-1198-4edb-b702-91f91e7ede62

Cited by top-tier papers5

Ask how each one uses it

Builds on26

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines