Should just always return true ... ok Should just always return true ... ok Should put in an errors branch ... ok Should make the detector branches ... ok Should just always return true ... ok Should just always return true ... ok Should put in an errors branch ... ok Should make the detector branches ... ok Check birth with default configuration ... ok Test a single event ... WARNING in MDequipMap::MDequipMap() : Trying to create a multiple instances of a static singleton class ERROR : InputCppDAQData is a base imput class and can not be used to access the DAQ data! *** Use InputCppDAQOfflineData or InputCppDAQOnlineData instead. *** ok Check birth with default configuration ... WARNING in MDequipMap::MDequipMap() : Trying to create a multiple instances of a static singleton class ok Test reading the whole file ... WARNING in MDequipMap::MDequipMap() : Trying to create a multiple instances of a static singleton class WARNING : The first event is not a START_OF_RUN. Spill count and Event count not accurate. ok Test a single event ... WARNING in MDequipMap::MDequipMap() : Trying to create a multiple instances of a static singleton class WARNING : The first event is not a START_OF_RUN. Spill count and Event count not accurate. ok Check that we can birth and death properly ... ok Try reading a realistic data structure ... ok Try reading a data structure with missing tree ... The requested tree 'RunHeader' was not found in the tree. Could not find requested TTree. at void irstream::open(const char*, const char*, const char*) The requested tree 'RunFooter' was not found in the tree. Could not find requested TTree. at void irstream::open(const char*, const char*, const char*) ok Try reading a data structure with missing tree ... The requested tree 'JobHeader' was not found in the tree. Could not find requested TTree. at void irstream::open(const char*, const char*, const char*) The requested tree 'RunHeader' was not found in the tree. Could not find requested TTree. at void irstream::open(const char*, const char*, const char*) The requested tree 'RunFooter' was not found in the tree. Could not find requested TTree. at void irstream::open(const char*, const char*, const char*) The requested tree 'JobFooter' was not found in the tree. Could not find requested TTree. at void irstream::open(const char*, const char*, const char*) 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 that birth reads in datacards okay for case of gzip and raw json ... 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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/InputPySpillGenerator.py", line 45, 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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/InputPySpillGenerator.py", line 48, in birth self._run_number = int(config_doc["monte_carlo_run_number"]) ValueError: invalid literal for int() with base 10: 'jim' Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/InputPySpillGenerator.py", line 45, in birth int(config_doc["spill_generator_number_of_spills"]) KeyError: 'spill_generator_number_of_spills' Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/InputPySpillGenerator.py", line 46, 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 Check against configuration is empty ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() ok Check that birth works properly ... ok Check that against data stream is empty ... ok Check MapCppKLCellHits process function ... ok Check can handle empty configuration ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() ok Check birth with default configuration ... ok Check that nothing happens in absence of data ... ok Test MapCppKLDigits process method ... ok test_empty ... ok Check we get an error for bad input to birth ... 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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Property mc_events had wrong type in Json object lookup at JsonWrapper::GetPropertyStrict 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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Property mc_events not found in Json object lookup at JsonWrapper::GetPropertyStrict ok Call test_visualisation ... =========================================== Output VRML 2.0 file: g4_08.wrl Maximum number of files in the destination directory: 100 (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) =========================================== *** VRML 2.0 File g4_08.wrl is generated. MESSAGE from VRML2FILE driver: Set an environmental variable G4VRMLFILE_VIEWER if you want to visualize the generated VRML file automatically. For example, setenv G4VRMLFILE_VIEWER vrwave =========================================== Output VRML 2.0 file: g4_09.wrl Maximum number of files in the destination directory: 100 (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) =========================================== *** VRML 2.0 File g4_09.wrl is generated. MESSAGE from VRML2FILE driver: Set an environmental variable G4VRMLFILE_VIEWER if you want to visualize the generated VRML file automatically. For example, setenv G4VRMLFILE_VIEWER vrwave =========================================== Output VRML 2.0 file: g4_10.wrl Maximum number of files in the destination directory: 100 (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) =========================================== *** VRML 2.0 File g4_10.wrl is generated. MESSAGE from VRML2FILE driver: Set an environmental variable G4VRMLFILE_VIEWER if you want to visualize the generated VRML file automatically. For example, setenv G4VRMLFILE_VIEWER vrwave . ---------------------------------------------------------------------- Ran 1 test in 1.363s OK ok Call test_visualisation_no_event ... =========================================== Output VRML 2.0 file: g4_11.wrl Maximum number of files in the destination directory: 100 (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) =========================================== *** VRML 2.0 File g4_11.wrl is generated. MESSAGE from VRML2FILE driver: Set an environmental variable G4VRMLFILE_VIEWER if you want to visualize the generated VRML file automatically. For example, setenv G4VRMLFILE_VIEWER vrwave . ---------------------------------------------------------------------- Ran 1 test in 1.275s OK ok Check can handle empty configuration ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() ok Check birth with default configuration ... ok Check that nothing happens in absence of data ... ok Test MapCppTOFDigits process method ... ok Test to make sure death occurs ... ok Test of the process function ... ok Check against configuration is empty ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() ok Check that birth works properly ... ok Check that against data stream is empty ... ok Check MapCppTOFSlabHits process function ... ok Check against configuration is empty ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() ok Check can handle empty spill ... ok Check for case where we have no data ... ok Check the MapCppTOFSpacePoints process function ... ok Check can handle empty configuration and data ... ok Check that tracker recon process produces expected ... Using geomtry: Stage6.dat -10.9597 -20.7084 0.6523 -10.9597 -15.5313 200.617 -3.48717 -12.9427 450.48 -3.98533 -20.7084 750.48 -10.4615 -15.5313 1100.41 9.96333 5.1771 0.6523 -11.956 4.31425 200.652 -11.2087 -22.0027 450.652 17.4358 -12.9427 750.652 -6.97433 6.9028 1100.65 20.4248 -23.2969 0.6523 15.9413 -39.6911 200.617 -6.47617 -38.8282 450.48 -9.46517 -14.6684 750.48 17.934 -19.8455 1100.41 15.9413 -39.6911 200.617 -6.47617 -38.8282 450.48 -9.46517 -14.6684 750.48 17.934 -19.8455 1100.41 4.98167 -6.9028 0.6523 4.98167 18.9827 200.652 -24.9083 25.8855 450.652 -32.3808 -9.49135 750.652 5.47983 -4.31425 1100.65 ok Check that tracker recon process produces expected ... Using geomtry: Stage6.dat ok Check birth ... Using geomtry: Stage6.dat ok Check that the birth goes okay ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyBeamMaker.py", line 101, in birth config_doc = json.loads(json_configuration) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyBeamMaker.py", line 102, in birth self.__birth_empty_particles(config_doc["beam"]) KeyError: 'beam' 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 that we can birth in file format ... ok Check overall that process works okay ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyBeamMaker.py", line 218, in process spill = self.__process_check_spill(spill) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyBeamMaker.py", line 245, in __process_check_spill raise KeyError("mc_events branch should be an array type") KeyError: 'mc_events branch should be an array type' 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 process an input file correctly ... 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 Check against empty configuration ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyCkov.py", line 40, in birth config_doc = json.loads(json_configuration) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ok Check that birth works properly ... ok Check that against data stream is empty ... ok Check MapPyCkov process function ... ok Check against empty configuration ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyCkovSecondPeaks.py", line 36, in birth config_doc = json.loads(json_configuration) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ok Check that birth works properly ... ok Check that against data stream is empty ... ok Check MapPyCkov process function ... ok test_document ... ok test_empty ... ok a test ... ok Test appending a worker that has a birth function with a ... ok Test appending a worker that has a death function with a ... ok Test appending a worker that has a process function with a ... ok Test appending a worker that has no birth function. ... ok Test appending a worker that has no death function. ... ok Test appending a worker that has no process function. ... ok Test calling birth and check that all workers have their ... ok Test calling birth where one worker's birth function ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 192, in death raise MapPyGroupDeathException(exceptions) MapPyGroup.MapPyGroupDeathException: TestWorker: : Test Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 147, in birth raise MapPyGroupBirthException(exceptions) MapPyGroup.MapPyGroupBirthException: : TestWorker: : Test Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 192, in death raise MapPyGroupDeathException(exceptions) MapPyGroup.MapPyGroupDeathException: TestWorker: : Test Exception MapPyGroup.MapPyGroupDeathException: MapPyGroupDeathException() in > ignored ok Test calling birth where one worker's birth function ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 147, in birth raise MapPyGroupBirthException(exceptions) MapPyGroup.MapPyGroupBirthException: MapPyTestMap:: Birth exception ok Test calling death where one worker's birth function ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 147, in birth raise MapPyGroupBirthException(exceptions) MapPyGroup.MapPyGroupBirthException: MapPyTestMap:: Birth exception ok Test calling birth where one worker's birth function fails. ... ok Test calling death and check all workers have their death ... ok Test calling death where one worker's death function ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 192, in death raise MapPyGroupDeathException(exceptions) MapPyGroup.MapPyGroupDeathException: MapPyTestMap: : Death exception Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 192, in death raise MapPyGroupDeathException(exceptions) MapPyGroup.MapPyGroupDeathException: MapPyTestMap: : Death exception ok Test calling death where one worker's death function ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 192, in death raise MapPyGroupDeathException(exceptions) MapPyGroup.MapPyGroupDeathException: MapPyTestMap: : Death exception Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/MapPyGroup.py", line 192, in death raise MapPyGroupDeathException(exceptions) MapPyGroup.MapPyGroupDeathException: MapPyTestMap: : Death exception Exception MapPyGroup.MapPyGroupDeathException: MapPyGroupDeathException() in > ignored ok Test calling death where one worker's death function fails. ... ok Test calling __del__ and check all workers have their death ... ok Test get_worker_names. ... ok Test with default constructor where group contains 0 workers. ... ok Test with constructor given an initial list of workers. ... ok Test constructor when it's given a non-list. ... ok Test calling process and check that all workers have their ... ok test_empty ... ok test_return ... ok Check against different issues ... WARNING in MDequipMap::MDequipMap() : Trying to create a multiple instances of a static singleton class ok Check that we can birth and death properly ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Property output_root_file_name not found in Json object lookup at JsonWrapper::GetPropertyStrict Couldn't open ROOT TFile as no filename or open mode given Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: rstream object not correctly initialised as null "" string passed as filename or open mode. at rstream::rstream(const char*, const char*) ok test_OutputCppRoot.test_mixed_types check we can load alternating types ... ok Check that if passed a bad event, code fails gracefully ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Property maus_event_type not found in Json object lookup at JsonWrapper::GetPropertyStrict Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() ok Check that if passed a bad header, code fails gracefully ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Property maus_event_type not found in Json object lookup at JsonWrapper::GetPropertyStrict Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() ok Try saving a few standard events ... ok Try saving a standard header; check we can only save job header once ... ok test_OutputCppRoot: Try saving a run header ... ok Test saving one event ... ok Test "birth" if given an absolute path to a directory as ... ok Test "birth" if given a file name as a directory. ... ok Check default configuration after "birth" is called. ... ok Test "birth" with "output_file_extension". ... ok Test "birth" with "output_file_name". ... ok Test "birth" with "null" "output_file_directory". ... ok Test "birth" if given a relative path to a directory as ... ok Test "save" with 3 JSON documents. ... ok Test "save" with 3 JSON documents using auto-numbering.. ... ok Test "birth" if given an absolute path to a directory as ... ok Test "birth" if given a file name as an image directory. ... ok Check default configuration after "birth" is called. ... ok Check default configuration after "birth" is called. ... ok Test "birth" if given a relative path to a directory as ... ok Test "save" with 3 JSON documents each an "image". ... ok Test "save" with a JSON document with no "image" "data". ... ok Test "save" with a JSON document with no "tag". ... ok Test "save" with a JSON document with no "image_type". ... ok Test "save" with 3 JSON documents each an "image". ... ok Test "save" with a JSON document with no "maus_event_type". ... ok Test "save" with a JSON document with no "image". ... 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 ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/OutputPyJSON.py", line 87, in save self.file.write(document.rstrip() + '\n') File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/gzip.py", line 212, in write self._check_closed() File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/gzip.py", line 146, in _check_closed raise ValueError('I/O operation on closed file.') ValueError: I/O operation on closed file. ok Try saving one spill in uncompressed fashion ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/OutputPyJSON.py", line 87, in save self.file.write(document.rstrip() + '\n') ValueError: I/O operation on closed file ok Check against empty configuration ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() Failed to import json to spill ok Check that birth works properly ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: sp_xy TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: sp_xy_1 TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: c_info ok Check ReduceCppPatternRecognition process function ... Error in : illegal number of points (0) Error in : illegal number of points (0) Error in : illegal number of points (0) Error in : illegal number of points (0) Error in : illegal number of points (0) Error in : illegal number of points (0) ok Check against configuration is empty ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Failed to parse Json configuration. Json reports * Line 1, Column 1 Syntax error: value, object or array expected. at JsonWrapper::StringToJson() Failed to load JSON ok Check that birth works properly ... ok Check that against data stream is empty ... Failed to load JSON ok Check ReduceCppTofCalib process function ... Failed to load JSON ok Check default configuration after "birth" is called. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_A TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_A (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_B TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_B (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof TROOT::Append:0: RuntimeWarning: Replacing existing TH1: htof (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: charge TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: time ok Test configuration when "birth" is called with a supported ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_A TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_B TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: charge TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: time TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_A TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_A (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_B TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_B (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof TROOT::Append:0: RuntimeWarning: Replacing existing TH1: htof (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: charge TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hPMT1 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hPMT2 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hPMT3 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hPMT4 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hPMT5 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hPMT6 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hPMT7 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: hPMT8 (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: time TROOT::Append:0: RuntimeWarning: Replacing existing TH1: harr_time1 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: harr_time2 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: harr_time3 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: harr_time4 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: harr_time5 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: harr_time6 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: harr_time7 (Potential memory leak). TROOT::Append:0: RuntimeWarning: Replacing existing TH1: harr_time8 (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_A TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_A (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_B TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_B (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof TROOT::Append:0: RuntimeWarning: Replacing existing TH1: htof (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: charge TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: time ok Test "process" with a bad JSON document as an argument string. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_A TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_B TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: charge TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: time Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyROOTHistogram.py", line 153, in process json_doc = json.loads(json_string.rstrip()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 382, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting object: line 1 column 0 (char 0) TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_A TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_A (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_B TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_B (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof TROOT::Append:0: RuntimeWarning: Replacing existing TH1: htof (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: charge TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: time ok Test "process" with a JSON document with no "digits" entry. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_A TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_B TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: charge TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: time Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyROOTHistogram.py", line 162, in process result = self._update_histograms(json_doc) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyCkovPlot.py", line 83, in _update_histograms raise ValueError("space points not in spill") ValueError: space points not in spill TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_A TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_A (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof_B TROOT::Append:0: RuntimeWarning: Replacing existing TH1: tof_B (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: tof TROOT::Append:0: RuntimeWarning: Replacing existing TH1: htof (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: charge TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: time ok Test configuration when birth is called with histogram ... ok Test configuration when "birth" is called with an unsupported ... ok Check default configuration after "birth" is called. ... ok Test configuration when "birth" is called with a supported ... ok Test "process" with a JSON document that causes an error to ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyMatplotlibHistogram.py", line 153, in process result = self._update_histograms(json_doc) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/test_ReducePyMatplotlibHistogram.py", line 60, in _update_histograms raise Exception("error") Exception: error ok Test "process" with a bad JSON document as an argument string. ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyMatplotlibHistogram.py", line 143, in process json_doc = json.loads(json_string.rstrip()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 382, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting object: line 1 column 0 (char 0) ok Test "process" with multiple JSON documents and with ... ok Test "process" can create PDF images. ... ok Test "process" can create PNG images. ... ok Test "process" with multiple JSON documents. ... ok Test "process" can create PS images. ... ok Test "process" can create RAW images. ... ok Test "process" can create RGBA images. ... ok Test "process" can create SVG images. ... ok Test "process" can create SVGZ images. ... ok Test configuration when birth is called with histogram ... TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test configuration when "birth" is called with an unsupported ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas ok Check default configuration after "birth" is called. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas ok Test configuration when default "root_batch_mode" is used. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test configuration when "birth" is called with a supported ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" can create EPS images. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" with a JSON document that causes an error to ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyROOTHistogram.py", line 162, in process result = self._update_histograms(json_doc) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/test_ReducePyROOTHistogram.py", line 66, in _update_histograms raise Exception("error") Exception: error ok Test "process" can create GIF images. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" with a bad JSON document as an argument string. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyROOTHistogram.py", line 153, in process json_doc = json.loads(json_string.rstrip()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 382, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting object: line 1 column 0 (char 0) ok Test "process" can create JPEG images. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" can create JPG images. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" with multiple JSON documents and with ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" can create PDF images. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" can create PNG images. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" with multiple JSON documents. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas ok Test "process" can create PS images. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Test "process" can create SVG images. ... TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TROOT::Append:0: RuntimeWarning: Replacing existing TH1: histogram (Potential memory leak). TCanvas::Constructor:0: RuntimeWarning: Deleting canvas with same name: canvas TCanvas::ResizePad:0: RuntimeWarning: canvas width changed from 0 to 10 TCanvas::ResizePad:0: RuntimeWarning: canvas height changed from 0 to 10 ok Check add function works ... ok Check add func never makes members have a length longer than 10 ... ok Check birth() function works when it should ... ok Check birth returns false if handed a nonsense json_config ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalers.py", line 48, in birth config_doc = json.loads(json_configuration) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ok Check dump function works when it should ... ok Check dump function works when no data is present ... ok Test the constructor of the reducer class ... ok Test the process function using a small amount of real json data ... ok Test that process returns the json doc ... ok Test that process returns the json doc ... ok Test that process returns the json doc ... ok Test "process" with a JSON document with a "daq_data" ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 232, in process result = self._process_spill(json_doc) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 302, in _process_spill raise ValueError("daq_data is None") ValueError: daq_data is None ok Test "process" with a JSON document which is an end_of_run. ... ok Test get_scalers. ... ok Test "process" with a bad JSON document as an argument string. ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 226, in process json_doc = json.loads(json_spill_doc.rstrip()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/json/decoder.py", line 382, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting object: line 1 column 0 (char 0) ok Test "process" with a JSON document with no "ch0". ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 232, in process result = self._process_spill(json_doc) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 314, in _process_spill raise KeyError("ch0 is not in spill") KeyError: 'ch0 is not in spill' ok Test "process" with a JSON document with no "channels". ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 232, in process result = self._process_spill(json_doc) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 309, in _process_spill raise KeyError("channels is not in spill") KeyError: 'channels is not in spill' ok Test "process" with a JSON document with no "daq_data". ... ok Test "process" with a JSON document with no "V830". ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 232, in process result = self._process_spill(json_doc) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/ReducePyScalersTable.py", line 305, in _process_spill raise KeyError("V830 is not in spill") KeyError: 'V830 is not in spill' ok Test "process" with multiple JSON documents so to cycle ... ok Test "process" with a spill. ... ok Test birth where a recent_scalers_window is given. ... ok Test add_value and getters ... ok Test add_value and clear. ... ok Check default values. ... ok Test setting a new window in the constructor. ... ok Test setting a new window. ... ok test_always_true ... 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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/beam.py", line 190, in __birth_reference_particle beam_definition['reference'], 0) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/site-packages/xboa/Hit.py", line 233, 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 function that converts from an array to a primary particle ... ok Check we generate the seed correctly ... ok Test we can download cabling for specified detector ... ok Test class initializes ... ok Test we can reset ... ok Test we can download calib for specified detector ... ok Test class initializes ... ok Test we can reset ... 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 Check that the version is defined correctly ... 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. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining usage: nosetests [-h] [--Calib_Events_Only CALIB_EVENTS_ONLY] [--DAQ_cabling_file DAQ_CABLING_FILE] [--DAQ_hostname DAQ_HOSTNAME] [--DAQ_monitor_name DAQ_MONITOR_NAME] [--Do_V1724_Zero_Suppression DO_V1724_ZERO_SUPPRESSION] [--Do_V1731_Zero_Suppression DO_V1731_ZERO_SUPPRESSION] [--Do_VLSB_C_Zero_Suppression DO_VLSB_C_ZERO_SUPPRESSION] [--Do_VLSB_Zero_Suppression DO_VLSB_ZERO_SUPPRESSION] [--Enable_CKOV ENABLE_CKOV] [--Enable_DBB_Unpacking ENABLE_DBB_UNPACKING] [--Enable_EMR ENABLE_EMR] [--Enable_KL ENABLE_KL] [--Enable_TOF ENABLE_TOF] [--Enable_V1290_Unpacking ENABLE_V1290_UNPACKING] [--Enable_V1724_Unpacking ENABLE_V1724_UNPACKING] [--Enable_V1731_Unpacking ENABLE_V1731_UNPACKING] [--Enable_V830_Unpacking ENABLE_V830_UNPACKING] [--Enable_VLSB_C_Unpacking ENABLE_VLSB_C_UNPACKING] [--Enable_VLSB_Unpacking ENABLE_VLSB_UNPACKING] [--Enable_t0_correction ENABLE_T0_CORRECTION] [--Enable_timeWalk_correction ENABLE_TIMEWALK_CORRECTION] [--Enable_triggerDelay_correction ENABLE_TRIGGERDELAY_CORRECTION] [--KL_cabling_file KL_CABLING_FILE] [--Number_of_DAQ_Events NUMBER_OF_DAQ_EVENTS] [--Phys_Events_Only PHYS_EVENTS_ONLY] [--SciFiClustExcept SCIFICLUSTEXCEPT] [--SciFiFiberConvFactor SCIFIFIBERCONVFACTOR] [--SciFiFiberDecayConst SCIFIFIBERDECAYCONST] [--SciFiFiberMirrorEff SCIFIFIBERMIRROREFF] [--SciFiFiberTransmissionEff SCIFIFIBERTRANSMISSIONEFF] [--SciFiFiberTrappingEff SCIFIFIBERTRAPPINGEFF] [--SciFiMUXNum SCIFIMUXNUM] [--SciFiMUXTransmissionEff SCIFIMUXTRANSMISSIONEFF] [--SciFiNPECut SCIFINPECUT] [--SciFiPRHelicalOn SCIFIPRHELICALON] [--SciFiPRStraightOn SCIFIPRSTRAIGHTON] [--SciFi_sigma_duplet SCIFI_SIGMA_DUPLET] [--SciFi_sigma_tracker0_station5 SCIFI_SIGMA_TRACKER0_STATION5] [--SciFi_sigma_triplet SCIFI_SIGMA_TRIPLET] [--SciFi_sigma_z SCIFI_SIGMA_Z] [--SciFiadcFactor SCIFIADCFACTOR] [--SciFinPlanes SCIFINPLANES] [--SciFinStations SCIFINSTATIONS] [--SciFinTrackers SCIFINTRACKERS] [--SciFitdcBits SCIFITDCBITS] [--SciFitdcFactor SCIFITDCFACTOR] [--SciFivlpcEnergyRes SCIFIVLPCENERGYRES] [--SciFivlpcQE SCIFIVLPCQE] [--SciFivlpcTimeRes SCIFIVLPCTIMERES] [--TOF_cabling_date_from TOF_CABLING_DATE_FROM] [--TOF_calib_date_from TOF_CALIB_DATE_FROM] [--TOF_findTriggerPixelCut TOF_FINDTRIGGERPIXELCUT] [--TOF_makeSpacePiontCut TOF_MAKESPACEPIONTCUT] [--TOF_trigger_station TOF_TRIGGER_STATION] [--TOFadcConversionFactor TOFADCCONVERSIONFACTOR] [--TOFattenuationLength TOFATTENUATIONLENGTH] [--TOFconversionFactor TOFCONVERSIONFACTOR] [--TOFpmtQuantumEfficiency TOFPMTQUANTUMEFFICIENCY] [--TOFpmtTimeResolution TOFPMTTIMERESOLUTION] [--TOFscintLightSpeed TOFSCINTLIGHTSPEED] [--TOFtdcConversionFactor TOFTDCCONVERSIONFACTOR] [--V1724_Zero_Suppression_Threshold V1724_ZERO_SUPPRESSION_THRESHOLD] [--V1731_Zero_Suppression_Threshold V1731_ZERO_SUPPRESSION_THRESHOLD] [--VLSB_C_Zero_Suppression_Threshold VLSB_C_ZERO_SUPPRESSION_THRESHOLD] [--VLSB_Zero_Suppression_Threshold VLSB_ZERO_SUPPRESSION_THRESHOLD] [--accumulate_tracks ACCUMULATE_TRACKS] [--beam BEAM] [--cdb_download_url CDB_DOWNLOAD_URL] [--cdb_upload_url CDB_UPLOAD_URL] [--charged_pion_half_life CHARGED_PION_HALF_LIFE] [--check_volume_overlaps CHECK_VOLUME_OVERLAPS] [--configuration_file CONFIGURATION_FILE] [--daq_data_file DAQ_DATA_FILE] [--daq_data_path DAQ_DATA_PATH] [--daq_online_file DAQ_ONLINE_FILE] [--daq_online_spill_delay_time DAQ_ONLINE_SPILL_DELAY_TIME] [--default_keep_or_kill DEFAULT_KEEP_OR_KILL] [--default_vis_colour DEFAULT_VIS_COLOUR] [--delta_intersection DELTA_INTERSECTION] [--delta_one_step DELTA_ONE_STEP] [--doc_collection_name DOC_COLLECTION_NAME] [--doc_store_class DOC_STORE_CLASS] [--doc_store_event_cache_size DOC_STORE_EVENT_CACHE_SIZE] [--e_minus_vis_colour E_MINUS_VIS_COLOUR] [--e_plus_vis_colour E_PLUS_VIS_COLOUR] [--end_of_run_image_directory END_OF_RUN_IMAGE_DIRECTORY] [--epsilon_max EPSILON_MAX] [--epsilon_min EPSILON_MIN] [--errors_to_json ERRORS_TO_JSON] [--errors_to_stderr ERRORS_TO_STDERR] [--everything_special_virtual EVERYTHING_SPECIAL_VIRTUAL] [--field_tracker_absolute_error FIELD_TRACKER_ABSOLUTE_ERROR] [--field_tracker_relative_error FIELD_TRACKER_RELATIVE_ERROR] [--g4_step_max G4_STEP_MAX] [--gamma_vis_colour GAMMA_VIS_COLOUR] [--geant4_visualisation GEANT4_VISUALISATION] [--geometry_download_by GEOMETRY_DOWNLOAD_BY] [--geometry_download_cleanup GEOMETRY_DOWNLOAD_CLEANUP] [--geometry_download_directory GEOMETRY_DOWNLOAD_DIRECTORY] [--geometry_download_id GEOMETRY_DOWNLOAD_ID] [--geometry_download_run_number GEOMETRY_DOWNLOAD_RUN_NUMBER] [--geometry_download_wsdl GEOMETRY_DOWNLOAD_WSDL] [--geometry_upload_cleanup GEOMETRY_UPLOAD_CLEANUP] [--geometry_upload_directory GEOMETRY_UPLOAD_DIRECTORY] [--geometry_upload_note GEOMETRY_UPLOAD_NOTE] [--geometry_upload_valid_from GEOMETRY_UPLOAD_VALID_FROM] [--geometry_upload_wsdl GEOMETRY_UPLOAD_WSDL] [--get_beamline_by GET_BEAMLINE_BY] [--get_beamline_run_number GET_BEAMLINE_RUN_NUMBER] [--get_beamline_start_time GET_BEAMLINE_START_TIME] [--get_beamline_stop_time GET_BEAMLINE_STOP_TIME] [--get_ids_create_file GET_IDS_CREATE_FILE] [--get_ids_start_time GET_IDS_START_TIME] [--get_ids_stop_time GET_IDS_STOP_TIME] [--header_and_footer_mode HEADER_AND_FOOTER_MODE] [--image_directory IMAGE_DIRECTORY] [--input_json_file_name INPUT_JSON_FILE_NAME] [--input_json_file_type INPUT_JSON_FILE_TYPE] [--input_root_file_name INPUT_ROOT_FILE_NAME] [--keep_only_muon_tracks KEEP_ONLY_MUON_TRACKS] [--keep_or_kill_particles KEEP_OR_KILL_PARTICLES] [--keep_steps KEEP_STEPS] [--keep_tracks KEEP_TRACKS] [--kinetic_cutoff KINETIC_CUTOFF] [--kinetic_energy_threshold KINETIC_ENERGY_THRESHOLD] [--maus_version MAUS_VERSION] [--maximum_number_of_steps MAXIMUM_NUMBER_OF_STEPS] [--miss_distance MISS_DISTANCE] [--mongodb_collection_name MONGODB_COLLECTION_NAME] [--mongodb_database_name MONGODB_DATABASE_NAME] [--mongodb_host MONGODB_HOST] [--mongodb_port MONGODB_PORT] [--mu_minus_vis_colour MU_MINUS_VIS_COLOUR] [--mu_plus_vis_colour MU_PLUS_VIS_COLOUR] [--muon_half_life MUON_HALF_LIFE] [--neutron_vis_colour NEUTRON_VIS_COLOUR] [--on_error ON_ERROR] [--output_file_directory OUTPUT_FILE_DIRECTORY] [--output_json_file_name OUTPUT_JSON_FILE_NAME] [--output_json_file_type OUTPUT_JSON_FILE_TYPE] [--output_root_file_name OUTPUT_ROOT_FILE_NAME] [--particle_decay PARTICLE_DECAY] [--photon_vis_colour PHOTON_VIS_COLOUR] [--physics_model PHYSICS_MODEL] [--physics_processes PHYSICS_PROCESSES] [--pi_minus_vis_colour PI_MINUS_VIS_COLOUR] [--pi_plus_vis_colour PI_PLUS_VIS_COLOUR] [--production_threshold PRODUCTION_THRESHOLD] [--reconstruction_geometry_filename RECONSTRUCTION_GEOMETRY_FILENAME] [--reduce_plot_refresh_rate REDUCE_PLOT_REFRESH_RATE] [--reference_physics_processes REFERENCE_PHYSICS_PROCESSES] [--simulation_geometry_filename SIMULATION_GEOMETRY_FILENAME] [--simulation_reference_particle SIMULATION_REFERENCE_PARTICLE] [--spill_generator_number_of_spills SPILL_GENERATOR_NUMBER_OF_SPILLS] [--stepping_algorithm STEPPING_ALGORITHM] [--technical_drawing_name TECHNICAL_DRAWING_NAME] [--type_of_dataflow TYPE_OF_DATAFLOW] [--verbose_level VERBOSE_LEVEL] [--visualisation_phi VISUALISATION_PHI] [--visualisation_theta VISUALISATION_THETA] [--visualisation_viewer VISUALISATION_VIEWER] [--visualisation_zoom VISUALISATION_ZOOM] [--will_do_stack_trace WILL_DO_STACK_TRACE] nosetests: error: unrecognized arguments: bob Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Check that Go executes okay with multi_process dataflow. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/framework/utilities.py", line 178, in setup_doc_store doc_store.connect(config) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/docstore/MongoDBDocumentStore.py", line 68, in connect raise DocumentStoreException(exc) docstore.DocumentStore.DocumentStoreException: Exception when using document store: could not connect to localhost:27017: [Errno 111] Connection refused ok Check that Go notifies user of unimplemented dataflow. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Check that Go executes okay with pipeline_single_thread dataflow. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Make sure get_possible_dataflows() doesn't return nonsense ... ok Check that the job header is initialised okay ... ok Check that initialisation of MAUS is okay ... ok Check that Go raises error with bad input. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Check that Go raises error with bad transformer. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Check that Go raises error with bad outputter. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Check that Go raises error with bad merger. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/OutputPyJSON.py", line 87, in save self.file.write(document.rstrip() + '\n') AttributeError: 'bool' object has no attribute 'rstrip' ok Check that Go raises error with bad dataflow type. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok test_run_test_cpp_unit ... Running with verbose level 2 -68.2488 -57.8109 -0.6523 -62.8417 -67.1769 -200.617 -56.9968 -76.0965 -450.48 -47.8952 -87.7518 -750.48 -35.868 -99.2277 -1100.41 Error: Invalid ignore station argument. Error: Invalid ignore station argument. Error: Invalid ignore station argument. Error: Invalid ignore station argument. Error: Invalid ignore station argument. Error: Invalid ignore station argument. Error: Invalid ignore station argument. error Not GetInstance Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: a_test at exc::test Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: a_test at exc::test Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: a_test at exc::test Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: a_test at exc::test Running with verbose level 2 Running with verbose level 2 Running with verbose level 2 Running with verbose level 2 Running with verbose level 2 Running with verbose level 2 Running with verbose level 2 No branch name set Branch not found Branch not found No branch name set Branch not found Branch not found DELETE field DELETE field DELETE field DELETE field DELETE field Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Expected Test Squeal in _process at int* _process(int* t) const Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: std::exception Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: The input to 'TestClass' was a null pointer Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Expected Test Squeal in _save at int* _save(int* t) const Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: std::exception Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Expected Test Squeal in _birth at void _birth (const std::string&) Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: std::exception Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Expected Test Squeal in _death at void _death () Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: std::exception Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Expected Test Squeal in _process at int* _process(double* t) const Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: std::exception Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: Expected Test Squeal in _emitter_cpp at int* _emitter_cpp() Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/ErrorHandler.py", line 162, in HandleCppException raise CppError(error_message) ErrorHandler.CppError: std::exception ok Invoke constructor and check values. ... ok Test create_collection, has_collection and collection_names. ... ok Test connect with no parameters. ... ok Test delete_collection. ... ok Test count, get_ids, get and delete_document on an empty ... ok Test get_since with a datetime. ... ok Test get_since with no datetime and check that results are ... ok Test put and get, and also get_ids and count. ... ok Test put then another with the same ID. ... ok Test create_collection, has_collection and collection_names. ... SKIP: MongoDB server is not accessible Test connect with a bad host throws an AutoReconnect error as ... SKIP: MongoDB server is not accessible Test connect with a bad port throws an AutoReconnect error as ... SKIP: MongoDB server is not accessible Test connect with no database name parameter throws a KeyError. ... SKIP: MongoDB server is not accessible Test connect with no parameters throws a KeyError as a host ... SKIP: MongoDB server is not accessible Test delete_collection. ... SKIP: MongoDB server is not accessible Test count, get_ids, get and delete_document on an empty ... SKIP: MongoDB server is not accessible Test get_since with a datetime. ... SKIP: MongoDB server is not accessible Test get_since with no datetime and check that results are ... SKIP: MongoDB server is not accessible Test put and get, and also get_ids and count. ... SKIP: MongoDB server is not accessible Test put for > max_id. ... SKIP: MongoDB server is not accessible Test put then another with the same ID. ... SKIP: MongoDB server is not accessible 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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/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 "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/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 we can evaluate expressions okay ... ok Test evaluator initialises with math functions ... ok Test we can reset okay ... ok Test we can set evaluator variables ... ok Check merge_output init works okay ... ok Check start of job is okay ... ok Invoke constructor and check values. ... ok Invoke constructor with some node_status and check values. ... ok Test with list of OK node statuses. ... ok Test with empty list of node statuses. ... ok Test with list mixing OK and error statuses. ... ok Test conversion binary file to string ... ok Test buffer input where N inputs are requested from an ... ok Test buffer input where N + 1 inputs are requested from an ... ok Test where 0 inputs are requested from an emitter of length ... ok Test with a spill that has a "run_number". ... ok Test with a spill that has a no "run_number". ... ok Test with a spill no "daq_event_type". ... ok Test with a spill with "daq_event_type":"end_of_run". ... ok Test with a spill with "daq_event_type" not equal ... ok Test with a spill no "daq_event_type". ... ok Test with a spill with "daq_event_type":"start_of_run". ... ok Test with a spill with "daq_event_type" not equal ... ok Test where arguments are valid. ... ok Test where document store throws an exception. ... ok Test where arguments are valid. ... ok Test where "doc_store_class" specifies a non-existant ... ok Test where "doc_store_class" specifies a non-existant ... ok Test where "doc_store_class" specifies a class whose ... Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/src/common_py/framework/utilities.py", line 178, in setup_doc_store doc_store.connect(config) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/build/test_framework/test_utilities.py", line 288, in connect raise ValueError("Test") ValueError: Test ok Test with no "doc_store_class" entry in JSON configuration. ... ok Test where "doc_store_class" specifies a class but ... ok Test where "doc_store_class" specifies a class that does ... ok Invoke constructor and check values. ... ok Invoke constructor and check values. ... ok Invoke constructor and check values. ... ok Invoke constructor and check values. ... ok Invoke constructor and check values. ... ok Invoke constructor and check values. ... ok Invoke constructor and check values. ... ok Test get_create_transform("MapPyDoNothing") returns MapPyDoNothing. ... ok Test get_create_transform([]) returns an empty MapPyGroup. ... ok Test get_create_transform, when given a list of transform names ... ok Test get_create_transform(123) throws an error. ... ok Test get_create_transform([123]) throws an error. ... ok Test get_create_transform(None) throws an error. ... ok Test get_create_transform([None]) throws an error. ... ok Test get_create_transform(u"MapPyDoNothing") returns MapPyDoNothing. ... ok Test get_create_transform("UnknownTransform") throws an error. ... ok Test get_create_transform(["UnknownTransform"]) throws an error. ... ok Test get_worker_names(worker) where worker has no sub-workers. ... ok Test get_worker_names(worker) where worker is a MapPyGroup that ... ok Test get_worker_names(None). ... ok Test get_worker_names(worker) where worker is a MapPyGroup that ... ok Test get_validate_transform("MapPyDoNothing") is OK. ... ok Test get_validate_transform([]) is OK. ... ok Test get_validate_transform, when given a list of transform names ... ok Test get_validate_transform(123) throws an error. ... ok Test get_validate_transform([123]) throws an error. ... ok Test get_validate_transform(None) throws an error. ... ok Test get_validate_transform([None]) throws an error. ... ok Test get_validate_transform(u"MapPyDoNothing") is OK. ... ok Test get_validate_transform("UnknownTransform") throws an error. ... ok Test get_validate_transform(["UnknownTransform"]) throws an error. ... ok TestCADImport::test_constructor ... ok TestCADImport::test_parse_xslt ... I/O warning : failed to load external entity "/home/matt/StepFiles/GDML_fastradModel/fastradModel_materials.xml" ok test_config_reader::test_readconfig ... ok TestGDMLFormatter::test_constructor ... ok TestGDMLFormatter::test_format ... ok TestGDMLFormatter::test_format_check ... ok TestGDMLFormatter::test_format_materials ... ok TestGDMLFormatter::test_format_schema_location ... ok TestGDMLFormatter::test_insert_materials_ref ... ok TestGDMLFormatter::test_merge_maus_info ... ok TestGDMLFormatter::test_merge_run_info ... ok TestPacker::test_constructor ... ok TestPacker::test_zipfile ... ok TestUnpacker::test_constructor ... ok TestUnpacker::test_unzip_file ... ok TestDownloader::test_beamline_geomtry_for_run ... ok TestDownloader::test_download_current ... ok TestDownloader::test_download_geomtry_for_id ... ok TestDownloader::test_get_ids ... ok TestUploader::test_check_file_list ... ok TestUploader::test_constructor ... ok TestUploader::test_create_file_list ... ok TestUploader::test_is_filetype ... ok TestUploader::test_set_upserver ... ok TestUploader::test_upload_to_cdb ... ok TestGDMLToMausModule::test_constructor ... ok TestGDMLToMausModule::test_convert_to_maus ... ok Check can handle nonsense json input data ... ok Test to make sure death occurs ... ok Check can handle empty configuration and empty data ... ok Test of the process function ... ok Test to make sure death occurs ... ok Test of the process function of MapCppTrackerMCDigitization ... Bad json document MC event array not initialised, aborting digitisation for this spill ok Test maus_cpp.Field.get_field_value(...) ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Test maus_cpp.globals.birth() and maus_cpp.globals.death() ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Test maus_cpp.globals.get_configuration_cards() ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Test maus_cpp.globals.has_instance() ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Test maus_cpp.globals.get_version_number() ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Test maus_cpp.run_action_manager.start_of_run(...) ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Invoke process_birth. ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Invoke process_birth where birth throws an exception. ... ok Invoke process_birth where birth throws a ... ok Invoke process_birth with a config ID that matches ... ok Invoke process_birth where death of existing transform throws ... ok Invoke process_death. ... ok Invoke process_death where death throws an exception. ... ok Invoke worker_process_init_callback - check globals are not created with ... ok Check worker_process_init_callback constructs globals okay ... Setting the phase Made 0 attempts to phase 0 cavities with 0 remaining ok Test birth. ... ok Test birth with an invalid JSON configuration document. ... ok Test birth with a mismatched MAUS version. ... ok Test birth where birth throws an exception. ... ok Test birth where the pool throws an exception. ... ok Test death. ... ok Test death where death throws an exception. ... ok Test death where the pool throws an exception. ... ok Test get_maus_configuration. ... ok Invoke worker_process_callback. ... ok Invoke birth ... ok Invoke birth when a ValueError is thrown by birth. ... ok Invoke birth when WorkerBirthFailedException is thrown. ... ok Invoke death. ... ok Invoke death when a ValueError is thrown by death. ... ok Invoke death when WorkerDeathFailedException is thrown. ... ok Test birth when current transform death returns False. ... ok Invoke initialize. ... ok Invoke initialize with an unknown transform. ... ok Test initialize when current transform death returns False. ... ok Invoke process. ... ok Invoke death when WorkerDeathFailedException is thrown. ... ok Invoke process when a ValueError is thrown by process. ... ok Invoke execute_transform. ... [2013-09-18 17:33:21,543: INFO/MainProcess] None[None]: Task invoked by Unknown ok Invoke execute_transform when a ValueError is thrown by ... [2013-09-18 17:33:21,544: INFO/MainProcess] None[None]: Task invoked by Unknown ok test_numpy_exists ... ok test_geometries ... ok Check we can import libxml2 ... ok Check we can import libxslt ... ok ---------------------------------------------------------------------- Ran 442 tests in 108.948s OK (SKIP=12) Run cpplint looking for C++ style errors ... 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 ... ok Run pylint looking for python style errors ... ERROR ====================================================================== ERROR: Run pylint looking for python style errors ---------------------------------------------------------------------- Traceback (most recent call last): File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/tests/style/test_python_style.py", line 180, in test_python_style file_name = self.run_all_pylints() File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/tests/style/test_python_style.py", line 130, in run_all_pylints self.walk_directories(target_dir, fout) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/tests/style/test_python_style.py", line 102, in walk_directories errors = self.run_pylint(file_name, fout) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/tests/style/test_python_style.py", line 32, in run_pylint stderr=subprocess.STDOUT) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/subprocess.py", line 493, in call return Popen(*popenargs, **kwargs).wait() File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/stage/sl3-lcg-exp/sl5/micesgm/sl6/MAUS-v0.6.0/third_party/install/lib/python2.7/subprocess.py", line 1228, in _execute_child raise child_exception OSError: [Errno 20] Not a directory ---------------------------------------------------------------------- Ran 5 tests in 40.546s FAILED (errors=1)