Closed Bug 1443266 Opened 7 years ago Closed 7 years ago

Please deploy autopush 1.41.0 to PRODUCTION

Categories

(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: grumpy, Assigned: oremj)

References

Details

Please deploy Autopush 1.41 to PRODUCTION Bug Fixes have webpush router handle ClientErrors (36ad90f8, closes #1138) handle InternalServerErrors (ClientError subclass) (62cbc40a) add handler for https://sentry.prod.mozaws.net/operations/autopush-prod/issues/2277621/ (ca5f7274) Silence remaining nuisance alarms (3163e2ed) bind autopush_rs to all interfaces to match python (b53a0058, closes #1113) reverse our filled in stack trace order (73338ac7, closes #1134) make autopush_rs's ctrl-c work gracefully (624de2dc, closes #1090) Features drain pending notifications from the client rx queue (09a985a9, closes #1133) update python dependencies to the latest versions (edf99233, closes #1104)
Assignee: nobody → oremj
QA Contact: chartjes
Depends on: 1443261
URL AND SENTRY CHECKS (PROD PRE-DEPLOY) pytest -v --testrail --tr-config=tests/testrail.cfg --api-version=1.40.1 --env=production tests/test_urls.py tests/test_sentry.py ================================================ test session starts ================================================= platform darwin -- Python 2.7.10, pytest-3.0.7, py-1.5.2, pluggy-0.4.0 -- /Users/chartjes/.local/share/virtualenvs/autopush-integration-tests-_LJXrNHM/bin/python cachedir: .cache pytest-testrail: a new testrun will be created rootdir: /Users/chartjes/rpappalax/autopush-integration-tests, inifile: tox.ini plugins: variables-1.6.1, testrail-1.1.3 collected 2 items [testrail] New testrun created with name "autopush-qa" and ID=8658 tests/test_urls.py::test_status_endpoint PASSED tests/test_sentry.py::test_generate_logcheck_error PASSED[testrail] Start publishing [testrail] Testcases to publish: 10691, 10692 [testrail] End publishing Sentry reports the following details: {'ami_id': 'ami-8471f5fc', 'authorization': [Filtered], 'message_ttl': None, 'python_version': '2.7.13 (84a2f3e6a7f8, Oct 03 2017, 11:00:55) [PyPy 5.9.0 with GCC 6.2.0 20160901]', 'remote_ip': '108.160.90.26, 172.31.40.108', 'request_id': '6d4787b9-d791-4095-b9e3-fd4c201cce20', 'uri': '/v1/err/crit', 'user_agent': 'python-requests/2.14.2'} whatmyip.com reports my IP address as 108.160.90.26
E2E-TESTS: VAPID (+Android PRE-DEPLOY) Additional E2E-test which includes VAPID, encryption: https://jrconlin.github.io/Webpush_QA/ FF Android (Nightly, Release) -- OK
SCENARIO TESTING https://github.com/mozilla-services/ap-loadtester/ MULTI-SCENARIO (SOAK) TESTS [0]. aplt_scenario basic OK [1]. aplt_scenario api_test OK [2]. aplt_scenario loadtest (5 minutes) OK All passed on production pre-deployment
DESKTOP E2E PUSH TEST Install Docker, grab the image firefoxtesteng/autopush-e2e-test and then start the container using the command: docker run -p 8201:8201 firefoxtesteng/autopush-e2e-test Using a fresh profile for Firefox, go to to http://localhost:8201 * go to about:config and set dom.push.serverURL = wss://push.services.mozilla.com/ Test #1 * with 'service-worker.js' selected click on 'Register Service Worker' and see the messages: registering service worker registered service worker. scope: http://localhost:8201/ * alter the 'Title' and 'Body' fields in the Notifications Property form to unique values * click on 'pop Notification' and verify the notification contains your expected Title and Body * click on 'close Notification' and verify the notification is closed Test #2 * click on 'subscribe to push' * change values for 'repeat' and 'delay' to have at least 2 messages with at least 5 seconds between them * click on 'XHR to webpush app-server' and verify the number of messages sent and the delay between them is accurate Passes on PROD prior to deployment
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 (against PROD FxA server) - Login to 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
TOPIC SERVER Follow directions at https://github.com/jrconlin/topics using new profile in Firefox desktop release. PASSED in pre-deployment testing
QA validates autopush 1.40.1 in production, ready for deployment of v1.41.0 to PROD starting at 0900 PST
URL AND SENTRY TESTING POST-DEPLOY pytest -v --testrail --tr-config=tests/testrail.cfg --api-version=1.41.0 --env=production tests/test_urls.py tests/test_sentry.py ================================================ test session starts ================================================= platform darwin -- Python 2.7.10, pytest-3.0.7, py-1.5.2, pluggy-0.4.0 -- /Users/chartjes/.local/share/virtualenvs/autopush-integration-tests-_LJXrNHM/bin/python cachedir: .cache pytest-testrail: a new testrun will be created rootdir: /Users/chartjes/rpappalax/autopush-integration-tests, inifile: tox.ini plugins: variables-1.6.1, testrail-1.1.3 collected 2 items [testrail] New testrun created with name "autopush-qa" and ID=8659 tests/test_urls.py::test_status_endpoint PASSED tests/test_sentry.py::test_generate_logcheck_error PASSED[testrail] Start publishing [testrail] Testcases to publish: 10691, 10692 [testrail] End publishing Sentry returned the following information: {'ami_id': 'ami-6d871315', 'authorization': [Filtered], 'message_ttl': None, 'python_version': '2.7.13 (84a2f3e6a7f8, Oct 03 2017, 11:00:55) [PyPy 5.9.0 with GCC 6.2.0 20160901]', 'remote_ip': '108.160.90.26, 172.31.40.108', 'request_id': 'c90b8fc6-54d8-4c23-ba01-f8e7b4edd63b', 'uri': '/v1/err/crit', 'user_agent': 'python-requests/2.14.2'} whatsmyip.com reports my IP address as being 108.160.90.26
E2E-TESTS: VAPID (+Android POST-DEPLOY) Additional E2E-test which includes VAPID, encryption: https://jrconlin.github.io/Webpush_QA/ FF Android (Nightly, Release) -- OK
SCENARIO TESTING https://github.com/mozilla-services/ap-loadtester/ MULTI-SCENARIO (SOAK) TESTS [0]. aplt_scenario basic [1]. aplt_scenario api_test [2]. aplt_scenario loadtest (ran for 5 minutes) All passed on production post-deployment
DESKTOP E2E PUSH TEST Install Docker, grab the image firefoxtesteng/autopush-e2e-test and then start the container using the command: docker run -p 8201:8201 firefoxtesteng/autopush-e2e-test Using a fresh profile for Firefox, go to to http://localhost:8201 * go to about:config and set dom.push.serverURL = wss://push.services.mozilla.com/ Test #1 * with 'service-worker.js' selected click on 'Register Service Worker' and see the messages: registering service worker registered service worker. scope: http://localhost:8201/ * alter the 'Title' and 'Body' fields in the Notifications Property form to unique values * click on 'pop Notification' and verify the notification contains your expected Title and Body * click on 'close Notification' and verify the notification is closed Test #2 * click on 'subscribe to push' * change values for 'repeat' and 'delay' to have at least 2 messages with at least 5 seconds between them * click on 'XHR to webpush app-server' and verify the number of messages sent and the delay between them is accurate Passes on PROD post deployment
TOPIC SERVER Follow directions at https://github.com/jrconlin/topics using new profile in Firefox desktop release. PASSED in post-deplopyment testing
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 (against PROD FxA server) - Login to 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
QA validates the deployment of autopush 1.41.0 to PRODUCTION
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 1450949
No longer blocks: 1450949
You need to log in before you can comment on or make changes to this bug.