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

Closed
Open
Created May 24, 2017 by Taylor Yu@catalyst

test.integ.installation expects cwd to be the top of the stem source tree

Running run_tests.py from a current working directory that isn't the top of the stem source tree appears to cause test.integ.installation to fail. test.integ.installation does succeed when run from the top of the stem source tree.

It should work when run from the top of the tor source tree, as required by the make test-stem rules in tor. Alternatively, clearly document that the tests only work properly when run from the top of the stem source tree and adjust the make test-stem rules in tor to compensate. (It seems that almost all of the other tests work when run with a working directory outside of the stem source tree, so it would be nice if this one did as well.)

tlyu@arcadia:~/src/tor$ ../stem/run_tests.py --tor `pwd`/src/or/tor --all --log notice --target RUN_ALL --test test.integ.installation

(note that the

--tor `pwd`/src/or/tor`

is needed to work around another issue with relative pathnames)

TESTING FAILED (11 seconds)
  [RUN_NONE] test_sdist (test.integ.installation.TestInstallation) ... FAIL

I can provide more complete logs if needed, but it seems like it should be easy enough to replicate the failure condition. (Please let me know if you're having trouble replicating it.)

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