Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1069099

Summary: [abrt] createrepo: sqlitecachec.py:54:getFilelists:TypeError: Parsing filelists.xml error: Premature end of data in tag file line 9906
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Dolezal <todoleza>
Component: createrepoAssignee: James Antill <james.antill>
Status: CLOSED CANTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: james.antill, me
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:52c85284750eb44f4bdab1399ed84559555996eb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-12 06:56:42 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 Tomas Dolezal 2014-02-24 08:18:31 UTC
Description of problem:
`yum upgrade` with yum-plugin-local-1.1.31-23.el7.noarch

Version-Release number of selected component:
createrepo-0.9.9-22.el7

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python -t /usr/share/createrepo/genpkgmetadata.py --quiet --database --update --unique-md-filenames /var/lib/yum/plugins/local
dso_list:       yum-metadata-parser-1.1.4-10.el7.x86_64
executable:     /usr/share/createrepo/genpkgmetadata.py
kernel:         3.10.0-86.el7.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
sqlitecachec.py:54:getFilelists:TypeError: Parsing filelists.xml error: Premature end of data in tag file line 9906


Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 294, in <module>
    main(sys.argv[1:])
  File "/usr/share/createrepo/genpkgmetadata.py", line 272, in main
    mdgen.doRepoMetadata()
  File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 980, in doRepoMetadata
    rp.getFilelists(complete_path, csum)
  File "/usr/lib64/python2.7/site-packages/sqlitecachec.py", line 54, in getFilelists
    self.repoid))
TypeError: Parsing filelists.xml error: Premature end of data in tag file line 9906


Local variables in innermost frame:
checksum: 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
self: <sqlitecachec.RepodataParserSqlite instance at 0x2f0f488>
location: '/var/lib/yum/plugins/local/.repodata/filelists.xml.gz'

Comment 1 Tomas Dolezal 2014-02-24 08:18:35 UTC
Created attachment 866891 [details]
File: backtrace

Comment 2 Tomas Dolezal 2014-02-24 08:18:37 UTC
Created attachment 866892 [details]
File: environ

Comment 4 James Antill 2014-03-12 06:56:42 UTC
 The thing that's happening here isn't really a bug, createrepo has bad data and is complaining about it. It might be a bug in createrepo that is also generating that bad data (probably, even) ... but I'm not sure how to solve it, or find it. Maybe also disk space problems? I think I'd have heard if createrepo was generating bad data a lot ... so going to close this.

Comment 5 Igor Shishkin 2014-10-01 20:06:47 UTC
Looks similar, possibly related https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/1375637

Comment 6 Red Hat Bugzilla 2023-09-14 02:04:09 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days