{"action":"closed","issue":{"url":"https://api.github.com/repos/psss/did/issues/34","labels_url":"https://api.github.com/repos/psss/did/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/psss/did/issues/34/comments","events_url":"https://api.github.com/repos/psss/did/issues/34/events","html_url":"https://github.com/psss/did/issues/34","id":107491009,"number":34,"title":"error getting gerrit  items","user":{"login":"ibarkan-redhat","id":11914529,"avatar_url":"https://avatars.githubusercontent.com/u/11914529?v=3","gravatar_id":"","url":"https://api.github.com/users/ibarkan-redhat","html_url":"https://github.com/ibarkan-redhat","followers_url":"https://api.github.com/users/ibarkan-redhat/followers","following_url":"https://api.github.com/users/ibarkan-redhat/following{/other_user}","gists_url":"https://api.github.com/users/ibarkan-redhat/gists{/gist_id}","starred_url":"https://api.github.com/users/ibarkan-redhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibarkan-redhat/subscriptions","organizations_url":"https://api.github.com/users/ibarkan-redhat/orgs","repos_url":"https://api.github.com/users/ibarkan-redhat/repos","events_url":"https://api.github.com/users/ibarkan-redhat/events{/privacy}","received_events_url":"https://api.github.com/users/ibarkan-redhat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-21T11:21:12Z","updated_at":"2015-09-22T09:13:26Z","closed_at":"2015-09-22T09:13:26Z","body":"[DEBUG] url = https://gerrit.ovirt.org/changes/I9348a09e331195695c16862ef986df3b4abfa991/detail#/\r\n[DEBUG] changelog = {u'status': u'NEW', u'topic': u'tc-tests', u'updated': u'2015-09-21 09:45:34.676000000', u'insertions': 49, u'messages': [{u'date': u'2015-09-21 08:58:42.371000000', u'_revision_number': 1, u'message': u'Uploaded patch set 1.', u'id': u'499865f5_1706631f', u'author': {u'username': u'ibarkan', u'email': u'ibarkan@redhat.com', u'name': u'Ido Barkan', u'_account_id': 1000618}}, {u'date': u'2015-09-21 08:58:59.549000000', u'_revision_number': 1, u'message': u\"Patch Set 1:\\n\\n* Update tracker::IGNORE, no Bug-Url found\\n* Check Bug-Url::WARN, no bug url found, make sure header matches 'Bug-Url: ' and is a valid url.\\n* Check merged to previous::IGNORE, Not in stable branch (['ovirt-3.5', 'ovirt-3.4', 'ovirt-3.3'])\", u'id': u'499865f5_171f4359', u'author': {u'username': u'gerrit-hooks', u'email': u'automation@ovirt.org', u'name': u'gerrit-hooks', u'_account_id': 1000458}}, {u'date': u'2015-09-21 09:40:59.984000000', u'_revision_number': 1, u'message': u'Patch Set 1:\\n\\nBuild Started  -> http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc22-x86_64/687/', u'id': u'499865f5_97519363', u'author': {u'username': u'jenkins', u'name': u'Jenkins CI', u'_account_id': 1000132}}, {u'date': u'2015-09-21 09:45:34.676000000', u'_revision_number': 1, u'message': u'Patch Set 1: Continuous-Integration-1\\n\\nBuild Failed \\n\\nhttp://jenkins.ovirt.org/job/vdsm_master_check-patch-fc22-x86_64/687/ : FAILURE', u'id': u'499865f5_77d5e7b4', u'author': {u'username': u'jenkins', u'name': u'Jenkins CI', u'_account_id': 1000132}}], u'created': u'2015-09-21 08:58:42.371000000', u'change_id': u'I9348a09e331195695c16862ef986df3b4abfa991', u'labels': {u'Continuous-Integration': {u'default_value': 0, u'all': [{u'username': u'osvoboda', u'name': u'Ond\\u0159ej Svoboda', u'_account_id': 1000529, u'value': 0, u'date': u'2015-09-21 09:07:09.728000000', u'email': u'osvoboda@redhat.com'}, {u'date': u'2015-09-21 09:45:34.676000000', u'username': u'jenkins', u'name': u'Jenkins CI', u'value': -1, u'_account_id': 1000132}, {u'username': u'gerrit-hooks', u'email': u'automation@ovirt.org', u'name': u'gerrit-hooks', u'value': 0, u'_account_id': 1000458}, {u'username': u'phoracek', u'name': u'Petr Hor\\xe1\\u010dek', u'_account_id': 1000595, u'value': 0, u'date': u'2015-09-21 09:07:07.137000000', u'email': u'phoracek@redhat.com'}], u'values': {u' 0': u'Did not run yet', u'-1': u'Failed CI tests', u'+1': u'Passed CI tests'}, u'rejected': {u'username': u'jenkins', u'name': u'Jenkins CI', u'_account_id': 1000132}}, u'Verified': {u'default_value': 0, u'all': [{u'username': u'osvoboda', u'email': u'osvoboda@redhat.com', u'name': u'Ond\\u0159ej Svoboda', u'value': 0, u'_account_id': 1000529}, {u'username': u'jenkins', u'name': u'Jenkins CI', u'value': 0, u'_account_id': 1000132}, {u'username': u'gerrit-hooks', u'name': u'gerrit-hooks', u'_account_id': 1000458, u'value': 0, u'date': u'2015-09-21 08:58:59.549000000', u'email': u'automation@ovirt.org'}, {u'username': u'phoracek', u'email': u'phoracek@redhat.com', u'name': u'Petr Hor\\xe1\\u010dek', u'value': 0, u'_account_id': 1000595}], u'values': {u' 0': u'No score', u'-1': u'Fails', u'+1': u'Verified'}}, u'Code-Review': {u'default_value': 0, u'all': [{u'username': u'osvoboda', u'email': u'osvoboda@redhat.com', u'name': u'Ond\\u0159ej Svoboda', u'value': 0, u'_account_id': 1000529}, {u'username': u'jenkins', u'name': u'Jenkins CI', u'value': 0, u'_account_id': 1000132}, {u'username': u'gerrit-hooks', u'email': u'automation@ovirt.org', u'name': u'gerrit-hooks', u'value': 0, u'_account_id': 1000458}, {u'username': u'phoracek', u'email': u'phoracek@redhat.com', u'name': u'Petr Hor\\xe1\\u010dek', u'value': 0, u'_account_id': 1000595}], u'values': {u'+2': u'Looks good to me, approved', u' 0': u'No score', u'-1': u\"I would prefer that you didn't submit this\", u'+1': u'Looks good to me, but someone else must approve', u'-2': u'Do not submit'}}}, u'deletions': 2, u'project': u'vdsm', u'owner': {u'username': u'ibarkan', u'email': u'ibarkan@redhat.com', u'name': u'Ido Barkan', u'_account_id': 1000618}, u'permitted_labels': {}, u'mergeable': False, u'branch': u'master', u'removable_reviewers': [], u'_sortkey': u'0037f3890000b571', u'_number': 46449, u'id': u'vdsm~master~I9348a09e331195695c16862ef986df3b4abfa991', u'subject': u'net: tests: test tc upper limit using iperf'}\r\n[DEBUG] changes.messages = [{u'_revision_number': 1,\r\n  u'author': {u'_account_id': 1000618,\r\n              u'email': u'ibarkan@redhat.com',\r\n              u'name': u'Ido Barkan',\r\n              u'username': u'ibarkan'},\r\n  u'date': u'2015-09-21 08:58:42.371000000',\r\n  u'id': u'499865f5_1706631f',\r\n  u'message': u'Uploaded patch set 1.'},\r\n {u'_revision_number': 1,\r\n  u'author': {u'_account_id': 1000458,\r\n              u'email': u'automation@ovirt.org',\r\n              u'name': u'gerrit-hooks',\r\n              u'username': u'gerrit-hooks'},\r\n  u'date': u'2015-09-21 08:58:59.549000000',\r\n  u'id': u'499865f5_171f4359',\r\n  u'message': u\"Patch Set 1:\\n\\n* Update tracker::IGNORE, no Bug-Url found\\n* Check Bug-Url::WARN, no bug url found, make sure header matches 'Bug-Url: ' and is a valid url.\\n* Check merged to previous::IGNORE, Not in stable branch (['ovirt-3.5', 'ovirt-3.4', 'ovirt-3.3'])\"},\r\n {u'_revision_number': 1,\r\n  u'author': {u'_account_id': 1000132,\r\n              u'name': u'Jenkins CI',\r\n              u'username': u'jenkins'},\r\n  u'date': u'2015-09-21 09:40:59.984000000',\r\n  u'id': u'499865f5_97519363',\r\n  u'message': u'Patch Set 1:\\n\\nBuild Started  -> http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc22-x86_64/687/'},\r\n {u'_revision_number': 1,\r\n  u'author': {u'_account_id': 1000132,\r\n              u'name': u'Jenkins CI',\r\n              u'username': u'jenkins'},\r\n  u'date': u'2015-09-21 09:45:34.676000000',\r\n  u'id': u'499865f5_77d5e7b4',\r\n  u'message': u'Patch Set 1: Continuous-Integration-1\\n\\nBuild Failed \\n\\nhttp://jenkins.ovirt.org/job/vdsm_master_check-patch-fc22-x86_64/687/ : FAILURE'}]\r\nTraceback (most recent call last):\r\n  File \"/home/ibarkan/pycharm-community-4.5.3/helpers/pydev/pydevd.py\", line 2358, in <module>\r\n    globals = debugger.run(setup['file'], None, None, is_module)\r\n  File \"/home/ibarkan/pycharm-community-4.5.3/helpers/pydev/pydevd.py\", line 1778, in run\r\n    pydev_imports.execfile(file, globals, locals)  # execute the script\r\n  File \"/usr/bin/did\", line 36, in <module>\r\n    did.cli.main()\r\n  File \"/usr/lib/python2.7/site-packages/did/cli.py\", line 183, in main\r\n    user_stats.check()\r\n  File \"/usr/lib/python2.7/site-packages/did/stats.py\", line 135, in check\r\n    stat.check()\r\n  File \"/usr/lib/python2.7/site-packages/did/stats.py\", line 135, in check\r\n    stat.check()\r\n  File \"/usr/lib/python2.7/site-packages/did/stats.py\", line 80, in check\r\n    self.fetch()\r\n  File \"/usr/lib/python2.7/site-packages/did/plugins/gerrit.py\", line 277, in fetch\r\n    if 'author' in chg and owner == chg['author']['email'] and \\\r\nKeyError: 'email'"}}