ansible / ansibullbot

Bot for management of Ansible issues and PRs on GitHub.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exceptions fetching non-existing migrated issues

jctanner opened this issue · comments

2020-04-06 14:03:44,448 INFO starting triage for https://github.com/ansible/ansible/issues/34174
2020-04-06 14:03:44,458 DEBUG qcounter: 1
2020-04-06 14:03:44,458 DEBUG ratelimited call #1 [<class 'ansibullbot.wrappers.issuewrapper.IssueWrapper'>] [get_comments] [4805]
2020-04-06 14:03:44,466 DEBUG qcounter: 2
2020-04-06 14:03:44,466 DEBUG ratelimited call #1 [<class 'ansibullbot.wrappers.issuewrapper.IssueWrapper'>] [load_update_fetch] [4804]
2020-04-06 14:03:44,467 DEBUG /home/ansibot/.ansibullbot/cache/ansible/ansible/issues/34174/comments.pickle
2020-04-06 14:03:44,473 DEBUG _labels == False
2020-04-06 14:03:44,480 DEBUG qcounter: 3
2020-04-06 14:03:44,481 DEBUG ratelimited call #1 [<class 'ansibullbot.wrappers.issuewrapper.IssueWrapper'>] [get_labels] [4803]
2020-04-06 14:03:44,481 INFO use cached history
2020-04-06 14:03:44,488 DEBUG qcounter: 4
2020-04-06 14:03:44,488 DEBUG ratelimited call #1 [<class 'ansibullbot.wrappers.ghapiwrapper.GithubWrapper'>] [get_repo] [4802]
2020-04-06 14:03:44,494 DEBUG qcounter: 5
2020-04-06 14:03:44,495 DEBUG ratelimited call #1 [<class 'ansibullbot.wrappers.ghapiwrapper.RepoWrapper'>] [get_repo] [4801]
2020-04-06 14:03:44,495 DEBUG Resetting dropped connection: api.github.com
2020-04-06 14:03:44,591 DEBUG https://api.github.com:443 "GET /repos/datacenter/aci-ansible HTTP/1.1" 404 None
2020-04-06 14:03:44,592 ERROR 404 {u'documentation_url': u'https://developer.github.com/v3/repos/#get', u'message': u'Not Found'}
2020-04-06 14:03:44,633 INFO object not found
2020-04-06 14:03:44,638 DEBUG Starting new HTTPS connection (1): sentry.io:443
2020-04-06 14:03:44,642 DEBUG qcounter: 6
2020-04-06 14:03:44,642 DEBUG ratelimited call #1 [<class 'ansibullbot.wrappers.ghapiwrapper.RepoWrapper'>] [get_issue] [4800]
2020-04-06 14:03:44,661 ERROR Uncaught exception
Traceback (most recent call last):
  File "/home/ansibot/ansibullbot/triage_ansible.py", line 45, in <module>
    main()
  File "/home/ansibot/ansibullbot/triage_ansible.py", line 41, in main
    AnsibleTriage(args=sys.argv[1:]).start()
  File "/home/ansibot/ansibullbot/ansibullbot/triagers/defaulttriager.py", line 156, in start
    self.loop()
  File "/home/ansibot/ansibullbot/ansibullbot/triagers/defaulttriager.py", line 267, in loop
    self.run()
  File "/home/ansibot/ansibullbot/ansibullbot/triagers/ansible.py", line 518, in run
    self.build_history(iw)
  File "/home/ansibot/ansibullbot/ansibullbot/triagers/ansible.py", line 2155, in build_history
    mi = self.get_migrated_issue(iw.migrated_from)
  File "/home/ansibot/ansibullbot/ansibullbot/triagers/ansible.py", line 2207, in get_migrated_issue
    minumber
  File "/home/ansibot/ansibullbot/ansibullbot/triagers/ansible.py", line 2222, in get_issue_by_repopath_and_number
    missue = mrepo.get_issue(number)
  File "/home/ansibot/ansibullbot/ansibullbot/decorators/github.py", line 173, in inner
    raise Exception('unhandled message type')
Exception: unhandled message type