Bug 1230810 - [abrt] beaker-client: xmlrpclib.py:1517:make_connection:AttributeError: SafeCookieTransport instance has no attribute 'context'
Summary: [abrt] beaker-client: xmlrpclib.py:1517:make_connection:AttributeError: SafeC...
Keywords:
Status: CLOSED DUPLICATE of bug 1212517
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:3d8d02ab9565b0acb0def8302b0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-11 14:47 UTC by Karel Volný
Modified: 2018-02-06 00:41 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-12 00:47:49 UTC
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.29 KB, text/plain)
2015-06-11 14:47 UTC, Karel Volný
no flags Details
File: dso_list (65 bytes, text/plain)
2015-06-11 14:47 UTC, Karel Volný
no flags Details
File: environ (3.40 KB, text/plain)
2015-06-11 14:47 UTC, Karel Volný
no flags Details

Description Karel Volný 2015-06-11 14:47:34 UTC
Description of problem:
$ bwt --run 249311 --status IDLE --arch s390x

Version-Release number of selected component:
beaker-client-19.1-1.fc19

Additional info:
reporter:       libreport-2.5.1
cmdline:        /usr/bin/python /bin/bkr workflow-tomorrow --run 249311 --status IDLE --arch s390x
executable:     /bin/bkr
kernel:         4.0.4-303.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
xmlrpclib.py:1517:make_connection:AttributeError: SafeCookieTransport instance has no attribute 'context'

Traceback (most recent call last):
  File "/bin/bkr", line 9, in <module>
    load_entry_point('bkr.client==19.1', 'console_scripts', 'bkr')()
  File "/usr/lib/python2.7/site-packages/bkr/client/main.py", line 62, in main
    return cmd.run(*cmd_args, **cmd_opts.__dict__)
  File "/usr/lib/python2.7/site-packages/bkr/client/commands/cmd_workflow_tomorrow.py", line 2221, in run
    self.set_hub(kwargs.get("username"), kwargs.get("password"))
  File "/usr/lib/python2.7/site-packages/bkr/client/__init__.py", line 69, in set_hub
    self.container.set_hub(username, password, auto_login=self.requires_login)
  File "/usr/lib/python2.7/site-packages/bkr/client/command.py", line 277, in set_hub
    self.hub = HubProxy(conf=self.conf, auto_login=auto_login)
  File "/usr/lib/python2.7/site-packages/bkr/common/hub.py", line 62, in __init__
    self._login()
  File "/usr/lib/python2.7/site-packages/bkr/common/hub.py", line 89, in _login
    if force or self._hub.auth.renew_session():
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1240, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1599, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 560, in request
    result = transport_class.request(self, *args, **kwargs)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1280, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 427, in _single_request
    h = self.make_connection(host)
  File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 522, in make_connection
    conn = xmlrpclib.SafeTransport.make_connection(self, host)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1517, in make_connection
    self._connection = host, HTTPS(chost, None, context=self.context, **(x509 or {}))
AttributeError: SafeCookieTransport instance has no attribute 'context'

Local variables in innermost frame:
x509: {}
host: 'beaker.engineering.redhat.com'
chost: 'beaker.engineering.redhat.com'
self: <bkr.common.xmlrpc.SafeCookieTransport instance at 0x7f894efdb3f8>
HTTPS: <class httplib.HTTPSConnection at 0x7f8954a43600>

Comment 1 Karel Volný 2015-06-11 14:47:37 UTC
Created attachment 1037735 [details]
File: backtrace

Comment 2 Karel Volný 2015-06-11 14:47:38 UTC
Created attachment 1037736 [details]
File: dso_list

Comment 3 Karel Volný 2015-06-11 14:47:39 UTC
Created attachment 1037737 [details]
File: environ

Comment 4 Dan Callaghan 2015-06-12 00:47:49 UTC
Will be fixed soon in 20.2, in the meantime you can grab test packages from the dupe bug.

*** This bug has been marked as a duplicate of bug 1212517 ***


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