#331 dnf repoquery -C -l filesystem: returned non-zero exit status 1
Closed: not-a-bug by ngompa. Opened by churchyard.

I run python2 try-fedora-review -b 1679583 -m fedora-rawhide-x86_64 on devel (752cf96):

Traceback (most recent call last):
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/review_helper.py", line 239, in run
    self._do_run(outfile)
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/review_helper.py", line 229, in _do_run
    self._do_report(outfile)
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/review_helper.py", line 98, in _do_report
    self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/review_helper.py", line 117, in _run_checks
    writedown=not Settings.no_report)
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/checks.py", line 378, in run_checks
    run_check(name)
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/checks.py", line 352, in run_check
    check.run()
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/check_base.py", line 245, in run
    self.run_on_applicable()
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/plugins/generic.py", line 1067, in run_on_applicable
    pkg_deps_paths = get_deps_paths(pkg_deps)
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/plugins/generic.py", line 1057, in get_deps_paths
    paths = deps.list_paths(pkg_deps)
  File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/deps.py", line 212, in list_paths
    paths = check_output(cmd)
  File "/usr/lib64/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['dnf', 'repoquery', '-C', '-l', 'filesystem']' returned non-zero exit status 1

It's not a problem with fedora-review, but with dnf which messes up the cache sometimes.
If you run dnf repoquery -C -l filesystem, you'll have a better error message which will tell you it can't access/create a cache file. I usually delete all the cache and rerun dnf makecache.

Metadata Update from @ngompa:
- Issue close_status updated to: not-a-bug
- Issue status updated to: Closed (was: Open)

Metadata