Please deploy autopush 1.39.0 to PRODUCTION

RESOLVED FIXED

Status

Cloud Services
Operations: Deployment Requests
RESOLVED FIXED
20 days ago
19 days ago

People

(Reporter: grumpy, Assigned: oremj)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 days ago
Please deploy autopush 1.39.0 to PRODUCTION


Chore

    allow WITH_RUST=false to disable the rust build (7da04f10)

Features

    address HTTP2 errors in APNS (acea77c5, closes #1052)
    cache SSLContexts created by ssl.wrap_socket (6dcbba20)
(Reporter)

Updated

20 days ago
Depends on: 1412913
No longer depends on: 1409010
(Reporter)

Comment 1

20 days ago
-----------------------------------------------
URL AND SENTRY CHECKS (PROD PRE-DEPLOY)
-----------------------------------------------

╰─$ py.test -v --env=production --api-version=1.38.0 tests/test_sentry.py tests/test_urls.py       1 ↵
========================================= test session starts =========================================
platform darwin -- Python 2.7.13[pypy-5.8.0-final], pytest-3.2.3, py-1.4.34, pluggy-0.4.0 -- /Users/chartjes/.local/share/virtualenvs/autopush-integration-tests-_LJXrNHM/bin/pypy
cachedir: .cache
rootdir: /Users/chartjes/rpappalax/autopush-integration-tests, inifile: tox.ini
collected 3 items

tests/test_sentry.py::test_generate_logcheck_error PASSED
tests/test_urls.py::test_health PASSED
tests/test_urls.py::test_status PASSED

{'ami_id': 'ami-877eb8ff', '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.12.228', 'request_id': 'e942f6df-696e-4a41-9ed7-dcf7b0572a5d', 'uri': '/v1/err/crit', 'user_agent': 'python-requests/2.18.4'}
(Reporter)

Comment 2

19 days ago
-----------------------------------------------
E2E-TESTS: VAPID (+Android PRE-DEPLOY)
-----------------------------------------------

Additional E2E-test which includes VAPID, encryption:
https://jrconlin.github.io/Webpush_QA/

FF Android (Nightly, Release) -- OK
(Reporter)

Comment 3

19 days ago
----------------------------
SCENARIO TESTING 
see: https://github.com/mozilla-services/ap-loadtester/
----------------------------

MULTI-SCENARIO (SOAK) TESTS

[0]. aplt_scenario basic
[1]. aplt_scenario api_test
[2]. aplt_scenario loadtest

All passed on production pre-deployment
(Reporter)

Comment 4

19 days ago
----------------------------
E2E-TESTS
----------------------------

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
(Reporter)

Comment 5

19 days ago
-------------------------------------
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
(Reporter)

Comment 6

19 days ago
-----------------------------------------------
TOPIC SERVER
-----------------------------------------------
 
Follow directions at https://github.com/jrconlin/topics using new profile in Firefox desktop release.

PASSED in pre-deployment testing
(Reporter)

Comment 7

19 days ago
QA validates current production environment (v1.38) and is prepared for production deployment of v1.39
(Reporter)

Comment 8

19 days ago
-----------------------------------------------
URL AND SENTRY CHECKS (PROD POST-DEPLOY)
-----------------------------------------------

─$ py.test -v --env=production --api-version=1.39.0 tests/test_sentry.py tests/test_urls.py                                                        1 ↵
================================================================= test session starts ==================================================================
platform darwin -- Python 2.7.13[pypy-5.8.0-final], pytest-3.2.3, py-1.4.34, pluggy-0.4.0 -- /Users/chartjes/.local/share/virtualenvs/autopush-integration-tests-_LJXrNHM/bin/pypy
cachedir: .cache
rootdir: /Users/chartjes/rpappalax/autopush-integration-tests, inifile: tox.ini
collected 3 items

tests/test_sentry.py::test_generate_logcheck_error PASSED
tests/test_urls.py::test_health PASSED
tests/test_urls.py::test_status PASSED

{'ami_id': 'ami-c57bb2bd', '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.39.182', 'request_id': '17e0b8ae-8a26-42e0-99be-d646c35f7a5f', 'uri': '/v1/err/crit', 'user_agent': 'python-requests/2.18.4'}
(Reporter)

Comment 9

19 days ago
-----------------------------------------------
E2E-TESTS: VAPID (+Android POST-DEPLOY)
-----------------------------------------------

Additional E2E-test which includes VAPID, encryption:
https://jrconlin.github.io/Webpush_QA/

FF Android (Nightly, Release) -- OK
(Reporter)

Comment 10

19 days ago
----------------------------
SCENARIO TESTING 
see: https://github.com/mozilla-services/ap-loadtester/
----------------------------

MULTI-SCENARIO (SOAK) TESTS

[0]. aplt_scenario basic
[1]. aplt_scenario api_test
[2]. aplt_scenario loadtest

All passed on production post-deployment
(Reporter)

Comment 11

19 days ago
----------------------------
E2E-TESTS
----------------------------

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 after deployment
(Reporter)

Comment 12

19 days ago
-------------------------------------
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
(Reporter)

Comment 13

19 days ago
-----------------------------------------------
TOPIC SERVER
-----------------------------------------------
 
Follow directions at https://github.com/jrconlin/topics using new profile in Firefox desktop release.

PASSED in post-deployment testing
(Reporter)

Comment 14

19 days ago
QA validates today's production push of autopush 1.39
(Assignee)

Updated

19 days ago
Status: NEW → RESOLVED
Last Resolved: 19 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.