Skip to content

Instantly share code, notes, and snippets.

@sutartmelson
Created February 23, 2017 23:03
Show Gist options
  • Save sutartmelson/2aad684f0712f81d9e8dc1594ed10f49 to your computer and use it in GitHub Desktop.
Save sutartmelson/2aad684f0712f81d9e8dc1594ed10f49 to your computer and use it in GitHub Desktop.
(girder)stuarts-macbook:girder-build stuartnelson$ ctest -R server_oauth.oauth -VV
UpdateCTestConfiguration from :/Users/stuartnelson/Documents/girder-build/DartConfiguration.tcl
Parse Config file:/Users/stuartnelson/Documents/girder-build/DartConfiguration.tcl
UpdateCTestConfiguration from :/Users/stuartnelson/Documents/girder-build/DartConfiguration.tcl
Parse Config file:/Users/stuartnelson/Documents/girder-build/DartConfiguration.tcl
Test project /Users/stuartnelson/Documents/girder-build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 158
Start 158: server_oauth.oauth
158: Test command: /Library/Frameworks/Python.framework/Versions/2.7/bin/coverage "run" "--parallel-mode" "--rcfile=/Users/stuartnelson/Documents/girder-build/tests/girder.coveragerc" "--source=girder,/Users/stuartnelson/Documents/girder/clients/python/girder_client,/Users/stuartnelson/Documents/girder/plugins/oauth/server" "-m" "unittest" "-v" "plugin_tests.oauth_test"
158: Environment variables:
158: PYTHONPATH=:/Users/stuartnelson/Documents/girder/plugins/oauth:/Users/stuartnelson/Documents/girder/clients/python
158: GIRDER_TEST_DB=mongodb://localhost:27017/girder_test_server_oauth_oauth
158: GIRDER_TEST_ASSETSTORE=server_oauth.oauth
158: GIRDER_TEST_PORT=20203
158: GIRDER_TEST_DATA_PREFIX=/Users/stuartnelson/Documents/girder-build/data
158: MONGOD_EXECUTABLE=/usr/local/bin/mongod
158: Test timeout computed to be: 1500
158: Traceback (most recent call last):
158: File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/__main__.py", line 12, in <module>
158: main(module=None)
158: File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 94, in __init__
158: self.parseArgs(argv)
158: File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 149, in parseArgs
158: self.createTests()
158: File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 158, in createTests
158: self.module)
158: File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
158: suites = [self.loadTestsFromName(name, module) for name in names]
158: File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
158: parent, obj = obj, getattr(obj, part)
158: AttributeError: 'module' object has no attribute 'oauth_test'
158: Mocking Girder log methods.
1/1 Test #158: server_oauth.oauth ...............***Failed 2.06 sec
0% tests passed, 1 tests failed out of 1
Label Time Summary:
girder_python = 2.06 sec (1 test)
Total Test time (real) = 2.10 sec
The following tests FAILED:
158 - server_oauth.oauth (Failed)
Errors while running CTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment