Your current directory is: /disks/7/durga/m7/maus-latest-release Your MAUS_ROOT_DIR is: /disks/7/durga/m7/maus-latest-release These should agree test_init (test_InputCppData.InputCppDataTestCase) ... ok test_multi (test_InputCppData.InputCppDataTestCase) ... ok test_single (test_InputCppData.InputCppDataTestCase) ... ok Test runnig forever by trying to get 10000 empty documents ... ok Read 100 events only ... ok Test to make sure that if the input is done spitting out documents, then you can't get more documents from it ... ok test bad file content ... ok test internal counter gt ... ok test internal counter lt ... ok test what happens if there is one line with some spaces ... ok test read 100 events ... ok test trying to read twice gives nothing ... ok test bad input number of spills ... Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/InputPySpillGenerator.py", line 43, in birth int(config_doc["spill_generator_number_of_spills"]) ValueError: invalid literal for int() with base 10: 'bob' Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/InputPySpillGenerator.py", line 43, in birth int(config_doc["spill_generator_number_of_spills"]) KeyError: 'spill_generator_number_of_spills' Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/InputPySpillGenerator.py", line 44, in birth assert self._number_of_events > -1 AssertionError ok should be able to generate 0 events (and return nothing) ... ok test generate 100 events ... ok test_empty (test_MapCppPrint.MapCppPrintTestCase) ... ok Check we get an error for bad input to birth ... Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException raise(CppError(error_message)) ErrorHandler.CppError: St9exception ok Check mapper runs for empty string, returning an error ... ok Check mapper runs for mc with wrong type, returning an error ... Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException raise(CppError(error_message)) ErrorHandler.CppError: St9exception ok Check mapper runs for mc good. Check it tracks primaries by testing ... ok Check mapper runs for no mc string, returning an error ... Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException raise(CppError(error_message)) ErrorHandler.CppError: St9exception ok test_visualisation (test_MapCppSimulation.MapCppSimulationTestCase) ... .. ---------------------------------------------------------------------- Ran 2 tests in 2.487s OK ok test_digit (test_MapCppTOFDigitization.MapCppTOFDigitizationTestCase) ... ok test_empty (test_MapCppTOFDigitization.MapCppTOFDigitizationTestCase) ... ok test_mc_bad_type (test_MapCppTOFDigitization.MapCppTOFDigitizationTestCase) ... ok test_no_mc_branch (test_MapCppTOFDigitization.MapCppTOFDigitizationTestCase) ... ok test_digit (test_MapCppTrackerDigitization.MapCppTrackerDigitizationTestCase) ... ok test_empty (test_MapCppTrackerDigitization.MapCppTrackerDigitizationTestCase) ... ok test_mc_bad_type (test_MapCppTrackerDigitization.MapCppTrackerDigitizationTestCase) ... ok test_no_mc_branch (test_MapCppTrackerDigitization.MapCppTrackerDigitizationTestCase) ... ok Check that the birth goes okay ... ok Check that we set the binomial variables; throw an error if binomial ... ok Check that we set the seed, particle generator correctly ... ok Check that we throw an error if particle generator unknown ... ok Check overall that process works okay ... ok Check that we throw an error if the spill is bad ... ok Check that we sample from beams with large weight in binomial mode ... ok Check that we sample from the correct beam for each particle when in ... ok Check that we sample from beams with large weight in ovewrwrite mode ... ok Check that we append a random number of empty primaries within allowed ... ok Check that we append correct number of empty primaries in counter mode ... ok Check that we generate empty primaries for each existing particle in ... ok test_document (test_MapPyDoNothing.MapPyDoNothingTestCase) ... ok test_empty (test_MapPyDoNothing.MapPyDoNothingTestCase) ... ok test_sha_tracks (test_MapPyFakeTestSimulation.MapPyFakeTestSimulationTestCase) ... ok test_empty (test_MapPyPrint.MapPyPrintTestCase) ... ok test_return (test_MapPyPrint.MapPyPrintTestCase) ... ok test_empty (test_MapPyRemoveTracks.MapPyRemoveTracksTestCase) ... ok test_no_mc_branch (test_MapPyRemoveTracks.MapPyRemoveTracksTestCase) ... ok test_remove_non_muon (test_MapPyRemoveTracks.MapPyRemoveTracksTestCase) ... ok test_removes_tracks (test_MapPyRemoveTracks.MapPyRemoveTracksTestCase) ... ok Test saving one event ... ok Test OutputPyJson loads a gzip file from datacards correctly. ... ok Test OutputPyJson loads a text file from datacards correctly. ... ok Test OutputPyJson handles exceptions on bad death(). ... ok Try saving one spill using compressed gzip ... ok Try saving one spill in uncompressed fashion ... ok test_always_true (test_always_true.AlwaysTrueTestCase) ... ok Overall check birth works ... ok Beam mean setup ... ok Beam longitudinal - gaussian mode ... ok Beam longitudinal - sawtooth/uniform time distributions ... ok Beam longitudinal - twiss mode ... ok Beam longitudinal - bad user input ... ok Beam longitudinal - pencil mode ... ok Test __birth_particle_generator for counter mode ... ok Test __birth_particle_generator for weighting mode ... ok Test __birth_particle_generator for random number assignment ... ok Test __birth_reference_particle ... Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/beam.py", line 191, in __birth_reference_particle beam_definition['reference'], 0) File "/disks/7/durga/m7/maus-latest-release/third_party/install/lib/python2.7/site-packages/xboa/Hit.py", line 137, in new_from_maus_object for maus_xyz, value in maus_dict[maus_name].iteritems(): AttributeError: 'int' object has no attribute 'iteritems' ok Beam transverse - longitudinal coupling ... ok Beam transverse constant solenoid mode ... ok Test for bad input ... ok Test for pencil beam ... ok Beam transverse Penn mode ... ok Beam transverse twiss mode ... ok Check function that throws a particle - for gaussian distribution ... ok Check function that throws a particle - for pencil beam ... ok Check function that throws a particle - for sawtooth time dist ... ok Check function that throws a particle - for uniform time dist ... ok Check function that converts from an array to a primary particle ... ok Check we generate the seed correctly ... ok Test __init__ imports. ... ok Test AlarmHandler get_tagged_alh. ... ok Test AlarmHandler get_used_alh. ... ok Test AlarmHandler get_used_tags. ... ok Test AlarmHandler list_tags. ... ok Test AlarmHandler __str__. ... ok Test _base _get_date_from_string. ... ok Test _CdbBase get_status. ... ok Test _StatusHandler. ... ok Test _base _get_string_from_date. ... ok Test _CdbBase __init__. ... ok Test _CdbBase set_url. ... ok Test Beamline get_all_beamlines. ... ok Test Beamline get_beamline_for_run. ... ok Test Beamline get_beamlines_for_dates. ... ok Test Beamline get_beamlines_for_pulses. ... ok Test Beamline __str__. ... ok Test Control get_controls ... ok Test Control get_controls_for_crate. ... ok Test Control get_previous_settings. ... ok Test Control __str__. ... ok Test Geometry get_current_gdml. ... ok Test Geometry get_gdml_for_id. ... ok Test Geometry get_gdml_for_run. ... ok Test Geometry get_ids. ... ok Test Geometry __str__. ... ok Test parsing bool from command line to configuration ... ok Test parsing bool from command line to configuration ... ok Test parsing number from command line to configuration ... ok Test parsing string from command line to configuration ... ok Check that we load configuration defaults correctly ... ok Test that we can create a configuration value from an input file ... ok Test that we can overwrite configuration value from an input file ... ok Test conversion from string to boolean type ... ok Check that the version is defined correctly ... ok Check that Go handles command line args switch correctly ... usage: nosetests [-h] [-SciFiadcBits SCIFIADCBITS] [-SciFinElecChanPerPlane SCIFINELECCHANPERPLANE] [-SciFiFiberMirrorEff SCIFIFIBERMIRROREFF] [-visualisation_phi VISUALISATION_PHI] [-keep_only_muon_tracks KEEP_ONLY_MUON_TRACKS] [-SciFinPlanes SCIFINPLANES] [-SciFiFiberTransmissionEff SCIFIFIBERTRANSMISSIONEFF] [-SciFiFiberTrappingEff SCIFIFIBERTRAPPINGEFF] [-map_reduce_type MAP_REDUCE_TYPE] [-simulation_reference_particle SIMULATION_REFERENCE_PARTICLE] [-TOFpmtQuantumEfficiency TOFPMTQUANTUMEFFICIENCY] [-TOFtdcConversionFactor TOFTDCCONVERSIONFACTOR] [-SciFiFiberConvFactor SCIFIFIBERCONVFACTOR] [-SciFitdcFactor SCIFITDCFACTOR] [-keep_tracks KEEP_TRACKS] [-errors_to_stderr ERRORS_TO_STDERR] [-TOFscintLightSpeed TOFSCINTLIGHTSPEED] [-SciFiFiberDecayConst SCIFIFIBERDECAYCONST] [-TOFconversionFactor TOFCONVERSIONFACTOR] [-SciFiMUXTransmissionEff SCIFIMUXTRANSMISSIONEFF] [-SciFiadcFactor SCIFIADCFACTOR] [-SciFiMUXNum SCIFIMUXNUM] [-SciFiFiberCriticalAngle SCIFIFIBERCRITICALANGLE] [-TOFadcConversionFactor TOFADCCONVERSIONFACTOR] [-keep_steps KEEP_STEPS] [-verbose_level VERBOSE_LEVEL] [-geant4_visualisation GEANT4_VISUALISATION] [-output_json_file_name OUTPUT_JSON_FILE_NAME] [-output_json_file_type OUTPUT_JSON_FILE_TYPE] [-errors_to_json ERRORS_TO_JSON] [-simulation_geometry_filename SIMULATION_GEOMETRY_FILENAME] [-maus_version MAUS_VERSION] [-beam BEAM] [-SciFitdcBits SCIFITDCBITS] [-visualisation_viewer VISUALISATION_VIEWER] [-maximum_number_of_steps MAXIMUM_NUMBER_OF_STEPS] [-SciFivlpcQE SCIFIVLPCQE] [-SciFinTrackers SCIFINTRACKERS] [-SciFivlpcEnergyRes SCIFIVLPCENERGYRES] [-SciFivlpcTimeRes SCIFIVLPCTIMERES] [-visualisation_zoom VISUALISATION_ZOOM] [-SciFiFiberRunLength SCIFIFIBERRUNLENGTH] [-spill_generator_number_of_spills SPILL_GENERATOR_NUMBER_OF_SPILLS] [-SciFiFiberRefractiveIndex SCIFIFIBERREFRACTIVEINDEX] [-TOFattenuationLength TOFATTENUATIONLENGTH] [-TOFpmtTimeResolution TOFPMTTIMERESOLUTION] [-configuration_file CONFIGURATION_FILE] [-visualisation_theta VISUALISATION_THETA] [-on_error ON_ERROR] [-SciFinStations SCIFINSTATIONS] [-reconstruction_geometry_filename RECONSTRUCTION_GEOMETRY_FILENAME] nosetests: error: unrecognized arguments: bob ok Check that Go raises error with bad input ... ok Check that Go raises error with bad mapper ... ok Check that Go raises error with bad outputter ... ok Check that Go raises error with bad reducer ... ok Check that Go raises error with bad map reduce type ... ok Check that Go executes okay with good map reduce ... ok @brief This is the main test - walks the directory structure and looks for errors using cpplint ... ok @brief self check - test we postprocess cpplint output correctly ... ok @brief self check - test the glob_maus_root_dir function (above) ... ok @brief self check - test we walk the path correctly, excluding relevant files and directories ... ok test_run_test_cpp_unit (test_cpp_unit.CppUnitTests) ... [==========] Running 138 tests from 29 test cases. [----------] Global test environment set-up. [----------] 6 tests from JsonWrapper [ RUN ] JsonWrapper.StringToJson [ OK ] JsonWrapper.StringToJson (4 ms) [ RUN ] JsonWrapper.GetItemTest [ OK ] JsonWrapper.GetItemTest (3 ms) [ RUN ] JsonWrapper.GetPropertyTest [ OK ] JsonWrapper.GetPropertyTest (13 ms) [ RUN ] JsonWrapper.TypeConversionTest [ OK ] JsonWrapper.TypeConversionTest (1 ms) [ RUN ] JsonWrapper.SimilarTypeTest [ OK ] JsonWrapper.SimilarTypeTest (0 ms) [ RUN ] JsonWrapper.PrintTest [ OK ] JsonWrapper.PrintTest (1 ms) [----------] 6 tests from JsonWrapper (22 ms total) [----------] 4 tests from CppErrorHandlerTest [ RUN ] CppErrorHandlerTest.HandleSquealTest Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException raise(CppError(error_message)) ErrorHandler.CppError: a_test at exc::test [ OK ] CppErrorHandlerTest.HandleSquealTest (116 ms) [ RUN ] CppErrorHandlerTest.HandleStdExcTest Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException raise(CppError(error_message)) ErrorHandler.CppError: a_test at exc::test [ OK ] CppErrorHandlerTest.HandleStdExcTest (1 ms) [ RUN ] CppErrorHandlerTest.HandleStdExcNoJsonTest Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException raise(CppError(error_message)) ErrorHandler.CppError: a_test at exc::test [ OK ] CppErrorHandlerTest.HandleStdExcNoJsonTest (1 ms) [ RUN ] CppErrorHandlerTest.HandleSquealNoJsonTest Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException raise(CppError(error_message)) ErrorHandler.CppError: a_test at exc::test [ OK ] CppErrorHandlerTest.HandleSquealNoJsonTest (1 ms) [----------] 4 tests from CppErrorHandlerTest (119 ms total) [----------] 12 tests from MAUSGeant4ManagerTest [ RUN ] MAUSGeant4ManagerTest.GetSetTest [ OK ] MAUSGeant4ManagerTest.GetSetTest (131 ms) [ RUN ] MAUSGeant4ManagerTest.GetReferenceParticleTest [ OK ] MAUSGeant4ManagerTest.GetReferenceParticleTest (1 ms) [ RUN ] MAUSGeant4ManagerTest.SetPhasesTest [ OK ] MAUSGeant4ManagerTest.SetPhasesTest (26 ms) [ RUN ] MAUSGeant4ManagerTest.RunParticlePGTest [ OK ] MAUSGeant4ManagerTest.RunParticlePGTest (2450 ms) [ RUN ] MAUSGeant4ManagerTest.RunParticleJsonTest [ OK ] MAUSGeant4ManagerTest.RunParticleJsonTest (4 ms) [ RUN ] MAUSGeant4ManagerTest.RunManyParticlesTest [ OK ] MAUSGeant4ManagerTest.RunManyParticlesTest (5 ms) [ RUN ] MAUSGeant4ManagerTest.GetSetTest [ OK ] MAUSGeant4ManagerTest.GetSetTest (0 ms) [ RUN ] MAUSGeant4ManagerTest.GetReferenceParticleTest [ OK ] MAUSGeant4ManagerTest.GetReferenceParticleTest (0 ms) [ RUN ] MAUSGeant4ManagerTest.SetPhasesTest [ OK ] MAUSGeant4ManagerTest.SetPhasesTest (19 ms) [ RUN ] MAUSGeant4ManagerTest.RunParticlePGTest [ OK ] MAUSGeant4ManagerTest.RunParticlePGTest (358 ms) [ RUN ] MAUSGeant4ManagerTest.RunParticleJsonTest [ OK ] MAUSGeant4ManagerTest.RunParticleJsonTest (3 ms) [ RUN ] MAUSGeant4ManagerTest.RunManyParticlesTest [ OK ] MAUSGeant4ManagerTest.RunManyParticlesTest (5 ms) [----------] 12 tests from MAUSGeant4ManagerTest (3003 ms total) [----------] 6 tests from VirtualPlaneTest [ RUN ] VirtualPlaneTest.ConstructorTest [ OK ] VirtualPlaneTest.ConstructorTest (1 ms) [ RUN ] VirtualPlaneTest.GetIndependentVariableZTest [ OK ] VirtualPlaneTest.GetIndependentVariableZTest (0 ms) [ RUN ] VirtualPlaneTest.SteppingOverTest [ OK ] VirtualPlaneTest.SteppingOverTest (1 ms) [ RUN ] VirtualPlaneTest.BuildNewHitTest [ OK ] VirtualPlaneTest.BuildNewHitTest (16 ms) [ RUN ] VirtualPlaneTest.ComparePositionTest [ OK ] VirtualPlaneTest.ComparePositionTest (0 ms) [ RUN ] VirtualPlaneTest.InRadialCutTest [ OK ] VirtualPlaneTest.InRadialCutTest (0 ms) [----------] 6 tests from VirtualPlaneTest (18 ms total) [----------] 13 tests from VirtualPlaneManagerTest [ RUN ] VirtualPlaneManagerTest.GetSetFieldTest [ OK ] VirtualPlaneManagerTest.GetSetFieldTest (1 ms) [ RUN ] VirtualPlaneManagerTest.GetSetHitsTest [ OK ] VirtualPlaneManagerTest.GetSetHitsTest (0 ms) [ RUN ] VirtualPlaneManagerTest.ConstructVirtualPlanes [ OK ] VirtualPlaneManagerTest.ConstructVirtualPlanes (2 ms) [ RUN ] VirtualPlaneManagerTest.ConstructFromModule_IndepVariableTest [ OK ] VirtualPlaneManagerTest.ConstructFromModule_IndepVariableTest (12 ms) [ RUN ] VirtualPlaneManagerTest.ConstructFromModule_MultiplePassesTest [ OK ] VirtualPlaneManagerTest.ConstructFromModule_MultiplePassesTest (3 ms) [ RUN ] VirtualPlaneManagerTest.ConstructFromModule_OtherStuffTest [ OK ] VirtualPlaneManagerTest.ConstructFromModule_OtherStuffTest (1 ms) [ RUN ] VirtualPlaneManagerTest.VirtualPlanesSteppingActionTest [ OK ] VirtualPlaneManagerTest.VirtualPlanesSteppingActionTest (5 ms) [ RUN ] VirtualPlaneManagerTest.VirtualPlanesSteppingActionMultipassTest [ OK ] VirtualPlaneManagerTest.VirtualPlanesSteppingActionMultipassTest (5 ms) [ RUN ] VirtualPlaneManagerTest.GetModuleFromStationNumberTest [ OK ] VirtualPlaneManagerTest.GetModuleFromStationNumberTest (3 ms) [ RUN ] VirtualPlaneManagerTest.GetStationNumberFromModuleTest [ OK ] VirtualPlaneManagerTest.GetStationNumberFromModuleTest (1 ms) [ RUN ] VirtualPlaneManagerTest.RemovePlaneTest [ OK ] VirtualPlaneManagerTest.RemovePlaneTest (6 ms) [ RUN ] VirtualPlaneManagerTest.RemovePlanesTest [ OK ] VirtualPlaneManagerTest.RemovePlanesTest (4 ms) [ RUN ] VirtualPlaneManagerTest.ReadWriteHitTest [ OK ] VirtualPlaneManagerTest.ReadWriteHitTest (1 ms) [----------] 13 tests from VirtualPlaneManagerTest (45 ms total) [----------] 2 tests from MAUSTrackingActionTest [ RUN ] MAUSTrackingActionTest.PreUserTrackingActionTest [ OK ] MAUSTrackingActionTest.PreUserTrackingActionTest (1 ms) [ RUN ] MAUSTrackingActionTest.PostUserTrackingActionTest [ OK ] MAUSTrackingActionTest.PostUserTrackingActionTest (1 ms) [----------] 2 tests from MAUSTrackingActionTest (2 ms total) [----------] 5 tests from MAUSSteppingActionTest [ RUN ] MAUSSteppingActionTest.GetSetTest [ OK ] MAUSSteppingActionTest.GetSetTest (1 ms) [ RUN ] MAUSSteppingActionTest.UserSteppingActionMaxNStepsTest [ OK ] MAUSSteppingActionTest.UserSteppingActionMaxNStepsTest (0 ms) [ RUN ] MAUSSteppingActionTest.UserSteppingActionWriteStepsTest [ OK ] MAUSSteppingActionTest.UserSteppingActionWriteStepsTest (1 ms) [ RUN ] MAUSSteppingActionTest.StepToJsonTest [ OK ] MAUSSteppingActionTest.StepToJsonTest (0 ms) [ RUN ] MAUSSteppingActionTest.UserSteppingActionVirtualTest [ OK ] MAUSSteppingActionTest.UserSteppingActionVirtualTest (2 ms) [----------] 5 tests from MAUSSteppingActionTest (4 ms total) [----------] 4 tests from MAUSPrimaryGeneratorActionTest [ RUN ] MAUSPrimaryGeneratorActionTest.PushPopTest [ OK ] MAUSPrimaryGeneratorActionTest.PushPopTest (0 ms) [ RUN ] MAUSPrimaryGeneratorActionTest.GeneratePrimariesTest [ OK ] MAUSPrimaryGeneratorActionTest.GeneratePrimariesTest (4 ms) [ RUN ] MAUSPrimaryGeneratorActionTest.PGParticleReadWriteTest [ OK ] MAUSPrimaryGeneratorActionTest.PGParticleReadWriteTest (0 ms) [ RUN ] MAUSPrimaryGeneratorActionTest.PGParticleFromVirtualHitTest [ OK ] MAUSPrimaryGeneratorActionTest.PGParticleFromVirtualHitTest (1 ms) [----------] 4 tests from MAUSPrimaryGeneratorActionTest (5 ms total) [----------] 3 tests from MAUSEventActionTest [ RUN ] MAUSEventActionTest.SetGetEventsTest [ OK ] MAUSEventActionTest.SetGetEventsTest (1 ms) [ RUN ] MAUSEventActionTest.BeginOfEventActionTest [ OK ] MAUSEventActionTest.BeginOfEventActionTest (0 ms) [ RUN ] MAUSEventActionTest.EndOfEventActionTest [ OK ] MAUSEventActionTest.EndOfEventActionTest (2 ms) [----------] 3 tests from MAUSEventActionTest (3 ms total) [----------] 1 test from dataCardsTest [ RUN ] dataCardsTest.readKeysTest Evaluator : unknown variable [ OK ] dataCardsTest.readKeysTest (5 ms) [----------] 1 test from dataCardsTest (5 ms total) [----------] 1 test from TriangularMeshTest [ RUN ] TriangularMeshTest.DelaunayConstructorTest [ OK ] TriangularMeshTest.DelaunayConstructorTest (6 ms) [----------] 1 test from TriangularMeshTest (6 ms total) [----------] 8 tests from SqueakTest [ RUN ] SqueakTest.SqueakSetOutputMoutErrorLevelTest [ OK ] SqueakTest.SqueakSetOutputMoutErrorLevelTest (0 ms) [ RUN ] SqueakTest.SqueakMoutExceptionTest [ OK ] SqueakTest.SqueakMoutExceptionTest (0 ms) [ RUN ] SqueakTest.SqueakMoutDefaultTest [ OK ] SqueakTest.SqueakMoutDefaultTest (0 ms) [ RUN ] SqueakTest.GetOutputsTest [ OK ] SqueakTest.GetOutputsTest (1 ms) [ RUN ] SqueakTest.ActivateCoutTest [ OK ] SqueakTest.ActivateCoutTest (0 ms) [ RUN ] SqueakTest.ActivateClogTest [ OK ] SqueakTest.ActivateClogTest (0 ms) [ RUN ] SqueakTest.ActivateCerrTest [ OK ] SqueakTest.ActivateCerrTest (0 ms) [ RUN ] SqueakTest.SetStandardOutputs [ OK ] SqueakTest.SetStandardOutputs (0 ms) [----------] 8 tests from SqueakTest (1 ms total) [----------] 2 tests from STLUtilsTest [ RUN ] STLUtilsTest.IterableEqualityTest [ OK ] STLUtilsTest.IterableEqualityTest (0 ms) [ RUN ] STLUtilsTest.ToStringTest [ OK ] STLUtilsTest.ToStringTest (0 ms) [----------] 2 tests from STLUtilsTest (0 ms total) [----------] 1 test from PolynomialTest [ RUN ] PolynomialTest.old_unit_tests [ OK ] PolynomialTest.old_unit_tests (3228 ms) [----------] 1 test from PolynomialTest (3228 ms total) [----------] 1 test from MeshTest [ RUN ] MeshTest.testAll [ OK ] MeshTest.testAll (785 ms) [----------] 1 test from MeshTest (785 ms total) [----------] 1 test from MathUtils [ RUN ] MathUtils.CompactVectorTest [ OK ] MathUtils.CompactVectorTest (1 ms) [----------] 1 test from MathUtils (1 ms total) [----------] 1 test from Mathutils [ RUN ] Mathutils.GreaterThanTest [ OK ] Mathutils.GreaterThanTest (0 ms) [----------] 1 test from Mathutils (0 ms total) [----------] 7 tests from EngeTest [ RUN ] EngeTest.EngeConstructorTest [ OK ] EngeTest.EngeConstructorTest (22 ms) [ RUN ] EngeTest.MutatorAccessorTest [ OK ] EngeTest.MutatorAccessorTest (0 ms) [ RUN ] EngeTest.SetEngeDiffIndicesTest [ OK ] EngeTest.SetEngeDiffIndicesTest (0 ms) [ RUN ] EngeTest.HNTest [ OK ] EngeTest.HNTest (2 ms) [ RUN ] EngeTest.GNTest [ OK ] EngeTest.GNTest (15 ms) [ RUN ] EngeTest.GetEngeTest [ OK ] EngeTest.GetEngeTest (532 ms) [ RUN ] EngeTest.GetDoubleEngeTest [ OK ] EngeTest.GetDoubleEngeTest (1065 ms) [----------] 7 tests from EngeTest (1637 ms total) [----------] 6 tests from TanhTest [ RUN ] TanhTest.TanhConstructorTest [ OK ] TanhTest.TanhConstructorTest (0 ms) [ RUN ] TanhTest.TanhMutatorAccessorTest [ OK ] TanhTest.TanhMutatorAccessorTest (0 ms) [ RUN ] TanhTest.TanhGetTanhDiffIndicesTest [ OK ] TanhTest.TanhGetTanhDiffIndicesTest (0 ms) [ RUN ] TanhTest.GetTanhTest [ OK ] TanhTest.GetTanhTest (2 ms) [ RUN ] TanhTest.GetNegTanhTest [ OK ] TanhTest.GetNegTanhTest (1 ms) [ RUN ] TanhTest.GetDoubleTanhTest [ OK ] TanhTest.GetDoubleTanhTest (1 ms) [----------] 6 tests from TanhTest (4 ms total) [----------] 1 test from MVectorTest [ RUN ] MVectorTest.old_unit_tests [ OK ] MVectorTest.old_unit_tests (4 ms) [----------] 1 test from MVectorTest (4 ms total) [----------] 11 tests from MMatrixDoubleTest [ RUN ] MMatrixDoubleTest.DefaultConstructorTest [ OK ] MMatrixDoubleTest.DefaultConstructorTest (0 ms) [ RUN ] MMatrixDoubleTest.ConstructorSizeOnlyTest [ OK ] MMatrixDoubleTest.ConstructorSizeOnlyTest (0 ms) [ RUN ] MMatrixDoubleTest.ConstructorAllEqualTest [ OK ] MMatrixDoubleTest.ConstructorAllEqualTest (0 ms) [ RUN ] MMatrixDoubleTest.ConstructorDataTest [ OK ] MMatrixDoubleTest.ConstructorDataTest (0 ms) [ RUN ] MMatrixDoubleTest.CopyConstructorTest [ OK ] MMatrixDoubleTest.CopyConstructorTest (0 ms) [ RUN ] MMatrixDoubleTest.DiagonalTest [ OK ] MMatrixDoubleTest.DiagonalTest (0 ms) [ RUN ] MMatrixDoubleTest.MMatrixBracketOperatorTest [ OK ] MMatrixDoubleTest.MMatrixBracketOperatorTest (0 ms) [ RUN ] MMatrixDoubleTest.MMatrixTraceTest [ OK ] MMatrixDoubleTest.MMatrixTraceTest (0 ms) [ RUN ] MMatrixDoubleTest.MMatrixDetTest [ OK ] MMatrixDoubleTest.MMatrixDetTest (1 ms) [ RUN ] MMatrixDoubleTest.MMatrixInvertTest [ OK ] MMatrixDoubleTest.MMatrixInvertTest (0 ms) [ RUN ] MMatrixDoubleTest.MMatrixInverseTest [ OK ] MMatrixDoubleTest.MMatrixInverseTest (0 ms) [----------] 11 tests from MMatrixDoubleTest (1 ms total) [----------] 1 test from MMatrixTest [ RUN ] MMatrixTest.old_unit_tests [ OK ] MMatrixTest.old_unit_tests (23 ms) [----------] 1 test from MMatrixTest (23 ms total) [----------] 1 test from DifferentiatorTest [ RUN ] DifferentiatorTest.old_unit_tests [ OK ] DifferentiatorTest.old_unit_tests (2 ms) [----------] 1 test from DifferentiatorTest (2 ms total) [----------] 11 tests from MiceModToG4SolidTest [ RUN ] MiceModToG4SolidTest.checkDimTest [ OK ] MiceModToG4SolidTest.checkDimTest (1 ms) [ RUN ] MiceModToG4SolidTest.buildWedgeTest [ OK ] MiceModToG4SolidTest.buildWedgeTest (4 ms) [ RUN ] MiceModToG4SolidTest.buildTrapezoidTest [ OK ] MiceModToG4SolidTest.buildTrapezoidTest (1 ms) [ RUN ] MiceModToG4SolidTest.buildBoxTest [ OK ] MiceModToG4SolidTest.buildBoxTest (4 ms) [ RUN ] MiceModToG4SolidTest.buildCylinderTest [ OK ] MiceModToG4SolidTest.buildCylinderTest (2 ms) [ RUN ] MiceModToG4SolidTest.buildTubeTest [ OK ] MiceModToG4SolidTest.buildTubeTest (6 ms) [ RUN ] MiceModToG4SolidTest.buildSphereTest [ OK ] MiceModToG4SolidTest.buildSphereTest (11 ms) [ RUN ] MiceModToG4SolidTest.buildPolyconeTest [ OK ] MiceModToG4SolidTest.buildPolyconeTest (1 ms) [ RUN ] MiceModToG4SolidTest.buildMultipoleTest [ OK ] MiceModToG4SolidTest.buildMultipoleTest (1 ms) [ RUN ] MiceModToG4SolidTest.buildTorusTest [ OK ] MiceModToG4SolidTest.buildTorusTest (10 ms) [ RUN ] MiceModToG4SolidTest.buildEllipticalConeTest [ OK ] MiceModToG4SolidTest.buildEllipticalConeTest (4 ms) [----------] 11 tests from MiceModToG4SolidTest (45 ms total) [----------] 10 tests from MiceModuleTest [ RUN ] MiceModuleTest.ReadModuleTest terminate called after throwing an instance of 'Squeal' what(): Failed to open root module file at /disks/7/durga/m7/maus-latest-release/src/legacy/FILES/Models/Configurations//disks/7/durga/m7/maus-latest-release/tmp/mice_module_test.dat or /disks/7/durga/m7/maus-latest-release/tmp/mice_module_test.dat at MiceModule::MiceModule(std::string) FAIL Test error handler setup from configuration ... ok Test CppError type works okay ... ok Check default handler calls correctly ... ok Test initialisation of the error handler ... ok Check we send error to json correctly ... ok Check that we send errors to sys.stderr if required ... ok Check the flag that controls sending errors to json works ... Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 81, in test_handle_exception_json raise RuntimeError("Test error 1") RuntimeError: Test error 1 Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 89, in test_handle_exception_json raise RuntimeError("Test error 2") RuntimeError: Test error 2 Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 97, in test_handle_exception_json raise RuntimeError("Test error 3") RuntimeError: Test error 3 ok Check that we handle the exception correctly (raise, halt, etc) ... Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 133, in test_handle_exception_on_error raise RuntimeError("Test error 1") RuntimeError: Test error 1 Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 141, in test_handle_exception_on_error raise RuntimeError("Test error 1") RuntimeError: Test error 1 Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 149, in test_handle_exception_on_error raise RuntimeError("Test error 1") RuntimeError: Test error 1 Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 154, in test_handle_exception_on_error raise RuntimeError("Test error 1") RuntimeError: Test error 1 ok Check the flag that controls sending errors to stderr ... ok Test we can do interface with Cpp correctly ... ok test_numpy_exists (test_numpy.NumpyTestCase) ... ok @brief walk up from $MAUS_ROOT_DIR and run pylint looking for errors ... ok test_geometries (test_root_plot.RootPlotTestCase) ... Info in : ps file /tmp/tmp9pPBxN has been created ok test_schema (test_schema_schema.TestSchemaSchema) ... ok test_schema (test_spill_schema.TestSpillSchema) ... ok ====================================================================== FAIL: test_run_test_cpp_unit (test_cpp_unit.CppUnitTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/disks/7/durga/m7/maus-latest-release/build/test_cpp_unit.py", line 18, in test_run_test_cpp_unit self.assertEqual(cpp_test, 0, 'Failed cpp tests with '+str(cpp_test)) AssertionError: Failed cpp tests with 6 Name Stmts Miss Cover Missing ------------------------------------------------------------- Configuration 78 5 94% 65, 136, 174-176 ErrorHandler 62 1 98% 90 Go 89 8 91% 68-70, 155, 159-162, 197 InputCppData 73 17 77% 16-18, 28, 32-33, 40-45, 57-59, 64-66 InputPyEmptyDocument 18 0 100% InputPyJSON 23 0 100% InputPySpillGenerator 24 0 100% MapCppPrint 69 17 75% 16-18, 28, 32-33, 40-45, 57-59, 64-66 MapCppSimulation 70 17 76% 16-18, 28, 32-33, 40-45, 57-59, 64-66 MapCppTOFDigitization 69 17 75% 16-18, 28, 32-33, 40-45, 57-59, 64-66 MapCppTrackerDigitization 69 17 75% 16-18, 28, 32-33, 40-45, 57-59, 64-66 MapPyBeamMaker 87 1 99% 173 MapPyDoNothing 12 0 100% MapPyFakeTestSimulation 19 0 100% MapPyPrint 20 0 100% MapPyRemoveTracks 37 0 100% MapPyValidateSpill 21 10 52% 38, 42, 46-52, 56 OutputPyDoNothing 7 0 100% OutputPyJSON 34 6 82% 74-76, 101-103 ROOT 345 169 51% 27, 31, 39-53, 56-59, 67-69, 73-74, 94-95, 103-105, 111, 128-131, 161-165, 174-189, 215, 218, 221-223, 231-234, 243-279, 282, 298-299, 308-309, 315-317, 319-320, 343-346, 349, 362-366, 370-392, 397, 409-423, 438, 442-447, 463-464, 473, 478-479, 486-488, 512-515, 540-591 ReducePyDoNothing 11 3 73% 31-33 SchemaSchema 1 0 100% SpillSchema 16 0 100% _strptime 231 231 0% 13-454 argparse 1152 1152 0% 3-2311 beam 167 1 99% 220 bitarray 46 46 0% 11-129 cProfile 114 114 0% 3-190 calendar 381 381 0% 8-708 cdb 8 0 100% cdb._alarmhandler 117 1 99% 75 cdb._base 99 14 86% 109-122 cdb._beamline 177 10 94% 74, 316, 323-324, 347-348, 355-356, 363-364 cdb._control 68 1 99% 70 cdb._exceptions 17 2 88% 25, 29 cdb._geometry 85 8 91% 77, 177-178, 211, 213, 222, 227, 229 cpplint 1043 1043 0% 69-3131 cpplint_exceptions 14 0 100% ctypes 335 335 0% 4-549 ctypes._endian 34 34 0% 4-60 encodings.ascii 19 19 0% 9-42 encodings.hex_codec 28 28 0% 9-71 getopt 103 103 0% 34-210 gzip 311 311 0% 8-499 httplib 735 735 0% 69-1385 io 23 23 0% 46-98 json 39 39 0% 100-323 json.decoder 216 216 0% 3-365 json.encoder 241 241 0% 3-442 json.scanner 52 52 0% 3-67 md5 6 6 0% 6-14 mimetools 162 162 0% 4-250 numpy 44 44 0% 110-170 numpy.__config__ 26 26 0% 3-31 numpy._import_tools 223 223 0% 1-346 numpy.add_newdocs 244 244 0% 9-5865 numpy.compat 7 7 0% 11-18 numpy.compat._inspect 105 105 0% 8-219 numpy.compat.py3k 43 43 0% 6-58 numpy.core 35 35 0% 2-42 numpy.core._internal 364 364 0% 4-588 numpy.core.arrayprint 267 267 0% 5-524 numpy.core.defchararray 396 396 0% 19-2752 numpy.core.fromnumeric 287 287 0% 2-2529 numpy.core.function_base 21 21 0% 1-166 numpy.core.getlimits 120 120 0% 4-285 numpy.core.info 3 3 0% 1-86 numpy.core.machar 187 187 0% 8-339 numpy.core.memmap 92 92 0% 1-311 numpy.core.numeric 494 494 0% 1-2470 numpy.core.numerictypes 376 376 0% 86-948 numpy.core.records 356 356 0% 38-804 numpy.core.shape_base 36 36 0% 1-258 numpy.ctypeslib 184 184 0% 52-420 numpy.dual 41 41 0% 18-69 numpy.fft 6 6 0% 2-9 numpy.fft.fftpack 115 115 0% 33-1125 numpy.fft.helper 42 42 0% 6-161 numpy.fft.info 1 1 0% 173 numpy.lib 33 33 0% 1-38 numpy.lib._datasource 164 164 0% 35-639 numpy.lib._iotools 352 352 0% 2-834 numpy.lib.arraysetops 121 121 0% 31-488 numpy.lib.arrayterator 72 72 0% 11-195 numpy.lib.financial 98 98 0% 8-657 numpy.lib.format 163 163 0% 138-577 numpy.lib.function_base 828 828 0% 1-3518 numpy.lib.index_tricks 272 272 0% 1-901 numpy.lib.info 2 2 0% 149-150 numpy.lib.npyio 592 592 0% 1-1615 numpy.lib.polynomial 370 370 0% 5-1235 numpy.lib.scimath 54 54 0% 19-559 numpy.lib.shape_base 201 201 0% 1-839 numpy.lib.stride_tricks 44 44 0% 8-115 numpy.lib.twodim_base 122 122 0% 5-889 numpy.lib.type_check 134 134 0% 3-647 numpy.lib.ufunclike 33 33 0% 5-216 numpy.lib.utils 515 515 0% 1-1144 numpy.linalg 5 5 0% 46-52 numpy.linalg.info 1 1 0% 36 numpy.linalg.linalg 574 574 0% 12-1969 numpy.ma 14 14 0% 39-56 numpy.ma.core 2313 2313 0% 24-7193 numpy.ma.extras 648 648 0% 11-1923 numpy.matrixlib 5 5 0% 2-8 numpy.matrixlib.defmatrix 275 275 0% 1-1074 numpy.polynomial 6 6 0% 16-22 numpy.polynomial.chebyshev 316 316 0% 78-1404 numpy.polynomial.polynomial 203 203 0% 49-931 numpy.polynomial.polytemplate 6 6 0% 12-20 numpy.polynomial.polyutils 73 73 0% 34-394 numpy.random 9 9 0% 86-102 numpy.random.info 2 2 0% 86-88 numpy.version 11 11 0% 3-18 pydoc 1472 1472 0% 3-2330 rfc822 574 574 0% 74-1011 rlcompleter 73 73 0% 42-170 subprocess 600 600 0% 12-1461 suds 0 0 100% suds._xml 22 0 100% suds.client 99 1 99% 121 urllib2 787 787 0% 92-1415 validictory 24 24 0% 3-46 validictory.validator 270 270 0% 1-490 xboa 1 1 0% 1 xboa.Bunch 877 877 0% 18-1702 xboa.Common 529 529 0% 18-914 xboa.Hit 511 511 0% 18-926 xboa.core 1 1 0% 1 xml.parsers 0 0 100% xml.parsers.expat 2 2 0% 2-4 xml.sax.expatreader 276 276 0% 6-414 ------------------------------------------------------------- TOTAL 26141 24340 7% ---------------------------------------------------------------------- Ran 143 tests in 243.753s FAILED (failures=1)