Created attachment 879709 [details] log file mentioned in the error Description of problem: When I try to run fedora-review -b bz#, it fails with the message below - INFO: Processing bugzilla bug: 1079965 INFO: Getting .spec and .srpm Urls from : 1079965 INFO: --> SRPM url: http://sochotni.fedorapeople.org/packages/python-dpath-1.2-0.1.52.20140319gita6ce774d.fc21.src.rpm INFO: --> Spec url: http://sochotni.fedorapeople.org/packages/python-dpath.spec INFO: Using review directory: /home/mukundan/personal/pkgs/reviews/1079965-python-dpath RPM version 4.11.2 Copyright (C) 1998-2002 - Red Hat, Inc. This program may be freely redistributed under the terms of the GNU GPL Usage: rpm [-afgpcdLlsiv?] [-a|--all] [-f|--file] [-g|--group] [-p|--package] [--pkgid] [--hdrid] [--triggeredby] [--whatrequires] [--whatprovides] [--nomanifest] [-c|--configfiles] [-d|--docfiles] [-L|--licensefiles] [--dump] [-l|--list] [--queryformat=QUERYFORMAT] [-s|--state] [--nofiledigest] [--nofiles] [--nodeps] [--noscript] [--allfiles] [--allmatches] [--badreloc] [-e|--erase=<package>+] [--excludedocs] [--excludepath=<path>] [--force] [-F|--freshen=<packagefile>+] [-h|--hash] [--ignorearch] [--ignoreos] [--ignoresize] [-i|--install] [--justdb] [--nodeps] [--nofiledigest] [--nocontexts] [--noorder] [--noscripts] [--notriggers] [--nocollections] [--oldpackage] [--percent] [--prefix=<dir>] [--relocate=<old>=<new>] [--replacefiles] [--replacepkgs] [--test] [-U|--upgrade=<packagefile>+] [-D|--define='MACRO EXPR'] [--undefine=MACRO] [-E|--eval='EXPR'] [--macros=<FILE:...>] [--nodigest] [--nosignature] [--rcfile=<FILE:...>] [-r|--root=ROOT] [--dbpath=DIRECTORY] [--querytags] [--showrc] [--quiet] [-v|--verbose] [--version] [-?|--help] [--usage] [--scripts] [--setperms] [--setugids] [--conflicts] [--obsoletes] [--provides] [--requires] [--info] [--changelog] [--xml] [--triggers] [--last] [--dupes] [--filesbypkg] [--fileclass] [--filecolor] [--fscontext] [--fileprovide] [--filerequire] [--filecaps] INFO: Re-initializing mock build root INFO: Downloading .spec and .srpm files RPM version 4.11.2 Copyright (C) 1998-2002 - Red Hat, Inc. This program may be freely redistributed under the terms of the GNU GPL Usage: rpm [-afgpcdLlsiv?] [-a|--all] [-f|--file] [-g|--group] [-p|--package] [--pkgid] [--hdrid] [--triggeredby] [--whatrequires] [--whatprovides] [--nomanifest] [-c|--configfiles] [-d|--docfiles] [-L|--licensefiles] [--dump] [-l|--list] [--queryformat=QUERYFORMAT] [-s|--state] [--nofiledigest] [--nofiles] [--nodeps] [--noscript] [--allfiles] [--allmatches] [--badreloc] [-e|--erase=<package>+] [--excludedocs] [--excludepath=<path>] [--force] [-F|--freshen=<packagefile>+] [-h|--hash] [--ignorearch] [--ignoreos] [--ignoresize] [-i|--install] [--justdb] [--nodeps] [--nofiledigest] [--nocontexts] [--noorder] [--noscripts] [--notriggers] [--nocollections] [--oldpackage] [--percent] [--prefix=<dir>] [--relocate=<old>=<new>] [--replacefiles] [--replacepkgs] [--test] [-U|--upgrade=<packagefile>+] [-D|--define='MACRO EXPR'] [--undefine=MACRO] [-E|--eval='EXPR'] [--macros=<FILE:...>] [--nodigest] [--nosignature] [--rcfile=<FILE:...>] [-r|--root=ROOT] [--dbpath=DIRECTORY] [--querytags] [--showrc] [--quiet] [-v|--verbose] [--version] [-?|--help] [--usage] [--scripts] [--setperms] [--setugids] [--conflicts] [--obsoletes] [--provides] [--requires] [--info] [--changelog] [--xml] [--triggers] [--last] [--dupes] [--filesbypkg] [--fileclass] [--filecolor] [--fscontext] [--fileprovide] [--filerequire] [--filecaps] ERROR: Exception down the road...(logs in /home/mukundan/.cache/fedora-review.log) How reproducible: Consistently in both rawhide and Fedora 20. I have tried for two packages - 1081726 and 1079965 Steps to Reproduce: 1. fedora-review -b bz# I can build at least one of the packages using mock. I have not yet tried the other one. Expected results: fedora-review should complete without errors Additional info: version: fedora-review-0.5.1-2.fc21.noarch
The other exception down the road bugs I saw in the bugzilla do not seem to have the same behavior. I could be wrong though.
Looks like rpm invocation is incorrect but I can't reproduce this at all on f20. Are you sure your RPM is OK?
# rpm -q rpm rpm-4.11.2-2.fc20.x86_64 I can use rpm in general without problems. I can erase a package .... Is there anything else I can check?
Oh I forgot to add this - I have done reinstalled mock, fedora-review, rpm, removed all the custom mock cfg files I had (just in case) and tested fedora-review - nope. same error.
Attach output of "rpm --showrc" please
Created attachment 879895 [details] rpm --showrc
Thanks for the quick responses! :)
Can you paste output from "yum distro-sync" as well?
Actually, I can reproduce this now after updating to latest F20 + updates-testing. I think this might be caused by recent mock update but will have to verify on Monday. You can try downgrading mock and that might fix the issue
Possibly caused by fix for bug 966144
# yum distro-sync Loaded plugins: langpacks, remove-with-leaves No packages marked for distribution synchronization (In reply to Stanislav Ochotnicky from comment #9) > Actually, I can reproduce this now after updating to latest F20 + > updates-testing. I think this might be caused by recent mock update but will > have to verify on Monday. > But then, mock works well. > You can try downgrading mock and that might fix the issue I will try this and post the results here in few minutes.
I can confirm that downgrading mock lets fedora-review complete. # rpm -q mock mock-1.1.36-1.fc20.noarch $ fedora-review -m fedora-rawhide-x86_64 -b 1079965 INFO: Processing bugzilla bug: 1079965 INFO: Getting .spec and .srpm Urls from : 1079965 INFO: --> SRPM url: http://sochotni.fedorapeople.org/packages/python-dpath-1.2-0.1.52.20140319gita6ce774d.fc21.src.rpm INFO: --> Spec url: http://sochotni.fedorapeople.org/packages/python-dpath.spec INFO: Using review directory: /home/mukundan/personal/pkgs/reviews/1079965-python-dpath INFO: Downloading .spec and .srpm files INFO: No upstream for (Source0): python-dpath-1.2-a6ce774d.tar.xz INFO: No upstream for (Source1): generate-tarball.sh INFO: Running checks and generating report INFO: Results and/or logs in: /home/mukundan/personal/pkgs/reviews/1079965-python-dpath/results INFO: Build completed INFO: Installing built package(s) [ ... ] Review template in: /home/mukundan/personal/pkgs/reviews/1079965-python-dpath/review.txt fedora-review is automated tool, but *YOU* are responsible for manually reviewing the results and finishing the review. Do not just copy-paste the results without understanding them.
$ rpm -q mock mock-1.1.38-1.fc20.noarch This version of mock fixes the fedora-review problem. $ fedora-review -b 1079965 INFO: Processing bugzilla bug: 1079965 INFO: Getting .spec and .srpm Urls from : 1079965 INFO: --> SRPM url: http://sochotni.fedorapeople.org/packages/python-dpath-1.2-0.1.52.20140319gita6ce774d.fc21.src.rpm INFO: --> Spec url: http://sochotni.fedorapeople.org/packages/python-dpath.spec INFO: Using review directory: /home/mukundan/Downloads/temp/1079965-python-dpath INFO: Downloading .spec and .srpm files [ ... ] Review template in: /home/mukundan/Downloads/temp/1079965-python-dpath/review.txt fedora-review is automated tool, but *YOU* are responsible for manually reviewing the results and finishing the review. Do not just copy-paste the results without understanding them.
Great, closing