Bug 699455

Summary: [abrt] abrt-addon-ccpp-2.0.1-2.fc15: metalink.py:184:__init__:MetaLinkRepoErrorParseFail: File /var/tmp/yum-abrt-CFJrYq/x86_64/15/updates-debuginfo/metalink.xml does not exist
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1d4379b42f76690f266d254530a8f7968e5380fd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-27 12:27:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
ls -FR yum-abrt-PrLPx3 none

Description Steve Tyler 2011-04-25 17:55:16 UTC
abrt version: 2.0.1
executable: /usr/bin/abrt-action-install-debuginfo.py
cmdline: /usr/bin/python -u /usr/bin/abrt-action-install-debuginfo.py
component: abrt
package: abrt-addon-ccpp-2.0.1-2.fc15
architecture: x86_64
kernel: 2.6.38.3-18.fc15.x86_64
reason: metalink.py:184:__init__:MetaLinkRepoErrorParseFail: File /var/tmp/yum-abrt-CFJrYq/x86_64/15/updates-debuginfo/metalink.xml does not exist
uid: 173
username: abrt
os_release: Fedora release 15 (Lovelock)
time: 1303751398

backtrace
-----
metalink.py:184:__init__:MetaLinkRepoErrorParseFail: File /var/tmp/yum-abrt-CFJrYq/x86_64/15/updates-debuginfo/metalink.xml does not exist

Traceback (most recent call last):
  File "/usr/bin/abrt-action-install-debuginfo.py", line 422, in <module>
    result = downloader.download(missing)
  File "/usr/bin/abrt-action-install-debuginfo.py", line 200, in download
    self.repos.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 92, in doSetup
    self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 184, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in postreposetup_hook
    if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 706, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 703, in _geturls
    self._baseurlSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 649, in _baseurlSetup
    mirrorurls.extend(list(self.metalink_data.urls()))
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 746, in <lambda>
    metalink_data = property(fget=lambda self: self._getMetalink(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 742, in _getMetalink
    self._metalink = metalink.MetaLinkRepoMD(self.metalink_filename)
  File "/usr/lib/python2.7/site-packages/yum/metalink.py", line 184, in __init__
    raise MetaLinkRepoErrorParseFail, "File %s does not exist" %filename
MetaLinkRepoErrorParseFail: File /var/tmp/yum-abrt-CFJrYq/x86_64/15/updates-debuginfo/metalink.xml does not exist

Local variables in innermost frame:
self: <yum.metalink.MetaLinkRepoMD instance at 0x214c4d0>
filename: '/var/tmp/yum-abrt-CFJrYq/x86_64/15/updates-debuginfo/metalink.xml'

Comment 1 Steve Tyler 2011-04-25 17:55:19 UTC
Created attachment 494721 [details]
File: backtrace

Comment 2 Steve Tyler 2011-04-25 18:18:53 UTC
This happened while running abrt-gui and regenerating a backtrace.

I installed this today:
yum-plugin-fastestmirror-1.1.30-2.fc15.noarch

I could sometimes reproduce by:
1. Quit abrt-gui.
2. $ sudo rm -rf /var/tmp/yum-abrt-CFJrYq/
3. Start abrt-gui.
4. Regenerate backtrace.

yum-3.2.29-4.fc15.noarch
yum-langpacks-0.2.2-1.fc15.noarch
yum-metadata-parser-1.1.4-4.fc15.x86_64
yum-plugin-auto-update-debug-info-1.1.30-2.fc15.noarch
yum-plugin-fastestmirror-1.1.30-2.fc15.noarch
yum-presto-0.6.2-3.fc15.noarch
yum-utils-1.1.30-2.fc15.noarch

Comment 3 Steve Tyler 2011-04-25 18:31:26 UTC
Created attachment 494735 [details]
ls -FR yum-abrt-PrLPx3

metalink.xml is not in yum-abrt-PrLPx3/x86_64/15/updates-debuginfo/.
The only enabled repos are fedora and updates-testing.

$ sudo yum repolist
Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
Excluding mirror: mirror.pnl.gov
 * fedora: mirror.uoregon.edu
Excluding mirror: mirror.pnl.gov
 * updates-testing: mirror.uoregon.edu
repo id                                                                   repo name                                                                                   status
fedora                                                                    Fedora 15 - x86_64                                                                          23,915
updates-testing                                                           Fedora 15 - x86_64 - Test Updates                                                            3,467
repolist: 27,382

Comment 4 Steve Tyler 2011-04-25 18:50:46 UTC
After "rm -rf /var/tmp/yum-abrt-XXXXXX/" ...
It looks this occurs with a dump for which some debuginfo is not in any repo and on the second "Regenerate backtrace".

I am testing with an older version of shotwell from koji:
shotwell-0.9.1-1.fc15.x86_64:
http://koji.fedoraproject.org/koji/buildinfo?buildID=237585

Comment 5 Jiri Moskovcak 2011-04-27 12:27:44 UTC

*** This bug has been marked as a duplicate of bug 679783 ***