Percona XtraDB Cluster before every release: Glimpse into CI testing
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Percona XtraDB Cluster before every release: Glimpse into CI testing

on

  • 3,524 views

 

Statistics

Views

Total Views
3,524
Views on SlideShare
2,053
Embed Views
1,471

Actions

Likes
1
Downloads
3
Comments
1

28 Embeds 1,471

http://www.mysqlperformanceblog.com 547
http://feedly.com 394
http://planetmariadb.org 246
http://l.lj-toys.com 55
http://www.newsblur.com 51
http://newsblur.com 45
http://digg.com 38
http://www.percona.com 14
http://www.feedspot.com 11
http://www.redtreereader.com 9
http://www.inoreader.com 8
http://reader.aol.com 8
http://inoreader.com 7
http://www.hanrss.com 6
http://rss.ideesweb.info 5
https://reader.aol.com 4
http://leed.mog.unixcraft.org 3
http://test.inoreader.com 3
http://127.0.0.1 3
https://www.commafeed.com 3
http://feedreader.com 2
http://yoleoreader.com 2
http://xianguo.com 2
http://m8.triple-i.lan 1
http://rss.com 1
http://reader.wybcz.pl 1
http://smashingreader.com 1
http://rss.neurozone.fr 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Percona XtraDB Cluster before every release: Glimpse into CI testing Presentation Transcript

  • 1. Introduction Continuous Integration Epilogue Glimpse into CI testing Linux Conf Au 2014: Continuous Integration Miniconf Raghavendra Prabhu raghavendra.prabhu@percona.com Percona 6th January, 2013 Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 2. Introduction Continuous Integration Epilogue Outline Introduction Continuous Integration Epilogue Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 3. Introduction Continuous Integration Epilogue Overview Why CI test More free time for developers! https://xkcd.com/303/ PXC and Galera MySQL testing framework Re-use Newer approaches Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 4. Introduction Continuous Integration Epilogue Jenkins Trigger From VCS to packages Manual v/s Polling Dependencies and blocking Workflow Parameterized triggers VCS clones Build plumbing and fork-join Works well with copying artifacts Matrix builds Selective rebuilds Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 5. Introduction Continuous Integration Epilogue Sysbench Simultaneous dispatch to all nodes Re-use of MTR. Benchmarking History and Comparison Code regressions Testing Latent bugs Seen only at high load Synchronous replication Transaction commits/rollbacks and BF aborts Latency instrumentation Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 6. Introduction Continuous Integration Epilogue RQG Combinations testing Pruning of infeasible Astronomically large number Corner cases Bugs hide Stress Degrees mm, ms, mmm and more! Locking bugs DDL and MDL Other locks InnoDB Row deadlocks Hung tests Server deadlock Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 7. Introduction Continuous Integration Epilogue End-to-End testing Also works as a smoke test Snapshot State Transfer Re-uses PXB test suite with Xtrabackup Critical component Newer nodes are cloned Flow start node1 => load => start node2 => checksum Configuration Tests different platforms 13 supported ones Outcome Ensures PXC works as a cluster as intended Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 8. Introduction Continuous Integration Epilogue Replication testing Overlaps with other tests in coverage Tests replication between major versions Intended to test rolling upgrades/downgrades Re-uses earlier tests - MTR, sysbench, SST Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 9. Introduction Continuous Integration Epilogue Miscellaneous Techniques found useful lock_wait_timeout to expose MDL bugs Use of both release and UNIV_DEBUG builds Doubles the number of platforms Debug ones hit earlier assertions Release Go further Hit load-related issues Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 10. Introduction Continuous Integration Epilogue Future Testing at higher level Using Chef, Puppet Mainly for testing packaging Also to test distro idiosyncrasies Automated handling of test results Extraction of the backtraces etc. Bug reporting! Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 11. Introduction Continuous Integration Epilogue Conclusion Who says testing can’t be fun! http://jenkins.percona.com/user/ raghavendra-prabhu/my-views/view/PXC/ Degree of overlap among tests. Having multiple platforms help Others: bzr, launchpad, IRC, git(?) Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into
  • 12. Introduction Continuous Integration Epilogue Me Raghavendra Prabhu http://wnohang.net/about Software Engineer at Percona and Product Lead of PXC https://launchpad.net/percona-xtradb-cluster Raghavendra Prabhu Percona XtraDB Cluster before every release: Glimpse into