BUG #16699: PostgreSQL failed to run "timetz" test on release and debug configuration with MSVC on windows - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16699: PostgreSQL failed to run "timetz" test on release and debug configuration with MSVC on windows
Date
Msg-id 16699-c9379ada70f291e2@postgresql.org
Whole thread Raw
Responses Re: BUG #16699: PostgreSQL failed to run "timetz" test on release and debug configuration with MSVC on windows
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16699
Logged by:          Gao Lin
Email address:      gaolin01@beyondsoft.com
PostgreSQL version: 13.0
Operating system:   Windows Server 2016
Description:

Environment:
Windows Server 2016 + VS2019 + PostgreSQL master branch on babef40 commit.

PostgreSQL failed to run "vcregress check parallel" due to one test "timetz"
on release and debug configuration with MSVC on windows. It can be produced
on master branch on babef40 commit. Could you please help look at this issue
?  Thanks a lot! 

And I have one question: How to disable a single test "timetz" in "vcregress
check parallel" command line? 

Repro steps:
1. git clone https://git.postgresql.org/git/postgresql.git
F:\gitP\git\postgresql.git
2. git -C "F:\gitP\git\postgresql.git" reset --hard babef40
3. cd F:\gitP\git\postgresql.git\src\tools\msvc
4. set
PATH=F:\gitP\git\postgresql.git\..\tools;F:\tools\gnuwin32\bin;%PATH%
5. build RELEASE
6. cd F:\gitP\git\postgresql.git
7. msbuild /m /p:Platform=x64 /p:Configuration=Release
/p:PlatformToolset=v141 pgsql.sln /verbosity:normal /t:Rebuild
8. cd F:\gitP\git\postgresql.git\..\install_amd64\bin
9. mkdir datadir
10. initdb.exe datadir
11. pg_ctl -D datadir -l logfile start -w -t 180
12. cd F:\gitP\git\postgresql.git\src\tools\msvc
13. vcregress check parallel

ErrorMessage:
parallel group (20 tests):  lseg numerology path line circle point time
timetz macaddr macaddr8 xid interval date inet tstypes strings box polygon
timestamp timestamptz
     strings                      ... ok          162 ms
     numerology                   ... ok           71 ms
     point                        ... ok           88 ms
     lseg                         ... ok           61 ms
     line                         ... ok           75 ms
     box                          ... ok          254 ms
     path                         ... ok           71 ms
     polygon                      ... ok          266 ms
     circle                       ... ok           72 ms
     date                         ... ok          123 ms
     time                         ... ok           79 ms
     timetz                       ... FAILED       82 ms
     timestamp                    ... ok          405 ms
     timestamptz                  ... ok          424 ms
     interval                     ... ok          109 ms
     inet                         ... ok          110 ms
     macaddr                      ... ok           79 ms
     macaddr8                     ... ok           86 ms
     tstypes                      ... ok          109 ms
     xid                          ... ok           94 ms

============== shutting down postmaster               ==============

========================
 1 of 200 tests failed. 
========================

The differences that caused some tests to fail can be viewed in the
file "F:/gitP/git/postgresql.git/src/test/regress/regression.diffs".  A copy
of the test summary that you see
above is saved in the file
"F:/gitP/git/postgresql.git/src/test/regress/regression.out".

Thanks,
Lin


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16698: Create extension and search path
Next
From: Michael Paquier
Date:
Subject: Re: BUG #16697: timetz regression test seems to have a false failure