QA/BrowserID/OPsBuildOut
From MozillaWiki
Back To ==> Mozilla BT Services
Contents
Intro
This is the main QA site for the BrowserID OPs Build-Out. All tasks, projects, status, and other important information related to the Build-Out will be listed here and updated frequently.
- Overall/Master Schedule (details): to be added
- Build-Out Schedule per four environments: November/December
- Deployment Schedule per four environments: November/December
- Load Test Schedule per four environments: November/December
- QA Test Schedule per four environments: November/December
QA
Task/Project | Owner | Status | Notes, Links, Tickets, Issues |
Track Test/CI build-out | jbonacci | Planned | |
Track new "cross-team env" build-out | jbonacci | Planned |
|
Stability testing Test/CI env | QA | Planned |
|
Stability testing new "cross-team env" | QA | Planned |
|
Track OPs BrowserID build-out planning and HW orders | jbonacci | completed |
|
BrowserID arch review | jbonacci | completed | |
Track RPM and deployment work in Dev | jbonacci | completed |
|
Track Dev build-out | jbonacci | completed |
|
Track Stage build-out | jbonacci | completed |
|
Track Prod build-out | jbonacci | completed |
|
Track DEV load test development | jbonacci | completed |
|
Track OPs load test deployment | jbonacci | completed |
|
Track OPs dashboard/monitoring work | jbonacci | completed |
|
Unit test tutorial/wiki | jbonacci | completed |
|
Stability testing Dev env | QA | completed | |
Stability testing Stage env | QA | completed | |
Track Load testing Stage env | QA/OPs | completed |
|
Stability testing Prod env | QA | completed |
|
Load testing Prod env | QA/Dev/OPs | completed |
|
QA node/npm "easy" installs | jbonacci | completed |
|
Discussion of Android compatibility for BrowserID | QA/Dev | completed |
|
Final QA wiki updates | jbonacci | completed |
|
Dev
Task/Project | Owner | Status | Notes, Links, Tickets, Issues |
Initial plan for Scaling to 1 million users | Dev team | completed | |
Metrics dashboard | Dev team | completed |
|
Maintain "all-in-one" BrowserID | lloyd | completed |
|
GitHub repository re-organization | lloyd | completed |
|
Better logging | lloyd | completed |
|
Process splitting: browserid, verifier, keysigner, dbwriter | lloyd | completed |
|
Second client (dev.)(beta.)myfavoritebooze.org | lloyd | completed |
|
Developer Engagement Plan | Dev/PM teams | completed | |
Crypto discussions and work | Dev/Security teams | completed |
|
Work with OPs: RPM creation for deployment | lloyd/petef | completed |
|
Work with OPs: Dev deployment | lloyd/petef | completed |
|
Work with OPs: initial Dev test | lloyd/petef | completed |
|
Work with OPs: code for Stage | lloyd/petef | completed |
|
Work with OPs: load test code and deploy | lloyd/petef | completed |
|
Update GitHub Scaling to 1M | lloyd | completed | |
Use of node.js v0.6.x | lloyd, benadida | completed |
|
Unit tests, headless front-end tests | stomlinson, bendadida | completed |
|
OPs
Task/Project | Owner | Status | Notes, Links, Tickets, Issues |
Test/CI environment deploy and test | petef | Planned |
|
New "cross-team env" VM deploy and test | lloyd/petef | Planned |
|
Jenkins/Hudson for BrowserID-Server | petef | completed | |
Build-out planning | OPs | completed |
|
VM setup/config for Dev and Test/CI | petef | completed |
|
HW orders for Prod:SCL2 | OPs | completed |
|
HW orders for Prod:PHX1 | OPs | completed |
|
HW orders for Stage | OPs | completed |
|
Logging | petef | completed |
|
Metrics | petef | completed |
|
RPM design/build/test | petef/lloyd | completed |
|
Set up Load test env | petef | completed |
|
Monitoring/Dashboards | petef | completed |
|
Zeus configuration | petef/atoll | completed |
|
MySQL | petef | completed |
|
Initial Dev environment deploy and test | petef/lloyd | completed |
|
Initial Stage environment deploy and test | petef/lloyd | completed |
|
Stage environment load test | petef/QA | completed |
|
Prod environment deploy, test, and load test | petef | completed |
|
Other: working with infra-sec on documentation, vuln scans, more reliable CEF logging, heartbeats | OPs | completed |
|
Puppet configuration (transferable to Stage) | OPs | completed |
|
RSBAC, crypto, ACLs work | OPs | completed |
|
Quick Summaries/History: July - Oct
QA:
- Focus for Summer and Fall
- Weekly deployments to Beta environment
- Verification of deployments to current Production environment
- Test Plan and Weekly Trains wikis
- Tracking Dev activity for scaling to one million users
- Tracking OPs activity for BrowserID environment build-outs
DEV:
- Scalability planning started in the Summer.
- Planning path for security review and production build-out was started in the Summer.
- Metrics dashboard for identity
- Code migration to MySQL
- Command-line load generation and performance analysis
- Debug improvements
- Other areas shared with OPs: monitoring, logging improvements, RPM generation script, schema changes to improve database performance and scalability
OPs:
- BrowserID env designs
- Capacity planning
- Hardware was ordered in October
- Dev environment planning, build-out and configuration was started
- RPM generation work was started
- Other areas of work: node cluster, mysql strategy, monitoring strategy, logging, DB performance, scalability, zeus vips setup, nginx/apache, webhead/secure webhead planning
- Dependent on Dev for keysigner design and split, dbwriter design and split, logging improvements, repository restructuring, process split, code integration for packaging, and the load-gen code
- REF: Bug 695940 - BrowserID production tracking bug
Important Links
- IRC: #identity
- BrowserID QA:
- BrowserID Dev:
- BrowserID OPs:
OPs Tickets
- Bug 695940 - BrowserID production tracking bug
- This is a meta bug for all the other OPs tickets
Other Tickets
- Bug 690107 - Build dashboards for identity
- Bug 644776 - Security Review For BrowserID
- Bug 692247 - Accessibility review for revised design of BrowserID
- Bug 694073 - Need socketlabs SMTP parameters for browserid
- Bug 650863 - SSL cert needed for browserid.org
- Bug 695955 - browserid: write rsbac security policies for all host types
- Bug 705023 - Set browserid's user UID to something lower than 500
- Bug 705033 - Change the way nodejs starts browserid (no functionality change)
- Bug 705922 - zlb1/2/3.pub.scl2.svc.m.c: please kickstart, yum update, reboot, puppetize
- Bug 706408 - monitor zeus log sync queue size
- Bug 706410 - deploy zeus log sync ssh key to zlb*.pub.scl2.svc
- Bug 706411 - fix zeus log sync script to report rsync errors via cronmail
- Bug 704638 - deploy zlb*.pub.scl2
GitHub Issues
- Link for Server issues: https://github.com/mozilla/browserid/issues
- Link for Client issues: https://github.com/lloyd/myfavoritebeer.org/issues
- OPs-related issues in GitHub:
- 560: move bcrypt to webhead
- 561: handle mysql master failover in dbwriter process
- 566: heartbeat should not check backend servers
- 571: update rpm build to match new layout
- 575: [rpmbuild] work around npm bug: re-fetch jwcrypto every time
BrowserID Environments
See the main OPs BrowserID site for full details:
- Dev: https://intranet.mozilla.org/Services/Ops/BrowserID#Development_Environment
- Test/CI: https://intranet.mozilla.org/Services/Ops/BrowserID#Test.2FCI_Environment
- Stage: https://intranet.mozilla.org/Services/Ops/BrowserID#Stage_Environment
- Prod: https://intranet.mozilla.org/Services/Ops/BrowserID#Prod_Environment
Load Testing
- Load_Gen code and test - Dev work is still in progress
- See the following bug and issue:
- Bug 695952 - browserid: loadtest
- Issue 504: repair load_gen
- Load Test hardware (per OPs)
- There are eight dedicated client machines to send load
- Need machine name information
- There is also a dedicated VLAN that does not hit the firewall to push more load, if required.
- There are eight dedicated client machines to send load
- Load Test information per four environments: TBD
Dashboards and Monitoring
- Metrics team links:
- Bug 690107 - Build dashboards for identity
- https://metrics.mozilla.com/pentaho/content/pentaho-cdf-dd/Render?solution=metrics2&path=identity/&file=identity.wcdf
- Requires LDAP access
- OPs bugs:
- Bug 695961 - browserid: verify statsd collection, build pencil dashboards
- Bug 695963 - browserid: coordinate log collection with metrics
- Bug 695967 - browserid: setup monitoring
- OPs links per four environments: TBD
Bugs vs. GitHub Issues
- TBD
Back To ==> Mozilla BT Services