Opened 2 years ago

Closed 2 years ago

Last modified 21 months ago

#5068 closed defect (fixed)

raster/test/regress/loader/Tiled10x10Copy race condition

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 3.3.0
Component: build Version: 3.2.x
Keywords: Cc:

Description

It looks like the raster/test/regress/loader/Tiled10x10Copy test suffers from a race condition as its "-pre.pl" script creates a file in the source tree which is then removed by the "-post.pl" script. This means that two parallel builds using the same source tree will possibly see the file unlinked by the other before it's used.

Change History (6)

comment:1 by strk, 2 years ago

You can see the effects of the race condition here: https://dronie.osgeo.org/postgis/postgis/2569/1/3

comment:2 by Sandro Santilli <strk@…>, 2 years ago

In 05948601/git:

Replace pre/post machinery of rasters with .tif.ref files

References #5068

comment:3 by Sandro Santilli <strk@…>, 2 years ago

Resolution: fixed
Status: assignedclosed

In 1090436f/git:

Replace pre/post machinery of rasters with .tif.ref files

Closes #5068

comment:4 by Sandro Santilli <strk@…>, 2 years ago

In 1090436f/git:

Replace pre/post machinery of rasters with .tif.ref files

Closes #5068

comment:5 by Sandro Santilli <strk@…>, 2 years ago

In d5a9b1b/git:

Another pre/post machinery replaced with .tif.ref files

References #5068

comment:6 by Sandro Santilli <strk@…>, 21 months ago

In 21bb44fc/git:

Replace pre/post machinery of rasters with .tif.ref files

References #5068 in stable-3.0 branch (3.0.7dev)

Fixes regression test broken by upgrading of
run_test.pl in commit a0c29068d

Note: See TracTickets for help on using tickets.