RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1147992 - __init__.py:2190:doLock:AssertionError
Summary: __init__.py:2190:doLock:AssertionError
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum
Version: 7.0
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: Karel Srot
URL:
Whiteboard: abrt_hash:1671276a7f8becc72956da4c93c...
: 1156358 1159230 1162533 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-30 13:37 UTC by David Jaša
Modified: 2015-03-05 09:04 UTC (History)
6 users (show)

Fixed In Version: yum-3.4.3-123.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 09:04:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
File: backtrace (759 bytes, text/plain)
2014-09-30 13:37 UTC, David Jaša
no flags Details
File: environ (2.30 KB, text/plain)
2014-09-30 13:37 UTC, David Jaša
no flags Details
File: sosreport.tar.xz (7.70 MB, application/octet-stream)
2014-09-30 13:37 UTC, David Jaša
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0398 0 normal SHIPPED_LIVE yum bug fix update 2015-03-05 14:00:27 UTC

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


Note You need to log in before you can comment on or make changes to this bug.