Opened 13 years ago

Closed 12 years ago

#367 closed defect (fixed)

validate_all.py failing

Reported by: gray Owned by: ole
Priority: normal Milestone:
Component: Appearance and visualisation Version:
Severity: normal Keywords:
Cc:

Description

dgray@rhe-compute1:/nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_validation/automated_validation_tests$ python validate_all.py 

---------------------------------------------------------
Running all validation tests - some may take several days
and some may require memory in the order of 8-16GB       
---------------------------------------------------------
Validation test suites:
     ./UQ_runup_2006/validate_uq_runup.py
     ./fitting/validate_benchmark_fit.py
     ./flow_tests/validate_flow.py
     ./okushiri_tank_validation/validate_okushiri.py
     ./patong_beach_validation/validate_patong_scenario.py
     ./urs_mux_files_validation/validate_Bf.py


python validate_uq_runup.py
test_that_UQ_output_is_as_expected (__main__.Test_uq) ... ok

----------------------------------------------------------------------
Ran 1 test in 79.127s

OK
python validate_benchmark_fit.py
test_fit_time_and_mem (__main__.Test_uq) ... ok

----------------------------------------------------------------------
Ran 1 test in 11.943s

OK
python validate_flow.py
test_inflow_using_flowline (__main__.Test_flow)
Exercise Ted Rigby's test of steady state flows ... FAIL

======================================================================
FAIL: test_inflow_using_flowline (__main__.Test_flow)
Exercise Ted Rigby's test of steady state flows
----------------------------------------------------------------------
Traceback (most recent call last):
  File "validate_flow.py", line 30, in test_inflow_using_flowline
    assert res == 0
AssertionError

----------------------------------------------------------------------
Ran 1 test in 1624.931s

FAILED (failures=1)
python validate_okushiri.py
test_caching_of_set_quantity (__main__.Test_Okushiri)
Test that caching of set_quantity works ... ok
test_that_output_is_as_expected (__main__.Test_Okushiri)
Test that ANUGA replicates physics of the Okushiri Island ... /usr/local/python-2.7.2/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14532: UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
ok

----------------------------------------------------------------------
Ran 2 tests in 708.842s

OK
python validate_patong_scenario.py
test_patong_validation (__main__.Test_flow)
Exercise Patong Validation Scenario for three resolutions and ... ok

----------------------------------------------------------------------
Ran 1 test in 76.455s

OK
python validate_Bf.py
test_compare_URSsww_vs_EvolveANUGAsww (__main__.Test_Bf) ... ok

----------------------------------------------------------------------
Ran 1 test in 9.738s

OK
That took 2512.89 seconds in total

Change History (1)

comment:1 Changed 12 years ago by gray

  • Resolution set to fixed
  • Status changed from new to closed

The relative tolerance check in Ted Rigby's tests were relaxed and they now pass.

Note: See TracTickets for help on using tickets.