SlideShare a Scribd company logo
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
STREAMLINING XEN PROJECT CONTRIBUTIONS
THROUGH CI
DOUG GOLDSTEIN
RACKSPACE
CARDOE@CARDOE.COM // CARDOE @FREENODE
JULY 2019
PROBABLY NOT.
“Back to the pile!”
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
ABOUT ME
▸ Site Reliability Engineer @ Rackspace
▸ Keeping VM hosts patched and happy
▸ Xen Project Contributor and Maintainer
▸ Maintainer for the GitLab and GitHub integration with
Wei Liu.
“Cloud gonna cloud.”
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
OVERVIEW
▸ Current workflow for patches
▸ The issues
▸ How some bots work
▸ Expanding on the vision
▸ Discussing how we get there
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
EXISTING WORKFLOW
▸ Follows git-flow https://nvie.com/posts/a-successful-git-
branching-model/
▸ committers commit to staging
▸ OSSTEST builds staging and commits to master
▸ freezes are established to let OSSTEST catch up
▸ release is cut
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
THE ISSUES
▸ Common theme from Nanjing: Freeze windows are too long.
▸ Merge skew / Schematic conflicts
▸ [17:00] Alice pulls staging & applies patch series which uses foo()
▸ [17:01] Alice begins local tests
▸ [17:05] Bob pull staging & renames foo() to bar()
▸ [17:06] Bob begins compile only tests
▸ [17:10] Bob’s code compiles, merge and push.
▸ [17:20] Alice creates a merge commit and pushes.
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
THE ISSUES CONT.
▸ Committers have different standards by which a commit is
mergeable.
▸ Committers could have the same standards but different
environments in which they verify changes.
▸ Time spent doing highly mechanical work instead of
technical work.
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
SOME BOT BASED APPROACHES
▸ Rust - bors. Example: https://github.com/rust-lang/rust/pull/59800
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
BORS CONT
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
BORS CONT
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
BORS CONT
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
BORS CONT.
▸ Bors merges to master
▸ Bors has priority values (security issues, scheduled
features)
▸ GitHub does not have this natively integrated so bots must
consume the API
▸ https://bors.tech
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
SOME BOT BASED APPROACHES CONT.
▸ GitLab - Merge Trains
MASTER
PR
1
PR
2
PR
3
MASTERPR
1
PR
2
PR
3
MASTER
+PR 1
PR
2
PR
3
MASTER
+PR 1
PR
3
PR 2
Xen-devel@
:patchew
or patchwork
Gitlab CI
submit only review
if tests pass
Fetches series/patches
create tmp
git tree
Build (distros, configs, compilers)
& smoke tests (x86 only for now)
Tested-by: bot
or NACKed-by: bot
commit as now
From Lars Kurth’s Xen Project Weather Report
2.0
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
STUMBLING BLOCKS
▸ Getting the patches
▸ patchew.org - no public API to get list of available
patches but mbox available by Message-ID
▸ lore.kernel.org - Atom feed to get data but HTML
escaped patches. No Message-ID.
▸ patchwork.kernel.org - Proposed changed by Wei to
support our use case haven’t had much traction
upstream
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
STUMBLING BLOCKS
▸ Tracking new versions of a series and updating the branch
▸ The amount of emails on the list
▸ How many will the bot add?
▸ How many repos get patches sent to the xen-devel@ list.
WILL ROBOTS AUTOMATE YOUR JOB AWAY?
PROJECT GANIS
▸ Named after the kingdom that King Bors rules from
Arthurian legends.
▸ Aims to start running along side the existing workflow for a
time period until the Xen Project is comfortable with the
results
▸ Design Session: Xen Project CI Infrastructure v2
QUESTIONS?

More Related Content

PDF
Breaking bad habits with GitLab CI
PDF
ConcourseCi Dockerimage
PDF
Concourse updates
PDF
Why you can't ignore GitLab
PDF
Oleksandr Yefremov Continuously delivering mobile project
PDF
Breaking Bad Habits with GitLab CI
PDF
CI with Gitlab & Docker
PDF
OSCONF - April 2021 - Run GitHub Actions Locally with nektos/act and Docker
Breaking bad habits with GitLab CI
ConcourseCi Dockerimage
Concourse updates
Why you can't ignore GitLab
Oleksandr Yefremov Continuously delivering mobile project
Breaking Bad Habits with GitLab CI
CI with Gitlab & Docker
OSCONF - April 2021 - Run GitHub Actions Locally with nektos/act and Docker

What's hot (20)

