[tor-bugs] #7259 [Stem]: Stem doesn't recognize the CONTROLLER purpose

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Oct 30 02:15:43 UTC 2012


#7259: Stem doesn't recognize the CONTROLLER purpose
--------------------+-------------------------------------------------------
 Reporter:  atagar  |          Owner:  neena
     Type:  defect  |         Status:  new  
 Priority:  minor   |      Milestone:       
Component:  Stem    |        Version:       
 Keywords:          |         Parent:       
   Points:          |   Actualpoints:       
--------------------+-------------------------------------------------------
 Hi Ravi. I don't have a consistent repro but several dozen times now I've
 seen the following when running our integ tests...

 {{{
 ======================================================================
                     test.integ.control.controller
 ======================================================================

 test_authenticate                                            [SUCCESS]
 test_enable_feature                                          [SUCCESS]
 test_extendcircuit (requires online target)                  [SKIPPED]
 test_from_port                                               [SUCCESS]
 test_from_socket_file                                        [SUCCESS]
 test_get_network_status                                      [SUCCESS]
 test_get_network_statuses                                    [SUCCESS]
 test_get_server_descriptor                                   [SUCCESS]
 test_get_server_descriptors                                  [SUCCESS]
 test_get_version                                             [SUCCESS]
 test_getconf                                                 [SUCCESS]
 test_getinfo                                                 [SUCCESS]
 test_loadconf                                                [SUCCESS]
 test_mapaddress (requires online target)                     [SKIPPED]
 test_protocolinfo                                            [SUCCESS]
 test_repurpose_circuit                                       [FAILURE]
 test_saveconf                                                [SUCCESS]
 test_set_conf                                                [SUCCESS]
 test_signal                                                  [SUCCESS]

 ======================================================================
 ERROR: test_repurpose_circuit
 ----------------------------------------------------------------------
 Traceback:
   File "/home/atagar/Desktop/stem/test/integ/control/controller.py", line
 401, in test_repurpose_circuit
     controller.repurpose_circuit(circ_id, purpose)
   File "/home/atagar/Desktop/stem/stem/control.py", line 1216, in
 repurpose_circuit
     raise stem.socket.InvalidRequest(response.code, response.message)
 InvalidRequest: Unknown purpose "purpose=CONTROLLER"

 ----------------------------------------------------------------------
 Ran 19 tests in 9.026s
 }}}

 Mind checking to see if we're missing a response that the spec allows for,
 or if this is a miss with the spec?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7259>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list