Bug 1230810

Summary: [abrt] beaker-client: xmlrpclib.py:1517:make_connection:AttributeError: SafeCookieTransport instance has no attribute 'context'
Product: [Retired] Beaker Reporter: Karel Volný <kvolny>
Component: command lineAssignee: beaker-dev-list
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: aigao, asaha, dcallagh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6439422d143915b8896db829e976016b16eccd18
Whiteboard: abrt_hash:3d8d02ab9565b0acb0def8302b0ff80d4805d351
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-12 00:47:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: dso_list
none
File: environ none

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 ***