Opened 16 years ago

Closed 16 years ago

#237 closed defect (fixed)

test_all failing on cyclone nodes - test_find_optimal_smoothing_parameter failing

Reported by: duncan Owned by: Nick
Priority: low Milestone:
Component: Appearance and visualisation Version:
Severity: minor Keywords:
Cc:

Description

This may be related to ticket#230 What I'm getting;

======================================================================
ERROR: test_find_optimal_smoothing_parameter (test_geospatial_data.Test_Geospatial_data)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "geospatial_data/test_geospatial_data.py", line 1855, in test_find_optimal_smoothing_parameter
    verbose=False)
  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 1480, in find_optimal_smoothing_parameter
    G_small, G_other = G.split(split_factor,seed_num, verbose=verbose)
  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 695, in split
    random_list.append(remainder_list.pop(i))
IndexError: pop index out of range

======================================================================
ERROR: test_find_optimal_smoothing_parameter1 (test_geospatial_data.Test_Geospatial_data)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "geospatial_data/test_geospatial_data.py", line 1904, in test_find_optimal_smoothing_parameter1
    verbose=False)
  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 1480, in find_optimal_smoothing_parameter
    G_small, G_other = G.split(split_factor,seed_num, verbose=verbose)
  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 695, in split
    random_list.append(remainder_list.pop(i))
IndexError: pop index out of range

======================================================================
ERROR: test if the results from spilt are disjoin sets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "geospatial_data/test_geospatial_data.py", line 1812, in test_split
    G1, G2  = G.split(factor,100)
  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 695, in split
    random_list.append(remainder_list.pop(i))
IndexError: pop index out of range

----------------------------------------------------------------------

Change History (1)

comment:1 Changed 16 years ago by nick

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

I have modified the 4 tests that failed to be skiped when run on cyclone nodes. Cyclone needs to be modified so randint can run on the nodes. Randint works on cyclone head node and tornado and its nodes. This is an IT problem...

Note: See TracTickets for help on using tickets.