Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Robert Collins: Testing and OpenStack

Robert Collins: Testing and OpenStack

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Robert Collins:
Testing and OpenStack
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
@ Kiwi PyCon 2013 - Saturday, 07 Sep 2013 - Track 2
http://nz.pycon.org/

**Audience level**

Intermediate

**Description**

OpenStack's infra team coordinates running ~500 test runs a day, across over 20 projects, most of which involve bringing up a test cloud... find out how to reuse this infrastructure yourself, in your own cloud or public clouds.

**Abstract**

Something about OpenStack - sorry it's brief, I will flesh it out more tomorrow, wanted to meet your deadline... and I'm happy to change the talk to meet your interests - I'm still relatively new in the OpenStack community, but driving a fascinating operations project (which isn't really PyCon material, sadly) - but which gets me in contact with most of the 'stackers projects. : More tomorrow ;)

**YouTube**

http://www.youtube.com/watch?v=eB5ZmU6KKoY

6b880a0b67fac54c42c77fe70d97334d?s=128

New Zealand Python User Group

September 07, 2013
Tweet

Transcript

  1. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Testing and OpenStack: Something interesting, today Robert Collins Twitter: @rbtcollins Email: rbtcollins@hp.com
  2. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 2
  3. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Tripleo What I really work on → Deploying OpenStack using OpenStack → Because if it it's not meta it's not real →
  4. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 4
  5. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 5 My code is GOOD
  6. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. No, it's not
  7. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 7 Reality check Most patches: are broken first time → will break if left alone for a non-trivial time →
  8. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Code Review
  9. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 9
  10. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 10 → Reviewers don't scale Check every patch → Review only 'good' patches →
  11. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Automated Testing
  12. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 12 → Reliability Repeatability → Hands off debugging → Scale →
  13. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 13
  14. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 14 Patch Set 1: Works for me Build succeeded. Gate-heat-pep8 SUCCESS in 2m 03s gate-heat-docs SUCCESS in 2m 18s gate-heat-python26 SUCCESS in 2m 32s gate-heat-python27 SUCCESS in 2m 10s gate-tempest-devstack-vm-full SUCCESS in 23m 50s gate-tempest-devstack-vm-postgres-full SUCCESS in 26m 08s gate-tempest-devstack-vm-neutron SUCCESS in 15m 11s
  15. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Share and reuse!
  16. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 16 IF You have multiple projects → Which need to be cross-tested → You have functional or other slow tests → Or very high contributor rates →
  17. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 17 And you have Access to an OpenStack Cloud → Source code in Git → An OpenID SSO [internal or external] →
  18. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 18 Then you too can join me on this journey Self managed scalable, automated tooling → Moving target :( → I'm working on making that better :) →
  19. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Overview
  20. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 20 http://ci.openstack.org/running-your-own.html
  21. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 21
  22. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Thank you
  23. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Bonus round!
  24. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 24 → Make a domain Make your account in your SSO → Manually launch and configure a puppetmaster → Use automation to spawn dashboard → And gerrit →
  25. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 25 → And zuul And Jenkins → And Jenkins slaves → Configure test jobs → $Profit →
  26. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Thank you