[GRASS-dev] I've tripled GRASS's I/O speed

Vaclav Petras wenzeslaus at gmail.com
Mon Oct 5 15:34:25 PDT 2015


On Mon, Oct 5, 2015 at 6:23 PM, Seth Price <seth at planet.com> wrote:

> Ah, I see now. I have failed tests at 24% & 21% on a recent snapshot now:
>
> GRASS 7.1.svn
> (ncarolina_smp_base0.3.2):/usr/local/grass/grass-7.1.svn_src_snapshot_2015_09_19
> > python -m grass.gunittest.main --location ncarolina_smp_base0.3.2
> --location-type nc
>
> test_assertions_vect from ./lib/python/gunittest failed (1 test failed)
>
> test_doctests from ./lib/python/pygrass failed (3 tests failed)
>
> [...]
>
> test_v_net from ./vector/v.net failed (4 tests failed)
>
> test_vwhat_ncspm from ./vector/v.what failed (4 tests failed)
>
>
> Executed 127 test files in 0:24:05.986559.
>
> From them 96 files (76%) were successful and 31 files (24%) failed.
>
> GRASS 7.1.svn
> (ncarolina_smp_base0.3.2):/usr/local/grass/grass-7.1.svn_src_snapshot_2015_09_19
> >
>
> or
>
> GRASS 7.1.svn
> (nc_basic_spm_grass7):/usr/local/grass/grass-7.1.svn_src_snapshot_2015_09_19
> > python -m grass.gunittest.main --location nc_basic_spm_grass7
> --location-type nc
>
> test_assertions_vect from ./lib/python/gunittest failed (1 test failed)
>
> test_doctests from ./lib/python/pygrass failed (3 tests failed)
>
> [...]
>
> test_raster3d_algebra from ./temporal/t.rast3d.algebra failed (6 tests
> failed)
>
> test_vector_algebra from ./temporal/t.vect.algebra failed (14 tests failed)
>
>
> Executed 127 test files in 0:24:47.877746.
>
> From them 100 files (79%) were successful and 27 files (21%) failed.
>
> GRASS 7.1.svn
> (nc_basic_spm_grass7):/usr/local/grass/grass-7.1.svn_src_snapshot_2015_09_19
> >
>
> Is this expected?
>

This looks quite OK actually. Probably most of the failing tests are
temporal algebra which depends on Python PLY:

https://grass.osgeo.org/grass70/source/snapshot/REQUIREMENTS.html

This should be visible in the HTML reports (the aforementioned
testreport/index.html) which give the actual reasons why the test failed.

This is the result you will get today in best case (on 64bit):

http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-10-05-07-00/report_for_nc_basic_spm_grass7_nc/testfiles.html

Was this result with or without your changes?


>
> On Mon, Oct 5, 2015 at 2:13 PM, Vaclav Petras <wenzeslaus at gmail.com>
> wrote:
>
>>
>> On Mon, Oct 5, 2015 at 5:07 PM, Seth Price <seth at planet.com> wrote:
>> >
>> > --location /usr/local/grass/nc_basic_spm_grass7/
>>
>> python -m grass.gunittest.main --location locname --location-type nc
>>
>> where locname is a name of location in current GRASS GIS data(base)
>> directory (GISDBASE) and nc is a location specified by individual test
>> files (the later is not yet fully implemented, so just put there nc every
>> time).
>>
>> [
>> https://grass.osgeo.org/grass71/manuals/libpython/gunittest_running_tests.html#running-tests-and-creating-report
>> ]
>>
>> or:
>>
>> grass71 --exec python -m grass.gunittest.main --help
>> ...
>>   --location LOCATION   Name of location where to perform test
>>
>> I hope this helps.
>>
>> Have you found the HTMl output?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151005/c5255269/attachment.html>


More information about the grass-dev mailing list