Closed Bug 1581904 Opened 6 years ago Closed 6 years ago

Please deploy and test autopush 1.54.1 on PRODUCTION

Categories

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

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: grumpy, Assigned: grumpy)

References

Details

Bug Fixes

Handle FCM client not available (7c63c14e, closes #1348)

Assignee: nobody → chartjes
Depends on: 1581895
No longer depends on: 1499447

URL AND SENTRY CHECKS

pytest -v --env=production --api-version=1.54.1 tests/

tests/test_sentry.py::test_generate_logcheck_error PASSED
tests/test_urls.py::test_status_endpoint PASSED

Sentry notification generated and manually resolved.

Sentry reported the following information:

{'ami_id': 'ami-0b5ebe6ae58642397', 'authorization': [Filtered], 'message_ttl': None, 'python_version': '2.7.13 (8cdda8b8cdb8, Apr 14 2019, 14:06:44)
[PyPy 7.1.1 with GCC 6.2.0 20160901]', 'remote_ip': '108.160.90.26, 172.31.12.126', 'request_id': '4f31d788-fec5-4d04-8fd4-7a9cd48f9fdf', 'uri': '/v1/err/crit', 'user_agent': 'python-requests/2.21.0'}

whatsmyip.com reports my IP address as 108.160.90.26

PASS

E2E-TESTS: VAPID (+Android)

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

FF Android (Nightly, Release) -- PASS

SCENARIO TESTING

https://github.com/mozilla-services/ap-loadtester/

MULTI-SCENARIO (SOAK) TESTS

[0]. aplt_scenario basic PASS
[1]. aplt_scenario api_test PASS
[2]. aplt_scenario loadtest (5 minute duration) PASS

DESKTOP E2E PUSH TEST

Install Docker, grab the image firefoxtesteng/autopush-e2e-test and then start the container using the command:

docker run -d -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

PASS

E2E TEST: TOPICS

Additional E2E-test which includes testing of notification bundling for stored messages

Install Docker, grab the image chartjes/topicserver-tests and then start the container using the command:

docker run -d -p 8200:8200 chartjes/topicserver-tests

Start Firefox with a clean profile

Set dom.push.serverURL to wss://autopush.stage.mozaws.net/

Go to http://localhost:8200

Follow the instructions on the web page

Desktop (Release). -- PASS

QA validates 1.54.1 in production

Flags: needinfo?(oremj)
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(oremj)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.