Write a Blog >>
ESEC/FSE 2021
Thu 19 - Sat 28 August 2021 Clowdr Platform
Wed 25 Aug 2021 19:10 - 19:20 - Testing—Flaky Tests Chair(s): Wing Lam
Thu 26 Aug 2021 07:10 - 07:20 - Testing—Flaky Tests Chair(s): Wei Yang

A test fails and despite an investigation by a developer there is no fault found (NFF). Large software systems are often released with known failing and flaky tests. In this work, we quantify how often a test fails and does not find a fault. We conduct a case study on 9.9 million test runs of 10k tests across four releases of a large project at Ericsson.

For each test, we mine the rate of NFF test failures over total runs for each release, i.e. NFFRate. We compare the current level of test failure with the number of NFF failures during the stabilization period of the prior release, i.e. StableNFFRate. Using the binomial distribution, we are able to determine which tests exhibit a statistically larger number of failures relative to their expected StableNFFRate. These unstable tests need to be prioritized for re-run and potentially investigated to determine if there is a fault or if the test needs to be fixed or modified.

Our work has had an impact on Ericsson’s testing practices with testers using the NFFRate to determine which tests are the “flakiest" and need to be fixed or moved into an earlier, virtualized unit test stage. Testers also use our tool and technique to prioritize the statistically unstable tests failures for investigation and to examine longterm trends of test failures that may indicate a fault.

Wed 25 Aug

Displayed time zone: Athens change

19:00 - 20:00
Testing—Flaky TestsIndustry Papers / Research Papers +12h
Chair(s): Wing Lam University of Illinois at Urbana-Champaign
19:00
10m
Paper
Flaky Test Detection in Android via Event Order Exploration
Research Papers
Zhen Dong National University of Singapore, Abhishek Tiwari National University of Singapore, Xiao Liang Yu National University of Singapore, Abhik Roychoudhury National University of Singapore
DOI Pre-print
19:10
10m
Paper
Quantifying No-Fault-Found Test Failures to Prioritize Inspection of Flaky Tests at Ericsson
Industry Papers
Maaz Hafeez Ur Rehman Concordia University, Peter Rigby Concordia University
DOI
19:20
10m
Paper
When Life Gives You Oranges: Detecting and Diagnosing Intermittent Job Failures at Mozilla
Industry Papers
Johannes Lampel CISPA; Saarland University, Sascha Just Microsoft, Sven Apel Saarland University, Andreas Zeller CISPA
DOI Pre-print
19:30
30m
Live Q&A
Q&A (Testing—Flaky Tests)
Research Papers

Thu 26 Aug

Displayed time zone: Athens change

07:00 - 08:00
Testing—Flaky TestsResearch Papers / Industry Papers
Chair(s): Wei Yang University of Texas at Dallas
07:00
10m
Paper
Flaky Test Detection in Android via Event Order Exploration
Research Papers
Zhen Dong National University of Singapore, Abhishek Tiwari National University of Singapore, Xiao Liang Yu National University of Singapore, Abhik Roychoudhury National University of Singapore
DOI Pre-print
07:10
10m
Paper
Quantifying No-Fault-Found Test Failures to Prioritize Inspection of Flaky Tests at Ericsson
Industry Papers
Maaz Hafeez Ur Rehman Concordia University, Peter Rigby Concordia University
DOI
07:20
10m
Paper
When Life Gives You Oranges: Detecting and Diagnosing Intermittent Job Failures at Mozilla
Industry Papers
Johannes Lampel CISPA; Saarland University, Sascha Just Microsoft, Sven Apel Saarland University, Andreas Zeller CISPA
DOI Pre-print
07:30
30m
Live Q&A
Q&A (Testing—Flaky Tests)
Research Papers