Project

General

Profile

Bug #980

Merge branch failing tests locally

Added by Dobbs, Adam over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Testing
Target version:
Start date:
26 April 2012
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

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

install_log_std (545 KB) install_log_std Build log file Dobbs, Adam, 26 April 2012 16:29
ReducePyScalers.py (7.46 KB) ReducePyScalers.py Dobbs, Adam, 26 April 2012 16:39
test_ReducePyScalers.py (10.7 KB) test_ReducePyScalers.py Dobbs, Adam, 26 April 2012 16:39
install_log_std (4.28 MB) install_log_std Dobbs, Adam, 27 April 2012 12:50
#1

Updated by Dobbs, Adam over 9 years ago

Also, the 2 files I want add are attached.

#2

Updated by Rogers, Chris over 9 years ago

You need to install a new copy of xboa. Try running third_party/bash/51xboa.bash should fix it I think.

#3

Updated by Dobbs, Adam over 9 years ago

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 &lt;TFile::TFile&gt;: 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 &lt;module&gt;
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)

#4

Updated by Dobbs, Adam over 9 years ago

... and given this is not related to my code, can I push anyway?

#5

Updated by Rogers, Chris over 9 years ago

Ah that is a bug. Wonder why the test server isn't catching it...

Yes, please push.

#6

Updated by Rogers, Chris over 9 years ago

  • Status changed from Open to Rejected
  • Target version set to Future MAUS release

Fixed I think

Also available in: Atom PDF