Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#366 closed defect (fixed)

test_all failing

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

Description (last modified by gray)

After doing an update and a compile I get the following with running anuga test_all

test_util.py                          test_xml_tools.py                    

..........................................................Traceback (most recent call last):
  File "/nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga/file_conversion/csv2sts.py", line 165, in <module>
    main(sys.argv[1:])       
  File "/nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga/file_conversion/csv2sts.py", line 156, in main
    csv2sts(infile, outfile, lat, lon)
  File "/nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga/file_conversion/csv2sts.py", line 92, in csv2sts
    fid.latitude = latitude
ValueError: Must be a datetime.timedelta object
E...............................................................................................WARNING: Not all full triangles are stored before ghost triangles
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_run_via_commandline (test_csv2sts.Test_csv2sts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga/file_conversion/test_csv2sts.py", line 87, in test_run_via_commandline
    self._check_generated_sts()
  File "/nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga/file_conversion/test_csv2sts.py", line 96, in _check_generated_sts
    assert sts.latitude == lat, 'latitude does not match'
AttributeError: latitude

----------------------------------------------------------------------
Ran 1073 tests in 283.537s

FAILED (errors=1)
 
Finished at Fri May 18 12:13:27 2012, version 1.3.0_beta

===================== pymetis tests =================================
Changing to /nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga_parallel/pymetis

Testing path: /nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga_parallel/pymetis

The following directories will be skipped over:
.svn       metis-4.0  prop-base  props      pymetis    text-base  tmp       
wcprops   

Paths searched:
pymetis 

Files tested:
test_metis.py 

librdmacm: couldn't read ABI version.
librdmacm: assuming: 4
CMA: unable to get RDMA device list
--------------------------------------------------------------------------
[[62861,1],0]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)
  Host: rhe-compute1.ga.gov.au

Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------
FF
======================================================================
FAIL: test_Hexmesh (test_metis.TestMetis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga_parallel/pymetis/test_metis.py", line 43, in test_Hexmesh
    self.assert_(edgecut == 5)
AssertionError

======================================================================
FAIL: test_Hexmesh2 (test_metis.TestMetis)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga_parallel/pymetis/test_metis.py", line 74, in test_Hexmesh2
    self.assert_(edgecut == 5)
AssertionError

----------------------------------------------------------------------
Ran 2 tests in 0.001s

FAILED (failures=2)

Finished at Fri May 18 12:13:27 2012, version 8428

===================== anuga_parallel tests ==========================
Changing to /nas/gemd/georisk_models/inundation/sandpits/dgray/anuga/anuga_core/source/anuga_parallel

************************** NOTE *************************************
If all unit tests passed you should run the suite of validation tests
Go to the directory anuga_validation/automated_validation_tests
and run
    python validate_all.py

These tests will take a few hours and will verify that ANUGA
produces the physical results expected.
*********************************************************************

Change History (4)

comment:1 Changed 11 years ago by gray

  • Description modified (diff)

comment:2 Changed 11 years ago by gray

I didn't get any error's doing;

anuga/anuga_core/source/anuga$ python test_all.py

This is on rhe-compute1

comment:3 Changed 11 years ago by gray

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

I didn't get any error's in the anuga tests when doing;

anuga/anuga_core/$ python test_all.py

The pymetis tests failed. The anuga_parallel tests did not seem to be executed.

This is on rhe-compute1.

I'm closing this ticket, since this error is no longer occuring; ERROR: test_run_via_commandline (test_csv2sts.Test_csv2sts). I don't know why the error is no longer occurring though.

comment:4 Changed 10 years ago by gray

Just did a compile_all and ran test_all again. The metis tests passed. This might be due to a change Steve did to the pymetis Makefile.

Note: See TracTickets for help on using tickets.