[postgis-tickets] [PostGIS] #5365: interrupt tests fail due to change in error message
PostGIS
trac at osgeo.org
Fri Apr 7 15:05:40 PDT 2023
#5365: interrupt tests fail due to change in error message
-----------------------+---------------------------
Reporter: strk | Owner: robe
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.4.0
Component: buildbots | Version: master
Keywords: |
-----------------------+---------------------------
I get these failures, when not disabling interrupt tests:
{{{
-----------------------------------------------------------------------------
regress/core/interrupt_buffer .. failed (diff expected obtained:
/tmp/pgis_reg/test_122_diff)
-----------------------------------------------------------------------------
--- /home/src/postgis/postgis/regress/core/interrupt_buffer_expected
2023-02-18 09:11:00.360153532 +0100
+++ /tmp/pgis_reg/test_122_out 2023-04-08 00:00:07.769328100 +0200
@@ -1,3 +1,3 @@
-ERROR: canceling statement due to statement timeout
+ERROR: canceling statement due to user request
buffer interrupted on time
1|5
-----------------------------------------------------------------------------
}}}
And many other similar subtle changes.
Also in regress/core/interrupt_relate and in regress/core/interrupt where
the error message is slightly different (liblwgeom does not even try to
loop for too long in that case now):
regress/core/interrupt .. failed (diff expected obtained:
/tmp/pgis_reg/test_120_diff)
-----------------------------------------------------------------------------
--- /home/src/postgis/postgis/regress/core/interrupt_expected 2023-02-18
09:11:00.360153532 +0100
+++ /tmp/pgis_reg/test_120_out 2023-04-08 00:00:06.593328067 +0200
@@ -1,4 +1,3 @@
-NOTICE: liblwgeom code interrupted
-ERROR: canceling statement due to statement timeout
+NOTICE: .././../liblwgeom/ptarray.c:449 - ptarray_segmentize2d: Too many
segments required (3.605551e+100)
segmentize interrupted on time
1|LINESTRING(0 0,2 0,4 0)
-----------------------------------------------------------------------------
I'm using the "buildbots" component becuase we don't seem to have a
"testsuite" component (we probably should). I don't think there's any
buildbot currently running these interrupt tests.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5365>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list