SlideShare ist ein Scribd-Unternehmen logo
1 von 80
Downloaden Sie, um offline zu lesen
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI
with GitHub
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI
with GitHub
Moritz Beller
@Inventitech
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI
with GitHub
Moritz Beller
@Inventitech
Georgios Gousios
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI
with GitHub
Moritz Beller
@Inventitech
Georgios Gousios
Andy Zaidman
How This Paper Came To Be
How This Paper Came To Be
How This Paper Came To Be
Travis What?
Travis What?
Travis What?
P1. Using CI is a widespread best practice
P1. Using CI is a widespread best practice
CI has become an integral quality
assurance practice.
P. M. Duvall, S. Matyas, and A. Glover, “Continuous
integration: improving software quality and
reducing risk”
P1. Using CI is a widespread best practice
CI has become an integral quality
assurance practice.
P1. Using CI is a widespread best practice
P1. Using CI is a widespread best practice
P1. Using CI is a widespread best practice
P1. Using CI is a widespread best practice
P1. Using CI is a widespread best practice
P1. Using CI is a widespread best practice
Around 30% of GITHUB
projects that could
potentially use the free
Travis CI, also make use it.
P1. Using CI is a widespread best practice
Around 30% of GITHUB
projects that could
potentially use the free
Travis CI, also make use it.
Caveat: In 2016!
P1. Using CI is a widespread best practice
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
●
Non-toy, non-fork projects
(we want the original!)
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
●
Non-toy, non-fork projects
(we want the original!)
●
> 50 stars
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
●
Non-toy, non-fork projects
(we want the original!)
●
> 50 stars
●
A longer (> 50) Travis build
history
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
●
Non-toy, non-fork projects
(we want the original!)
●
> 50 stars
●
A longer (> 50) Travis build
history
E. Kalliamvakou et al.:
“An in-depth study of the
promises and perils of mining
GitHub”
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
●
Non-toy, non-fork projects
(we want the original!)
●
> 50 stars
●
A longer (> 50) Travis build
history
E. Kalliamvakou et al.:
“An in-depth study of the
promises and perils of mining
GitHub”
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
●
Non-toy, non-fork projects
(we want the original!)
●
> 50 stars
●
A longer (> 50) Travis build
history
E. Kalliamvakou et al.:
“An in-depth study of the
promises and perils of mining
GitHub”
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
●
Non-toy, non-fork projects
(we want the original!)
●
> 50 stars
●
A longer (> 50) Travis build
history
E. Kalliamvakou et al.:
“An in-depth study of the
promises and perils of mining
GitHub”
Java
●
423 projects
TODO: Add background with
Sun
P1. Using CI is a widespread best practice
Filter Criteria
●
Non-toy, non-fork projects
(we want the original!)
●
> 50 stars
●
A longer (> 50) Travis build
history
E. Kalliamvakou et al.:
“An in-depth study of the
promises and perils of mining
GitHub”
Ruby
●
936 projects
Java
●
423 projects
P1. Using CI is a widespread best practice
~
TODO: Add background with
Sun
P2. Testing is central to CI
TODO: Add background with
Sun
P2. Testing is central to CI
CI is the best practice in which
developers not only integrate their
work into a shared mainline
frequently, but also verify the quality
continuously through testing.
TODO: Add background with
Sun
P2. Testing is central to CI
CI is the best practice in which
developers not only integrate their
work into a shared mainline
frequently, but also verify the quality
continuously through testing.
It is known.
<TL;DR>...</TL;DR>
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
●
Parsing Log files for Java: Maven, Gradle, Ant
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
●
Parsing Log files for Java: Maven, Gradle, Ant
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
●
Parsing Log files for Java: Maven, Gradle, Ant
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
●
Parsing Log files for Java: Maven, Gradle, Ant
●
Parsing Log files for Ruby: bundler and rake
<TL;DR>...</TL;DR>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running nl.tudelft.watchdog.ClientVersionCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 0.04 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
<TL;DR>...</TL;DR>
●
Parsing Log files for Java: Maven, Gradle, Ant
●
Parsing Log files for Ruby: bundler and rake
P2. Testing is central to CI
●
69% of Java and 87.5% of the Ruby projects:
test runs
P2. Testing is central to CI
●
69% of Java and 87.5% of the Ruby projects:
test runs
1:0 for Ruby!
P2. Testing is central to CI
●
69% of Java and 87.5% of the Ruby projects:
test runs
1:0 for Ruby!
P2. Testing is central to CI
●
Overall, 81% of the projects:
test runs
●
69% of Java and 87.5% of the Ruby projects:
test runs
1:0 for Ruby!
P2. Testing is central to CI
●
Overall, 81% of the projects:
test runs
●
96% of builds:
test runs
P2. Testing is central to CI
P2. Testing is central to CI
P2. Testing is central to CI
Testing is the single most important
reason for broken builds, more
prevalent than compile errors, missing
dependencies, build cancellations and
provisioning problems together.
P2. Testing is central to CI
Testing is the single most important
reason for broken builds, more
prevalent than compile errors, missing
dependencies, build cancellations and
provisioning problems together.
P2. Testing is central to CI
TODO: Add background with
Sun
P3. Testing is language(-type) dependent
Does a dynamically typed language
(like Ruby) need as much testing as a
statically typed language (like Java)?
TODO: Add background with
Sun
P3. Testing is language(-type) dependent
Does a dynamically typed language
(like Ruby) need as much testing as a
statically typed language (like Java)?
S. Kleinschmager, S. Hanenberg, R. Robbes, E.
Tanter, A. Stefik: Do static type systems improve the
maintainability of software systems? An empirical
study.
P3. Testing is language(-type) dependent
P3. Testing is language(-type) dependent
P3. Testing is language(-type) dependent
P3. Testing is language(-type) dependent
Tests Build Result→
P3. Testing is language(-type) dependent
Tests Build Result→
P3. Testing is language(-type) dependent
Tests Build Result→
P3. Testing is language(-type) dependent
Tests Build Result→
Ruby projects have 10x more tests
than Java projects, yet execute faster.
Ruby builds are 4x more likely to fail
than Java projects.
P3. Testing is language(-type) dependent
Ruby projects have 10x more tests
than Java projects, yet execute faster.
Ruby builds are 4x more likely to fail
than Java projects.
P3. Testing is language(-type) dependent
Building and testing in different
environments delivers additional
value.
P4. Are more build environments helpful?
Building and testing in different
environments delivers additional
value.
We don’t know.
P4. Are more build environments helpful?
P4. Are more build environments helpful?
P4. Are more build environments helpful?
P4. Are more build environments helpful?
Yes, but 8x more so in Ruby than in
Java.
P4. Are more build environments helpful?
Yes, but 8x more so in Ruby than in
Java.
P4. Are more build environments helpful?
Moritz Beller @Inventitech
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI with GitHub
Moritz Beller @Inventitech
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI with GitHub
Moritz Beller @Inventitech
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI with GitHub
Moritz Beller @Inventitech
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI with GitHub
Moritz Beller @Inventitech
Oops, My Tests Broke the Build:
An Explorative Analysis of Travis CI with GitHub

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 

