Bug 1081792 - fedora-review fails with "ERROR: Exception down the road"
Summary: fedora-review fails with "ERROR: Exception down the road"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-28 02:03 UTC by Mukundan Ragavan
Modified: 2014-04-07 07:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-07 07:12:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
log file mentioned in the error (6.31 KB, text/x-log)
2014-03-28 02:03 UTC, Mukundan Ragavan
no flags Details
rpm --showrc (40.25 KB, text/plain)
2014-03-28 15:09 UTC, Mukundan Ragavan
no flags Details

Description Mukundan Ragavan 2014-03-28 02:03:18 UTC
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

Comment 1 Mukundan Ragavan 2014-03-28 02:04:14 UTC
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.

Comment 2 Stanislav Ochotnicky 2014-03-28 12:46:48 UTC
Looks like rpm invocation is incorrect but I can't reproduce this at all on f20. Are you sure your RPM is OK?

Comment 3 Mukundan Ragavan 2014-03-28 13:20:17 UTC
# 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?

Comment 4 Mukundan Ragavan 2014-03-28 13:58:08 UTC
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.

Comment 5 Stanislav Ochotnicky 2014-03-28 15:07:32 UTC
Attach output of "rpm --showrc" please

Comment 6 Mukundan Ragavan 2014-03-28 15:09:42 UTC
Created attachment 879895 [details]
rpm --showrc

Comment 7 Mukundan Ragavan 2014-03-28 15:10:34 UTC
Thanks for the quick responses! :)

Comment 8 Stanislav Ochotnicky 2014-03-28 15:19:17 UTC
Can you paste output from "yum distro-sync" as well?

Comment 9 Stanislav Ochotnicky 2014-03-28 15:23:58 UTC
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

Comment 10 Stanislav Ochotnicky 2014-03-28 15:29:48 UTC
Possibly caused by fix for bug 966144

Comment 11 Mukundan Ragavan 2014-03-28 15:33:00 UTC
# 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.

Comment 12 Mukundan Ragavan 2014-03-28 15:38:20 UTC
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.

Comment 13 Mukundan Ragavan 2014-03-31 19:25:00 UTC
$ 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.

Comment 14 Stanislav Ochotnicky 2014-04-07 07:12:23 UTC
Great, closing


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