Bug #980
Merge branch failing tests locally
0%
Description
I'm trying to add a simple reducer to the trunk. I have pulled down the merge branch but at the moment it is failing the tests, even before I have made any modifications. This occurs on both the RAL PPD cluster and at Imperial, when compiling against the third_party libraries from maus release 0.2.1. I have checked in Jenkins however and the gcc_per_commit branch seems fine there. install log file from the failed Imperial build attached. Seems to be going awry at line 3169ish:
Info in <TCanvas::Print>: file /vols/mice3/adobbs/maus/merge/tests/integration/plots/optics/optimiser_optics.png has been created
ok
Check that we can generate a binomial distribution for event number ... Error in <TH1D::KolmogorovTest>: Histograms must be 1-D
FAIL
Check that the default beam parameters run and produce some number of ... FAIL
Check that the weight of each sub-beam is close to the expected weight ... ERROR
Check that beam maker generates sawtooth t distribution correctly ... ERROR
Check that beam maker generates uniform t distribution correctly ... ERROR
Check that the weight of each sub-beam is close to the expected weight ... ok
For each "Configuration" file, check that we can load it - by calling ... ok
Checks that no other program is grabbing the MAUS help function ... ok
Check that we generate some useful error messages when running ... ok
Check that we can disable particle ... FAIL
Check physics_processes datacard works okay ... ERROR
Check that reference_physics_processes works okay ... ERROR
Test that the GRID batch script works ... ERROR
etc
Thanks.
Files
Updated by Dobbs, Adam over 11 years ago
- File ReducePyScalers.py ReducePyScalers.py added
- File test_ReducePyScalers.py test_ReducePyScalers.py added
Also, the 2 files I want add are attached.
Updated by Rogers, Chris over 11 years ago
You need to install a new copy of xboa. Try running third_party/bash/51xboa.bash should fix it I think.
Updated by Dobbs, Adam over 11 years ago
- File install_log_std install_log_std added
Thanks Chris. Installing the third party libraries fresh has resolved that one. Another error popped up after that one was done though; this time the GRID script test is failing (on RAL PPD). Log file attached again, error is at the bottom:
Check that reference_physics_processes works okay ... ok
Test that the GRID batch script works ... ERROR
Check json browser --input-file, --output-file, --indent, -l ... ok
Check json browser -L ... ok
Check json browser --start-line, --end-line ... ok
check that we can run simulate_mice, convert to root, convert back to ... Welcome to MAUS:
Process ID (PID): 18760
Program Arguments: ['/opt/ppd/mice/adobbs/tmp/merge/bin/user/json_to_root.py', '-input_json_file_name', '/opt/ppd/mice/adobbs/tmp/merge/tmp/test_root_io_simulate_mice_IN.json', '-output_root_file_name', '/opt/ppd/mice/adobbs/tmp/merge/tmp/test_root_io_simulate_mice.root', '-verbose_level', '1']
Version: MAUS release version 0.2.2
INITIATING EXECUTION
INPUT: Reading input
Traceback (most recent call last):
File "/opt/ppd/mice/adobbs/tmp/merge/build/InputPyJSON.py", line 83, in birth
self._file = open(fname, 'r')
IOError: [Errno 2] No such file or directory: u'/opt/ppd/mice/adobbs/tmp/merge/tmp/test_root_io_simulate_mice_IN.json'
Traceback (most recent call last):
File "/opt/ppd/mice/adobbs/tmp/merge/bin/user/json_to_root.py", line 40, in <module>
run()
File "/opt/ppd/mice/adobbs/tmp/merge/bin/user/json_to_root.py", line 37, in run
my_output, io.StringIO(u""))
File "/opt/ppd/mice/adobbs/tmp/merge/src/common_py/Go.py", line 121, in init
executor.execute()
File "/opt/ppd/mice/adobbs/tmp/merge/src/common_py/framework/single_thread.py", line 57, in execute
assert(self.inputer.birth(self.json_config_doc) True)
AssertionError
Welcome to MAUS:
Process ID (PID): 18771
Program Arguments: ['/opt/ppd/mice/adobbs/tmp/merge/bin/user/root_to_json.py', '-input_root_file_name', '/opt/ppd/mice/adobbs/tmp/merge/tmp/test_root_io_simulate_mice.root', '-output_json_file_name', '/opt/ppd/mice/adobbs/tmp/merge/tmp/test_root_io_simulate_mice_OUT.json', '-verbose_level', '1']
Version: MAUS release version 0.2.2
INITIATING EXECUTION
INPUT: Reading input
Error in <TFile::TFile>: file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_root_io_simulate_mice.root does not exist
The requested tree 'Spill' was not found in the tree.
Traceback (most recent call last):
File "/opt/ppd/mice/adobbs/tmp/merge/src/common_py/ErrorHandler.py", line 159, in HandleCppException
raise(CppError(error_message))
ErrorHandler.CppError: St9exception
Traceback (most recent call last):
File "/opt/ppd/mice/adobbs/tmp/merge/bin/user/root_to_json.py", line 40, in <module>
run()
File "/opt/ppd/mice/adobbs/tmp/merge/bin/user/root_to_json.py", line 37, in run
my_output, io.StringIO(u""))
File "/opt/ppd/mice/adobbs/tmp/merge/src/common_py/Go.py", line 121, in init
executor.execute()
File "/opt/ppd/mice/adobbs/tmp/merge/src/common_py/framework/single_thread.py", line 57, in execute
assert(self.inputer.birth(self.json_config_doc) True)
AssertionError
ok
======================================================================
ERROR: Test that the GRID batch script works
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/ppd/mice/adobbs/tmp/merge/tests/integration/test_utilities/test_execute_against_data/test_execute_against_data.py", line 129, in test_main_success
self.assertGreater(len(sim_first_spill['mc']), 1)
KeyError: u"'mc'\n-------------------- >> begin captured stdout << ---------------------\nCleaning test directory\nFound 03541.tar so not going to download\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/download.log\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/batch.log\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/sim.log\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/reco.log\nremoving dir /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/downloads\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/OnMon.03541.root\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/OnScalers.03541.root\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/OnScalers.03541.txt\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/03541.md5\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/03541.000\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/03541_sim.json\nremoving file /opt/ppd/mice/adobbs/tmp/merge/tmp/test_batch/03541_recon.json\nUnpacking for testing\n\n--------------------- >> end captured stdout << ----------------------"
----------------------------------------------------------------------
Ran 42 tests in 544.571s
FAILED (SKIP=23, errors=1)
Updated by Dobbs, Adam over 11 years ago
... and given this is not related to my code, can I push anyway?
Updated by Rogers, Chris over 11 years ago
Ah that is a bug. Wonder why the test server isn't catching it...
Yes, please push.
Updated by Rogers, Chris over 11 years ago
- Status changed from Open to Rejected
- Target version set to Future MAUS release
Fixed I think