Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #32399

Closed (moved)
Open
Opened Nov 06, 2019 by teor@teor

Fix "make test-stem" after merging #32339 and #32344

In #32339 (moved) and #32344 (moved), we broke "make test-stem", but we didn't notice before merging, because "make test-stem" is allow_failure in Travis CI.

It looks like we need to get stem to launch a new tor process for more tests. Or our immutability checks are too strict.

Here is one of the errors:

======================================================================
FAIL: test_take_ownership_via_controller
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dev/stem/stem/util/test_tools.py", line 152, in <lambda>
    self.method = lambda test: self.result(test)  # method that can be mixed into TestCases
  File "/home/dev/stem/stem/util/test_tools.py", line 227, in result
    test.fail(self._result.msg)
AssertionError: Traceback (most recent call last):
  File "/home/dev/stem/stem/util/test_tools.py", line 169, in _wrapper
    runner(*args) if args else runner()
  File "/home/dev/stem/test/integ/process.py", line 641, in test_take_ownership_via_controller
    take_ownership = True,
  File "/home/dev/stem/stem/process.py", line 285, in launch_tor_with_config
    return launch_tor(tor_cmd, ['-f', '-'], None, completion_percent, init_msg_handler, timeout, take_ownership, close_output, stdin = config_str)
  File "/home/dev/stem/stem/process.py", line 158, in launch_tor
    raise OSError('Process terminated: %s' % last_problem)
OSError: Process terminated: Failed to bind one of the listener ports.


----------------------------------------------------------------------
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.4.3.x-final
Milestone
Tor: 0.4.3.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#32399