[QGIS-Developer] Failed tests in Travis CI with HANA

Rylov, Maxim maxim.rylov at sap.com
Wed Jul 1 06:14:04 PDT 2020


Hi,

We have developed a QGIS data provider<https://github.com/qgis/QGIS/pull/34988> for SAP HANA database.
Our provider passes all python tests locally, but there are multiple failed tests  when the python tests are run in Travis CI.
Unfortunately, we were not able to find the cause of these failures, as they occur sporadically .
The only explanation we have is that the server resources are exhausted and the system might run out of memory.
With HANA plugin enabled, Travis CI installs and runs 3 databases such as PostgreSQL, Oracle and HANA.
The clean database installations require a significant amount of memory, namely PostgreSQL ~245 MB, Oracle ~3.7GB, HANA ~2.5GB.
A more detailed information about the server resources can be found in this Travis build<https://travis-ci.org/github/mrylov/QGIS/builds/703846786>, where a memory information is printed  before the database installations and after each test.
As it can be seen from the logs, the memory consumption during the tests starts from 81% and reaches 97% when- the tests start failing.
It is important to note that normally neither HANA nor Oracle tests fail. The tests start failing from Test #600 and higher.
During our experiments, there was also a build<https://travis-ci.org/github/mrylov/QGIS/builds/703276812> the did not have any issues.

We would be very grateful if you could take a look at the issue and assist us in resolving it.

Thank you and kind regards,
Maxim
on behalf of the HANA Spatial Team

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200701/0822db0b/attachment.html>


More information about the QGIS-Developer mailing list