Please deploy autopush 1.30.0 to STAGE

VERIFIED FIXED

Status

Cloud Services
Operations: Autopush
VERIFIED FIXED
9 months ago
9 months ago

People

(Reporter: rpapa, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

------------------
RELEASE NOTES
------------------
https://github.com/mozilla-services/autopush/releases

COMPARISONS
https://github.com/mozilla-services/autopush/compare/1.28.0...1.29.0
https://github.com/mozilla-services/autopush/compare/1.29.0...1.29.1
https://github.com/mozilla-services/autopush/compare/1.29.1...1.30.0

TAGS
https://github.com/mozilla-services/autopush/releases/tag/1.30.0
https://github.com/mozilla-services/autopush/commit/6b859715f8b5bc7b98e3908c370ff607f4dfedde

CHANGELOG
<a name="1.30.0"></a>
## 1.30.0 (2017-05-17)


#### Refactor

*   rearrange main around app (MultiService) objects ([67742632](https://github.com/mozilla-services/autopush/commit/677426327df9651000c34b01c4be9641e573cbd2))

#### Features

*   handle JSONResponse errors like provisioned errors ([b70a47fe](https://github.com/mozilla-services/autopush/commit/b70a47fe709e8d6ebc60bd68f3f01e414ed0ff20), closes [#744](https://github.com/mozilla-services/autopush/issues/744))
*   add session log summary on connection close ([b18ce53e](https://github.com/mozilla-services/autopush/commit/b18ce53e1566cb53d05954c5465fe0e539139e52), closes [#448](https://github.com/mozilla-services/autopush/issues/448))
*   update parquet schema for unified parquet logging ([c3047e13](https://github.com/mozilla-services/autopush/commit/c3047e1331748a91323faee256c738e91e34cd3a), closes [#888](https://github.com/mozilla-services/autopush/issues/888))
*   temporarily allow aps data via registration message ([4d60b071](https://github.com/mozilla-services/autopush/commit/4d60b071629155649c5f4dd5e13da8659e12d1d1))
:oremj has deployed this release to STAGE

----------------------------
URL CHECKS (STAGE)
----------------------------

curl -s 'https://updates-autopush.stage.mozaws.net/health' | python -mjson.tool
{
    "clients": 0,
    "stage.autopush.routerv2": {
        "status": "OK"
    },
    "stage.autopush.storage": {
        "status": "OK"
    },
    "status": "OK",
    "version": "1.30.0"
}


curl -s 'https://updates-autopush.stage.mozaws.net/status' | python -mjson.tool
{
    "status": "OK",
    "version": "1.30.0"
}
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → FIXED
Summary: Please deploy autopush 1.30.1 to STAGE → Please deploy autopush 1.30.0 to STAGE
--------------------------------
SENTRY TEST
--------------------------------

MY IP: 67.23.203.6


updates-autopush.stage.mozaws.net
{
    "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-1948310f', 'authorization': [Filtered], 'message_ttl': None, 'python_version': '2.7.12 (aff251e54385, Nov 09 2016, 18:02:49)
[PyPy 5.6.0 with GCC 4.8.2]', 'remote_ip': '67.23.203.6, 172.31.58.172', 'request_id': '53660990-608f-4ce1-8c68-46bd4b4521a3', 'uri': '/v1/err/crit', 'user_agent': 'curl/7.51.0'}
--------------------------------
E2E TEST: TOPICS
--------------------------------

Additional E2E-test which includes testing of notification bundling for stored messages
https://github.com/jrconlin/topics - follow README

Desktop (Nightly).  -- OK!
Android -- Not Yet Implemented (per :jrconlin)
----------------------------
E2E-TESTS
----------------------------

setting STAGE config to:
dom.push.serverURL = autopush.stage.mozaws.net

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
----------------------------
E2E-TESTS: VAPID (+Android)
----------------------------

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

Desktop (Nightly)  -- OK
Android (Nightly) -- OK

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/
----------------------------
SCENARIO TESTING 
see: https://github.com/mozilla-services/ap-loadtester/
----------------------------

MULTI-SCENARIO (SOAK) TESTS

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

run ~15 minutes, no errors
----------------------------
SUMMARY
----------------------------

All e2e and API tests passing -- OK

Verifying STAGE.
Status: RESOLVED → VERIFIED
Blocks: 1366883
You need to log in before you can comment on or make changes to this bug.