Comment 15 for bug 1815665

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

From the test log:
    ============== dropping database "contrib_regression" ==============
    DROP DATABASE
    ============== creating database "contrib_regression" ==============
    NOTICE: database "contrib_regression" does not exist, skipping
    CREATE DATABASE
    ALTER DATABASE
    ============== running regression test queries ==============
    [... all fails]

The line 'NOTICE: database "contrib_regression" does not exist, skipping' makes me curious.
Isn't that inverted logic?
It should be created only if it is NOT there.

Comparing the good case confirms that this message isn't there - and I mean not "exactly there" it is a few lines up at "dropping" which makes more sense. This could just be a race to the output, but we need to check.

This is the call to the subtests after spawning the server:
/usr/lib/postgresql/10/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=/tmp/autopkgtest.T6TDFr/build.b8t/src --bindir='/usr/lib/postgresql/10/bin' --dbname=contrib_regression rum rum_hash ruminv timestamp orderby orderby_hash altorder altorder_hash limits int2 int4 int8 float4 float8 money oid time timetz date interval macaddr inet cidr text varchar char bytea bit varbit numeric array

We can just run the first subtest which already fails the same way.
$ sudo su - postgres
$ /usr/lib/postgresql/10/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=/tmp/autopkgtest.T6TDFr/build.b8t/src --bindir='/usr/lib/postgresql/10/bin' --dbname=contrib_regression rum

I can confirm that the message that I wondered above was just racing in the log - this is not the root cause.

Checking the full outfile was more interesting then:
ERROR: could not load library "/usr/lib/postgresql/10/lib/rum.so": /usr/lib/postgresql/10/lib/rum.so: undefined symbol: rb_insert

Checking with a shell into a good case (no PPA) environment the same log file confirms that this works there.

Looking for that symbol in the changes we got in 10.7 now ...