Closed Bug 1381634 Opened 8 years ago Closed 8 years ago

Please deploy autopush 1.33.0 to PRODUCTION

Categories

(Cloud Services Graveyard :: Operations: Autopush, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: grumpy, Assigned: oremj)

References

Details

RELEASE NOTES Features Use modern metrics (39db9a7d, closes #950) Do not do VAPID auth on trusted connections (f9b375a1, closes #938) Use cryptography from git to fix a memory leak (615e961e) demote info to debug to reduce logging messages (7b5d9d0f, closes #936) log EC2 instance ID when using AWS for hostname (d8efd5e1, closes #931) accept aes128gcm content encoding (00947d1f, closes #930) Refactor convert PushState to attrs (e96f8631, closes #632) convert AutopushSettings to attrs (1616d245) split clients and agent off settings (70129bc2) begin tearing apart AutopushSettings (fc66ddcc) Bug Fixes add logging for register/unregister calls for websocket and bridges (9e82e0d1, closes #953) add memory pressure for jwt's cryptography usage (99048cde, closes #917) Return 400 if routing token is blank or unspecified (910c7185) Chore update to precise's latest pypy (5e270934)
Blocks: 1380849
Scheduled deploy for 1pm Eastern time tomorrow
No longer blocks: 1380849
Depends on: 1380849
Pre-deployment URL checks passed (venv) chartjes@grumpiermbp  ~/mozilla-services/autopush-deployment-tests   master ●✚  py.test -v --api-version=1.33.0 tests/test_urls.py ============================================================== test session starts =============================================================== platform darwin -- Python 3.6.1, pytest-3.1.2, py-1.4.34, pluggy-0.4.0 -- /Users/chartjes/mozilla-services/autopush-deployment-tests/venv/bin/python3.6 cachedir: .cache rootdir: /Users/chartjes/mozilla-services/autopush-deployment-tests, inifile: collected 2 items tests/test_urls.py::test_health PASSED tests/test_urls.py::test_status PASSED
Pre-deployment Sentry test worked updates.push.services.mozilla.com { "code": 418, "errno": 999, "error": "Test Failure", "message": "FAILURE:Success", "more_info": "http://autopush.readthedocs.io/en/latest/http.html#error-codes" } {'ami_id': 'ami-57ada72e', 'authorization': [Filtered], 'message_ttl': None, 'python_version': '2.7.13 (c925e7381036, Jun 05 2017, 21:20:51) [PyPy 5.8.0 with GCC 6.2.0 20160901]', 'remote_ip': '72.39.64.107, 172.31.23.171', 'request_id': 'a97f332f-83e1-48ca-a9de-fd47c5ddb5e1', 'uri': '/v1/err/crit', 'user_agent': 'curl/7.51.0'}
Pre-deploy VAPID tests Additional E2E-test which includes VAPID, encryption: https://jrconlin.github.io/Webpush_QA/ FF Android (Nightly, Release) -- OK
Pre-deploy E2E Testing using docker image docker run -p 8201:8201 firefoxtesteng/autopush-e2e-test DESKTOP E2E PUSH TEST setup: start browser with new profile open: about:config set: dom.push.loglevel=debug (instead of 'off') open: Tools > WebDeveloper > BrowserConsole open: https://mozilla-services.github.io/autopush-e2e-test/ choose: "service-worker.js" click: "register Service Worker" click: "subscribe to push" observe push registration in console click: "Always Receive Notifications" (in pop-up window) 1. registration test steps: click: "XHR to webpush app-server" observe: successful registration in console 2. message delivery test setup: set: Repeat = 2 set: Delay (seconds) = 15 steps: click: "XHR to webpush app-server" observe: 2 pop notifications 15 seconds apart 3. payload test setup: set: Title = PAYLOAD TEST set: Body = BODY TEXT HERE set: TTL = 360 set: Repeat = 4 set: Delay (seconds): 20 steps: click: "XHR to webpush app-server" observe: should see delayed pop notifications with Title, Body specified 4. storage test purpose: verify that a request is stored on autopush for delayed delivery setup: (same as 3 above) steps: click: "XHR to webpush app-server wait for pop notification, then immediately close browser wait 25 seconds re-open browser observe: should see 3 more delayed messages delivered on browser restart All passed
------------------------------------- iOS: SYNC + FxA + PUSH TEST (PRE-DEPLOY) ------------------------------------- SETUP - Get account for buddybuild (from: njpark) - Download “TestFlight” app - Receive invite to use, enter code - Get latest Beta Build (“click Update, if needed”) - Create new FxA accounts (agains PROD FxA server) https://accounts.firefox.com - Login to desktop PROD FxA account with a fresh firefox profile - Save some bookmarks and create some navigation history TEST STEPS (STR) - Go to settings in new download of Firefox iOS app - Login to new FxA (PROD) account - wait or force sync activity - Observe bookmarks and history appear in Firefox browser RESULTS - bookmark sync - OK - history sync - OK - tab sync - OK
:oremj has deployed this release to PRODUCTION
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
------------------------------------- iOS: SYNC + FxA + PUSH TEST ------------------------------------- SETUP - Get account for buddybuild (from: njpark) - Download “TestFlight” app - Receive invite to use, enter code - Get latest Beta Build (“click Update, if needed”) - Create new FxA accounts (agains PROD FxA server) https://accounts.firefox.com - Login to desktop PROD FxA account with a fresh firefox profile - Save some bookmarks and create some navigation history TEST STEPS (STR) - Go to settings in new download of Firefox iOS app - Login to new FxA (PROD) account - wait or force sync activity - Observe bookmarks and history appear in Firefox browser RESULTS - bookmark sync - OK - history sync - OK - tab sync - OK
Post-deploy URL checks chartjes@grumpiermbp ~/mozilla-services/autopush-deployment-tests [master *] ± % py.test -v --env=production --api-version=1.33.0 tests/test_urls.py !1404 ============================================================== test session starts =============================================================== platform darwin -- Python 3.6.1, pytest-3.1.2, py-1.4.34, pluggy-0.4.0 -- /Users/chartjes/mozilla-services/autopush-deployment-tests/venv/bin/python3.6 cachedir: .cache rootdir: /Users/chartjes/mozilla-services/autopush-deployment-tests, inifile: collected 2 items tests/test_urls.py::test_health PASSED tests/test_urls.py::test_status PASSED Passed -- verified v1.33.0 is in production.
Post-deployment Sentry check updates.push.services.mozilla.com { "code": 418, "errno": 999, "error": "Test Failure", "message": "FAILURE:Success", "more_info": "http://autopush.readthedocs.io/en/latest/http.html#error-codes" } {'ami_id': 'ami-71564a08', 'authorization': [Filtered], 'message_ttl': None, 'python_version': '2.7.13 (c925e7381036, Jun 05 2017, 21:20:51) [PyPy 5.8.0 with GCC 6.2.0 20160901]', 'remote_ip': '72.39.64.107, 172.31.38.204', 'request_id': '59ac463d-aaa5-4b2f-ad31-cff52bd19b49', 'uri': '/v1/err/crit', 'user_agent': 'curl/7.51.0' Passes
Post-deploy VAPID tests Additional E2E-test which includes VAPID, encryption: https://jrconlin.github.io/Webpush_QA/ FF Android (Nightly, Release) -- OK
Post-deploy E2E Testing using docker image docker run -p 8201:8201 firefoxtesteng/autopush-e2e-test DESKTOP E2E PUSH TEST setup: start browser with new profile open: about:config set: dom.push.loglevel=debug (instead of 'off') open: Tools > WebDeveloper > BrowserConsole open: https://mozilla-services.github.io/autopush-e2e-test/ choose: "service-worker.js" click: "register Service Worker" click: "subscribe to push" observe push registration in console click: "Always Receive Notifications" (in pop-up window) 1. registration test steps: click: "XHR to webpush app-server" observe: successful registration in console 2. message delivery test setup: set: Repeat = 2 set: Delay (seconds) = 15 steps: click: "XHR to webpush app-server" observe: 2 pop notifications 15 seconds apart 3. payload test setup: set: Title = PAYLOAD TEST set: Body = BODY TEXT HERE set: TTL = 360 set: Repeat = 4 set: Delay (seconds): 20 steps: click: "XHR to webpush app-server" observe: should see delayed pop notifications with Title, Body specified 4. storage test purpose: verify that a request is stored on autopush for delayed delivery setup: (same as 3 above) steps: click: "XHR to webpush app-server wait for pop notification, then immediately close browser wait 25 seconds re-open browser observe: should see 3 more delayed messages delivered on browser restart All passed
Basic ap_loadtester scenario passed API ap_loadtest scenario passed QA verifies the deployment
Status: RESOLVED → VERIFIED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.