Description of problem: beaker-wizard is not able to download attachments from Bugzilla 5. Version-Release number of selected component (if applicable): beaker-client-23.3-1.el7sed.noarch python-bugzilla-1.2.2-1.el7.noarch How reproducible: always Steps to Reproduce: 1. Modify wizard.py: BugzillaUrl = 'https://beta.bugzilla.redhat.com/show_bug.cgi?id=' BugzillaXmlrpc = 'https://beta.bugzilla.redhat.com/bugzilla/xmlrpc.cgi' 2. beaker-wizard -b 1361348 Actual results: Fetching details for BZ#1361348 Examining attachments for possible reproducers Traceback (most recent call last): File "/usr/bin/beaker-wizard", line 9, in <module> load_entry_point('bkr.client==23.3', 'console_scripts', 'beaker-wizard')() File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 3064, in main test = Test(options) File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1130, in __init__ self.init() File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 2734, in init self.testname = Name(self.options) File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1130, in __init__ self.init() File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1941, in init self.bugs.fetchBugDetails() File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 1866, in fetchBugDetails self.reproducers.find(self.bug) File "/usr/lib/python2.7/site-packages/bkr/client/wizard.py", line 2013, in find if RegExpReproducer.search(attachment['description']) or \ KeyError: 'description' Expected results: Downloads relevant attachments Additional info: Randomly picked attachment can be downloaded using python-bugzilla $ bugzilla --bugzilla=https://beta.bugzilla.redhat.com/bugzilla/xmlrpc.cgi attach --get 1211410 Wrote error-2016-12-19.html
Maybe fix/test at the same time as bug 1422385.
Seems like Bugzilla 5 beta moved to https://beta-bugzilla.redhat.com/ (not beta.bugzilla.redhat.com).
After hacking beaker-wizard to point at beta-bugzilla.redhat.com and skip cert validation, I can't actually reproduce this problem... Neither with python-bugzilla 1.2.2, nor with python-bugzilla 2.0 and a corresponding fix (bug 1422385). So I am wondering if this was just an issue on the Bugzilla side (not returning attachment descriptions) which has now been fixed?
Hm, I have different error now (rhel-7.3): python-bugzilla-1.2.2-1.el7.noarch beaker-client-24.0-1.el7sed.noarch Changes: BugzillaUrl = 'https://beta-bugzilla.redhat.com/show_bug.cgi?id=' BugzillaXmlrpc = 'https://beta-bugzilla.redhat.com/bugzilla/xmlrpc.cgi' self.bugzilla = Bugzilla(url=BugzillaXmlrpc, sslverify=False) Contacting bugzilla... Fetching details for BZ#1361348 /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) Sorry, could not get details for 1361348 no element found: line 1, column 0
(In reply to Lukas Zachar from comment #5) > BugzillaXmlrpc = 'https://beta-bugzilla.redhat.com/bugzilla/xmlrpc.cgi' Shouldn't this be: BugzillaXmlrpc = 'https://beta-bugzilla.redhat.com/xmlrpc.cgi' with /bugzilla/ ?
I mean, without /bugzilla/.
Lukas, can you please check if this is still an issue? Thank you
(In reply to Dan Callaghan from comment #7) > I mean, without /bugzilla/. Indeed, well, /bugzilla/ used to be required in the past. Sorry for ignoring your reply for such long time. Good news is that works with python-bugzilla-1.2.2-1.el7.noarch beaker-client-24.1-1.el7sed.noarch (even without sslverify=False)
Okay great, closing this under the assumption it was a temporary glitch with our deployment of Bugzilla 5 beta.