Bug 1062479

Summary: [abrt] yum-utils: __init__.py:2160:doLock:AssertionError
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: urgent    
Version: rawhideCC: admiller, cristian.ciupitu, fedora, ffesti, ignatenko, packaging-team-maint, rjones, tim.lauridsen, vg.aetera, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/938c4ec1eef0d9a4efcee7091312021feef0f0ad
Whiteboard: abrt_hash:dd295f2fa9e45974f1f041e38a6523f216d3eacb
Fixed In Version: yum-3.4.3-137.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-28 18:30:02 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: environ none

Description Adam Williamson 2014-02-07 02:51:28 UTC
Description of problem:
Tried to use debuginfo-install on current Rawhide.

Version-Release number of selected component:
yum-utils-1.1.31-21.fc21

Additional info:
reporter:       libreport-2.1.12
cmdline:        /usr/bin/python /usr/bin/debuginfo-install gjs
dso_list:       yum-3.4.3-134.fc21.noarch
executable:     /usr/bin/debuginfo-install
kernel:         3.14.0-0.rc1.git0.3.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
__init__.py:2160:doLock:AssertionError

Traceback (most recent call last):
  File "/usr/bin/debuginfo-install", line 200, in <module>
    util = DebugInfoInstall()
  File "/usr/bin/debuginfo-install", line 57, in __init__
    self.main()
  File "/usr/bin/debuginfo-install", line 107, in main
    self.doUtilYumSetup()
  File "/usr/share/yum-cli/utils.py", line 352, in doUtilYumSetup
    self.waitForLock()
  File "/usr/share/yum-cli/cli.py", line 518, in waitForLock
    self.doLock()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2160, in doLock
    assert ret == 1
AssertionError

Local variables in innermost frame:
mypid: '14107'
self: <__main__.DebugInfoInstall object at 0x28c1cd0>
ret: 0
oldpid: 14107
lockfile: '/var/run/yum.pid'
root: '/'

Comment 1 Adam Williamson 2014-02-07 02:51:32 UTC
Created attachment 860369 [details]
File: backtrace

Comment 2 Adam Williamson 2014-02-07 02:51:33 UTC
Created attachment 860370 [details]
File: environ

Comment 3 Igor Gnatenko 2014-02-07 19:20:23 UTC
Another user experienced a similar problem:

$ sudo debuginfo-install --enablerepo koji geoclue2

reporter:       libreport-2.1.12
cmdline:        /usr/bin/python /bin/debuginfo-install --enablerepo koji geoclue2
dso_list:       yum-3.4.3-134.fc21.noarch
executable:     /bin/debuginfo-install
kernel:         3.14.0-0.rc1.git0.2.fc21.x86_64
package:        yum-utils-1.1.31-21.fc21
reason:         __init__.py:2160:doLock:AssertionError
runlevel:       N 5
type:           Python
uid:            0

Comment 4 Christian Stadelmann 2014-02-16 14:13:21 UTC
This is a bug in yum, not in yum-utils:

Downgrading yum-utils-1.1.31-20.fc20 to yum-1.1.31-18.fc20 did not work.

Downgrading yum-3.4.3-135.fc20 to yum-3.4.3-132.fc20 works. This could be used as a workaround until the bug is fixed.

Comment 5 Valentina Mukhamedzhanova 2014-02-17 10:02:04 UTC
*** Bug 1065768 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2014-02-17 16:13:47 UTC
yum-3.4.3-137.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2014-2482/yum-3.4.3-137.fc20

Comment 8 Fedora Update System 2014-02-17 16:31:55 UTC
yum-3.4.3-137.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2014-2541/yum-3.4.3-137.fc19

Comment 9 Fedora Update System 2014-02-18 13:36:58 UTC
Package yum-3.4.3-137.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-137.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2541/yum-3.4.3-137.fc19
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-02-28 18:30:02 UTC
yum-3.4.3-137.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Valentina Mukhamedzhanova 2014-03-11 10:39:31 UTC
*** Bug 1061643 has been marked as a duplicate of this bug. ***

Comment 12 Fedora Update System 2014-05-28 02:53:07 UTC
yum-3.4.3-137.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.