Bug 1272757

Summary: [abrt] dnf: drpm.py:131:job_done:KeyError: 9252
Product: [Fedora] Fedora Reporter: Zdenek Chmelar <chmelarz>
Component: dnfAssignee: rpm-software-management
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, stefano.manocchio, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/d938385e8082d4fa6ff52449c7d9128c7ebbe882
Whiteboard: abrt_hash:62178486b13e405b2a8509767a6433bab8617a35;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:16:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: dso_list
none
File: environ none

Description Zdenek Chmelar 2015-10-18 14:15:00 UTC
Description of problem:
wanted to run dnf update, but dnf failed during package download

Version-Release number of selected component:
dnf-1.1.2-4.fc22

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python -OO /bin/dnf update
executable:     /bin/dnf
kernel:         4.1.8-200.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
drpm.py:131:job_done:KeyError: 9252

Traceback (most recent call last):
  File "/bin/dnf", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 198, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 144, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 173, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 212, in do_transaction
    total_cb)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 875, in download_packages
    errors = dnf.repo.download_payloads(payloads, drpm)
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 126, in download_payloads
    librepo.download_packages(targets, failfast=True)
  File "/usr/lib64/python2.7/site-packages/librepo/__init__.py", line 1505, in download_packages
    return _librepo.download_packages(list, failfast)
  File "/usr/lib/python2.7/site-packages/dnf/util.py", line 144, in new_func
    name = '%s.%s' % (args[0].__class__.__name__, fn.__name__)
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 317, in _progress_cb
    self.progress.progress(self, done)
  File "/usr/lib/python2.7/site-packages/dnf/cli/progress.py", line 69, in progress
    text = unicode(payload)
  File "/usr/lib/python2.7/site-packages/dnf/util.py", line 144, in new_func
    name = '%s.%s' % (args[0].__class__.__name__, fn.__name__)
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 317, in _progress_cb
    self.progress.progress(self, done)
  File "/usr/lib/python2.7/site-packages/dnf/cli/progress.py", line 69, in progress
    text = unicode(payload)
  File "/usr/lib/python2.7/site-packages/dnf/drpm.py", line 53, in _end_cb
    self.delta_info.enqueue(self)
  File "/usr/lib/python2.7/site-packages/dnf/drpm.py", line 158, in enqueue
    self.job_done(pid, code)
  File "/usr/lib/python2.7/site-packages/dnf/drpm.py", line 131, in job_done
    pload = self.jobs.pop(pid)
KeyError: 9252

Local variables in innermost frame:
self: <dnf.drpm.DeltaInfo object at 0x7fb5f9b6db50>
code: 0
pid: 9252

Comment 1 Zdenek Chmelar 2015-10-18 14:15:05 UTC
Created attachment 1084172 [details]
File: backtrace

Comment 2 Zdenek Chmelar 2015-10-18 14:15:07 UTC
Created attachment 1084173 [details]
File: dso_list

Comment 3 Zdenek Chmelar 2015-10-18 14:15:09 UTC
Created attachment 1084174 [details]
File: environ

Comment 4 Zdenek Chmelar 2015-10-18 14:27:41 UTC
'dnf clean all' fixed the problem.

Comment 5 smanocch 2015-10-27 11:08:19 UTC
Same problem but a 'dnf clean all' did not solve the issue.

Comment 6 Fedora Admin XMLRPC Client 2016-07-08 09:29:04 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora End Of Life 2016-07-19 18:16:08 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.