#421: depcheck: KeyError: 'strong_requires' -----------------------+------------------------ Reporter: kparal | Owner: Type: defect | Status: new Priority: critical | Milestone: Hot issues Component: tests | Keywords: Blocked By: | Blocking: -----------------------+------------------------ Since I updated our staging machines, a lot of these depcheck crashes appeared:
{{{ Traceback (most recent call last): File "./depcheck", line 112, in <module> profile=opts.profile) File "/usr/share/autotest/tests/depcheck/depcheck_lib.py", line 394, in depcheck_main test_dir=temp_dir, accepted_dir=acc_dir) File "/usr/share/autotest/tests/depcheck/depcheck_lib.py", line 352, in do_depcheck (r, problems) = y.resolveDeps() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 855, in resolveDeps CheckDeps, checkinstalls, checkremoves, missing = self._resolveRequires(errors) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 984, in _resolveRequires thisneeds = self._checkInstall(txmbr) File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1051, in _checkInstall oldreqs.extend(oldpo.returnPrco('strong_requires')) File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 385, in returnPrco if isinstance(self.prco[prcotype], tuple): KeyError: 'strong_requires' }}} http://autoqa- stg.fedoraproject.org/results/69597-autotest/virt26.qa/depcheck/results/f17 -updates-testing-.html
http://autoqa- stg.fedoraproject.org/resultsdb/frontend/search?type=Testcase&terms=depcheck
I suspect the problem is in updated yum. I see these crashes only on virt26 and virt27, which are F16 machines. It does not happen on qa06 and qa07, which are F15 machines. Also it does not seem to manifest on virt05, which is F16 machine but has an old yum.
#421: depcheck: KeyError: 'strong_requires' ----------------------+------------------------- Reporter: kparal | Owner: Type: defect | Status: new Priority: critical | Milestone: Hot issues Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+-------------------------
Comment (by jskladan):
OK /me downgraded the yum on virt2[67], and the problem seems to be gone. IMHO this is a yum bug, and I'll try to ping some yum devel on monday (if nobody does it today).
#421: depcheck: KeyError: 'strong_requires' ----------------------+------------------------- Reporter: kparal | Owner: Type: defect | Status: new Priority: critical | Milestone: Hot issues Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+-------------------------
Comment (by jskladan):
I pinged Zdenek Pavlas (yum devel from Brno), and he promised to write a patch and send it to yum-devel mailing list.
#421: depcheck: KeyError: 'strong_requires' [waiting upstream] ----------------------+------------------------- Reporter: kparal | Owner: Type: defect | Status: new Priority: critical | Milestone: Hot issues Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+-------------------------
Comment (by kparal):
Patch is here: http://lists.baseurl.org/pipermail/yum-devel/2012-May/009265.html
#421: depcheck: KeyError: 'strong_requires' [waiting upstream] ----------------------+------------------------- Reporter: kparal | Owner: Type: defect | Status: new Priority: critical | Milestone: Hot issues Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+-------------------------
Comment (by kparal):
This is still not fixed in yum-3.4.3-5.fc16, but it if fixed in yum-3.4.3-28.fc17. I'll ask zpavlas to issue an update for F16.
#421: depcheck: KeyError: 'strong_requires' [waiting upstream] ----------------------+------------------------- Reporter: kparal | Owner: Type: defect | Status: new Priority: critical | Milestone: Hot issues Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+-------------------------
Comment (by kparal):
Update for F16 is here: https://admin.fedoraproject.org/updates/yum-3.4.3-25.fc16
I need 2 more people to do smoke testing on F16. Just update and try to install and remove a package. Thanks.
#421: depcheck: KeyError: 'strong_requires' [waiting upstream] ----------------------+------------------------- Reporter: kparal | Owner: Type: defect | Status: new Priority: critical | Milestone: Hot issues Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+-------------------------
Comment (by mkrizek):
Tested, works for me, one more karma needed.
#421: depcheck: KeyError: 'strong_requires' [waiting upstream] ----------------------+------------------------- Reporter: kparal | Owner: Type: defect | Status: new Priority: critical | Milestone: Hot issues Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+-------------------------
Comment (by jskladan):
Done. Stable karma reached (although, I kind of envy you the fancy proventester title...)
#421: depcheck: KeyError: 'strong_requires' [waiting upstream] ----------------------+------------------------- Reporter: kparal | Owner: Type: defect | Status: closed Priority: critical | Milestone: Hot issues Component: tests | Resolution: fixed Keywords: | Blocked By: Blocking: | ----------------------+------------------------- Changes (by kparal):
* status: new => closed * resolution: => fixed
Comment:
I updated all F16 machines and installed this yum update. Problem hopefully solved.
autoqa-devel@lists.fedorahosted.org