Opened 19 years ago
Closed 17 years ago
#98 closed defect (fixed)
A test that failed the first time test_all is run, after an anuga install, but not the 2nd time
| Reported by: | duncan | Owned by: | anybody |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Testing and validation | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Some tests only seem to fail once, after an install. Here's an example;
======================================================================
ERROR: Test that stage is conserved globally
----------------------------------------------------------------------
Traceback (most recent call last):
File "shallow_water\test_shallow_water_domain.py", line 2191, in tes
t_conservation_4
for t in domain.evolve(yieldstep = 0.05, finaltime = 10.0):
File "shallow_water\shallow_water_domain.py", line 398, in evolve
self.initialise_storage()
File "shallow_water\shallow_water_domain.py", line 437, in initialis
e_storage
self.writer = get_dataobject(self, mode = 'w')
File "source\anuga\shallow_water\data_manager.py", line 1197, in get
_dataobject
return cls(domain, mode)
File "source\anuga\shallow_water\data_manager.py", line 266, in __in
it__
fid = NetCDFFile(self.filename, mode)
File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py
", line 143, in NetCDFFile
return apply(_NetCDFFile, args)
IOError: No error
----------------------------------------------------------------------
Change History (2)
comment:1 Changed 19 years ago by
comment:2 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

Here is some more. Same sort of problem.
...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... ..........................netcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied Enetcdf: Permission denied E..................................................................... ................................................ ====================================================================== ERROR: Test that sww information can be converted correctly to pts dat a at specified coordinates ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: Test that constant sww information can be written correctly ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: Test that constant sww information can be written correctly ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: Not a test, rather a look at the sww format ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: Test that sww information can be written correctly ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: Test that sww information can be written correctly ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: Test that sww information can be written correctly ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: Test that sww information can be written correctly ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: Test info stored at each timestep is as expected (incl initial condition) ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: test_tsh2sww (test_data_manager.Test_Data_Manager) ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: test_urs2sww (test_data_manager.Test_Data_Manager) ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: test_urs2sww_test_fail (test_data_manager.Test_Data_Manager) ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ====================================================================== ERROR: test_urs2sww_test_fail2 (test_data_manager.Test_Data_Manager) ---------------------------------------------------------------------- Traceback (most recent call last): File "shallow_water\test_data_manager.py", line 91, in setUp fid = NetCDFFile(self.test_MOST_file + ext, 'w') File "C:\Software\Python23\lib\site-packages\Scientific\IO\NetCDF.py ", line 143, in NetCDFFile return apply(_NetCDFFile, args) IOError: No error ----------------------------------------------------------------------