Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#30422 closed defect (fixed)

test.integ.control.controller failing for tor 2.x

Reported by: 0xrichard Owned by: atagar
Priority: Low Milestone:
Component: Core Tor/Stem Version:
Severity: Minor Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Some tests are failing for tor 2.x

Is this something for me to look into?

======================================================================
ERROR: test_without_ephemeral_hidden_services
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/workspace/stem/test/require.py", line 57, in wrapped
    return func(self, *args, **kwargs)
  File "/data/workspace/stem/test/require.py", line 57, in wrapped
    return func(self, *args, **kwargs)
  File "/data/workspace/stem/test/integ/control/controller.py", line 620, in test_without_ephemeral_hidden_services
    self.assertEqual([], controller.list_ephemeral_hidden_services())
  File "/data/workspace/stem/stem/control.py", line 498, in wrapped
    return func(self, *args, **kwargs)
  File "/data/workspace/stem/stem/control.py", line 3100, in list_ephemeral_hidden_services
    result += self.get_info('onions/current').split('\n')
  File "/data/workspace/stem/stem/control.py", line 498, in wrapped
    return func(self, *args, **kwargs)
  File "/data/workspace/stem/stem/control.py", line 1243, in get_info
    stem.response.convert('GETINFO', response)
  File "/data/workspace/stem/stem/response/__init__.py", line 124, in convert
    message._parse_message(**kwargs)
  File "/data/workspace/stem/stem/response/getinfo.py", line 54, in _parse_message
    raise stem.OperationFailed(error_code, error_msg)
stem.OperationFailed: No onion services of the specified type.

....

TESTING FAILED (33 seconds)
  [RUN_OPEN] test_ephemeral_hidden_services_v2 (test.integ.control.controller.TestController) ... ERROR
  [RUN_OPEN] test_with_detached_ephemeral_hidden_services (test.integ.control.controller.TestController) ... ERROR
  [RUN_OPEN] test_with_ephemeral_hidden_services_basic_auth (test.integ.control.controller.TestController) ... ERROR
  [RUN_OPEN] test_without_ephemeral_hidden_services (test.integ.control.controller.TestController) ... ERROR

Child Tickets

Change History (6)

comment:1 Changed 4 months ago by 0xrichard

I mean tor version 0.2.x

comment:2 Changed 4 months ago by atagar

Resolution: fixed
Status: newclosed

Thanks 0xrichard! Fix pushed...

https://gitweb.torproject.org/stem.git/commit/?id=80647b6

I don't commonly run against old tor versions, but tests once again pass against the tor-0.2.9.14 branch.

comment:3 Changed 4 months ago by 0xrichard

ty :)

comment:4 Changed 4 months ago by 0xrichard

but please let me fix it next time

comment:5 Changed 4 months ago by atagar

Hi 0xrichard. If you'd like for me to leave if for ya then please say so in the ticket description. ;)

comment:6 Changed 4 months ago by 0xrichard

wat

Note: See TracTickets for help on using tickets.