#322: depcheck (yum) gets stuck in a loop --------------------+------------------------------------------------------- Reporter: kparal | Owner: tflink Type: defect | Status: assigned Priority: major | Milestone: Hot issues Component: tests | Resolution: Keywords: | --------------------+------------------------------------------------------- Comment (by tflink):
I have a theory on how and why this is happening but it's somewhat timing based and I'm trying to figure out how to induce the error without too much pain.
I went digging in the yum git repo and found [http://yum.baseurl.org/gitweb?p=yum.git;a=blobdiff;f=yum/__init__.py;h=cf4d8... a commit from 2011-04-04] that adds a failsafe to the loop that we're getting stuck in, causing it to exit at 30 repetitions.
The new code is not part of the upstream 3.2.29 release but is patched into [http://pkgs.fedoraproject.org/gitweb/?p=yum.git;a=commit;h=7cb06b961704b39da... yum-3.2.29-10.fc16]. As near as I can tell, this updated version of yum is not in F13, F14 or F15.
So, one possible "fix" for this is to see if we can encourage the adoption of that patch (lines 1183-1192 from [http://pkgs.fedoraproject.org/gitweb/?p=yum.git;a=blob;f=yum- HEAD.patch;h=dc7dfe0e0b39a8155b2fbc81b55a26aa23681a24;hb=7cb06b961704b39dac45204237362cf77dd7bea6 yum-HEAD.patch]) into yum for F13, F14 and F15. It wouldn't fix the root cause but it would keep yum from looping until autotest kills it.