On Fri, Apr 4, 2025 at 5:02 PM Álvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>
> On 2025-Apr-04, Ashutosh Bapat wrote:
>
> > # test failed
> > stderr:
> > # Tests were run but no plan was declared and done_testing() was not seen.
> > # Looks like your test exited with 29 just after 4.
> >
> > Doesn't look like it's expected.
>
> Nope. Please have a look at the tmp_check/log/regress_002* log file --
> that might contain a better indication of what the problem is.
Not much there
[17:08:28.162](0.939s) ok 3 # skip source node not using default install
# Running: pg_dumpall --no-sync --dbname port=13779
host=/tmp/LiPa_UJpSb dbname='postgres' --file
/home/ashutosh/work/units/pghead/build/dev/testrun/pg_upgrade/002_pg_upgrade/data/tmp_test_X1bh/dump1.sql
[17:08:30.129](1.967s) ok 4 - dump before running pg_upgrade
connection error: 'psql: error: connection to server on socket
"/tmp/LiPa_UJpSb/.s.PGSQL.13779" failed: FATAL: database "regression"
does not exist'
while running '/home/ashutosh/work/units/pghead/build/dev/bin/psql
--no-psqlrc --no-align --tuples-only --quiet --dbname port=13779
host=/tmp/LiPa_UJpSb dbname='regression' --file - --variable
ON_ERROR_STOP=1' at
/home/ashutosh/work/units/pghead/coderoot/pg/src/test/perl/PostgreSQL/Test/Cluster.pm
line 2256.
# Postmaster PID for node "old_node" is 779230
### Stopping node "old_node" using mode immediate
# Running: pg_ctl --pgdata
/home/ashutosh/work/units/pghead/build/dev/testrun/pg_upgrade/002_pg_upgrade/data/t_002_pg_upgrade_old_node_data/pgdata
--mode immediate stop
waiting for server to shut down.... done
server stopped
# No postmaster PID for node "old_node"
# No postmaster PID for node "new_node"
# No postmaster PID for node "dst_node"
[17:08:30.241](0.112s) # Tests were run but no plan was declared and
done_testing() was not seen.
[17:08:30.241](0.000s) # Looks like your test exited with 29 just after 4.
Something is happening at line 492
command_checks_all(
[
'pg_upgrade', '--no-sync',
'--old-datadir' => $oldnode->data_dir,
'--new-datadir' => $newnode->data_dir,
'--old-bindir' => $oldbindir . '/does/not/exist/',
'--new-bindir' => $newbindir,
'--socketdir' => $newnode->host,
'--old-port' => $oldnode->port,
'--new-port' => $newnode->port,
$mode, '--check',
],
1,
[qr{check for ".*?does/not/exist" failed}],
[],
'run of pg_upgrade --check for new instance with incorrect binary path');
because I don't see that test name or the next one being printed in
regress_*.log
--
Best Wishes,
Ashutosh Bapat