PPTX
Unlimited Staging Environments on Kubernetes
PDF
How we scaled git lab for a 30k employee company
PDF
Introduction to Concourse CI #渋谷Java
PDF
Intro to Github Actions @likecoin
PDF
Concourse webhook
PDF
Concourse and Database
PDF
Using GitLab CI
PDF
Juc boston2014.pptx
PDF
Route service-pcf-techmeetup
PDF
ConcourseCI love Minio
PDF
Jenkins vs GitLab CI
PDF
Devops Porto - CI/CD at Gitlab
PPTX
Workflows using Git GitHub | Edureka
PPTX
GitHub Actions - Melbourne UG
PDF
Teaching a Designer to Use GitHub
PDF
Introduction to GitHub Actions
PDF
Resolving xcode git merge conflict
PDF
Git Educated About Git - 20 Essential Commands
PDF
FOSDEM 2017: GitLab CI
PDF
Monitor Cloud Foundry and Bosh with Prometheus
Unlimited Staging Environments on Kubernetes
How we scaled git lab for a 30k employee company
Introduction to Concourse CI #渋谷Java
Intro to Github Actions @likecoin
Concourse webhook
Concourse and Database
Using GitLab CI
Juc boston2014.pptx
Route service-pcf-techmeetup
ConcourseCI love Minio
Jenkins vs GitLab CI
Devops Porto - CI/CD at Gitlab
Workflows using Git GitHub | Edureka
GitHub Actions - Melbourne UG
Teaching a Designer to Use GitHub
Introduction to GitHub Actions
Resolving xcode git merge conflict
Git Educated About Git - 20 Essential Commands
FOSDEM 2017: GitLab CI
Monitor Cloud Foundry and Bosh with Prometheus
Ad

Similar to XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contributions Through CI - Doug Goldstein, Rackspace (13)

PDF
GitOps with GitHub Actions & Flux by Kingdon Barrett
PDF
Github github-github
PDF
JUGUtrecht2023 - GithubActions
PDF
SFSCON23 - Yuri D'Elia - Automating git for development on large distributed ...
PDF
Gitlab for PHP developers (Brisbane PHP meetup, 2019-Jan-29)
PDF
PuppetConf 2014 Killer R10K Workflow With Notes
PPTX
ROS Tutorials with examples for beginners.pptx
PDF
DWX 2023 - GitHub Actions für Azure-DevOps-Pipelines-Benutzer
PDF
Power Of Zero
ODP
Towards Source Code Management (for Yoga.ee)
PDF
Will Git Be Around Forever? A List of Possible Successors
PDF
David Krmpotic: Git
GitOps with GitHub Actions & Flux by Kingdon Barrett
Github github-github
JUGUtrecht2023 - GithubActions
SFSCON23 - Yuri D'Elia - Automating git for development on large distributed ...
Gitlab for PHP developers (Brisbane PHP meetup, 2019-Jan-29)
PuppetConf 2014 Killer R10K Workflow With Notes
ROS Tutorials with examples for beginners.pptx
DWX 2023 - GitHub Actions für Azure-DevOps-Pipelines-Benutzer
Power Of Zero
Towards Source Code Management (for Yoga.ee)
Will Git Be Around Forever? A List of Possible Successors
David Krmpotic: Git
Ad

More from The Linux Foundation (20)

PDF
ELC2019: Static Partitioning Made Simple
PDF
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
PDF
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
PDF
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
PDF
XPDDS19 Keynote: Unikraft Weather Report
PDF
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
PDF
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
PDF
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
PDF
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
PPTX
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
PPTX
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
PDF
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
PDF
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
PDF
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
PDF
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
PDF
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
PDF
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
PDF
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
PDF
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
PDF
XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security
ELC2019: Static Partitioning Made Simple
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Unikraft Weather Report
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Implementing AMD MxGPU - Jonathan Farrell, Assured Information Security

Recently uploaded (20)

PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Introduction to Artificial Intelligence
PDF
Understanding Forklifts - TECH EHS Solution
PDF
System and Network Administration Chapter 2
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
L1 - Introduction to python Backend.pptx
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
ai tools demonstartion for schools and inter college
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
history of c programming in notes for students .pptx
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Odoo Companies in India – Driving Business Transformation.pdf
Introduction to Artificial Intelligence
Understanding Forklifts - TECH EHS Solution
System and Network Administration Chapter 2
Design an Analysis of Algorithms I-SECS-1021-03
L1 - Introduction to python Backend.pptx
How to Choose the Right IT Partner for Your Business in Malaysia
Operating system designcfffgfgggggggvggggggggg
Adobe Illustrator 28.6 Crack My Vision of Vector Design
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Nekopoi APK 2025 free lastest update
Navsoft: AI-Powered Business Solutions & Custom Software Development
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
ai tools demonstartion for schools and inter college
Which alternative to Crystal Reports is best for small or large businesses.pdf
history of c programming in notes for students .pptx
Online Work Permit System for Fast Permit Processing
Upgrade and Innovation Strategies for SAP ERP Customers
Wondershare Filmora 15 Crack With Activation Key [2025

XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contributions Through CI - Doug Goldstein, Rackspace

  • 1. WILL ROBOTS AUTOMATE YOUR JOB AWAY? STREAMLINING XEN PROJECT CONTRIBUTIONS THROUGH CI DOUG GOLDSTEIN RACKSPACE CARDOE@CARDOE.COM // CARDOE @FREENODE JULY 2019
  • 3. WILL ROBOTS AUTOMATE YOUR JOB AWAY? ABOUT ME ▸ Site Reliability Engineer @ Rackspace ▸ Keeping VM hosts patched and happy ▸ Xen Project Contributor and Maintainer ▸ Maintainer for the GitLab and GitHub integration with Wei Liu. “Cloud gonna cloud.”
  • 4. WILL ROBOTS AUTOMATE YOUR JOB AWAY? OVERVIEW ▸ Current workflow for patches ▸ The issues ▸ How some bots work ▸ Expanding on the vision ▸ Discussing how we get there
  • 5. WILL ROBOTS AUTOMATE YOUR JOB AWAY? EXISTING WORKFLOW ▸ Follows git-flow https://nvie.com/posts/a-successful-git- branching-model/ ▸ committers commit to staging ▸ OSSTEST builds staging and commits to master ▸ freezes are established to let OSSTEST catch up ▸ release is cut
  • 6. WILL ROBOTS AUTOMATE YOUR JOB AWAY? THE ISSUES ▸ Common theme from Nanjing: Freeze windows are too long. ▸ Merge skew / Schematic conflicts ▸ [17:00] Alice pulls staging & applies patch series which uses foo() ▸ [17:01] Alice begins local tests ▸ [17:05] Bob pull staging & renames foo() to bar() ▸ [17:06] Bob begins compile only tests ▸ [17:10] Bob’s code compiles, merge and push. ▸ [17:20] Alice creates a merge commit and pushes.
  • 7. WILL ROBOTS AUTOMATE YOUR JOB AWAY? THE ISSUES CONT. ▸ Committers have different standards by which a commit is mergeable. ▸ Committers could have the same standards but different environments in which they verify changes. ▸ Time spent doing highly mechanical work instead of technical work.
  • 8. WILL ROBOTS AUTOMATE YOUR JOB AWAY? SOME BOT BASED APPROACHES ▸ Rust - bors. Example: https://github.com/rust-lang/rust/pull/59800
  • 9. WILL ROBOTS AUTOMATE YOUR JOB AWAY? BORS CONT
  • 10. WILL ROBOTS AUTOMATE YOUR JOB AWAY? BORS CONT
  • 11. WILL ROBOTS AUTOMATE YOUR JOB AWAY? BORS CONT
  • 12. WILL ROBOTS AUTOMATE YOUR JOB AWAY? BORS CONT. ▸ Bors merges to master ▸ Bors has priority values (security issues, scheduled features) ▸ GitHub does not have this natively integrated so bots must consume the API ▸ https://bors.tech
  • 13. WILL ROBOTS AUTOMATE YOUR JOB AWAY? SOME BOT BASED APPROACHES CONT. ▸ GitLab - Merge Trains MASTER PR 1 PR 2 PR 3 MASTERPR 1 PR 2 PR 3 MASTER +PR 1 PR 2 PR 3 MASTER +PR 1 PR 3 PR 2
  • 14. Xen-devel@ :patchew or patchwork Gitlab CI submit only review if tests pass Fetches series/patches create tmp git tree Build (distros, configs, compilers) & smoke tests (x86 only for now) Tested-by: bot or NACKed-by: bot commit as now From Lars Kurth’s Xen Project Weather Report 2.0
  • 15. WILL ROBOTS AUTOMATE YOUR JOB AWAY? STUMBLING BLOCKS ▸ Getting the patches ▸ patchew.org - no public API to get list of available patches but mbox available by Message-ID ▸ lore.kernel.org - Atom feed to get data but HTML escaped patches. No Message-ID. ▸ patchwork.kernel.org - Proposed changed by Wei to support our use case haven’t had much traction upstream
  • 16. WILL ROBOTS AUTOMATE YOUR JOB AWAY? STUMBLING BLOCKS ▸ Tracking new versions of a series and updating the branch ▸ The amount of emails on the list ▸ How many will the bot add? ▸ How many repos get patches sent to the xen-devel@ list.
  • 17. WILL ROBOTS AUTOMATE YOUR JOB AWAY? PROJECT GANIS ▸ Named after the kingdom that King Bors rules from Arthurian legends. ▸ Aims to start running along side the existing workflow for a time period until the Xen Project is comfortable with the results ▸ Design Session: Xen Project CI Infrastructure v2