Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7259

Closed
Open
Created Oct 30, 2012 by Damian Johnson@atagar

Stem doesn't recognize the CONTROLLER purpose

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?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking