Hi hackers,
I try to run regression test on illumos, the 010_tab_completion will
failed because of timeout.
Here is my build commands and logs:
$ ../configure --enable-cassert --enable-debug --enable-nls --with-perl \
--with-python --with-tcl --with-openssl --with-libxml --with-libxslt \
--without-icu --enable-tap-tests --prefix=/home/japin/postgres/build/pg
$ make -j $(nproc)
...
$ cd src/bin/psql/ && make check
make -C ../../../src/backend generated-headers
make[1]: Entering directory '/home/japin/postgres/build/src/backend'
make -C catalog distprep generated-header-symlinks
make[2]: Entering directory '/home/japin/postgres/build/src/backend/catalog'
make[2]: Nothing to be done for 'distprep'.
make[2]: Nothing to be done for 'generated-header-symlinks'.
make[2]: Leaving directory '/home/japin/postgres/build/src/backend/catalog'
make -C nodes distprep generated-header-symlinks
make[2]: Entering directory '/home/japin/postgres/build/src/backend/nodes'
make[2]: Nothing to be done for 'distprep'.
make[2]: Nothing to be done for 'generated-header-symlinks'.
make[2]: Leaving directory '/home/japin/postgres/build/src/backend/nodes'
make -C utils distprep generated-header-symlinks
make[2]: Entering directory '/home/japin/postgres/build/src/backend/utils'
make[2]: Nothing to be done for 'distprep'.
make[2]: Nothing to be done for 'generated-header-symlinks'.
make[2]: Leaving directory '/home/japin/postgres/build/src/backend/utils'
make[1]: Leaving directory '/home/japin/postgres/build/src/backend'
rm -rf '/home/japin/postgres/build'/tmp_install
/opt/local/bin/mkdir -p '/home/japin/postgres/build'/tmp_install/log
make -C '../../..' DESTDIR='/home/japin/postgres/build'/tmp_install install
>'/home/japin/postgres/build'/tmp_install/log/install.log 2>&1
make -j1 checkprep
>>'/home/japin/postgres/build'/tmp_install/log/install.log 2>&1
PATH="/home/japin/postgres/build/tmp_install/home/japin/postgres/build/pg/bin:/home/japin/postgres/build/src/bin/psql:$PATH"
LD_LIBRARY_PATH="/home/japin/postgres/build/tmp_install/home/japin/postgres/build/pg/lib"
INITDB_TEMPLATE='/home/japin/postgres/build'/tmp_install/initdb-template
initdb -A trust -N --no-instructions --no-locale
'/home/japin/postgres/build'/tmp_install/initdb-template
>>'/home/japin/postgres/build'/tmp_install/log/initdb-template.log 2>&1
echo "# +++ tap check in src/bin/psql +++" && rm -rf
'/home/japin/postgres/build/src/bin/psql'/tmp_check && /opt/local/bin/mkdir -p
'/home/japin/postgres/build/src/bin/psql'/tmp_check && cd
/home/japin/postgres/build/../src/bin/psql &&
TESTLOGDIR='/home/japin/postgres/build/src/bin/psql/tmp_check/log'
TESTDATADIR='/home/japin/postgres/build/src/bin/psql/tmp_check'
PATH="/home/japin/postgres/build/tmp_install/home/japin/postgres/build/pg/bin:/home/japin/postgres/build/src/bin/psql:$PATH"
LD_LIBRARY_PATH="/home/japin/postgres/build/tmp_install/home/japin/postgres/build/pg/lib"
INITDB_TEMPLATE='/home/japin/postgres/build'/tmp_install/initdb-template
PGPORT='65432' top_builddir='/home/japin/postgres/build/src/bin/psql/../../..'
PG_REGRESS='/home/japin/postgres/build/src/bin/psql/../../../src/test/regress/pg_regress'
/opt/local/bin/prove -I /home/japin/postgres/build/../src/test/perl/ -I
/home/japin/postgres/build/../src/bin/psql t/*.pl
# +++ tap check in src/bin/psql +++
t/001_basic.pl ........... ok
t/010_tab_completion.pl .. Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run
t/020_cancel.pl .......... ok
Test Summary Report
-------------------
t/010_tab_completion.pl (Wstat: 6400 Tests: 0 Failed: 0)
Non-zero exit status: 25
Parse errors: No plan found in TAP output
$ cat tmp_check/log/regress_log_010_tab_completion
# Checking port 59378
# Found port 59378
Name: main
Data directory:
/home/japin/postgres/build/src/bin/psql/tmp_check/t_010_tab_completion_main_data/pgdata
Backup directory:
/home/japin/postgres/build/src/bin/psql/tmp_check/t_010_tab_completion_main_data/backup
Archive directory:
/home/japin/postgres/build/src/bin/psql/tmp_check/t_010_tab_completion_main_data/archives
Connection string: port=59378 host=/tmp/2tdG0Ck7Zb
Log file:
/home/japin/postgres/build/src/bin/psql/tmp_check/log/010_tab_completion_main.log
[07:06:06.492](0.050s) # initializing database system by copying initdb
template
# Running: cp -RPp /home/japin/postgres/build/tmp_install/initdb-template
/home/japin/postgres/build/src/bin/psql/tmp_check/t_010_tab_completion_main_data/pgdata
# Running:
/home/japin/postgres/build/src/bin/psql/../../../src/test/regress/pg_regress
--config-auth
/home/japin/postgres/build/src/bin/psql/tmp_check/t_010_tab_completion_main_data/pgdata
### Starting node "main"
# Running: pg_ctl -w -D
/home/japin/postgres/build/src/bin/psql/tmp_check/t_010_tab_completion_main_data/pgdata
-l
/home/japin/postgres/build/src/bin/psql/tmp_check/log/010_tab_completion_main.log
-o --cluster-name=main start
waiting for server to start.... done
server started
# Postmaster PID for node "main" is 219980
#### Begin standard error
psql:<stdin>:6: WARNING: wal_level is insufficient to publish logical
changes
HINT: Set wal_level to "logical" before creating subscriptions.
#### End standard error
IPC::Run: timeout on timer #1 at
/opt/local/lib/perl5/vendor_perl/5.34.0/IPC/Run.pm line 2951. <-- HERE
# Postmaster PID for node "main" is 219980
### Stopping node "main" using mode immediate
# Running: pg_ctl -D
/home/japin/postgres/build/src/bin/psql/tmp_check/t_010_tab_completion_main_data/pgdata
-m immediate stop
waiting for server to shut down.... done
server stopped
# No postmaster PID for node "main"
$ uname -a
SunOS db_build 5.11 xxxxx i86pc i386 i86pc illumos
$ perl --version
This is perl 5, version 34, subversion 0 (v5.34.0) built for
x86_64-solaris-thread-multi-64
I try to change PG_TEST_TIMEOUT_DEFAULT to 600, it also failed with timeout.
Any suggestions? Thanks in advance!
--
Regrads,
Japin Li
ChengDu WenWu Information Technology Co., Ltd.