Kürzlich hochgeladen (20)

Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 

Empfohlen

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Empfohlen (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub

  • 1. Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub
  • 2. Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub Moritz Beller @Inventitech
  • 3. Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub Moritz Beller @Inventitech Georgios Gousios
  • 4. Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub Moritz Beller @Inventitech Georgios Gousios Andy Zaidman
  • 5. How This Paper Came To Be
  • 6. How This Paper Came To Be
  • 7. How This Paper Came To Be
  • 11. P1. Using CI is a widespread best practice
  • 12. P1. Using CI is a widespread best practice CI has become an integral quality assurance practice.
  • 13. P. M. Duvall, S. Matyas, and A. Glover, “Continuous integration: improving software quality and reducing risk” P1. Using CI is a widespread best practice CI has become an integral quality assurance practice.
  • 14. P1. Using CI is a widespread best practice
  • 15. P1. Using CI is a widespread best practice
  • 16. P1. Using CI is a widespread best practice
  • 17. P1. Using CI is a widespread best practice
  • 18. P1. Using CI is a widespread best practice
  • 19. P1. Using CI is a widespread best practice
  • 20. Around 30% of GITHUB projects that could potentially use the free Travis CI, also make use it. P1. Using CI is a widespread best practice
  • 21. Around 30% of GITHUB projects that could potentially use the free Travis CI, also make use it. Caveat: In 2016! P1. Using CI is a widespread best practice
  • 22. TODO: Add background with Sun P1. Using CI is a widespread best practice
  • 23. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria
  • 24. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria ● Non-toy, non-fork projects (we want the original!)
  • 25. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria ● Non-toy, non-fork projects (we want the original!) ● > 50 stars
  • 26. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria ● Non-toy, non-fork projects (we want the original!) ● > 50 stars ● A longer (> 50) Travis build history
  • 27. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria ● Non-toy, non-fork projects (we want the original!) ● > 50 stars ● A longer (> 50) Travis build history E. Kalliamvakou et al.: “An in-depth study of the promises and perils of mining GitHub”
  • 28. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria ● Non-toy, non-fork projects (we want the original!) ● > 50 stars ● A longer (> 50) Travis build history E. Kalliamvakou et al.: “An in-depth study of the promises and perils of mining GitHub”
  • 29. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria ● Non-toy, non-fork projects (we want the original!) ● > 50 stars ● A longer (> 50) Travis build history E. Kalliamvakou et al.: “An in-depth study of the promises and perils of mining GitHub”
  • 30. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria ● Non-toy, non-fork projects (we want the original!) ● > 50 stars ● A longer (> 50) Travis build history E. Kalliamvakou et al.: “An in-depth study of the promises and perils of mining GitHub” Java ● 423 projects
  • 31. TODO: Add background with Sun P1. Using CI is a widespread best practice Filter Criteria ● Non-toy, non-fork projects (we want the original!) ● > 50 stars ● A longer (> 50) Travis build history E. Kalliamvakou et al.: “An in-depth study of the promises and perils of mining GitHub” Ruby ● 936 projects Java ● 423 projects
  • 32. P1. Using CI is a widespread best practice ~
  • 33. TODO: Add background with Sun P2. Testing is central to CI
  • 34. TODO: Add background with Sun P2. Testing is central to CI CI is the best practice in which developers not only integrate their work into a shared mainline frequently, but also verify the quality continuously through testing.
  • 35. TODO: Add background with Sun P2. Testing is central to CI CI is the best practice in which developers not only integrate their work into a shared mainline frequently, but also verify the quality continuously through testing. It is known.
  • 36.
  • 38. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
  • 39. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR>
  • 40. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR>
  • 41. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR>
  • 42. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR>
  • 43. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR> ● Parsing Log files for Java: Maven, Gradle, Ant
  • 44. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR> ● Parsing Log files for Java: Maven, Gradle, Ant
  • 45. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR> ● Parsing Log files for Java: Maven, Gradle, Ant
  • 46. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR> ● Parsing Log files for Java: Maven, Gradle, Ant ● Parsing Log files for Ruby: bundler and rake
  • 47. <TL;DR>...</TL;DR> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running nl.tudelft.watchdog.ClientVersionCheckerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 <TL;DR>...</TL;DR> ● Parsing Log files for Java: Maven, Gradle, Ant ● Parsing Log files for Ruby: bundler and rake
  • 48. P2. Testing is central to CI
  • 49. ● 69% of Java and 87.5% of the Ruby projects: test runs P2. Testing is central to CI
  • 50. ● 69% of Java and 87.5% of the Ruby projects: test runs 1:0 for Ruby! P2. Testing is central to CI
  • 51. ● 69% of Java and 87.5% of the Ruby projects: test runs 1:0 for Ruby! P2. Testing is central to CI ● Overall, 81% of the projects: test runs
  • 52. ● 69% of Java and 87.5% of the Ruby projects: test runs 1:0 for Ruby! P2. Testing is central to CI ● Overall, 81% of the projects: test runs ● 96% of builds: test runs
  • 53. P2. Testing is central to CI
  • 54. P2. Testing is central to CI
  • 55. P2. Testing is central to CI
  • 56. Testing is the single most important reason for broken builds, more prevalent than compile errors, missing dependencies, build cancellations and provisioning problems together. P2. Testing is central to CI
  • 57. Testing is the single most important reason for broken builds, more prevalent than compile errors, missing dependencies, build cancellations and provisioning problems together. P2. Testing is central to CI
  • 58. TODO: Add background with Sun P3. Testing is language(-type) dependent Does a dynamically typed language (like Ruby) need as much testing as a statically typed language (like Java)?
  • 59. TODO: Add background with Sun P3. Testing is language(-type) dependent Does a dynamically typed language (like Ruby) need as much testing as a statically typed language (like Java)? S. Kleinschmager, S. Hanenberg, R. Robbes, E. Tanter, A. Stefik: Do static type systems improve the maintainability of software systems? An empirical study.
  • 60. P3. Testing is language(-type) dependent
  • 61. P3. Testing is language(-type) dependent
  • 62. P3. Testing is language(-type) dependent
  • 63. P3. Testing is language(-type) dependent Tests Build Result→
  • 64. P3. Testing is language(-type) dependent Tests Build Result→
  • 65. P3. Testing is language(-type) dependent Tests Build Result→
  • 66. P3. Testing is language(-type) dependent Tests Build Result→
  • 67. Ruby projects have 10x more tests than Java projects, yet execute faster. Ruby builds are 4x more likely to fail than Java projects. P3. Testing is language(-type) dependent
  • 68. Ruby projects have 10x more tests than Java projects, yet execute faster. Ruby builds are 4x more likely to fail than Java projects. P3. Testing is language(-type) dependent
  • 69. Building and testing in different environments delivers additional value. P4. Are more build environments helpful?
  • 70. Building and testing in different environments delivers additional value. We don’t know. P4. Are more build environments helpful?
  • 71. P4. Are more build environments helpful?
  • 72. P4. Are more build environments helpful?
  • 73. P4. Are more build environments helpful?
  • 74. Yes, but 8x more so in Ruby than in Java. P4. Are more build environments helpful?
  • 75. Yes, but 8x more so in Ruby than in Java. P4. Are more build environments helpful?
  • 76. Moritz Beller @Inventitech Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub
  • 77. Moritz Beller @Inventitech Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub
  • 78. Moritz Beller @Inventitech Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub
  • 79. Moritz Beller @Inventitech Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub
  • 80. Moritz Beller @Inventitech Oops, My Tests Broke the Build: An Explorative Analysis of Travis CI with GitHub