PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16154
PG Version12.1
OSWindows
Opened2019-12-06 07:00:01+00
Reported byAlexander Lakhin
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16154
Logged by:          Alexander Lakhin
Email address:      (redacted)
PostgreSQL version: 12.1
Operating system:   Windows
Description:        

When performing regression tests on Windows intermittent failures are
observed, e.g. in src/bin/pg_basebackup test:
vcregress taptest src/bin/pg_basebackup
...
t/010_pg_basebackup.pl ... 10/106 Bailout called.  Further testing stopped: 
system pg_ctl failed
FAILED--Further testing stopped: system pg_ctl failed

regress_log_010_pg_basebackup.log contains:
...
ok 13 - backup directory was created and left behind
### Restarting node "main"
# Running: pg_ctl -D
C:/src/postgresql/src/bin/pg_basebackup/tmp_check/t_010_pg_basebackup_main_data/pgdata
-l
C:/src/postgresql/src/bin/pg_basebackup/tmp_check/log/010_pg_basebackup_main.log
restart
waiting for server to shut down.... done
server stopped
waiting for server to start....The process cannot access the file because it
is being used by another process.
 stopped waiting
pg_ctl: could not start server
Examine the log output.
Bail out!  system pg_ctl failed

The issue is caused by sporadic "pg_ctl ... restart -l logfile" failures.

Messages

DateAuthorSubject
2019-12-06 07:00:01+00PG Bug reporting formBUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-06 08:00:01+00Alexander LakhinRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-06 15:14:16+00Tom LaneRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-06 15:40:12+00Alexander LakhinRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-07 12:35:49+00Amit KapilaRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-07 16:00:01+00Alexander LawRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-07 16:54:54+00Tom LaneRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-07 18:00:00+00Alexander LawRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-07 19:26:06+00Tom LaneRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-07 21:00:00+00Alexander LawRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-10 18:24:10+00Tom LaneRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
2019-12-11 05:00:00+00Alexander LakhinRe: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)