Project

General

Profile

Support #724 » maus_test_log.txt

Tunnell, Christopher, 04 October 2011 17:03

 
1
Your current directory is:
2
/disks/7/durga/m7/maus-latest-release
3

    
4
Your MAUS_ROOT_DIR is:
5
/disks/7/durga/m7/maus-latest-release
6

    
7
These should agree
8
test_init (test_InputCppData.InputCppDataTestCase) ... ok
9
test_multi (test_InputCppData.InputCppDataTestCase) ... ok
10
test_single (test_InputCppData.InputCppDataTestCase) ... ok
11
Test runnig forever by trying to get 10000 empty documents ... ok
12
Read 100 events only ... ok
13
Test to make sure that if the input is done spitting out documents, then you can't get more documents from it ... ok
14
test bad file content ... ok
15
test internal counter gt ... ok
16
test internal counter lt ... ok
17
test what happens if there is one line with some spaces ... ok
18
test read 100 events ... ok
19
test trying to read twice gives nothing ... ok
20
test bad input number of spills ... Traceback (most recent call last):
21
  File "/disks/7/durga/m7/maus-latest-release/build/InputPySpillGenerator.py", line 43, in birth
22
    int(config_doc["spill_generator_number_of_spills"])
23
ValueError: invalid literal for int() with base 10: 'bob'
24
Traceback (most recent call last):
25
  File "/disks/7/durga/m7/maus-latest-release/build/InputPySpillGenerator.py", line 43, in birth
26
    int(config_doc["spill_generator_number_of_spills"])
27
KeyError: 'spill_generator_number_of_spills'
28
Traceback (most recent call last):
29
  File "/disks/7/durga/m7/maus-latest-release/build/InputPySpillGenerator.py", line 44, in birth
30
    assert self._number_of_events > -1
31
AssertionError
32
ok
33
should be able to generate 0 events (and return nothing) ... ok
34
test generate 100 events ... ok
35
test_empty (test_MapCppPrint.MapCppPrintTestCase) ... ok
36
Check we get an error for bad input to birth ... Traceback (most recent call last):
37
  File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException
38
    raise(CppError(error_message))
39
ErrorHandler.CppError: St9exception
40
ok
41
Check mapper runs for empty string, returning an error ... ok
42
Check mapper runs for mc with wrong type, returning an error ... Traceback (most recent call last):
43
  File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException
44
    raise(CppError(error_message))
45
ErrorHandler.CppError: St9exception
46
ok
47
Check mapper runs for mc good. Check it tracks primaries by testing ... ok
48
Check mapper runs for no mc string, returning an error ... Traceback (most recent call last):
49
  File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException
50
    raise(CppError(error_message))
51
ErrorHandler.CppError: St9exception
52
ok
53
test_visualisation (test_MapCppSimulation.MapCppSimulationTestCase) ... ..
54
----------------------------------------------------------------------
55
Ran 2 tests in 2.487s
56

    
57
OK
58
ok
59
test_digit (test_MapCppTOFDigitization.MapCppTOFDigitizationTestCase) ... ok
60
test_empty (test_MapCppTOFDigitization.MapCppTOFDigitizationTestCase) ... ok
61
test_mc_bad_type (test_MapCppTOFDigitization.MapCppTOFDigitizationTestCase) ... ok
62
test_no_mc_branch (test_MapCppTOFDigitization.MapCppTOFDigitizationTestCase) ... ok
63
test_digit (test_MapCppTrackerDigitization.MapCppTrackerDigitizationTestCase) ... ok
64
test_empty (test_MapCppTrackerDigitization.MapCppTrackerDigitizationTestCase) ... ok
65
test_mc_bad_type (test_MapCppTrackerDigitization.MapCppTrackerDigitizationTestCase) ... ok
66
test_no_mc_branch (test_MapCppTrackerDigitization.MapCppTrackerDigitizationTestCase) ... ok
67
Check that the birth goes okay ... ok
68
Check that we set the binomial variables; throw an error if binomial ... ok
69
Check that we set the seed, particle generator correctly ... ok
70
Check that we throw an error if particle generator unknown ... ok
71
Check overall that process works okay ... ok
72
Check that we throw an error if the spill is bad ... ok
73
Check that we sample from beams with large weight in binomial mode ... ok
74
Check that we sample from the correct beam for each particle when in ... ok
75
Check that we sample from beams with large weight in ovewrwrite mode ... ok
76
Check that we append a random number of empty primaries within allowed ... ok
77
Check that we append correct number of empty primaries in counter mode ... ok
78
Check that we generate empty primaries for each existing particle in ... ok
79
test_document (test_MapPyDoNothing.MapPyDoNothingTestCase) ... ok
80
test_empty (test_MapPyDoNothing.MapPyDoNothingTestCase) ... ok
81
test_sha_tracks (test_MapPyFakeTestSimulation.MapPyFakeTestSimulationTestCase) ... ok
82
test_empty (test_MapPyPrint.MapPyPrintTestCase) ... ok
83
test_return (test_MapPyPrint.MapPyPrintTestCase) ... ok
84
test_empty (test_MapPyRemoveTracks.MapPyRemoveTracksTestCase) ... ok
85
test_no_mc_branch (test_MapPyRemoveTracks.MapPyRemoveTracksTestCase) ... ok
86
test_remove_non_muon (test_MapPyRemoveTracks.MapPyRemoveTracksTestCase) ... ok
87
test_removes_tracks (test_MapPyRemoveTracks.MapPyRemoveTracksTestCase) ... ok
88
Test saving one event ... ok
89
Test OutputPyJson loads a gzip file from datacards correctly. ... ok
90
Test OutputPyJson loads a text file from datacards correctly. ... ok
91
Test OutputPyJson handles exceptions on bad death(). ... ok
92
Try saving one spill using compressed gzip ... ok
93
Try saving one spill in uncompressed fashion ... ok
94
test_always_true (test_always_true.AlwaysTrueTestCase) ... ok
95
Overall check birth works ... ok
96
Beam mean setup ... ok
97
Beam longitudinal - gaussian mode ... ok
98
Beam longitudinal - sawtooth/uniform time distributions ... ok
99
Beam longitudinal - twiss mode ... ok
100
Beam longitudinal - bad user input ... ok
101
Beam longitudinal - pencil mode ... ok
102
Test __birth_particle_generator for counter mode ... ok
103
Test __birth_particle_generator for weighting mode ... ok
104
Test __birth_particle_generator for random number assignment ... ok
105
Test __birth_reference_particle ... Traceback (most recent call last):
106
  File "/disks/7/durga/m7/maus-latest-release/build/beam.py", line 191, in __birth_reference_particle
