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
  • #30594

Closed
Open
Created May 24, 2019 by teor@teor

stem unit tests fail on Tor 0.2.9, which is still supported until 1 January 2020

  client.connection...                                 failed (0.05s)
test_connection_time                                  25 ms  [SUCCESS]
test_established                                             [FAILURE]
test_invalid_arguments                                 1 ms  [SUCCESS]
test_no_common_link_protocol                           9 ms  [SUCCESS]
test_not_orport                                        1 ms  [SUCCESS]
======================================================================
FAIL: test_established
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/teor2345/stem/test/integ/client/connection.py", line 66, in test_established
    self.assertEqual(5, int(conn.link_protocol))
AssertionError: 5 != 4
----------------------------------------------------------------------
Ran 5 tests in 0.042s
FAILED (failures=1)

https://travis-ci.org/teor2345/stem/jobs/536613171#L1865

Link protocol 4 is supported by 0.2.9, and 5 is supported by 0.3.1.1-alpha and later: https://gitweb.torproject.org/torspec.git/tree/tor-spec.txt#n1984

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