On Thu, Aug 29, 2019 at 12:35:45PM +0100, Jorge Gustavo Rocha wrote:
> Hi Sandro,
> 
> Maybe I'm missing something, but the Travis failure is not related with
> MS ODBC Driver (which is used by the mssql provider).
> 
> Travis is failing with:
> 
> 507/559 Test #507: PyQgsPostgresProvider .........................***Failed
> 
> https://cdash.orfeo-toolbox.org/viewTest.php?onlyfailed&buildid=14455

Uhm, does it take going to CDash to know what's wrong with a build ?

> That is related to your PR, right?

Yes, PyQgsPostgresProvider was touched by my PR

> Are Postgresql tests running file on your local environment?

When I remove all tests but the one I added, yes, they
run. When running the full tests, they also fail in master
branch for me.  How I'm running the test:

        ctest -V -R PyQgsPostgresProvider

Example of failures I'm getting:

        511: 
======================================================================
        511: FAIL: testJson (__main__.TestPyQgsPostgresProvider)
        511: 
----------------------------------------------------------------------
        511: Traceback (most recent call last):
        511:   File 
"/usr/src/qgis/qgis-master/tests/src/python/test_provider_postgres.py", line 
734, in testJson
        511:     self.assertTrue(vl.isValid())
        511: AssertionError: False is not true
        511:
        511: 
======================================================================
        511: FAIL: testStyleDatabaseWithService 
(__main__.TestPyQgsPostgresProvider)
        511: Test saving style in DB using a service file.
        511: 
----------------------------------------------------------------------
        511: Traceback (most recent call last):
        511:   File 
"/usr/src/qgis/qgis-master/tests/src/python/test_provider_postgres.py", line 
1318, in testStyleDatabaseWithService
        511:     self.assertEqual(len(ids), 1)
        511: AssertionError: 0 != 1
        511:

PostgreSQL server is version 9.6.9.

> > https://github.com/qgis/QGIS/pull/31468/files

--strk;
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to