{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1368","repository_url":"https://api.github.com/repos/mozilla/fxa-auth-server","labels_url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1368/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1368/comments","events_url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1368/events","html_url":"https://github.com/mozilla/fxa-auth-server/issues/1368","id":167658865,"number":1368,"title":"Reenable push e2e tests","user":{"login":"vladikoff","id":128755,"avatar_url":"https://avatars.githubusercontent.com/u/128755?v=3","gravatar_id":"","url":"https://api.github.com/users/vladikoff","html_url":"https://github.com/vladikoff","followers_url":"https://api.github.com/users/vladikoff/followers","following_url":"https://api.github.com/users/vladikoff/following{/other_user}","gists_url":"https://api.github.com/users/vladikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/vladikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladikoff/subscriptions","organizations_url":"https://api.github.com/users/vladikoff/orgs","repos_url":"https://api.github.com/users/vladikoff/repos","events_url":"https://api.github.com/users/vladikoff/events{/privacy}","received_events_url":"https://api.github.com/users/vladikoff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/fxa-auth-server/labels/waffle:active","name":"waffle:active","color":"ededed"},{"url":"https://api.github.com/repos/mozilla/fxa-auth-server/labels/%E2%9D%A4","name":"❤","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"vladikoff","id":128755,"avatar_url":"https://avatars.githubusercontent.com/u/128755?v=3","gravatar_id":"","url":"https://api.github.com/users/vladikoff","html_url":"https://github.com/vladikoff","followers_url":"https://api.github.com/users/vladikoff/followers","following_url":"https://api.github.com/users/vladikoff/following{/other_user}","gists_url":"https://api.github.com/users/vladikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/vladikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladikoff/subscriptions","organizations_url":"https://api.github.com/users/vladikoff/orgs","repos_url":"https://api.github.com/users/vladikoff/repos","events_url":"https://api.github.com/users/vladikoff/events{/privacy}","received_events_url":"https://api.github.com/users/vladikoff/received_events","type":"User","site_admin":false},"assignees":[{"login":"vladikoff","id":128755,"avatar_url":"https://avatars.githubusercontent.com/u/128755?v=3","gravatar_id":"","url":"https://api.github.com/users/vladikoff","html_url":"https://github.com/vladikoff","followers_url":"https://api.github.com/users/vladikoff/followers","following_url":"https://api.github.com/users/vladikoff/following{/other_user}","gists_url":"https://api.github.com/users/vladikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/vladikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladikoff/subscriptions","organizations_url":"https://api.github.com/users/vladikoff/orgs","repos_url":"https://api.github.com/users/vladikoff/repos","events_url":"https://api.github.com/users/vladikoff/events{/privacy}","received_events_url":"https://api.github.com/users/vladikoff/received_events","type":"User","site_admin":false},{"login":"kitcambridge","id":243830,"avatar_url":"https://avatars.githubusercontent.com/u/243830?v=3","gravatar_id":"","url":"https://api.github.com/users/kitcambridge","html_url":"https://github.com/kitcambridge","followers_url":"https://api.github.com/users/kitcambridge/followers","following_url":"https://api.github.com/users/kitcambridge/following{/other_user}","gists_url":"https://api.github.com/users/kitcambridge/gists{/gist_id}","starred_url":"https://api.github.com/users/kitcambridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitcambridge/subscriptions","organizations_url":"https://api.github.com/users/kitcambridge/orgs","repos_url":"https://api.github.com/users/kitcambridge/repos","events_url":"https://api.github.com/users/kitcambridge/events{/privacy}","received_events_url":"https://api.github.com/users/kitcambridge/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mozilla/fxa-auth-server/milestones/39","html_url":"https://github.com/mozilla/fxa-auth-server/milestones/FxA-0:%20quality","labels_url":"https://api.github.com/repos/mozilla/fxa-auth-server/milestones/39/labels","id":1265652,"number":39,"title":"FxA-0: quality","description":"An ongoing milestone into which we can schedule maintenance tasks, tech-debt paydown, and other code-quality-related issues.","creator":{"login":"rfk","id":34695,"avatar_url":"https://avatars.githubusercontent.com/u/34695?v=3","gravatar_id":"","url":"https://api.github.com/users/rfk","html_url":"https://github.com/rfk","followers_url":"https://api.github.com/users/rfk/followers","following_url":"https://api.github.com/users/rfk/following{/other_user}","gists_url":"https://api.github.com/users/rfk/gists{/gist_id}","starred_url":"https://api.github.com/users/rfk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfk/subscriptions","organizations_url":"https://api.github.com/users/rfk/orgs","repos_url":"https://api.github.com/users/rfk/repos","events_url":"https://api.github.com/users/rfk/events{/privacy}","received_events_url":"https://api.github.com/users/rfk/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":38,"state":"open","created_at":"2015-08-21T02:49:49Z","updated_at":"2016-09-06T04:21:28Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-07-26T16:59:19Z","updated_at":"2016-09-06T21:21:14Z","closed_at":null,"body":"There is a problem where push returns status 410 instead of 201 for some subscriptions.\r\nNeed to investigate that\r\n\r\n```\r\n[13:53:50]  <vladikoff>\tjrconlin, I'm running our e2e push tests and getting inconsistent responses like this: https://gist.github.com/vladikoff/eab910a3721c46308b9f94151c48b4a3\r\n[13:55:10]  <vladikoff>\tjrconlin, this uses the same channel id, with new subscriptions https://github.com/mozilla/fxa-auth-server/blob/master/test/e2e/push_tests.js#L34 (same public and auth key though)\r\n[13:55:46]  <jrconlin>\tvladikoff: are each of those using new subscriptions? In other words, are you requesting a new endpoint, getting it back and then getting a 410 response off of it immediately?\r\n[13:56:07]  <vladikoff>\tjrconlin, \"are each of those using new subscriptions?\" ->yes\r\n[13:56:18]  <jrconlin>\thrm.\r\n[13:57:01]  <vladikoff>\tjrconlin, gonna try to set a pause after i get a subscription \r\n[13:57:02]  <jrconlin>\twonder if there might be a delay in dynamodb. \r\n[14:06:33]  <jrconlin>\tvladikoff: Can you also print the URL if you get a 410 back?\r\n[14:06:47]  <vladikoff>\tjrconlin, sure, sec\r\n[14:08:15]  <vladikoff>\tjrconlin, adding a 5 or 20 sec delay doesn't help\r\n[14:08:21]  <jrconlin>\tAlso, a bit confused by that test code. You're hardcoding the channelid (ok) and keys (also, ok) but you're using the server provided. \"id\" is something for your side, it's not the UAID, right?\r\n[14:09:27]  <vladikoff>\tjrconlin, with URLS https://gist.github.com/vladikoff/fe6aed82c90abf24995071f455a2b168\r\n[14:10:15]  <vladikoff>\tjrconlin, the 'id' is a device id, not used in Push\r\n[14:10:20]  <jrconlin>\tok, good.\r\n[14:22:34]  <vladikoff>\tjrconlin, i reverted to an older version of the test that didn't use the crypto / payload bits, and that one worked properly.\r\n[14:23:00]  <vladikoff>\tjrconlin, but the new stuff with keys seems to be throwing 410 sometimes\r\n[14:23:43]  <jrconlin>\thuh, odd.\r\n[14:41:02]  <jrconlin>\tvladikoff: Are you hitting prod or stage? \r\n[14:41:09]  <vladikoff>\tjrconlin, prod\r\n[14:41:11]  <jrconlin>\tok\r\n[14:41:23]  <vladikoff>\tjrconlin, i can try stage, url?\r\n[14:41:37]  <jrconlin>\tNo difference right now. We  just pushed\r\n[14:42:49]  <jrconlin>\tWhat looks like is happening is that you're fetching the endpoint, and then the endpoint is being immediately unsubscribed. \r\n[14:43:14]  <jrconlin>\tYou're kind of using a non-standard method to call the API, so we're trying to figure out how that's happening.\r\n```"},"comment":{"url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/comments/245096137","html_url":"https://github.com/mozilla/fxa-auth-server/issues/1368#issuecomment-245096137","issue_url":"https://api.github.com/repos/mozilla/fxa-auth-server/issues/1368","id":245096137,"user":{"login":"vladikoff","id":128755,"avatar_url":"https://avatars.githubusercontent.com/u/128755?v=3","gravatar_id":"","url":"https://api.github.com/users/vladikoff","html_url":"https://github.com/vladikoff","followers_url":"https://api.github.com/users/vladikoff/followers","following_url":"https://api.github.com/users/vladikoff/following{/other_user}","gists_url":"https://api.github.com/users/vladikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/vladikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladikoff/subscriptions","organizations_url":"https://api.github.com/users/vladikoff/orgs","repos_url":"https://api.github.com/users/vladikoff/repos","events_url":"https://api.github.com/users/vladikoff/events{/privacy}","received_events_url":"https://api.github.com/users/vladikoff/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T21:21:14Z","updated_at":"2016-09-06T21:21:14Z","body":"ping  @kitcambridge"}}
{"actor":{"display_login":"vladikoff"}}