Bug 1147992

Summary: __init__.py:2190:doLock:AssertionError
Product: Red Hat Enterprise Linux 7 Reporter: David Jaša <djasa>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED ERRATA QA Contact: Karel Srot <ksrot>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: james.antill, ksrot, mcsontos, psklenar, rhack, vmukhame
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1671276a7f8becc72956da4c93c202e1305c87e0
Fixed In Version: yum-3.4.3-123.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 09:04:14 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
File: sosreport.tar.xz none

Description David Jaša 2014-09-30 13:37:00 UTC
Description of problem:
debuginfo-install <package> throws this exception frequently on my box

Version-Release number of selected component:
yum-utils-1.1.31-26.el7

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python /bin/debuginfo-install polkit
dso_list:       yum-3.4.3-120.el7.noarch
executable:     /bin/debuginfo-install
kernel:         3.10.0-167.el7.x86_64
runlevel:       N 5
type:           Python
uid:            0

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

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

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

Comment 1 David Jaša 2014-09-30 13:37:02 UTC
Created attachment 942714 [details]
File: backtrace

Comment 2 David Jaša 2014-09-30 13:37:03 UTC
Created attachment 942715 [details]
File: environ

Comment 3 David Jaša 2014-09-30 13:37:37 UTC
Created attachment 942716 [details]
File: sosreport.tar.xz

Comment 5 Valentina Mukhamedzhanova 2014-09-30 15:09:39 UTC
This is fixed in upstream - http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=221d46dde594ca9b69915ac128fc1a9a19f984a1

Comment 6 Marian Csontos 2014-11-05 10:58:12 UTC
Is there a workaround except of monkey-patching yum?

Ability to install debuinfo files is crucial for developers debugging problems. Proposing a blocker flag.

Comment 9 Valentina Mukhamedzhanova 2014-11-10 11:06:12 UTC
*** Bug 1159230 has been marked as a duplicate of this bug. ***

Comment 11 Petr Sklenar 2014-11-11 10:43:04 UTC
*** Bug 1162533 has been marked as a duplicate of this bug. ***

Comment 12 Valentina Mukhamedzhanova 2014-11-27 07:55:29 UTC
*** Bug 1156358 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2015-03-05 09:04:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0398.html