107
    beam_definition['reference'], 0)
108
  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
109
    for maus_xyz, value in maus_dict[maus_name].iteritems():
110
AttributeError: 'int' object has no attribute 'iteritems'
111
ok
112
Beam transverse - longitudinal coupling ... ok
113
Beam transverse constant solenoid mode ... ok
114
Test for bad input ... ok
115
Test for pencil beam ... ok
116
Beam transverse Penn mode ... ok
117
Beam transverse twiss mode ... ok
118
Check function that throws a particle - for gaussian distribution ... ok
119
Check function that throws a particle - for pencil beam ... ok
120
Check function that throws a particle - for sawtooth time dist ... ok
121
Check function that throws a particle - for uniform time dist ... ok
122
Check function that converts from an array to a primary particle ... ok
123
Check we generate the seed correctly ... ok
124
Test __init__ imports. ... ok
125
Test AlarmHandler get_tagged_alh. ... ok
126
Test AlarmHandler get_used_alh. ... ok
127
Test AlarmHandler get_used_tags. ... ok
128
Test AlarmHandler list_tags. ... ok
129
Test AlarmHandler __str__. ... ok
130
Test _base _get_date_from_string. ... ok
131
Test _CdbBase get_status. ... ok
132
Test _StatusHandler. ... ok
133
Test _base _get_string_from_date. ... ok
134
Test _CdbBase __init__. ... ok
135
Test _CdbBase set_url. ... ok
136
Test Beamline get_all_beamlines. ... ok
137
Test Beamline get_beamline_for_run. ... ok
138
Test Beamline get_beamlines_for_dates. ... ok
139
Test Beamline get_beamlines_for_pulses. ... ok
140
Test Beamline __str__. ... ok
141
Test Control get_controls ... ok
142
Test Control get_controls_for_crate. ... ok
143
Test Control get_previous_settings. ... ok
144
Test Control __str__. ... ok
145
Test Geometry get_current_gdml. ... ok
146
Test Geometry get_gdml_for_id. ... ok
147
Test Geometry get_gdml_for_run. ... ok
148
Test Geometry get_ids. ... ok
149
Test Geometry __str__. ... ok
150
Test parsing bool from command line to configuration ... ok
151
Test parsing bool from command line to configuration ... ok
152
Test parsing number from command line to configuration ... ok
153
Test parsing string from command line to configuration ... ok
154
Check that we load configuration defaults correctly ... ok
155
Test that we can create a configuration value from an input file ... ok
156
Test that we can overwrite configuration value from an input file ... ok
157
Test conversion from string to boolean type ... ok
158
Check that the version is defined correctly ... ok
159
Check that Go handles command line args switch correctly ... usage: nosetests [-h] [-SciFiadcBits SCIFIADCBITS]
160
                 [-SciFinElecChanPerPlane SCIFINELECCHANPERPLANE]
161
                 [-SciFiFiberMirrorEff SCIFIFIBERMIRROREFF]
162
                 [-visualisation_phi VISUALISATION_PHI]
163
                 [-keep_only_muon_tracks KEEP_ONLY_MUON_TRACKS]
164
                 [-SciFinPlanes SCIFINPLANES]
165
                 [-SciFiFiberTransmissionEff SCIFIFIBERTRANSMISSIONEFF]
166
                 [-SciFiFiberTrappingEff SCIFIFIBERTRAPPINGEFF]
167
                 [-map_reduce_type MAP_REDUCE_TYPE]
168
                 [-simulation_reference_particle SIMULATION_REFERENCE_PARTICLE]
169
                 [-TOFpmtQuantumEfficiency TOFPMTQUANTUMEFFICIENCY]
170
                 [-TOFtdcConversionFactor TOFTDCCONVERSIONFACTOR]
171
                 [-SciFiFiberConvFactor SCIFIFIBERCONVFACTOR]
172
                 [-SciFitdcFactor SCIFITDCFACTOR] [-keep_tracks KEEP_TRACKS]
173
                 [-errors_to_stderr ERRORS_TO_STDERR]
174
                 [-TOFscintLightSpeed TOFSCINTLIGHTSPEED]
175
                 [-SciFiFiberDecayConst SCIFIFIBERDECAYCONST]
176
                 [-TOFconversionFactor TOFCONVERSIONFACTOR]
177
                 [-SciFiMUXTransmissionEff SCIFIMUXTRANSMISSIONEFF]
178
                 [-SciFiadcFactor SCIFIADCFACTOR] [-SciFiMUXNum SCIFIMUXNUM]
179
                 [-SciFiFiberCriticalAngle SCIFIFIBERCRITICALANGLE]
180
                 [-TOFadcConversionFactor TOFADCCONVERSIONFACTOR]
181
                 [-keep_steps KEEP_STEPS] [-verbose_level VERBOSE_LEVEL]
182
                 [-geant4_visualisation GEANT4_VISUALISATION]
183
                 [-output_json_file_name OUTPUT_JSON_FILE_NAME]
184
                 [-output_json_file_type OUTPUT_JSON_FILE_TYPE]
185
                 [-errors_to_json ERRORS_TO_JSON]
186
                 [-simulation_geometry_filename SIMULATION_GEOMETRY_FILENAME]
187
                 [-maus_version MAUS_VERSION] [-beam BEAM]
188
                 [-SciFitdcBits SCIFITDCBITS]
189
                 [-visualisation_viewer VISUALISATION_VIEWER]
190
                 [-maximum_number_of_steps MAXIMUM_NUMBER_OF_STEPS]
191
                 [-SciFivlpcQE SCIFIVLPCQE] [-SciFinTrackers SCIFINTRACKERS]
192
                 [-SciFivlpcEnergyRes SCIFIVLPCENERGYRES]
193
                 [-SciFivlpcTimeRes SCIFIVLPCTIMERES]
194
                 [-visualisation_zoom VISUALISATION_ZOOM]
195
                 [-SciFiFiberRunLength SCIFIFIBERRUNLENGTH]
196
                 [-spill_generator_number_of_spills SPILL_GENERATOR_NUMBER_OF_SPILLS]
197
                 [-SciFiFiberRefractiveIndex SCIFIFIBERREFRACTIVEINDEX]
198
                 [-TOFattenuationLength TOFATTENUATIONLENGTH]
199
                 [-TOFpmtTimeResolution TOFPMTTIMERESOLUTION]
200
                 [-configuration_file CONFIGURATION_FILE]
201
                 [-visualisation_theta VISUALISATION_THETA]
202
                 [-on_error ON_ERROR] [-SciFinStations SCIFINSTATIONS]
203
                 [-reconstruction_geometry_filename RECONSTRUCTION_GEOMETRY_FILENAME]
204
nosetests: error: unrecognized arguments: bob
205
ok
206
Check that Go raises error with bad input ... ok
207
Check that Go raises error with bad mapper ... ok
208
Check that Go raises error with bad outputter ... ok
209
Check that Go raises error with bad reducer ... ok
210
Check that Go raises error with bad map reduce type ... ok
211
Check that Go executes okay with good map reduce ... ok
212
@brief This is the main test - walks the directory structure and looks for errors using cpplint ... ok
213
@brief self check - test we postprocess cpplint output correctly ... ok
214
@brief self check - test the glob_maus_root_dir function (above) ... ok
215
@brief self check - test we walk the path correctly, excluding relevant files and directories ... ok
216
test_run_test_cpp_unit (test_cpp_unit.CppUnitTests) ... [==========] Running 138 tests from 29 test cases.
217
[----------] Global test environment set-up.
218
[----------] 6 tests from JsonWrapper
219
[ RUN      ] JsonWrapper.StringToJson
220
[       OK ] JsonWrapper.StringToJson (4 ms)
221
[ RUN      ] JsonWrapper.GetItemTest
222
[       OK ] JsonWrapper.GetItemTest (3 ms)
223
[ RUN      ] JsonWrapper.GetPropertyTest
224
[       OK ] JsonWrapper.GetPropertyTest (13 ms)
225
[ RUN      ] JsonWrapper.TypeConversionTest
226
[       OK ] JsonWrapper.TypeConversionTest (1 ms)
227
[ RUN      ] JsonWrapper.SimilarTypeTest
228
[       OK ] JsonWrapper.SimilarTypeTest (0 ms)
229
[ RUN      ] JsonWrapper.PrintTest
230
[       OK ] JsonWrapper.PrintTest (1 ms)
231
[----------] 6 tests from JsonWrapper (22 ms total)
232

    
233
[----------] 4 tests from CppErrorHandlerTest
234
[ RUN      ] CppErrorHandlerTest.HandleSquealTest
235
Traceback (most recent call last):
236
  File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException
237
    raise(CppError(error_message))
238
ErrorHandler.CppError: a_test at exc::test
239
[       OK ] CppErrorHandlerTest.HandleSquealTest (116 ms)
240
[ RUN      ] CppErrorHandlerTest.HandleStdExcTest
241
Traceback (most recent call last):
242
  File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException
243
    raise(CppError(error_message))
244
ErrorHandler.CppError: a_test at exc::test
245
[       OK ] CppErrorHandlerTest.HandleStdExcTest (1 ms)
246
[ RUN      ] CppErrorHandlerTest.HandleStdExcNoJsonTest
247
Traceback (most recent call last):
248
  File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException
249
    raise(CppError(error_message))
250
ErrorHandler.CppError: a_test at exc::test
251
[       OK ] CppErrorHandlerTest.HandleStdExcNoJsonTest (1 ms)
252
[ RUN      ] CppErrorHandlerTest.HandleSquealNoJsonTest
253
Traceback (most recent call last):
254
  File "/disks/7/durga/m7/maus-latest-release/src/common_py/ErrorHandler.py", line 159, in HandleCppException
255
    raise(CppError(error_message))
256
ErrorHandler.CppError: a_test at exc::test
257
[       OK ] CppErrorHandlerTest.HandleSquealNoJsonTest (1 ms)
258
[----------] 4 tests from CppErrorHandlerTest (119 ms total)
259

    
260
[----------] 12 tests from MAUSGeant4ManagerTest
261
[ RUN      ] MAUSGeant4ManagerTest.GetSetTest
262
[       OK ] MAUSGeant4ManagerTest.GetSetTest (131 ms)
263
[ RUN      ] MAUSGeant4ManagerTest.GetReferenceParticleTest
264
[       OK ] MAUSGeant4ManagerTest.GetReferenceParticleTest (1 ms)
265
[ RUN      ] MAUSGeant4ManagerTest.SetPhasesTest
266
[       OK ] MAUSGeant4ManagerTest.SetPhasesTest (26 ms)
267
[ RUN      ] MAUSGeant4ManagerTest.RunParticlePGTest
268
[       OK ] MAUSGeant4ManagerTest.RunParticlePGTest (2450 ms)
269
[ RUN      ] MAUSGeant4ManagerTest.RunParticleJsonTest
270
[       OK ] MAUSGeant4ManagerTest.RunParticleJsonTest (4 ms)
271
[ RUN      ] MAUSGeant4ManagerTest.RunManyParticlesTest
272
[       OK ] MAUSGeant4ManagerTest.RunManyParticlesTest (5 ms)
273
[ RUN      ] MAUSGeant4ManagerTest.GetSetTest
274
[       OK ] MAUSGeant4ManagerTest.GetSetTest (0 ms)
275
[ RUN      ] MAUSGeant4ManagerTest.GetReferenceParticleTest
276
[       OK ] MAUSGeant4ManagerTest.GetReferenceParticleTest (0 ms)
277
[ RUN      ] MAUSGeant4ManagerTest.SetPhasesTest
278
[       OK ] MAUSGeant4ManagerTest.SetPhasesTest (19 ms)
279
[ RUN      ] MAUSGeant4ManagerTest.RunParticlePGTest
280
[       OK ] MAUSGeant4ManagerTest.RunParticlePGTest (358 ms)
281
[ RUN      ] MAUSGeant4ManagerTest.RunParticleJsonTest
282
[       OK ] MAUSGeant4ManagerTest.RunParticleJsonTest (3 ms)
283
[ RUN      ] MAUSGeant4ManagerTest.RunManyParticlesTest
284
[       OK ] MAUSGeant4ManagerTest.RunManyParticlesTest (5 ms)
285
[----------] 12 tests from MAUSGeant4ManagerTest (3003 ms total)
286

    
287
[----------] 6 tests from VirtualPlaneTest
288
[ RUN      ] VirtualPlaneTest.ConstructorTest
289
[       OK ] VirtualPlaneTest.ConstructorTest (1 ms)
290
[ RUN      ] VirtualPlaneTest.GetIndependentVariableZTest
291
[       OK ] VirtualPlaneTest.GetIndependentVariableZTest (0 ms)
292
[ RUN      ] VirtualPlaneTest.SteppingOverTest
293
[       OK ] VirtualPlaneTest.SteppingOverTest (1 ms)
294
[ RUN      ] VirtualPlaneTest.BuildNewHitTest
295
[       OK ] VirtualPlaneTest.BuildNewHitTest (16 ms)
296
[ RUN      ] VirtualPlaneTest.ComparePositionTest
297
[       OK ] VirtualPlaneTest.ComparePositionTest (0 ms)
298
[ RUN      ] VirtualPlaneTest.InRadialCutTest
299
[       OK ] VirtualPlaneTest.InRadialCutTest (0 ms)
300
[----------] 6 tests from VirtualPlaneTest (18 ms total)
301

    
302
[----------] 13 tests from VirtualPlaneManagerTest
303
[ RUN      ] VirtualPlaneManagerTest.GetSetFieldTest
304
[       OK ] VirtualPlaneManagerTest.GetSetFieldTest (1 ms)
305
[ RUN      ] VirtualPlaneManagerTest.GetSetHitsTest
306
[       OK ] VirtualPlaneManagerTest.GetSetHitsTest (0 ms)
307
[ RUN      ] VirtualPlaneManagerTest.ConstructVirtualPlanes
308
[       OK ] VirtualPlaneManagerTest.ConstructVirtualPlanes (2 ms)
309
[ RUN      ] VirtualPlaneManagerTest.ConstructFromModule_IndepVariableTest
310
[       OK ] VirtualPlaneManagerTest.ConstructFromModule_IndepVariableTest (12 ms)
311
[ RUN      ] VirtualPlaneManagerTest.ConstructFromModule_MultiplePassesTest
312
[       OK ] VirtualPlaneManagerTest.ConstructFromModule_MultiplePassesTest (3 ms)
313
[ RUN      ] VirtualPlaneManagerTest.ConstructFromModule_OtherStuffTest
314
[       OK ] VirtualPlaneManagerTest.ConstructFromModule_OtherStuffTest (1 ms)
315
[ RUN      ] VirtualPlaneManagerTest.VirtualPlanesSteppingActionTest
316
[       OK ] VirtualPlaneManagerTest.VirtualPlanesSteppingActionTest (5 ms)
317
[ RUN      ] VirtualPlaneManagerTest.VirtualPlanesSteppingActionMultipassTest
318
[       OK ] VirtualPlaneManagerTest.VirtualPlanesSteppingActionMultipassTest (5 ms)
319
[ RUN      ] VirtualPlaneManagerTest.GetModuleFromStationNumberTest
320
[       OK ] VirtualPlaneManagerTest.GetModuleFromStationNumberTest (3 ms)
321
[ RUN      ] VirtualPlaneManagerTest.GetStationNumberFromModuleTest
322
[       OK ] VirtualPlaneManagerTest.GetStationNumberFromModuleTest (1 ms)
323
[ RUN      ] VirtualPlaneManagerTest.RemovePlaneTest
324
[       OK ] VirtualPlaneManagerTest.RemovePlaneTest (6 ms)
325
[ RUN      ] VirtualPlaneManagerTest.RemovePlanesTest
326
[       OK ] VirtualPlaneManagerTest.RemovePlanesTest (4 ms)
327
[ RUN      ] VirtualPlaneManagerTest.ReadWriteHitTest
328
[       OK ] VirtualPlaneManagerTest.ReadWriteHitTest (1 ms)
329
[----------] 13 tests from VirtualPlaneManagerTest (45 ms total)
330

    
331
[----------] 2 tests from MAUSTrackingActionTest
332
[ RUN      ] MAUSTrackingActionTest.PreUserTrackingActionTest
333
[       OK ] MAUSTrackingActionTest.PreUserTrackingActionTest (1 ms)
334
[ RUN      ] MAUSTrackingActionTest.PostUserTrackingActionTest
335
[       OK ] MAUSTrackingActionTest.PostUserTrackingActionTest (1 ms)
336
[----------] 2 tests from MAUSTrackingActionTest (2 ms total)
337

    
338
[----------] 5 tests from MAUSSteppingActionTest
339
[ RUN      ] MAUSSteppingActionTest.GetSetTest
340
[       OK ] MAUSSteppingActionTest.GetSetTest (1 ms)
341
[ RUN      ] MAUSSteppingActionTest.UserSteppingActionMaxNStepsTest
342
[       OK ] MAUSSteppingActionTest.UserSteppingActionMaxNStepsTest (0 ms)
343
[ RUN      ] MAUSSteppingActionTest.UserSteppingActionWriteStepsTest
344
[       OK ] MAUSSteppingActionTest.UserSteppingActionWriteStepsTest (1 ms)
345
[ RUN      ] MAUSSteppingActionTest.StepToJsonTest
346
[       OK ] MAUSSteppingActionTest.StepToJsonTest (0 ms)
347
[ RUN      ] MAUSSteppingActionTest.UserSteppingActionVirtualTest
348
[       OK ] MAUSSteppingActionTest.UserSteppingActionVirtualTest (2 ms)
349
[----------] 5 tests from MAUSSteppingActionTest (4 ms total)
350

    
351
[----------] 4 tests from MAUSPrimaryGeneratorActionTest
352
[ RUN      ] MAUSPrimaryGeneratorActionTest.PushPopTest
353
[       OK ] MAUSPrimaryGeneratorActionTest.PushPopTest (0 ms)
354
[ RUN      ] MAUSPrimaryGeneratorActionTest.GeneratePrimariesTest
355
[       OK ] MAUSPrimaryGeneratorActionTest.GeneratePrimariesTest (4 ms)
356
[ RUN      ] MAUSPrimaryGeneratorActionTest.PGParticleReadWriteTest
357
[       OK ] MAUSPrimaryGeneratorActionTest.PGParticleReadWriteTest (0 ms)
358
[ RUN      ] MAUSPrimaryGeneratorActionTest.PGParticleFromVirtualHitTest
359
[       OK ] MAUSPrimaryGeneratorActionTest.PGParticleFromVirtualHitTest (1 ms)
360
[----------] 4 tests from MAUSPrimaryGeneratorActionTest (5 ms total)
361

    
362
[----------] 3 tests from MAUSEventActionTest
363
[ RUN      ] MAUSEventActionTest.SetGetEventsTest
364
[       OK ] MAUSEventActionTest.SetGetEventsTest (1 ms)
365
[ RUN      ] MAUSEventActionTest.BeginOfEventActionTest
366
[       OK ] MAUSEventActionTest.BeginOfEventActionTest (0 ms)
367
[ RUN      ] MAUSEventActionTest.EndOfEventActionTest
368
[       OK ] MAUSEventActionTest.EndOfEventActionTest (2 ms)
369
[----------] 3 tests from MAUSEventActionTest (3 ms total)
370

    
371
[----------] 1 test from dataCardsTest
372
[ RUN      ] dataCardsTest.readKeysTest
373
Evaluator : unknown variable
374
[       OK ] dataCardsTest.readKeysTest (5 ms)
375
[----------] 1 test from dataCardsTest (5 ms total)
376

    
377
[----------] 1 test from TriangularMeshTest
378
[ RUN      ] TriangularMeshTest.DelaunayConstructorTest
379
[       OK ] TriangularMeshTest.DelaunayConstructorTest (6 ms)
380
[----------] 1 test from TriangularMeshTest (6 ms total)
381

    
382
[----------] 8 tests from SqueakTest
383
[ RUN      ] SqueakTest.SqueakSetOutputMoutErrorLevelTest
384
[       OK ] SqueakTest.SqueakSetOutputMoutErrorLevelTest (0 ms)
385
[ RUN      ] SqueakTest.SqueakMoutExceptionTest
386
[       OK ] SqueakTest.SqueakMoutExceptionTest (0 ms)
387
[ RUN      ] SqueakTest.SqueakMoutDefaultTest
388
[       OK ] SqueakTest.SqueakMoutDefaultTest (0 ms)
389
[ RUN      ] SqueakTest.GetOutputsTest
390
[       OK ] SqueakTest.GetOutputsTest (1 ms)
391
[ RUN      ] SqueakTest.ActivateCoutTest
392
[       OK ] SqueakTest.ActivateCoutTest (0 ms)
393
[ RUN      ] SqueakTest.ActivateClogTest
394
[       OK ] SqueakTest.ActivateClogTest (0 ms)
395
[ RUN      ] SqueakTest.ActivateCerrTest
396
[       OK ] SqueakTest.ActivateCerrTest (0 ms)
397
[ RUN      ] SqueakTest.SetStandardOutputs
398
[       OK ] SqueakTest.SetStandardOutputs (0 ms)
399
[----------] 8 tests from SqueakTest (1 ms total)
400

    
401
[----------] 2 tests from STLUtilsTest
402
[ RUN      ] STLUtilsTest.IterableEqualityTest
403
[       OK ] STLUtilsTest.IterableEqualityTest (0 ms)
404
[ RUN      ] STLUtilsTest.ToStringTest
405
[       OK ] STLUtilsTest.ToStringTest (0 ms)
406
[----------] 2 tests from STLUtilsTest (0 ms total)
407

    
408
[----------] 1 test from PolynomialTest
409
[ RUN      ] PolynomialTest.old_unit_tests
410
[       OK ] PolynomialTest.old_unit_tests (3228 ms)
411
[----------] 1 test from PolynomialTest (3228 ms total)
412

    
413
[----------] 1 test from MeshTest
414
[ RUN      ] MeshTest.testAll
415
[       OK ] MeshTest.testAll (785 ms)
416
[----------] 1 test from MeshTest (785 ms total)
417

    
418
[----------] 1 test from MathUtils
419
[ RUN      ] MathUtils.CompactVectorTest
420
[       OK ] MathUtils.CompactVectorTest (1 ms)
421
[----------] 1 test from MathUtils (1 ms total)
422

    
423
[----------] 1 test from Mathutils
424
[ RUN      ] Mathutils.GreaterThanTest
425
[       OK ] Mathutils.GreaterThanTest (0 ms)
426
[----------] 1 test from Mathutils (0 ms total)
427

    
428
[----------] 7 tests from EngeTest
429
[ RUN      ] EngeTest.EngeConstructorTest
430
[       OK ] EngeTest.EngeConstructorTest (22 ms)
431
[ RUN      ] EngeTest.MutatorAccessorTest
432
[       OK ] EngeTest.MutatorAccessorTest (0 ms)
433
[ RUN      ] EngeTest.SetEngeDiffIndicesTest
434
[       OK ] EngeTest.SetEngeDiffIndicesTest (0 ms)
435
[ RUN      ] EngeTest.HNTest
436
[       OK ] EngeTest.HNTest (2 ms)
437
[ RUN      ] EngeTest.GNTest
438
[       OK ] EngeTest.GNTest (15 ms)
439
[ RUN      ] EngeTest.GetEngeTest
440
[       OK ] EngeTest.GetEngeTest (532 ms)
441
[ RUN      ] EngeTest.GetDoubleEngeTest
442
[       OK ] EngeTest.GetDoubleEngeTest (1065 ms)
443
[----------] 7 tests from EngeTest (1637 ms total)
444

    
445
[----------] 6 tests from TanhTest
446
[ RUN      ] TanhTest.TanhConstructorTest
447
[       OK ] TanhTest.TanhConstructorTest (0 ms)
448
[ RUN      ] TanhTest.TanhMutatorAccessorTest
449
[       OK ] TanhTest.TanhMutatorAccessorTest (0 ms)
450
[ RUN      ] TanhTest.TanhGetTanhDiffIndicesTest
451
[       OK ] TanhTest.TanhGetTanhDiffIndicesTest (0 ms)
452
[ RUN      ] TanhTest.GetTanhTest
453
[       OK ] TanhTest.GetTanhTest (2 ms)
454
[ RUN      ] TanhTest.GetNegTanhTest
455
[       OK ] TanhTest.GetNegTanhTest (1 ms)
456
[ RUN      ] TanhTest.GetDoubleTanhTest
457
[       OK ] TanhTest.GetDoubleTanhTest (1 ms)
458
[----------] 6 tests from TanhTest (4 ms total)
459

    
460
[----------] 1 test from MVectorTest
461
[ RUN      ] MVectorTest.old_unit_tests
462
[       OK ] MVectorTest.old_unit_tests (4 ms)
463
[----------] 1 test from MVectorTest (4 ms total)
464

    
465
[----------] 11 tests from MMatrixDoubleTest
466
[ RUN      ] MMatrixDoubleTest.DefaultConstructorTest
467
[       OK ] MMatrixDoubleTest.DefaultConstructorTest (0 ms)
468
[ RUN      ] MMatrixDoubleTest.ConstructorSizeOnlyTest
469
[       OK ] MMatrixDoubleTest.ConstructorSizeOnlyTest (0 ms)
470
[ RUN      ] MMatrixDoubleTest.ConstructorAllEqualTest
471
[       OK ] MMatrixDoubleTest.ConstructorAllEqualTest (0 ms)
472
[ RUN      ] MMatrixDoubleTest.ConstructorDataTest
473
[       OK ] MMatrixDoubleTest.ConstructorDataTest (0 ms)
474
[ RUN      ] MMatrixDoubleTest.CopyConstructorTest
475
[       OK ] MMatrixDoubleTest.CopyConstructorTest (0 ms)
476
[ RUN      ] MMatrixDoubleTest.DiagonalTest
477
[       OK ] MMatrixDoubleTest.DiagonalTest (0 ms)
478
[ RUN      ] MMatrixDoubleTest.MMatrixBracketOperatorTest
479
[       OK ] MMatrixDoubleTest.MMatrixBracketOperatorTest (0 ms)
480
[ RUN      ] MMatrixDoubleTest.MMatrixTraceTest
481
[       OK ] MMatrixDoubleTest.MMatrixTraceTest (0 ms)
482
[ RUN      ] MMatrixDoubleTest.MMatrixDetTest
483
[       OK ] MMatrixDoubleTest.MMatrixDetTest (1 ms)
484
[ RUN      ] MMatrixDoubleTest.MMatrixInvertTest
485
[       OK ] MMatrixDoubleTest.MMatrixInvertTest (0 ms)
486
[ RUN      ] MMatrixDoubleTest.MMatrixInverseTest
487
[       OK ] MMatrixDoubleTest.MMatrixInverseTest (0 ms)
488
[----------] 11 tests from MMatrixDoubleTest (1 ms total)
489

    
490
[----------] 1 test from MMatrixTest
491
[ RUN      ] MMatrixTest.old_unit_tests
492
[       OK ] MMatrixTest.old_unit_tests (23 ms)
493
[----------] 1 test from MMatrixTest (23 ms total)
494

    
495
[----------] 1 test from DifferentiatorTest
496
[ RUN      ] DifferentiatorTest.old_unit_tests
497
[       OK ] DifferentiatorTest.old_unit_tests (2 ms)
498
[----------] 1 test from DifferentiatorTest (2 ms total)
499

    
500
[----------] 11 tests from MiceModToG4SolidTest
501
[ RUN      ] MiceModToG4SolidTest.checkDimTest
502
[       OK ] MiceModToG4SolidTest.checkDimTest (1 ms)
503
[ RUN      ] MiceModToG4SolidTest.buildWedgeTest
504
[       OK ] MiceModToG4SolidTest.buildWedgeTest (4 ms)
505
[ RUN      ] MiceModToG4SolidTest.buildTrapezoidTest
506
[       OK ] MiceModToG4SolidTest.buildTrapezoidTest (1 ms)
507
[ RUN      ] MiceModToG4SolidTest.buildBoxTest
508
[       OK ] MiceModToG4SolidTest.buildBoxTest (4 ms)
509
[ RUN      ] MiceModToG4SolidTest.buildCylinderTest
510
[       OK ] MiceModToG4SolidTest.buildCylinderTest (2 ms)
511
[ RUN      ] MiceModToG4SolidTest.buildTubeTest
512
[       OK ] MiceModToG4SolidTest.buildTubeTest (6 ms)
513
[ RUN      ] MiceModToG4SolidTest.buildSphereTest
514
[       OK ] MiceModToG4SolidTest.buildSphereTest (11 ms)
515
[ RUN      ] MiceModToG4SolidTest.buildPolyconeTest
516
[       OK ] MiceModToG4SolidTest.buildPolyconeTest (1 ms)
517
[ RUN      ] MiceModToG4SolidTest.buildMultipoleTest
518
[       OK ] MiceModToG4SolidTest.buildMultipoleTest (1 ms)
519
[ RUN      ] MiceModToG4SolidTest.buildTorusTest
520
[       OK ] MiceModToG4SolidTest.buildTorusTest (10 ms)
521
[ RUN      ] MiceModToG4SolidTest.buildEllipticalConeTest
522
[       OK ] MiceModToG4SolidTest.buildEllipticalConeTest (4 ms)
523
[----------] 11 tests from MiceModToG4SolidTest (45 ms total)
524

    
525
[----------] 10 tests from MiceModuleTest
526
[ RUN      ] MiceModuleTest.ReadModuleTest
527
terminate called after throwing an instance of 'Squeal'
528
  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)
529
FAIL
530
Test error handler setup from configuration ... ok
531
Test CppError type works okay ... ok
532
Check default handler calls correctly ... ok
533
Test initialisation of the error handler ... ok
534
Check we send error to json correctly ... ok
535
Check that we send errors to sys.stderr if required ... ok
536
Check the flag that controls sending errors to json works ... Traceback (most recent call last):
537
  File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 81, in test_handle_exception_json
538
    raise RuntimeError("Test error 1")
539
RuntimeError: Test error 1
540
Traceback (most recent call last):
541
  File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 89, in test_handle_exception_json
542
    raise RuntimeError("Test error 2")
543
RuntimeError: Test error 2
544
Traceback (most recent call last):
545
  File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 97, in test_handle_exception_json
546
    raise RuntimeError("Test error 3")
547
RuntimeError: Test error 3
548
ok
549
Check that we handle the exception correctly (raise, halt, etc) ... Traceback (most recent call last):
550
  File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 133, in test_handle_exception_on_error
551
    raise RuntimeError("Test error 1")
552
RuntimeError: Test error 1
553
Traceback (most recent call last):
554
  File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 141, in test_handle_exception_on_error
555
    raise RuntimeError("Test error 1")
556
RuntimeError: Test error 1
557
Traceback (most recent call last):
558
  File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 149, in test_handle_exception_on_error
