QA/Browser Technologies/Services/Releases/BrowserID 03012012
From MozillaWiki
< QA | Browser Technologies | Services | Releases
Contents
- 1 Areas for QA Focus
- 2 Information
- 3 Links
- 4 Deployment Ticket
- 5 OPs Ticket and ChangeWindow
- 6 Hot Fixes and Other Deployments
- 7 ChangeLog
- 8 Versions
- 9 Heartbeat
- 10 Processes
- 11 Logs
- 12 Local Install - Unit Tests
- 13 Local Install - Load Test
- 14 Stage: Load Tests
- 15 Sample Bug and Issue
- 16 New/Updated OPs Tickets and Issues
- 17 New/Updated Security Tickets and Issues
- 18 New/Updated APPs Tickets and Issues
- 19 New/Updated Labs Tickets and Issues
- 20 New/Updated Localization Tickets and Issues
- 21 Resolved/Closed Bugs and Issues
- 22 Reopened or Updated : Server
- 23 Reopened or Updated : Client
- 24 Opened Bugs/Issues For This Week: Server
- 25 Opened Bugs/Issues For This Week: Client
- 26 Other Open Bugs
- 27 Notes
Areas for QA Focus
- [QA] Suggested areas of focus for QA:
- normal stuff
- disable cookies, ensure good error messaging - all devices/browsers
- abuse mysql (SIGSTOP, restart, shutdown, route TCP packets to the bitbucket) - ensure you see reasonable error messages but that the service stays up
- mobile firefox nightlies
- stop the keysigner, ensure that the service stays up and you see reasonable error messages (log out, try to log into a site in this state)
- In addition, QA needs to spend time on the following:
- Testing all FF channels on desktop and Android: Beta, Aurora, Nightly
- Testing across all browsers with standard cookies and third-party cookies enabled/disabled
- Test the new locales: lt: Lithuanian, pt_BR: Brazilian (Portuguese), rm: Romansh, uk: Ukrainian
- Verify the following locales have been removed: fy: Frisian, af: Afrikaans
Information
- Train 22: 03-01-2012
Links
- Bugs/Issues: https://github.com/mozilla/browserid/issues
- Test Plan: https://wiki.mozilla.org/QA/BrowserID/TestPlan
- Weekly Train Wiki: https://wiki.mozilla.org/QA/BrowserID/BrowserID_Weekly_Trains_Beta
- Release Wiki: https://wiki.mozilla.org/QA/Browser_Technologies/Services/Releases/BrowserID_03012012
- Test Plan spreadsheet: https://docs.google.com/spreadsheet/ccc?key=0As8GUPwNNWMFdHFDXzcyc1VRNWVmWUNwRnVMX1NORXc#gid=0
- Stage Server: https://diresworb.org
- Stage Client/RP1: http://beta.myfavoritebeer.org
- Stage Client/RP2: http://beta.myfavoritebooze.org
- Stage Client/RP3: http://beta.myfavoriteshow.org
- Stage Client/RP4: http://carrera.databits.net:9999 (requires VPN access)
- Primary 1: https://eyedee.me
- Dev Server: https://dev.diresworb.org
- Dev Client/RP1: http://dev.myfavoritebeer.org
- Dev Client/RP2: http://dev.myfavoritebooze.org
- Dev Client/RP3: http://dev.myfavoriteshow.org
- Primary 1: https://eyedee.me
Deployment Ticket
- bug 732142 - QA and deploy BrowserID train-2012.03.01 to production
- RPM:
OPs Ticket and ChangeWindow
- Services Maintenance/Change Window
- TBD
Hot Fixes and Other Deployments
- HotFix 1:
- 52a367c - 0.2012.03.01.2 - https://github.com/mozilla/browserid/issues/1235
- HotFix 2
- 7558d69 document db conn monitoring hotfix and bump version
- locale svn r102380
- Roll to 2012-03-01 (undo HotFix 2):
- e327804 document db conn monitoring hotfix and bump version
- locale svn r102598
- Post-HotFix roll to 2012-03-01 release:
- e327804 document db conn monitoring hotfix and bump version
- locale svn r102598
- Production deployment for HotFix 2:
- Bug 733287 - deploy hotfix browserid-server 2012.02.16-3 to production sweb
- Bug 733288 - bid dbwriters: monitor /wsapi/have_email
- https://intranet.mozilla.org/Services/Ops/ChangeWindow_20120306
- Production deployment for multi-datecenter support:
- Bug 726614 - browserid: multi-datacenter tracking bug
- https://intranet.mozilla.org/Services/Ops/ChangeWindow_20120308
- https://etherpad.mozilla.org/bid-dual-dc
ChangeLog
- 03/01: ChangeLog including issues resolved:
Versions
- Dev: https://dev.diresworb.org/ver.txt
- 76b0777 Merge branch 'dev' of github.com:mozilla/browserid into dev
- Prod: https://browserid.org/ver.txt
- 8d24766 more rpm fixes: instead of pulling in all config/, just l10n-all.json
- locale svn r102380
- Stage: https://diresworb.org/ver.txt
- Orig: unknown
- HotFix 1
- 52a367c bump version number and document hotfix for issue #1235
- locale svn r102416
- HotFix 2
- 7558d69 document db conn monitoring hotfix and bump version
- locale svn r102380
- Roll to 2012-03-01:
- e327804 document db conn monitoring hotfix and bump version
- locale svn r102598
Heartbeat
- Dev: https://dev.diresworb.org/__heartbeat__
- ok
- Prod: https://browserid.org/__heartbeat__
- ok
- Stage: https://diresworb.org/__heartbeat__
- ok
Processes
- webheads
- /usr/bin/node bin/browserid
- /usr/bin/node bin/verifier
- /usr/bin/node /opt/browserid/lib/verifier/verifier-compute.js
- /usr/bin/node /opt/browserid/lib/bcrypt-compute.js
- secure webheads
- /usr/bin/node bin/dbwriter
- /usr/bin/node /opt/browserid/lib/bcrypt-compute.js
- keysigners
- /usr/bin/node bin/keysigner
- /usr/bin/node /opt/browserid/lib/keysigner/keysigner-compute.js
- databases: various mysql processes
- zeus: various zeus processes
Logs
- webheads: /var/log/browserid/
- browserid.log
- browserid-metrics.json
- verifier.log
- verifier-metrics.json
- verifier-compute.log
- secure webheads: /var/log/browserid/
- dbwriter.log
- keysigners have /var/log/browserid/
- keysigner.log
- keysigner-compute.log
- databases: n/a
- zeus: various logs
Local Install - Unit Tests
- Front-End Unit Tests
- PASS
- Tests completed in 59326 milliseconds.
- 983 tests of 983 passed, 0 failed.
- PASS
- Back-End Unit Tests
- PASS, except for test_mysql (known issue)
node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ database not ready. did you call open()? CANNOT TEST 'test_mysql' ENVIRONMENT: can't connect to the database
- Headless Front-End Unit Tests
- PASS
- Tests completed in 62396 milliseconds.
- 983 tests of 983 passed, 0 failed.
- PASS
Local Install - Load Test
- Term1: CREATE_TEST_USERS=2000 BROWSERID_FAKE_VERIFICATION=1 NODE_ENV=test_mysql npm start
- Term2: bin/load_gen -u 1/50 -m 50000 -o -s http://127.0.0.1:10002
Stage: Load Tests
- client5: node bin/load_gen -s https://stage-browserid.services.mozilla.com -o -m 250000 -u 1/250
Sample Bug and Issue
- bug XXXXXX - Bug title
- [BrowserID issue XXX] : Issue title
New/Updated OPs Tickets and Issues
- bug 708444 - deploy updated zlb rules to scl2 internal zeus
- bug 710338 - Upgrade browserid.org SSL cert to EV or crazypants good level
- bug 723775 - Create/Deploy l10n preview env for browserid
- [BrowserID issue 1258] : method to probe dbwriter's database connection health
- [BrowserID issue 1259] : Issue1258
New/Updated Security Tickets and Issues
- None
New/Updated APPs Tickets and Issues
- bug 725502 - window.open with dialog=yes argument in it causes weird issue
- bug 701424 - Switch authentication to BrowserID for etherpad.mozilla.org
New/Updated Labs Tickets and Issues
- None
New/Updated Localization Tickets and Issues
- [BrowserID issue 1220] : Add new locale: Ukranian (uk)
- [BrowserID issue 1223] : Locales ready for February 29, 2012 release
- [BrowserID issue 1226] : Locale: [lt] [rm] and [uk] languages do not show up correctly in IE8
- [BrowserID issue 1230] : it-CH (debug) translation broken in dev env
- [BrowserID issue 1233] : Lock down locals and verify them 24 hours before prod release
- [BrowserID issue 1236] : Enhacing best language match to also match a language regardless of loca...
- [BrowserID issue 1257] : UglifyJS dies on some locales
- [BrowserID issue 1296] : Adding a new config l10n-prod.json to capture shipping locales.
- [BrowserID issue 1297] : Login, sign-in, sign in, registration
- [BrowserID issue 1300] : "Forgot your password?" is rendered on two lines in German.
Resolved/Closed Bugs and Issues
- bug 705023 - Set browserid's user UID to something lower than 500
- bug 705033 - Change the way nodejs starts browserid (no functionality change)
- bug 701926 - Create infrasec user for BrowserID
- [BrowserID issue 198] : Be able to authenticate with BrowserID without selecting an email address.
- [BrowserID issue 423] : Sign-in popup has no scrollbars → confusing when zoomed in
- [BrowserID issue 453] : Pancake/IOS - Ui for adding a different email address is spaced out on iOS 5
- [BrowserID issue 567] : The "login failure [object Object]" pop-up is sometimes displayed when selecting an email and signing in with no internet connection
- [BrowserID issue 660] : Structure of browser JS
- [BrowserID issue 835] : Generic error message when authenticating with cookies disabled.
- [BrowserID issue 841] : Present site's TOS and privacy policy to user
- [BrowserID issue 871] : The "keep me signed in" option disappears from the Sign In dialog when refreshed after removing an email address
- [BrowserID issue 990] : handle stalling in mysql driver
- [BrowserID issue 1009] : uglify step of compress.sh too slow of multiple locales
- [BrowserID issue 1011] : bin/browserid on stage webhead dies on network issue
- [BrowserID issue 1043] : Remove ambiguities in Prereqs for AWS_DEPLOYMENT.md
- [BrowserID issue 1044] : Block unit testing in Stage and Prod
- [BrowserID issue 1075] : French (fr) is 100% on strings, but not showing up localized
- [BrowserID issue 1080] : AGAIN! exception in l10n code during first page load after VM provisioning
- [BrowserID issue 1105] : Locale: [ca] Sign in screen shows issues with various strings and links.
- [BrowserID issue 1108] : Create a generic click function for use in all modules.
- [BrowserID issue 1112] : "Invalid cert in chain" errors reported
- [BrowserID issue 1118] : Locale: [it] Verification email Subject contains errors
- [BrowserID issue 1126] : Locale: [sv] The user can't sign into any pages (RPs+server) with BrowserID
- [BrowserID issue 1127] : Locale: [fi] only partially localized on diresworb.org and browserid.org
- [BrowserID issue 1129] : the cache issue with rollout of train-2012.02.02
- [BrowserID issue 1133] : iOS - must click on radio button to select email address.
- [BrowserID issue 1139] : "frozen" error dialog shown on error in account manager page.
- [BrowserID issue 1141] : Static resources should not generate 304s in server logs
- [BrowserID issue 1143] : Upgrading to connect-cachify 0.0.5 which has a bug fix for Issue #1141
- [BrowserID issue 1154] : To retry, try again
- [BrowserID issue 1155] : Cannot uncheck "Always sign in using this email" by clicking on label.
- [BrowserID issue 1156] : Failing front end test 'controllers/pick_email: click on an email label - select corresponding radio button'
- [BrowserID issue 1157] : EJS introduces global variables
- [BrowserID issue 1160] : remove target="<x>" from template strings.
- [BrowserID issue 1169] : FF Mobile Beta (11.0) on droid2(2.2) cannot signin on myfavoritebeer or myfavoritebooze
- [BrowserID issue 1170] : Make client.pot & messages.pot empty file at the beginning of extract_po.sh
- [BrowserID issue 1173] : Passwords larger than 80 chars can be used all through BID
- [BrowserID issue 1177] : more rpm fixes: instead of pulling in all config/, just l10n-all.json
- [BrowserID issue 1178] : unit tests are broken
- [BrowserID issue 1179] : Rebranding banner looks terrible on mobile and small size browser windows
- [BrowserID issue 1184] : Strings
- [BrowserID issue 1185] : "select email" string needs changed to "sign in"
- [BrowserID issue 1188] : Almost identical strings
- [BrowserID issue 1189] : Extra space
- [BrowserID issue 1197] : verifier tests fail under travis-ci
- [BrowserID issue 1206] : include.js loads very slowly for the addons "My Profile" page in FF
- [BrowserID issue 1209] : BrowserID requires/required cookies
- [BrowserID issue 1211] : update database code and mysql driver to handle stalled connections
- [BrowserID issue 1216] : allow RP to specify tos and PP for display to user inside the browserid ...
- [BrowserID issue 1219] : aws deployments - the third push fails to update code
- [BrowserID issue 1235] : rpm build fails
- [BrowserID issue 521] : No access to bookmarks in BrowserID window makes it impossible to use a password generating bookmarklet to sign in
- [BrowserID issue 1071] : failures in using a primary email with beta.myfavorite{beer,show,booze}.org
- [BrowserID issue 1122] : Locale: [any/all] The error dialog is only partially translated
- [BrowserID issue 1125] : Locale: [sv, sr] The diresworb.org home page displayed both the Account Manager section and the "Connect with BrowserID..." section
- [BrowserID issue 1130] : the cache issue with rollout of train-2012.02.02
- [BrowserID issue 1131] : the cache issue with rollout of train-2012.02.02
- [BrowserID issue 1137] : iOS - when clicking one mail address, select radio button.
- [BrowserID issue 1147] : refactor httputils to remove needless logic and better leverage express....
- [BrowserID issue 1165] : some rpm build fixes
- [BrowserID issue 1166] : adding support for travis ci.
- [BrowserID issue 1194] : Issue1170 Initialize pot file each run. Removing -j
- [BrowserID issue 1227] : What is the branch name of the next train?
- [BrowserID issue 1266] : Add TOS and Priv contents and links to sign_in for Booze and Show sites
- [BrowserID issue 1270] : Add caching service
- [BrowserID issue 1273] : Localize the rebranding banner!
Reopened or Updated : Server
- bug 725502 - window.open with dialog=yes argument in it causes weird issue
- bug 730015 - BrowserID: No longer able to Sign In using FF 12 (Aurora) or FF 13 (Nightly)
- [BrowserID issue 536] : need log rotation for keysigner
- [BrowserID issue 995] : Dev: Locale: input fields appear to be "translated" as well to right-justified
- [BrowserID issue 1055] : Local install generates warnings against locale files
- [BrowserID issue 1105] : Locale: [ca] Sign in screen shows issues with various strings and links.
- [BrowserID issue 1133] : iOS - must click on radio button to select email address.
- [BrowserID issue 1167] : The new "requires cookies" message needs improvement.
- [BrowserID issue 1168] : Locale: Provide localized strings for new "requires cookies" message
- [BrowserID issue 1176] : Mobile: No longer able to Sign In using FF 12 (Aurora) or FF 13 (Nightly)
- [BrowserID issue 1201] : The diresworb.org home page displayed both the Account Manager and "Connect with BrowserID..." sections when all the cookies are disabled
- [BrowserID issue 1204] : Include.js returns a 304 even though it takes a while to load
- [BrowserID issue 1217] : Privacy and TOS links on Sign In page open to the same browser window/tab.
- [BrowserID issue 1218] : Privacy and TOS links do not work correctly with older Android and stock browser
- [BrowserID issue 1246] : Backend unit tests failing to connect to mysql
Reopened or Updated : Client
- [BrowserID issue 50] : Selected version of express not compatible with current node.js
Opened Bugs/Issues For This Week: Server
- [BrowserID issue 1243] : Minor fix for scripts/compress
- [BrowserID issue 1246] : Backend unit tests failing to connect to mysql
- [BrowserID issue 1251] : SUMO links off of Persona are out-of-date
- [BrowserID issue 1261] : iOS: Layout looks bad/is confusing on account with several emails.
- [BrowserID issue 1262] : iOS: Unable to select TOS and Priv links on account with several emails
- [BrowserID issue 1265] : Add actual RP-specific content to the TOS and Priv pages.
- [BrowserID issue 1266] : Add TOS and Priv working and links to sign_in for Booze and Show sites
- [BrowserID issue 1273] : Localize the rebranding banner!
- [BrowserID issue 1276] : Locale: The TOS and Priv content in sign_in is not consistently localized
- [BrowserID issue 1295] : Pancake: Problems with keyboard availability given updated BID UI flow
- [BrowserID issue 1302] : The new "requires cookies" message needs improvement on iOS.
- [BrowserID issue 1241] : [stage] The option to check 'Always keep me signed in' is missing in the simplified sign-in flow
- [BrowserID issue 1248] : '/manage|/users|/primaries' in browserid/views.js redirect to unreachable internal hostname in stage/prod
- [BrowserID issue 1254] : server logs should record millisecond resolution times
- [BrowserID issue 1255] : http log format should record connect's :response-time millis
- [BrowserID issue 1256] : possible race? between /sign_in dialog and /verify_email_address page
- [BrowserID issue 1263] : opera: clicking close button on /sign_in tab leaves 'sign in' button unusable
- [BrowserID issue 1267] : vert/horiz scrollbars when doing required email with eyedee.me address
- [BrowserID issue 1268] : perma-url /v/<md5sum>/... are revalidated each time by IE8/IE9
- [BrowserID issue 1269] : minor cleanup issue for l10n remove <a href='...'> from gettext
- [BrowserID issue 1272] : tos/pp overlap password input in some languages (e.g., German)
- [BrowserID issue 1274] : German 'verify email' button squeezes tos/pp into bad layout
- [BrowserID issue 1275] : Locale: (e.g., de,ca) 'Use a different email' overlaps TOS/PP
- [BrowserID issue 1277] : error handling - "database query callback failed: ReferenceError: resp is not defined"
- [BrowserID issue 1278] : trivial error formatting throw message in lib/load_gen/common.js:48
- [BrowserID issue 1286] : Unable to select other accounts on Android
- [BrowserID issue 1290] : User Feedback needed after hitting next/verify email
Opened Bugs/Issues For This Week: Client
- None
Other Open Bugs
- bug 734067 - While signing in w/ Persona (BrowserID) keyboard shouldn't vanish after filling in email address
- bug 734436 - Basic Auth Dialog shown after successful XHR request with Basic Auth
- bug 733659 - [identity dashboards] - verify distinct RPs/day
- [BrowserID issue 1219] : aws deployments - the third push fails to update code
- [BrowserID issue 1221] : Adding script to check if all locales have committed to SVN
- [BrowserID issue 1222] : Handle moz-prefixed navigator.id property for Gecko's prototype native implementation
- [BrowserID issue 1224] : Apply as a mentoring Organization to GSoC
- [BrowserID issue 1225] : login to www.myfavoritebeer.org fails
- [BrowserID issue 1227] : What is the branch name of the next train?
- [BrowserID issue 1228] : rewrite compress scripts in javascript: better output, build of resource...
- [BrowserID issue 1229] : build a mediawiki plugin to support BrowserID
- [BrowserID issue 1231] : bail on primary because of network latency?
- [BrowserID issue 1232] : flip order of new account flow : password <-> verify email
- [BrowserID issue 1234] : The "sys" module is now called "util". It should have a similar interface.
- [BrowserID issue 1235] : rpm build fails
- [BrowserID issue 1237] : product benefits for 1st time user inside popup
- [BrowserID issue 1238] : link to home site should look more actionable
- [BrowserID issue 1239] : login the user at the same time as we verify email
- [BrowserID issue 1240] : mismatch of PP/TOS text and button text ('next' vs. 'sign in'
- [BrowserID issue 1242] : Integrate Front-End unit tests running under PhantomJS into CI
- [BrowserID issue 1244] : improve feedback from frontend tests running under phantom
- [BrowserID issue 1245] : change default tests run
- [BrowserID issue 1247] : Give feedback to users who don't accept cookies
- [BrowserID issue 1249] : undescriptive error message when requiredEmail field is not an email address
- [BrowserID issue 1250] : undescriptive error when assertion is malformed
- [BrowserID issue 1252] : Changing link copy and position. Fixes Issue#403
- [BrowserID issue 1253] : fix deprecation warnings by updating temp and nodes-statsd - issue #1234
- [BrowserID issue 1260] : by default, run all tests during npm test, and emit clear errors when de...
- [BrowserID issue 1264] : Update docs/PRIMARY_PROTOCOL.md
- [BrowserID issue 1270] : Add caching service
- [BrowserID issue 1271] : Support Primary Authority Delegation
- [BrowserID issue 1279] : Issue1205
- [BrowserID issue 1280] : Removing caching, fixes Issue#1205
- [BrowserID issue 1281] : Issue1271 Implement authority delegation for Primaries
- [BrowserID issue 1282] : http://beta.myfavoriteshow.org/ looks bad on the Maple build
- [BrowserID issue 1283] : Referrer info logged to browserid.json should be stripped to origin only.
- [BrowserID issue 1284] : Attempting to log-in with primary i5y.org offers to 'verify e-mail' rather than re-route to log in with e-mail provider
- [BrowserID issue 1285] : don't log more information than is needed in browserid-metrics.json - st..
- [BrowserID issue 1287] : Add some more about the public key
- [BrowserID issue 1288] : Explain the components of the public key
- [BrowserID issue 1291] : Adding dev_bid and default_bid which have millisecond resolution
- [BrowserID issue 1292] : Desktop: When more than 4 email addresses and TOS/Privacy are shown, it is difficult to add another address or select "this is not me"
- [BrowserID issue 1293] : change key length
- [BrowserID issue 1294] : does browserid support unicode email addresses?
- [BrowserID issue 1298] : Mobile: There is a lot of empty space between the form and the footer.
- [BrowserID issue 1299] : Issue 1133 email with plus
- [BrowserID issue 1301] : When creating a new account, "next" in the TOS should be updated to say "verify email"
Notes
- List of supported locales for this release
- "ca", "cs", "da", "de", "el", "en-US", "es", "et", "eu", "fi", "fr",
- "ga", "hr", "it", "lij", "lt", "nl", "pa", "pl", "pt-BR", "rm",
- "ru", "sk", "sl", "sq", "sr", "sv", "tr", "uk", "zh-CN", "zh-TW"
- New locales:
- lt: Lithuanian (100%)
- pt_BR: Brazilian (Portuguese) (100%)
- rm: Romansh (100%)
- uk: Ukrainian (100%)
- Locales removed:
- fy: Frisian
- af: Afrikaans
- QA completed testing of this train, but it was not released to Production
- The decision was made to hold due to significant open issues against UI flow, mobile support, and localizations
- Lloyd's notes:
- On the first we split off train-2012.03.01 for QA, and a couple blockers have been discovered in the train. The most interesting feature in this train include the ability for a website to provide links to terms of service and privacy policy that will be displayed inside the dialog. (Full set of changes in the changelog: https://github.com/mozilla/browserid/blob/train-2012.03.01/ChangeLog#L1-25)
- The two issues motivating the derailing are here:
- Another train will be pushed to beta tomorrow with fixes for these two issues and a small pile of improvements, scheduled for deployment March 28th.
- Lloyd's notes: