skip to main content
10.1145/3183440.3195012acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
poster

ACONA: active online model adaptation for predicting continuous integration build failures

Published:27 May 2018Publication History

ABSTRACT

Continuous Integration (CI) reduces risk in software development, but a CI build usually brings huge time and resource consumption. Machine learning methods have been employed to cut the expenses of CI and provide instant feedback by predicting CI results. Nevertheless, effective learning requires massive training data which is not available for a new project. Moreover, due to the diversified characteristics of different projects, reusing models built on other projects leads to poor performance. To address this problem, we propose a novel active online model adaptation approach ACONA, which dynamically adapts a pool of classifiers trained on various projects to a new project using only a small fraction of new data it actively selects. With empirical study on Travis CI, we show that ACONA achieves an improvement of F-Measure by 40.0% while reducing Accumulated Error by 63.2% and the adapted model outperforms existing approaches.

References

  1. Paul M Duvall, Steve Matyas, and Andrew Glover. 2007. Continuous integration: improving software quality and reducing risk. Pearson Education. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Jacqui Finlay, Russel Pears, and Andy M Connor. 2014. Data stream mining for predicting software build outcomes using source code metrics. Information and Software Technology 56, 2 (2014), 183--198. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Ahmed E Hassan and Ken Zhang. 2006. Using decision trees to predict the certification result of a build. In 21st IEEE/ACM International Conference on Automated Software Engineering, 2006. ASE'06. IEEE, 189--198. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Michael Hilton, Timothy Tunnell, Kai Huang, Darko Marinov, and Danny Dig. 2016. Usage, costs, and benefits of continuous integration in open-source projects. In Automated Software Engineering (ASE), 2016 31st IEEE/ACM International Conference on. IEEE, 426--437. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Ansong Ni and Ming Li. 2017. Cost-effective build outcome prediction using cascaded classifiers. In Proceedings of the 14th International Conference on Mining Software Repositories. IEEE Press, 455--458. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. N. Nagappan T. Zimmermann, E. Giger H. Gall, and B. Murphy. 2009. Cross-project defect prediction: a large scale experiment on data vs. domain vs. process. In Proceedings of the ACM SIGSOFT symposium on The foundations of software engineering. ACM, 91--100. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Martin Zinkevich. 2003. Online convex programming and generalized infinitesimal gradient ascent. In Proceedings of the 20th International Conference on Machine Learning (ICML-03). 928--936. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. ACONA: active online model adaptation for predicting continuous integration build failures

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          ICSE '18: Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings
          May 2018
          231 pages
          ISBN:9781450356633
          DOI:10.1145/3183440
          • Conference Chair:
          • Michel Chaudron,
          • General Chair:
          • Ivica Crnkovic,
          • Program Chairs:
          • Marsha Chechik,
          • Mark Harman

          Copyright © 2018 Owner/Author

          Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 27 May 2018

          Check for updates

          Qualifiers

          • poster

          Acceptance Rates

          Overall Acceptance Rate276of1,856submissions,15%

          Upcoming Conference

          ICSE 2025

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader