Bug 1322365
Summary: | fedora-review takes ages to complete | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jaroslav Škarvada <jskarvad> |
Component: | fedora-review | Assignee: | Stanislav Ochotnicky <sochotni> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | leamas.alec, pingou, sochotni |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-01 20:37:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jaroslav Škarvada
2016-03-30 12:03:23 UTC
And kisslicer: 03-30 15:32 root DEBUG Running: dnf repoquery -q -C --requires --resolve libX11 03-30 15:34 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 15:39 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 15:43 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 15:48 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 15:53 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 15:57 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 16:02 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 16:06 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 16:11 root DEBUG Running: dnf repoquery -q -C --requires --resolve libgcc 03-30 16:11 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 16:16 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 16:20 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc 03-30 16:25 root DEBUG Running: dnf repoquery -q -C --requires --resolve glibc It runs for hours without completion, this is really insane. It's not only glibc, it seems to re-run other queries as well, but the glibc is probably the most time expensive. Basically, this is a DNF issue, see bug bug #1279538. That said, thanks for reporting! *** This bug has been marked as a duplicate of bug 1275275 *** (In reply to Alec Leamas from comment #3) > Basically, this is a DNF issue, see bug bug #1279538. > > That said, thanks for reporting! > > *** This bug has been marked as a duplicate of bug 1275275 *** OK, bug 1279538 is about why --resolve is so slow, but why is there the same query in the debug log listed multiple times? E.g.: Running: dnf repoquery -q -C --requires --resolve glibc Running: dnf repoquery -q -C --requires --resolve gmp Running: dnf repoquery -q -C --requires --resolve glibc Running: dnf repoquery -q -C --requires --resolve glibc Cannot it cache the results? There are patches in the upstream tree addressing this. It helps somewhat, but IMHO not enough to be meaningful. You might want to try the upstream version [1] and/or use the '-x CheckOwnDirs' to work around the issue. [1] https://fedorahosted.org/FedoraReview/wiki/UseDevelopmentVersion In this case, until dnf issue will be resolved, it will be huge speedup not to call it repeatedly, i.e. 10x glibc query, 5 minutes each, it is: - 5 minutes total if cached - 50 minutes total if not cached The "factor" is there always, so it should be always faster and it is not dependant on the bug 1279538. The bug only amplifies this bad practice. |