SatelliteQE / robottelo

Robottelo is a test suite that exercises The Foreman.
GNU General Public License v3.0
61 stars 114 forks source link

Automation failure : test names listed below #2217

Closed tkolhar closed 9 years ago

tkolhar commented 9 years ago

TestNames: tests.foreman.ui.test_hostgroup.Hostgroup.test_delete_hostgroup_1__br_XetM_br tests.foreman.ui.test_gpgkey.GPGKeyProductAssociate.test_key_associate_4_1

Error Message 502 Server Error: Proxy Error

Stacktrace Traceback (most recent call last): File "/usr/lib64/python2.7/unittest/case.py", line 369, in run testMethod() File "/home/jenkins/shiningpanda/jobs/abb3bf3f/virtualenvs/d41d8cd9/lib/python2.7/site-packages/ddt.py", line 146, in wrapper return func(self, _args, *_kwargs) File "robottelo/common/decorators.py", line 351, in wrapper_func if self.bug_type == 'bugzilla' and bz_bug_is_open(self.bug_id): File "robottelo/common/decorators.py", line 281, in bz_bug_is_open bug = _get_bugzilla_bug(bug_id) File "robottelo/common/decorators.py", line 194, in _get_bugzilla_bug _bugzilla[bug_id] = bz_conn.getbugsimple(bug_id) File "/home/jenkins/shiningpanda/jobs/abb3bf3f/virtualenvs/d41d8cd9/lib/python2.7/site-packages/bugzilla/base.py", line 1066, in getbugsimple dict=self._getbug(objid, simple=True), File "/home/jenkins/shiningpanda/jobs/abb3bf3f/virtualenvs/d41d8cd9/lib/python2.7/site-packages/bugzilla/base.py", line 1038, in _getbug extra_fields=extra_fields)[0] File "/home/jenkins/shiningpanda/jobs/abb3bf3f/virtualenvs/d41d8cd9/lib/python2.7/site-packages/bugzilla/base.py", line 1010, in _getbugs r = self._proxy.Bug.get(getbugdata) File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in call return self.send(self.name, args) File "/home/jenkins/shiningpanda/jobs/abb3bf3f/virtualenvs/d41d8cd9/lib/python2.7/site-packages/bugzilla/base.py", line 168, in _ServerProxy__request ret = ServerProxy._ServerProxyrequest(self, methodname, params) File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in request verbose=self.__verbose File "/home/jenkins/shiningpanda/jobs/abb3bf3f/virtualenvs/d41d8cd9/lib/python2.7/site-packages/bugzilla/base.py", line 263, in request return self._request_helper(url, request_body) File "/home/jenkins/shiningpanda/jobs/abb3bf3f/virtualenvs/d41d8cd9/lib/python2.7/site-packages/bugzilla/base.py", line 236, in _request_helper response.raise_for_status() File "/home/jenkins/shiningpanda/jobs/abb3bf3f/virtualenvs/d41d8cd9/lib/python2.7/site-packages/requests/models.py", line 851, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 502 Server Error: Proxy Error

sghai commented 9 years ago

These issues are not specific to automation. Its because due to some reason while running this test the bz decorator were unable to fetch the bz-ids.

File "robottelo/common/decorators.py", line 194, in _get_bugzilla_bug
    _bugzilla[bug_id] = bz_conn.getbugsimple(bug_id)
sghai commented 9 years ago

Closing this now. Will re-open if come across again.