Please test autopush 1.54.2 and autopush-rs 1.54.4 on STAGE
Categories
(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)
Tracking
(Not tracked)
People
(Reporter: grumpy, Assigned: grumpy)
References
Details
QA is to test and validate autopush 1.54.2 and autopush-rs 1.54.4 in the STAGE environment:
autopush 1.54.2:
Chore
update dependencies (f8bc32dd, closes #1351)
autopush-rs 1.54.4
Chore
switch to debian buster (322ee852, closes #124)
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
URL AND SENTRY CHECKS
pytest --env=stage --api-version=1.54.2 tests/
================================================================= test session starts =================================================================
platform darwin -- Python 2.7.16, pytest-3.5.0, py-1.5.2, pluggy-0.6.0 -- /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
cachedir: .pytest_cache
rootdir: /Users/chartjes/mozilla-services/autopush-integration-tests, inifile: tox.ini
collected 2 items
tests/test_sentry.py::test_generate_logcheck_error PASSED [ 50%]
tests/test_urls.py::test_status_endpoint PASSED
Sentry reported the logcheck error that was deliberately generated. It reported the following details:
{'ami_id': 'ami-09a34f0a814369096', '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.53.229', 'request_id': 'b3ab2bec-1b81-4500-b7d4-771987929d88', 'uri': '/v1/err/crit', 'user_agent': 'python-requests/2.18.4'}
whatsmyip.com reports my IP address as 108.160.90.26
Assignee | ||
Comment 2•5 years ago
|
||
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 on stage
Assignee | ||
Comment 3•5 years ago
|
||
E2E-TESTS: VAPID (+Android)
Test succeeds on STAGE.
Additional E2E-test which includes VAPID, encryption:
https://jrconlin.github.io/Webpush_QA/
Android (Nightly, Release) -- PASS
NOTE:
This page can also be used to test Android, however,
on STAGE / PROD gcm path + senderID must be appended (see below).
oremj> the sender ids are 965234145045 and 829133274407 (for both STAGE & PROD)
STAGE:
dom.push.serverURL = https://updates-autopush.stage.mozaws.net/v1/gcm/829133274407
PROD:
dom.push.serverURL = https://updates.push.services.mozilla.com/v1/gcm/829133274407
unlike paths for desktop (uses sockets):
STAGE:
dom.push.serverURL = wss://autopush.stage.mozaws.net/
PROD:
dom.push.serverURL = wss://push.services.mozilla.com/
Assignee | ||
Comment 4•5 years 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://autopush.stage.mozaws.net
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
Assignee | ||
Comment 5•5 years ago
|
||
FCM/GCM Testing on Android
Using an Android device with Firefox configured to point to the staging push server, the following page was loaded and the instructions followed to verify functionality:
https://mozilla-services.github.io/WebPushDataTestPage
PASS on stage
Assignee | ||
Comment 6•5 years ago
|
||
QA validates autopush 1.54.2 and autopush-rs 1.54.4 on STAGE
Updated•5 years ago
|
Description
•