Re: psql tests hangs
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-05-09T08:48:08Z
Lists: pgsql-hackers
> On 9 May 2023, at 08:52, Pavel Stehule <pavel.stehule@gmail.com> wrote: > > Hi > > I try run make check-world. Now I have problems with tests of psql > > I had to cancel tests > > log: > > [08:46:49.828](0.038s) ok 63 - no ON_ERROR_STOP, --single-transaction and multiple -c switches > [08:46:49.860](0.033s) ok 64 - client-side error commits transaction, no ON_ERROR_STOP and multiple -c switches > [08:46:49.928](0.067s) ok 65 - \copy from with DEFAULT: exit code 0 > [08:46:49.929](0.001s) ok 66 - \copy from with DEFAULT: no stderr > [08:46:49.930](0.001s) ok 67 - \copy from with DEFAULT: matches > death by signal at /home/pavel/src/postgresql.master/src/bin/psql/../../../src/test/perl/PostgreSQL/Test/Cluster.pm line 3042. > # Postmaster PID for node "main" is 157863 > ### Stopping node "main" using mode immediate > # Running: pg_ctl -D /home/pavel/src/postgresql.master/src/bin/psql/tmp_check/t_001_basic_main_data/pgdata -m immediate stop > waiting for server to shut down.... done > server stopped > # No postmaster PID for node "main" > [08:47:30.361](40.431s) # Tests were run but no plan was declared and done_testing() was not seen. > [08:47:30.362](0.001s) # Looks like your test exited with 4 just after 67. > Warning: unable to close filehandle $orig_stderr properly: Broken pipe during global destruction. I'm unable to reproduce, and this clearly works in the buildfarm and CI. Did you run out of disk on the volume during the test or something similar? Anything interesting in the serverlogs from the tmp_check install? -- Daniel Gustafsson
Commits
-
Tighten usage of PSQL_WATCH_PAGER.
- bc478a0a85bc 15.4 landed
- 51b2c0879886 16.0 landed
-
Add tab-completion for newly added SUBSCRIPTION options.
- 96c498d2f8ce 16.0 cited
-
psql: add an optional execution-count limit to \watch.
- 00beecfe839c 16.0 cited
-
Handle empty or all-blank PAGER setting more sanely in psql.
- 18f8f784cbbf 10.0 cited