pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: exclusion@gmail.com
Subject: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
Date: Fri, 06 Dec 2019 07:00:01 +0000
Message-ID: <16154-1ccf0b537b24d5e0@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16154
Logged by:          Alexander Lakhin
Email address:      exclusion@gmail.com
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.



view thread (12+ messages)  latest in thread

Message-ID: <16154-1ccf0b537b24d5e0@postgresql.org>
Permalink:  ../16154-1ccf0b537b24d5e0@postgresql.org/
Also on:    postgresql.org/message-id/16154-1ccf0b537b24d5e0@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, exclusion@gmail.com
  Subject: Re: BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
  In-Reply-To: <16154-1ccf0b537b24d5e0@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox