Bug 1039289 - repoquery failure
Summary: repoquery failure
Keywords:
Status: CLOSED DUPLICATE of bug 1028332
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-review
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-07 17:46 UTC by T.C. Hollingsworth
Modified: 2013-12-19 08:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-19 08:44:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description T.C. Hollingsworth 2013-12-07 17:46:52 UTC
repoquery fails near the end of the review process, failing the entire operation.  This seems to be a different error than the one in bug 1028332 which is supposed to be fixed in git, though it might be related.

Reproduced with fedora-review-0.5.0-3.fc20.noarch and the HEAD of the develop branch in git.

Here's the log output from an attempt using the latest git:
12-06 14:02 root         DEBUG    Running: repoquery -C --whatprovides libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH)
12-06 14:02 root         DEBUG    Running: repoquery -C --requires --resolve
12-06 14:02 root         DEBUG    Running: repoquery -C -l  repository (default) packages specify a custom output format for queries unique repoid and complete path required, can be updates / extras / all (available + installed) / specify repoids to disable, can be specified multiple to 'all') from groups search fields to search using  --output=OUTPUT       output format to use (can be text|ascii -c CONFFILE,  enabled) -l,  --envra               show epoch:name set install root - -R,  multiple times -s,  filter which packages (all,optional etc) are shown -q, - Options: -a,  --nevra               show name -g,  default to 'text') -C,  -h,  -f,  limit query to installed / available / recent / as well, defaults to on set value of $releasever in yum config and repo files specify repoid & paths of additional repositories  -i,  specify additional repoids to query, can be specified times (default is all enabled) specified multiple times package times config file location Usage: repoquery [options] --qf=QUERYFORMAT,  filesystem
12-06 14:02 root         DEBUG    Running: repoquery -C -l  repository (default) packages specify a custom output format for queries unique repoid and complete path required, can be updates / extras / all (available + installed) / specify repoids to disable, can be specified multiple to 'all') from groups search fields to search using  --output=OUTPUT       output format to use (can be text|ascii -c CONFFILE,  enabled) -l,  --envra               show epoch:name set install root - -R,  multiple times -s,  filter which packages (all,optional etc) are shown -q, - Options: -a,  --nevra               show name -g,  default to 'text') -C,  -h,  -f,  limit query to installed / available / recent / as well, defaults to on set value of $releasever in yum config and repo files specify repoid & paths of additional repositories  -i,  specify additional repoids to query, can be specified times (default is all enabled) specified multiple times package times config file location Usage: repoquery [options] --qf=QUERYFORMAT,  filesystem
12-06 14:02 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/home/tc/dev/FedoraReview/src/FedoraReview/review_helper.py", line 226, in run
    self._do_run(outfile)
  File "/home/tc/dev/FedoraReview/src/FedoraReview/review_helper.py", line 216, in _do_run
    self._do_report(outfile)
  File "/home/tc/dev/FedoraReview/src/FedoraReview/review_helper.py", line 101, in _do_report
    self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
  File "/home/tc/dev/FedoraReview/src/FedoraReview/review_helper.py", line 120, in _run_checks
    writedown=not Settings.no_report)
  File "/home/tc/dev/FedoraReview/src/FedoraReview/checks.py", line 367, in run_checks
    run_check(name)
  File "/home/tc/dev/FedoraReview/src/FedoraReview/checks.py", line 341, in run_check
    check.run()
  File "/home/tc/dev/FedoraReview/src/FedoraReview/check_base.py", line 238, in run
    self.run_on_applicable()
  File "/home/tc/dev/FedoraReview/src/FedoraReview/plugins/generic.py", line 1088, in run_on_applicable
    pkg_deps_paths = get_deps_paths(pkg_deps)
  File "/home/tc/dev/FedoraReview/src/FedoraReview/plugins/generic.py", line 1078, in get_deps_paths
    paths = deps.list_paths(pkg_deps)
  File "/home/tc/dev/FedoraReview/src/FedoraReview/deps.py", line 159, in list_paths
    paths = check_output(cmd)
  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['repoquery', '-C', '-l', '', 'repository (default) packages', 'specify a custom output format for queries', 'unique repoid and complete path required, can be', 'updates / extras / all (available + installed) /', 'specify repoids to disable, can be specified multiple', "to 'all')", 'from groups', 'search fields to search using ', '--output=OUTPUT       output format to use (can be text|ascii', '-c CONFFILE, ', 'enabled)', '-l, ', '--envra               show epoch:name', 'set install root', '-', '-R, ', 'multiple times', '-s, ', 'filter which packages (all,optional etc) are shown', '-q, -', 'Options:', '-a, ', '--nevra               show name', '-g, ', "default to 'text')", '-C, ', '-h, ', '-f, ', 'limit query to installed / available / recent /', 'as well, defaults to on', 'set value of $releasever in yum config and repo files', 'specify repoid & paths of additional repositories ', '-i, ', 'specify additional repoids to query, can be specified', 'times (default is all enabled)', 'specified multiple times', 'package', 'times', 'config file location', 'Usage: repoquery [options]', '--qf=QUERYFORMAT, ', 'filesystem']' returned non-zero exit status 2
12-06 14:02 root         ERROR    Exception down the road...(logs in /home/tc/.cache/fedora-review.log)
12-06 14:02 root         DEBUG    Report completed:  2981.063 seconds

Comment 1 Alec Leamas 2013-12-08 09:48:28 UTC
Hi, thanks for report. Could you please ttach the complete log (~/.cache/fedora-review.log)?

Comment 2 Stanislav Ochotnicky 2013-12-10 08:58:54 UTC
I'd say this is probably bug 1028332. Could you test upstream git (devel branch)?

Comment 3 Stanislav Ochotnicky 2013-12-19 08:44:53 UTC
Closing as duplicate, but if you still encounter this feel free to reopen

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


Note You need to log in before you can comment on or make changes to this bug.