Opened 7 years ago

Closed 7 years ago

#8576 closed defect (fixed)

test.integ.control.controller failures

Reported by: gsathya Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The following integ tests fail under python2.6

======================================================================
ERROR: test_get_microdescriptor
----------------------------------------------------------------------Traceback:
  File "/Users/sathya/Documents/stem/test/integ/control/controller.py", line 828, in test_get_microdescriptor
    md_by_nickname = controller.get_microdescriptor(test_relay.nickname)
  File "/Users/sathya/Documents/stem/stem/control.py", line 1004, in get_microdescriptor
    raise exc
InvalidArguments: GETINFO request contained unrecognized keywords: a, e, d, F, m, l, /, n, r, 4

======================================================================
ERROR: test_get_network_status
----------------------------------------------------------------------
Traceback:
  File "/Users/sathya/Documents/stem/test/integ/control/controller.py", line 930, in test_get_network_status
    desc_by_nickname = controller.get_network_status(test_relay.nickname)
  File "/Users/sathya/Documents/stem/stem/control.py", line 1168, in get_network_status
    raise exc
InvalidArguments: GETINFO request contained unrecognized keywords: a, e, F, m, l, /, n, s, r, 4

Running this under pdb -

(Pdb) self.get_info(u"md/name/Free4all")
*** InvalidArguments: GETINFO request contained unrecognized keywords: a, e, d, F, m, l, /, n, r, 4

(Pdb) self.get_info("md/name/Free4all")
'onion-key\n-----BEGIN RSA PUBLIC KEY-----\nMIGJAoGBANS9qdfvVhshXuOE2EktIy47ChH7qqgnrN4Ol1MOKr4Af+EtYqVW0Y8f\nRZjboStpWhUN/ge5NpqxYsCuCtIV+2i1uS/hu5Tbmg2JXMfE2jQpXS7SdZOEURxw\nTj57dEfI+ChUsPESSq/lz9DnYgVt2NDcFh2YNrTJP29jKSAeFrhnAgMBAAE=\n-----END RSA PUBLIC KEY-----\nntor-onion-key EfRYdteKeAsRH7a5l5R+JAacEgMk0yFIyOkExLdCLUA='

Looks like unicode issues ...

Child Tickets

Change History (1)

comment:1 Changed 7 years ago by atagar

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.