559
    raise RuntimeError("Test error 1")
560
RuntimeError: Test error 1
561
Traceback (most recent call last):
562
  File "/disks/7/durga/m7/maus-latest-release/build/test_error_handler.py", line 154, in test_handle_exception_on_error
563
    raise RuntimeError("Test error 1")
564
RuntimeError: Test error 1
565
ok
566
Check the flag that controls sending errors to stderr ... ok
567
Test we can do interface with Cpp correctly ... ok
568
test_numpy_exists (test_numpy.NumpyTestCase) ... ok
569
@brief walk up from $MAUS_ROOT_DIR and run pylint looking for errors ... ok
570
test_geometries (test_root_plot.RootPlotTestCase) ... Info in <TCanvas::Print>: ps file /tmp/tmp9pPBxN has been created
571
ok
572
test_schema (test_schema_schema.TestSchemaSchema) ... ok
573
test_schema (test_spill_schema.TestSpillSchema) ... ok
574

    
575
======================================================================
576
FAIL: test_run_test_cpp_unit (test_cpp_unit.CppUnitTests)
577
----------------------------------------------------------------------
578
Traceback (most recent call last):
579
  File "/disks/7/durga/m7/maus-latest-release/build/test_cpp_unit.py", line 18, in test_run_test_cpp_unit
