#12 fix upgradepath
Closed: Fixed Opened by tflink.

I did a run of upgradepath against f22-updates-pending in taskotron-dev after bodhi was upgraded.

[[http://taskotron-dev.fedoraproject.org/taskmaster/builders/x86_64/builds/68164|Job that was run]]

It blows up, with an ending of:

[upgradepath:upgradepath.py:441] 2015-08-20 04:25:22 DEBUG   Checking: dgit-1.0-1.fc22
[libtaskotron:logger.py:98] 2015-08-20 04:25:23 CRITICAL Traceback (most recent call last):
  File "/usr/bin/runtask", line 9, in <module>
    load_entry_point('libtaskotron==0.3.21', 'console_scripts', 'runtask')()
  File "/usr/lib/python2.7/site-packages/libtaskotron/runner.py", line 272, in main
    task_runner.run()
  File "/usr/lib/python2.7/site-packages/libtaskotron/runner.py", line 65, in run
    self.do_actions()
  File "/usr/lib/python2.7/site-packages/libtaskotron/runner.py", line 156, in do_actions
    self.do_single_action(action)
  File "/usr/lib/python2.7/site-packages/libtaskotron/runner.py", line 127, in do_single_action
    self.envdata)
  File "/usr/lib/python2.7/site-packages/libtaskotron/directives/python_directive.py", line 214, in process
    output = self.execute(task, method_name, input_data)
  File "/usr/lib/python2.7/site-packages/libtaskotron/directives/python_directive.py", line 155, in execute
    output = task_method(**kwargs)
  File "upgradepath.py", line 634, in main
    tapout = upgradepath.run_once(args.koji_tag)
  File "upgradepath.py", line 556, in run_once
    tag_builds, detail, check_pending=True)
  File "upgradepath.py", line 161, in compare
    proposed_build['name'], tag_tuple)
  File "upgradepath.py", line 280, in check_pending_request
    if build['package']['name'] == pkgname]
KeyError: 'package'

Figure out why it's not working and fix it


We had an old build of upgradepath on the server. Resolved.

Metadata