[AutoQA] #442: depcheck crashes on fc19 with AttributeError: 'MetaSackRPMDB' object has no attribute 'returnObsoletePackages'

AutoQA trac at fedorahosted.org
Thu Jul 25 05:30:29 UTC 2013


#442: depcheck crashes on fc19 with AttributeError: 'MetaSackRPMDB' object has no
attribute 'returnObsoletePackages'
---------------------+----------------------
  Reporter:  tflink  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  major   |  Milestone:  Depcheck
 Component:  tests   |   Keywords:
Blocked By:          |   Blocking:
---------------------+----------------------
 depcheck is crashing almost every time (116 crashes in 118 runs) on fc19.
 The common crash seems to look like this [http://autoqa-
 stg.fedoraproject.org/results/242568-autotest/virt10.qa/debug/client.0.DEBUG
 example crash log]

 Traceback:
 {{{
 [stderr] Traceback (most recent call last):
 [stderr]   File "./depcheck", line 112, in <module>
 [stderr]     profile=opts.profile)
 [stderr]   File "/usr/share/autotest/tests/depcheck/depcheck_lib.py", line
 395, in depcheck_main
 [stderr]     test_dir=temp_dir, accepted_dir=acc_dir)
 [stderr]   File "/usr/share/autotest/tests/depcheck/depcheck_lib.py", line
 353, in do_depcheck
 [stderr]     (r, problems) = y.resolveDeps()
 [stderr]   File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line
 908, in resolveDeps
 [stderr]     if self._checkObsoletes():
 [stderr]   File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line
 1329, in _checkObsoletes
 [stderr]     for po in self.rpmdb.returnObsoletePackages():
 [stderr] AttributeError: 'MetaSackRPMDB' object has no attribute
 'returnObsoletePackages'
 --------------------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/autoqa/decorators.py", line 72,
 in newf
     f_result = f(*args, **kwargs) #call the decorated function
   File "/usr/share/autotest/tests/depcheck/depcheck.py", line 192, in
 run_once
     depcheck_output = utils.system_output(cmd, retain_output=True)
   File "/usr/share/autotest/common_lib/base_utils.py", line 931, in
 system_output
     args=args).stdout
   File "/usr/share/autotest/common_lib/base_utils.py", line 658, in run
     "Command returned non-zero exit status")
 CmdError: Command <./depcheck f18-updates -f /var/tmp/tmp3dAvNZ> failed,
 rc=1, Command returned non-zero exit status
 * Command:
     ./depcheck f18-updates -f /var/tmp/tmp3dAvNZ
 }}}

 On the bright side, it seems to not happen on fc18 clients, so we could
 work around it in the short term by limiting depcheck scheduling to fc18
 clients but that's only going to work for so long.

 Figure out how difficult it will be to fix this depcheck crash and whether
 or not it's worth fixing in the short term.

-- 
Ticket URL: <https://fedorahosted.org/autoqa/ticket/442>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project


More information about the qa-devel mailing list