580
    self.assertEqual(cpp_test, 0, 'Failed cpp tests with '+str(cpp_test))
581
AssertionError: Failed cpp tests with 6
582

    
583
Name                            Stmts   Miss  Cover   Missing
584
-------------------------------------------------------------
585
Configuration                      78      5    94%   65, 136, 174-176
586
ErrorHandler                       62      1    98%   90
587
Go                                 89      8    91%   68-70, 155, 159-162, 197
588
InputCppData                       73     17    77%   16-18, 28, 32-33, 40-45, 57-59, 64-66
589
InputPyEmptyDocument               18      0   100%   
590
InputPyJSON                        23      0   100%   
591
InputPySpillGenerator              24      0   100%   
592
MapCppPrint                        69     17    75%   16-18, 28, 32-33, 40-45, 57-59, 64-66
593
MapCppSimulation                   70     17    76%   16-18, 28, 32-33, 40-45, 57-59, 64-66
594
MapCppTOFDigitization              69     17    75%   16-18, 28, 32-33, 40-45, 57-59, 64-66
595
MapCppTrackerDigitization          69     17    75%   16-18, 28, 32-33, 40-45, 57-59, 64-66
596
MapPyBeamMaker                     87      1    99%   173
597
MapPyDoNothing                     12      0   100%   
598
MapPyFakeTestSimulation            19      0   100%   
599
MapPyPrint                         20      0   100%   
600
MapPyRemoveTracks                  37      0   100%   
601
MapPyValidateSpill                 21     10    52%   38, 42, 46-52, 56
602
OutputPyDoNothing                   7      0   100%   
603
OutputPyJSON                       34      6    82%   74-76, 101-103
604
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
605
ReducePyDoNothing                  11      3    73%   31-33
606
SchemaSchema                        1      0   100%   
607
SpillSchema                        16      0   100%   
608
_strptime                         231    231     0%   13-454
609
argparse                         1152   1152     0%   3-2311
610
beam                              167      1    99%   220
611
bitarray                           46     46     0%   11-129
612
cProfile                          114    114     0%   3-190
613
calendar                          381    381     0%   8-708
614
cdb                                 8      0   100%   
615
cdb._alarmhandler                 117      1    99%   75
616
cdb._base                          99     14    86%   109-122
617
cdb._beamline                     177     10    94%   74, 316, 323-324, 347-348, 355-356, 363-364
618
cdb._control                       68      1    99%   70
619
cdb._exceptions                    17      2    88%   25, 29
620
cdb._geometry                      85      8    91%   77, 177-178, 211, 213, 222, 227, 229
621
cpplint                          1043   1043     0%   69-3131
622
cpplint_exceptions                 14      0   100%   
623
ctypes                            335    335     0%   4-549
624
ctypes._endian                     34     34     0%   4-60
625
encodings.ascii                    19     19     0%   9-42
626
encodings.hex_codec                28     28     0%   9-71
627
getopt                            103    103     0%   34-210
628
gzip                              311    311     0%   8-499
629
httplib                           735    735     0%   69-1385
630
io                                 23     23     0%   46-98
631
json                               39     39     0%   100-323
632
json.decoder                      216    216     0%   3-365
633
json.encoder                      241    241     0%   3-442
634
json.scanner                       52     52     0%   3-67
635
md5                                 6      6     0%   6-14
636
mimetools                         162    162     0%   4-250
637
numpy                              44     44     0%   110-170
638
numpy.__config__                   26     26     0%   3-31
639
numpy._import_tools               223    223     0%   1-346
640
numpy.add_newdocs                 244    244     0%   9-5865
641
numpy.compat                        7      7     0%   11-18
642
numpy.compat._inspect             105    105     0%   8-219
643
numpy.compat.py3k                  43     43     0%   6-58
644
numpy.core                         35     35     0%   2-42
645
numpy.core._internal              364    364     0%   4-588
646
numpy.core.arrayprint             267    267     0%   5-524
647
numpy.core.defchararray           396    396     0%   19-2752
648
numpy.core.fromnumeric            287    287     0%   2-2529
649
numpy.core.function_base           21     21     0%   1-166
650
numpy.core.getlimits              120    120     0%   4-285
651
numpy.core.info                     3      3     0%   1-86
652
numpy.core.machar                 187    187     0%   8-339
653
numpy.core.memmap                  92     92     0%   1-311
654
numpy.core.numeric                494    494     0%   1-2470
655
numpy.core.numerictypes           376    376     0%   86-948
656
numpy.core.records                356    356     0%   38-804
657
numpy.core.shape_base              36     36     0%   1-258
658
numpy.ctypeslib                   184    184     0%   52-420
659
numpy.dual                         41     41     0%   18-69
660
numpy.fft                           6      6     0%   2-9
661
numpy.fft.fftpack                 115    115     0%   33-1125
662
numpy.fft.helper                   42     42     0%   6-161
663
numpy.fft.info                      1      1     0%   173
664
numpy.lib                          33     33     0%   1-38
665
numpy.lib._datasource             164    164     0%   35-639
666
numpy.lib._iotools                352    352     0%   2-834
667
numpy.lib.arraysetops             121    121     0%   31-488
668
numpy.lib.arrayterator             72     72     0%   11-195
669
numpy.lib.financial                98     98     0%   8-657
670
numpy.lib.format                  163    163     0%   138-577
671
numpy.lib.function_base           828    828     0%   1-3518
672
numpy.lib.index_tricks            272    272     0%   1-901
673
numpy.lib.info                      2      2     0%   149-150
674
numpy.lib.npyio                   592    592     0%   1-1615
675
numpy.lib.polynomial              370    370     0%   5-1235
676
numpy.lib.scimath                  54     54     0%   19-559
677
numpy.lib.shape_base              201    201     0%   1-839
678
numpy.lib.stride_tricks            44     44     0%   8-115
679
numpy.lib.twodim_base             122    122     0%   5-889
680
numpy.lib.type_check              134    134     0%   3-647
681
numpy.lib.ufunclike                33     33     0%   5-216
682
numpy.lib.utils                   515    515     0%   1-1144
683
numpy.linalg                        5      5     0%   46-52
684
numpy.linalg.info                   1      1     0%   36
685
numpy.linalg.linalg               574    574     0%   12-1969
686
numpy.ma                           14     14     0%   39-56
687
numpy.ma.core                    2313   2313     0%   24-7193
688
numpy.ma.extras                   648    648     0%   11-1923
689
numpy.matrixlib                     5      5     0%   2-8
690
numpy.matrixlib.defmatrix         275    275     0%   1-1074
691
numpy.polynomial                    6      6     0%   16-22
692
numpy.polynomial.chebyshev        316    316     0%   78-1404
693
numpy.polynomial.polynomial       203    203     0%   49-931
694
numpy.polynomial.polytemplate       6      6     0%   12-20
695
numpy.polynomial.polyutils         73     73     0%   34-394
696
numpy.random                        9      9     0%   86-102
697
numpy.random.info                   2      2     0%   86-88
698
numpy.version                      11     11     0%   3-18
699
pydoc                            1472   1472     0%   3-2330
700
rfc822                            574    574     0%   74-1011
701
rlcompleter                        73     73     0%   42-170
702
subprocess                        600    600     0%   12-1461
703
suds                                0      0   100%   
704
suds._xml                          22      0   100%   
705
suds.client                        99      1    99%   121
706
urllib2                           787    787     0%   92-1415
707
validictory                        24     24     0%   3-46
708
validictory.validator             270    270     0%   1-490
709
xboa                                1      1     0%   1
710
xboa.Bunch                        877    877     0%   18-1702
711
xboa.Common                       529    529     0%   18-914
712
xboa.Hit                          511    511     0%   18-926
713
xboa.core                           1      1     0%   1
714
xml.parsers                         0      0   100%   
715
xml.parsers.expat                   2      2     0%   2-4
716
xml.sax.expatreader               276    276     0%   6-414
717
-------------------------------------------------------------
718
TOTAL                           26141  24340     7%   
719
----------------------------------------------------------------------
720
Ran 143 tests in 243.753s
721

    
722
FAILED (failures=1)
(1-1/2)