Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created March 11, 2013 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdeil/5134128 to your computer and use it in GitHub Desktop.
Save cdeil/5134128 to your computer and use it in GitHub Desktop.
travis@travis-box:~/software/rootpy$ make
rm -rf build
find rootpy -name "*.pyc" | xargs rm -f
rm -f *.pyc
find rootpy -name "*.so" | xargs rm -f
rm -f tags
rm -f AutoDict_*
rm -f distribute-*.egg
rm -f distribute-*.tar.gz
find examples -name "*.root" | xargs rm -f
find examples -name "*.h5" | xargs rm -f
python setup.py build_ext -i
running build_ext
nosetests -v -a '!slow' -s rootpy
rootpy.compiled.tests.test_compiled.test_compiled ... ERROR
rootpy.extern.tests.test_module_facade.test_module_facade ... ok
rootpy.extern.tests.test_module_facade.test_internal_facade ... ok
rootpy.io.tests.test_file.test_tempfile ... ok
rootpy.io.tests.test_file.test_file ... ok
rootpy.logger.tests.test_roothandler.test_root_error ... ok
rootpy.logger.tests.test_roothandler.test_nonexistent_file ... ok
rootpy.logger.tests.test_roothandler.test_logging_root_messages ... ok
rootpy.logger.tests.test_roothandler.test_error_finally ... ok
rootpy.logger.tests.test_roothandler.test_gdebug_finally ... ok
rootpy.logger.tests.test_roothandler.test_nonexistent_file_redux ... ok
rootpy.logger.tests.test_roothandler.test_nonexistent_file_redux_part_2 ... ok
rootpy.logger.tests.test_roothandler.test_nonexistent_file_redux_part_3_the_loopening ... ok
rootpy.logger.tests.test_roothandler.test_nonexistent_file_redux_part_4_the_withinating ... ok
rootpy.logger.tests.test_roothandler.test_correct_bytecode_functioning ... ok
rootpy.logger.tests.test_roothandler.test_tracing_is_broken ... ok
rootpy.logger.tests.test_threading.test_multithread_exceptions ... ok
rootpy.memory.tests.test_keepalive.test_keepalive ... FAIL
rootpy.memory.tests.test_keepalive.test_nokeepalive ... ok
rootpy.plotting.style.atlas.test.test_atlas ... ok
rootpy.plotting.style.tests.test_style.test_get_style ... ok
rootpy.plotting.tests.test_hist.test_init ... ok
rootpy.plotting.tests.test_hist.test_init_edge_order ... ok
rootpy.plotting.tests.test_hist.test_init_edge_repeated ... ok
rootpy.plotting.tests.test_profile.test_init ... ok
rootpy.plotting.tests.test_profile.test_init_profiled_edges ... ok
rootpy.plotting.tests.test_profile.test_init_option ... ok
rootpy.plotting.tests.test_profile.test_init_edge_order ... ok
rootpy.plotting.tests.test_profile.test_init_edge_repeated ... ok
rootpy.plotting.tests.test_profile.test_init_profiled_edge_order ... ok
rootpy.plotting.tests.test_profile.test_init_profiled_edge_repeated ... ok
rootpy.tree.tests.test_categories.test_from_string ... ok
rootpy.tree.tests.test_categories.test_len ... ok
Error - unused class rule: vector<int>::*
Error - unused class rule: vector<float>::*
Error - unused class rule: vector<TLorentzVector>::*
ERROR
rootpy.tree.tests.test_tree.test_require_file_bad ... FAIL
rootpy.tree.tests.test_tree.test_require_file_good ... ok
rootpy.tree.tests.test_tree.test_require_file_not_writable ... FAIL
rootpy.tree.tests.test_tree.test_draw_regex ... ok
rootpy.util.tests.test_hook.test_inject ... ok
rootpy.util.tests.test_hook.test_hooks ... ok
rootpy.tests.test_decorators.test_snake_case_methods ... ok
rootpy.tests.test_decorators.test_method_file_check_good ... ok
rootpy.tests.test_decorators.test_method_file_check_bad ... FAIL
rootpy.tests.test_decorators.test_method_file_cd ... ok
rootpy.tests.test_stl.test_parse ... ok
rootpy.tests.test_stl.test_dict_load ... ERROR
rootpy.tests.test_types.test_convert ... ok
======================================================================
ERROR: rootpy.compiled.tests.test_compiled.test_compiled
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/travis/software/rootpy/rootpy/compiled/tests/test_compiled.py", line 17, in test_compiled
assert C._rootpy_test() == "Hello, world"
NotImplementedError: CLING DOES NOT SUPPORT RETURN BY VALUE!
-------------------- >> begin captured logging << --------------------
rootpy.userdata: INFO: Placing user data in /tmp.
rootpy.userdata: WARNING: Make sure '~/.cache/rootpy' or $ROOTPY_DATA is a writable directory so that it isn't necessary to recreate all user data each time
rootpy.compiled: INFO: Compiling /tmp/tmpMvtU3u/x86_64-59901/modules/rootpy.compiled.tests.test_compiled.test.cxx.so
ROOT.TUnixSystem.ACLiC: INFO: creating shared library /tmp/tmpMvtU3u/x86_64-59901/modules/rootpy.compiled.tests.test_compiled.test.cxx.so
rootpy.compiled: INFO: Compiling /tmp/tmpMvtU3u/x86_64-59901/modules/rootpy.compiled.tests.test_compiled.fe0daeae.cxx.so
ROOT.TUnixSystem.ACLiC: INFO: creating shared library /tmp/tmpMvtU3u/x86_64-59901/modules/rootpy.compiled.tests.test_compiled.fe0daeae.cxx.so
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test suite for <class 'rootpy.tree.tests.test_tree.TreeTests'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
return func()
File "/home/travis/software/rootpy/rootpy/tree/tests/test_tree.py", line 53, in setup_class
tree.b_x.clear()
RuntimeError: could not resolve vector<int>::clear()
-------------------- >> begin captured logging << --------------------
rootpy.stl: INFO: generating dictionary for vector<int> ...
ROOT.TUnixSystem.ACLiC: INFO: creating shared library /tmp/tmpMvtU3u/x86_64-59901/dicts/ccad4664192b899b.so
rootpy: WARNING: duplicate registration of class vector<int>
rootpy.stl: INFO: generating dictionary for vector<float> ...
ROOT.TUnixSystem.ACLiC: INFO: creating shared library /tmp/tmpMvtU3u/x86_64-59901/dicts/15fe54d5c4df2bfd.so
rootpy: WARNING: duplicate registration of class vector<float>
rootpy.stl: INFO: generating dictionary for vector<TLorentzVector> ...
ROOT.TUnixSystem.ACLiC: INFO: creating shared library /tmp/tmpMvtU3u/x86_64-59901/dicts/0139c333aa42dfd9.so
rootpy: WARNING: duplicate registration of class vector<TLorentzVector>
ROOT.TTree.Bronch: WARNING: Using split mode on a class: TLorentzVector with a custom Streamer
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: rootpy.tests.test_stl.test_dict_load
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/travis/software/rootpy/rootpy/tests/test_stl.py", line 95, in test_dict_load
po.map(load_tree, xrange(5))
File "/usr/lib/python2.7/multiprocessing/pool.py", line 227, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 528, in get
raise self._value
AttributeError: 'TObject' object has no attribute 'GetTypeName'
======================================================================
FAIL: rootpy.memory.tests.test_keepalive.test_keepalive
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/travis/software/rootpy/rootpy/memory/tests/test_keepalive.py", line 34, in test_keepalive
assert c.GetListOfPrimitives().GetSize() == 1
AssertionError
======================================================================
FAIL: rootpy.tree.tests.test_tree.test_require_file_bad
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 87, in newfunc
raise AssertionError(message)
AssertionError: test_require_file_bad() did not raise RuntimeError
-------------------- >> begin captured logging << --------------------
rootpy.stl: INFO: generating dictionary for vector<int> ...
ROOT.TUnixSystem.ACLiC: INFO: creating shared library /tmp/tmpMvtU3u/x86_64-59901/dicts/ccad4664192b899b.so
rootpy: WARNING: duplicate registration of class vector<int>
rootpy.stl: INFO: generating dictionary for vector<float> ...
ROOT.TUnixSystem.ACLiC: INFO: creating shared library /tmp/tmpMvtU3u/x86_64-59901/dicts/15fe54d5c4df2bfd.so
rootpy: WARNING: duplicate registration of class vector<float>
rootpy.stl: INFO: generating dictionary for vector<TLorentzVector> ...
ROOT.TUnixSystem.ACLiC: INFO: creating shared library /tmp/tmpMvtU3u/x86_64-59901/dicts/0139c333aa42dfd9.so
rootpy: WARNING: duplicate registration of class vector<TLorentzVector>
ROOT.TTree.Bronch: WARNING: Using split mode on a class: TLorentzVector with a custom Streamer
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: rootpy.tree.tests.test_tree.test_require_file_not_writable
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 87, in newfunc
raise AssertionError(message)
AssertionError: test_require_file_not_writable() did not raise RuntimeError
======================================================================
FAIL: rootpy.tests.test_decorators.test_method_file_check_bad
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 87, in newfunc
raise AssertionError(message)
AssertionError: test_method_file_check_bad() did not raise RuntimeError
----------------------------------------------------------------------
Ran 46 tests in 22.245s
FAILED (errors=3, failures=4)
make: *** [test-code] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment