Closed Bug 1308546 Opened 8 years ago Closed 8 years ago

Please deploy autopush 1.19.0 to STAGE

Categories

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

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cloud-services-qa, Assigned: oremj)

Details

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

COMPARISONS
https://github.com/mozilla-services/autopush/compare/1.17.1...1.17.2
https://github.com/mozilla-services/autopush/compare/1.17.2...1.18.0
https://github.com/mozilla-services/autopush/compare/1.18.0...1.19.0

TAGS
https://github.com/mozilla-services/autopush/releases/tag/1.19.0
https://github.com/mozilla-services/autopush/commit/7706d1160dc08f615d507bccddcef17198667e5e

CHANGELOG
<a name="1.19.0"></a>
## 1.19.0 (2016-10-07)


#### Features

*   move Message and Registration handlers to own validated class ([ea3b48c2](https://github.com/mozilla-services/autopush/commit/ea3b48c2fa9c3fa1c554f78fe5e367935b7aa10d))
*   handle provisioned errors gracefully (#682) ([8e5f52ad](https://github.com/mozilla-services/autopush/commit/8e5f52ad36f754013ea7fb4739b94bf5634ed7f7), closes [#658](https://github.com/mozilla-services/autopush/issues/658))
*   add user record cleanup script (#677) ([9e5a95f9](https://github.com/mozilla-services/autopush/commit/9e5a95f9004046e5195273c3d4ab7b12eaa7f63c), closes [#645](https://github.com/mozilla-services/autopush/issues/645))
*   include timestamps in tests' logs (#675) ([a3c3b82a](https://github.com/mozilla-services/autopush/commit/a3c3b82a38ed3ffe07c5e07855a009232eff8b1f))
*   add a new client_certs endpoint config option ([58e0cbbd](https://github.com/mozilla-services/autopush/commit/58e0cbbd3ebd83cff149d59281a81123a01ac428))
*   add webpush topics ([0fe241bb](https://github.com/mozilla-services/autopush/commit/0fe241bb8be36aefbdaa0a4e71549fb2355f40cd), closes [#643](https://github.com/mozilla-services/autopush/issues/643))
*   Switch to new http2 based APNS protocol ([15fea87d](https://github.com/mozilla-services/autopush/commit/15fea87d4ebe2f95f226eb4dfac6296d62fff04b))

#### Chore

*   remove the wsaccel dependency on pypy (#683) ([aa047f36](https://github.com/mozilla-services/autopush/commit/aa047f36f7d13c9a9094183cfaee9a289ccd8920))
*   fix travis' virtualenv giving us an older python (#664) ([f47b7435](https://github.com/mozilla-services/autopush/commit/f47b7435429771372a3d0ab2487fe5915129686e))

#### Bug Fixes

*   assertRaises -> assert_raises ([e417325c](https://github.com/mozilla-services/autopush/commit/e417325cfa740067414f87752ee2a855d59179aa))
*   assertTrue -> eq_ ([c01eb4de](https://github.com/mozilla-services/autopush/commit/c01eb4de19f0e9fe11f24d9028950b225e3ee383))
*   assertTrue -> ok_ ([db4e6dca](https://github.com/mozilla-services/autopush/commit/db4e6dca82ad38db66d27b5221ff6dbc5e1c5d7d))
*   adapt asserts to ok/eq_ ([e9fd8a1c](https://github.com/mozilla-services/autopush/commit/e9fd8a1c1ea9ac7e50af08136c7f352fed90aea4))
*   assert -> ok_ ([9b83d9c6](https://github.com/mozilla-services/autopush/commit/9b83d9c6d577437386380eaf688b6249d892d7fc))
*   remove extra jws_err handler which caused extra write after finish ([65c7a3a5](https://github.com/mozilla-services/autopush/commit/65c7a3a5c8216c759207df6fef599446b2c7491a))
Assignee: nobody → oremj
Status: NEW → ASSIGNED
QA Contact: rpappalardo
:oremj has deployed this release to STAGE
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
----------------------------
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.19.0"
}


curl -s 'https://updates-autopush.stage.mozaws.net/status' | python -mjson.tool
{
    "status": "OK",
    "version": "1.19.0"
}
----------------------------
SENTRY ERROR CHECK
----------------------------
Check if Sentry is working...  - OK!

STAGE
https://updates-autopush.stage.mozaws.net/v1/err/crit

SENTRY
client_info	

{'ami_id': 'ami-79e60e14', 'authorization': [Filtered], 'message_ttl': '', 'remote_ip': '63.245.221.32', 'request_id': 'b1be0049-239f-42e8-9df4-0473409d2140', 'uri': '/v1/err/crit', 'user_agent': 'curl/7.43.0'}
----------------------------
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://people.mozilla.org/~ewong2/push-notification-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

5. storage test with message flood

purpose: verify that a "flood" of requests are stored on autopush for delayed delivery

setup:
(same as 3 above)
only set Flood Delay (this will trigger notification flood behavior)

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/
This can be run on desktop (Nightly).  -- OK!

NOTE:
This page can also be used to test Android, however, on STAGE senderid must be appended to path like so:
dom.push.serverURL = https://autopush.stage.mozaws.net/v1/gcm/829133274407

NOTE: unfortunately, this can only be set by creating a custom build of Firefox
----------------------------
SCENARIO TESTING 
see: https://github.com/mozilla-services/ap-loadtester/
----------------------------

MULTI-SCENARIO (SOAK) TESTS

duration: 4 hours
[1]. api_test
[2]. loadtest

Sentry errors:
244 events
TypeError: put() got an unexpected keyword argument 'router_type'

see:
https://github.com/mozilla-services/autopush/issues/687
Resolution: FIXED → WONTFIX
You need to log in before you can comment on or make changes to this bug.