If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Please deploy autopush 1.18.0 to STAGE

VERIFIED FIXED

Status

Cloud Services
Operations: Deployment Requests
VERIFIED FIXED
a year ago
a year ago

People

(Reporter: Cloud Services QA, Assigned: oremj)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

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

COMPARISONS
https://github.com/mozilla-services/autopush/compare/1.17.0...1.17.1
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

TAGS
https://github.com/mozilla-services/autopush/releases/tag/1.18.0
https://github.com/mozilla-services/autopush/commit/1d7b5a818846fc7701004368f941ea27976dc953

CHANGELOG
<a name="1.18.0"></a>
## 1.18.0 (2016-09-20)


#### Bug Fixes

*   label arguments for router.register to prevent misassignment (#648) ([b1a7e2db](https://github.com/mozilla-services/autopush/commit/b1a7e2dbbaa13369e969b404ed76c474bc0a689b))
*   Require auth header for endpoints with v2 (#659) ([ee633a50](https://github.com/mozilla-services/autopush/commit/ee633a50ad06c4d137f6b0cfb7bf7318115fbbf6))
*   log all drop_user calls with record details when possible ([21c76f17](https://github.com/mozilla-services/autopush/commit/21c76f174fcec2fcc6d958791dc489ce1f8181de), closes [#650](https://github.com/mozilla-services/autopush/issues/650))
*   return webpush style response for bridged users ([a0339bbe](https://github.com/mozilla-services/autopush/commit/a0339bbe5fcc196cdb93db7905ebb0a547c54b19), closes [#651](https://github.com/mozilla-services/autopush/issues/651))

#### Features

*   Add multiple cert handlers for APNs ([7eed1ffe](https://github.com/mozilla-services/autopush/commit/7eed1ffe3f779af44c088c9ae2792c189956ef96), closes [#655](https://github.com/mozilla-services/autopush/issues/655), breaks [#](https://github.com/mozilla-services/autopush/issues/))
*   update jwt library ([68fccf99](https://github.com/mozilla-services/autopush/commit/68fccf994b5d354bca4f3706aa5de685b5fc6900))

#### Breaking Changes

*   Add multiple cert handlers for APNs ([7eed1ffe](https://github.com/mozilla-services/autopush/commit/7eed1ffe3f779af44c088c9ae2792c189956ef96), closes [#655](https://github.com/mozilla-services/autopush/issues/655), breaks [#](https://github.com/mozilla-services/autopush/issues/))
Assignee: nobody → oremj
QA Contact: mbrandt
Status: NEW → ASSIGNED
(Assignee)

Comment 1

a year ago
1.18.0 has been deploy to STAGE without APN support. I may redeploy later today with APN support if we can get the certificates sorted out.
Status: ASSIGNED → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
(In reply to Jeremy Orem [:oremj] from comment #1)
> 1.18.0 has been deploy to STAGE without APN support. I may redeploy later
> today with APN support if we can get the certificates sorted out.

Thanks, :oremj.

we'll start testing anyway, but if you do plan on re-deploying please let us know and we'll be happy to start over  ASAP
per :oremj this shouldn't change anything
3:32:17 PM it's just for the apple stuff
3:32:24 PM which apparently isn't even implemented in the client
----------------------------
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.18.0"
}


curl -s 'https://updates-autopush.stage.mozaws.net/status' | python -mjson.tool
{
    "status": "OK",
    "version": "1.18.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
----------------------------
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': '0a230a44-4efb-4574-a652-14d1bd79f6c9', 'uri': '/v1/err/crit', 'user_agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0'}
----------------------------
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/
----------------------------

HAPPY PATH TESTS

Run the following scenario (run once x10, x50, x200 instances) - NO ERRORS

[1]. basic scenario

Run the following scenarios (run once x10 instances) - NO ERRORS

[2]. connect_and_idle_forever scenario
[3]. reconnect_forever scenario
[4]. register_forever scenario
[5]. notification_forever scenario
[6]. notification_forever_stored scenario

UNHAPPY PATH TESTS

[7]. notification_forever_unsubscribed
[8]. notification_forever_bad_tokens
[9]. notification_forever_bad_endpoints
Status: RESOLVED → VERIFIED
Blocks: 1304225
----------------------------
SCENARIO TESTING 
see: https://github.com/mozilla-services/ap-loadtester/
----------------------------

MULTI-SCENARIO (SOAK) TESTS

[1]. api_test
[2]. loadtest

Run for 2 hours - NO ERRORS
You need to log in before you can comment on or make changes to this bug.