Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-12-27 Thread Shlok Kyal
Hi, Apart of these I am getting following some intermittent failure as below: 131/272 postgresql:pg_basebackup / pg_basebackup/010_pg_basebackup ERROR30.51s (exit status 255 or signal 127 SIGinvalid) 114/272 postgresql:libpq / libpq/001_uri ERR

Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-12-26 Thread Nisha Moond
Thanks for working on it. I tested the patch on my system and it resolved the issue with commands running -V (version check). As you mentioned, I am also still seeing intermittent errors even with the patch as below - in 'pg_upgrade/002_pg_upgrade' - # Running: pg_upgrade --no-sync -d D:\Project

Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-12-26 Thread Shlok Kyal
Hi, The same intermittent failure is reproducible on my system. For the intermittent issues I found that many issues are due to errors where commands like 'psql -V' are not returning any output. To reproduce it in an easy way, I wrote a script (.bat file) with '--version' option for different binar

Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-11-06 Thread Kyotaro Horiguchi
At Mon, 6 Nov 2023 19:42:21 +0530, Nisha Moond wrote in > > Appending '2>&1 test: > > The command still results in NULL and ends up failing as no data is > > returned. Which means even no error message is returned. The error log Thanks for confirmation. So, at least the child process was launce

Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-11-06 Thread Nisha Moond
On Fri, Nov 3, 2023 at 5:02 PM Nisha Moond wrote: > > On Thu, Nov 2, 2023 at 11:52 AM Kyotaro Horiguchi > wrote: > > > > At Tue, 31 Oct 2023 18:11:48 +0530, vignesh C wrote in > > > Few others are also facing this problem with similar code like in: > > > https://stackoverflow.com/questions/15882

Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-11-03 Thread Nisha Moond
On Thu, Nov 2, 2023 at 11:52 AM Kyotaro Horiguchi wrote: > > At Tue, 31 Oct 2023 18:11:48 +0530, vignesh C wrote in > > Few others are also facing this problem with similar code like in: > > https://stackoverflow.com/questions/15882799/fgets-returning-error-for-file-returned-by-popen > > I'm incl

Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-11-01 Thread Kyotaro Horiguchi
At Tue, 31 Oct 2023 18:11:48 +0530, vignesh C wrote in > Few others are also facing this problem with similar code like in: > https://stackoverflow.com/questions/15882799/fgets-returning-error-for-file-returned-by-popen I'm inclined to believe that the pipe won't enter the EOF state until the ta

RE: Intermittent failure with t/003_logical_slots.pl test on windows

2023-10-31 Thread Hayato Kuroda (Fujitsu)
Dear Nisha, > > The failure cause is - > no data was returned by command > ""D:/Project/pg1/postgres/tmp_install/bin/pg_resetwal" -V" > check for "D:/Project/pg1/postgres/tmp_install/bin/pg_resetwal" > failed: cannot execute > > Failure, exiting > [16:24:21.144](6.275s) not ok 10 - run of pg_up

Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-10-31 Thread vignesh C
On Tue, 31 Oct 2023 at 17:51, Amit Kapila wrote: > > On Tue, Oct 31, 2023 at 4:53 PM Nisha Moond wrote: > > > > There is a failure with 't/003_logical_slots.pl' test during the > > upgrade. The failure is intermittent and observed in the Windows > > environment. > > > > How did you reach the conc

Re: Intermittent failure with t/003_logical_slots.pl test on windows

2023-10-31 Thread Amit Kapila
On Tue, Oct 31, 2023 at 4:53 PM Nisha Moond wrote: > > There is a failure with 't/003_logical_slots.pl' test during the > upgrade. The failure is intermittent and observed in the Windows > environment. > How did you reach the conclusion that it is only for 't/003_logical_slots.pl'? I see that the