[GRASS-dev] Failing tests and t.connect 3 hour test solved

Vaclav Petras wenzeslaus at gmail.com
Wed Aug 5 07:06:18 PDT 2015


Hi all,

as reported earlier [1, 2] t.connect test test_distr_tgis_db_raster.py [3]
in Piemonte Location [4] takes 3.5 hours to execute [5]. This is happening
constantly for a long time already [6] but it was not happening at the very
beginning [7].

Now I realized (the hard way) that the test was creating 40 GB of data
(mostly null files). Which explains why it took so long and why the tests
were broken (no space left on the device). The reason was forgotten call to
g.region before creation of the test data. I fixed that in r65836 [8].

Tests on my server are now running again [9]. You can run them on your
machine with your data in various ways [10] including:

    cd /grass/source/code/root
    ./bin.../grass71 ~/grassdata/your_location_name/PERMANENT/ \
        --exec python -m grass.gunittest.main \
        --location your_location_name --location-type nc

Vaclav


[1] https://lists.osgeo.org/pipermail/grass-dev/2015-May/075025.html
[2] http://permalink.gmane.org/gmane.comp.gis.grass.devel/64361
[3]
http://trac.osgeo.org/grass/browser/grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster.py
[4] http://grass.osgeo.org/download/sample-data/
[5]
http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-07-27-07-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/temporal/t.connect/test_distr_tgis_db_raster/index.html
[6]
http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-09-18-07-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/temporal/t.connect/test_distr_tgis_db_raster/index.html
[7]
http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-09-17-07-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/temporal/t.connect/test_distr_tgis_db_raster/index.html
[8] https://trac.osgeo.org/grass/changeset/65836
[9] http://fatra.cnr.ncsu.edu/grassgistests/summary_report/nc/index.html
[10]
http://grass.osgeo.org/grass71/manuals/libpython/gunittest_running_tests.html#running-tests-report
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150805/1e7eabb7/attachment.html>


More information about the grass-dev mailing list