[GRASS-dev] [GRASS GIS] #2583: v.net: crash on Windows

GRASS GIS trac at osgeo.org
Tue Feb 17 06:12:41 PST 2015


#2583: v.net: crash on Windows
--------------------------+-------------------------------------------------
  Reporter:  mlennert     |       Owner:  grass-dev@…              
      Type:  defect       |      Status:  closed                   
  Priority:  blocker      |   Milestone:  7.0.0                    
 Component:  LibVector    |     Version:  svn-releasebranch70      
Resolution:  fixed        |    Keywords:  v.net                    
  Platform:  MSWindows 8  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------

Comment(by wenzeslaus):

 The test for v.net is now at 50%. This is a little bit suspicious. The
 values changed from yesterday before the last fixes (r64644, r64656). Test
 suite for v.net was added in r64639 and the values were obtained before
 the last fixes which can mean that r64644 or r64656 changed the results.
 Which results are the right ones? Is this even expected?

 Test results:

  *
 [http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-02-16-08-00/report_for_nc_spm_08_grass7_nc/vector/v.net/test_v_net/index.html
 v.net test for r64642]
  *
 http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-02-17-08-00/report_for_nc_spm_08_grass7_nc/vector/v.net/test_v_net/index.html
 v.net test for r64658]

 Current test output:

 {{{
 ======================================================================
 FAIL: test_connect (__main__.TestVNet)
 Test
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "vector/v.net/testsuite/test_v_net.py", line 36, in test_connect
     self.assertVectorFitsTopoInfo(vector=self.network, reference=topology)
   File "etc/python/grass/gunittest/case.py", line 309, in
 assertVectorFitsTopoInfo
     precision=0)
   File "etc/python/grass/gunittest/case.py", line 202, in
 assertModuleKeyValue
     self.fail(self._formatMessage(msg, stdMsg))
 AssertionError: v.info map=test_vnet layer=1 -t difference:
 mismatch values (key, reference, actual): [('lines', 50080, 50069)]
 command: v.info map=test_vnet layer=1 -t {'map': 'test_vnet', 'flags':
 't'}

 ======================================================================
 FAIL: test_connect_snap (__main__.TestVNet)
 Test
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "vector/v.net/testsuite/test_v_net.py", line 45, in
 test_connect_snap
     self.assertVectorFitsTopoInfo(vector=self.network, reference=topology)
   File "etc/python/grass/gunittest/case.py", line 309, in
 assertVectorFitsTopoInfo
     precision=0)
   File "etc/python/grass/gunittest/case.py", line 202, in
 assertModuleKeyValue
     self.fail(self._formatMessage(msg, stdMsg))
 AssertionError: v.info map=test_vnet layer=1 -t difference:
 mismatch values (key, reference, actual): [('lines', 49913, 49902)]
 command: v.info map=test_vnet layer=1 -t {'map': 'test_vnet', 'flags':
 't'}
 }}}

 I'm getting the same results locally as on the test server.

 To test yourself:

 {{{
 # start GRASS session in nc_smp_08_grass7 Location and then
 cd vector/v.net/testsuite
 python test_v_net.py
 }}}

 For more complex output:

 {{{
 # start GRASS session in any Location and then
 python -m grass.gunittest.main --location nc_smp_08_grass7 --location-type
 nc
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2583#comment:29>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list