publication . Conference object . 2017

An Empirical Analysis of Build Failures in the Continuous Integration Workflows of Java-Based Open-Source Software

Rausch, Thomas; Hummer, Waldemar; Leitner, Philipp; Schulte, Stefan;
Closed Access
  • Published: 01 Jan 2017
  • Publisher: Institute of Electrical and Electronics Engineers (IEEE)
  • Country: Germany
Continuous Integration (CI) has become a common practice in both industrial and open-source software development. While CI has evidently improved aspects of the software development process, errors during CI builds pose a threat to development efficiency. As an increasing amount of time goes into fixing such errors, failing builds can significantly impair the development process and become very costly. We perform an in-depth analysis of build failures in CI environments. Our approach links repository commits to data of corresponding CI builds. Using data from 14 open-source Java projects, we first identify 14 common error categories. Besides test failures, which are by far the most common error category (up to >80% per project), we also identify noisy build data, e.g., induced by transient Git interaction errors, or general infrastructure flakiness. Second, we analyze which factors impact the build results, taking into account general process and specific CI metrics. Our results indicate that process metrics have a significant impact on the build outcome in 8 of the 14 projects on average, but the strongest influencing factor across all projects is overall stability in the recent build history. For 10 projects, more than 50% (up to 80%) of all failed builds follow a previous build failure. Moreover, the fail ratio of the last k=10 builds has a significant impact on build results for all projects in our dataset.
Persistent Identifiers
free text keywords: build errors, continuous integration, correlation analysis, mining software repositories, Computer science, Workflow, Process (engineering), Transient (computer programming), Stability (learning theory), Software development, business.industry, business, Software development process, Factor (programming language), computer.programming_language, computer, Java, Software engineering
1 research outcomes, page 1 of 1
Any information missing or wrong?Report an Issue