Subject: | main test FAILs on RHEL6 |
PERL_DL_NONLAZY=1 /opt/perl/uq.cis.perl-base2.rhel6-5.16.1-20120910/bin/perl "-
MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ................ 1/1 # Testing Module::Build::Database 0.33, Perl 5.016001,
/opt/perl/uq.cis.perl-base2.rhel6-5.16.1-20120910/bin/perl
t/00-load.t ................ ok
t/01-install-postgis.t ..... skipped: No postgis.sql, set
TEST_POSTGIS_BASE=/usr/local/wherever to give a location
... [see below]
t/03-install-sqlite.t ...... ok
t/pod.t .................... ok
/opt/perl/uq.cis.perl-base2.rhel6-5.16.1-20120910/bin/perl -I blib/lib -I blib/arch t/02-
install-no-postgis.t
ok 1 - perl -Mblib=/opt/work/uq.cis.perl.build/uq.cis.perl.build.rhel6-5.16.1-
20120910/tarball-build/Module-Build-Database-0.33/t/../blib Build.PL
not ok 2 - ./Build dbtest
# Failed test './Build dbtest'
# at /opt/work/uq.cis.perl.build/uq.cis.perl.build.rhel6-5.16.1-20120910/tarball-
build/Module-Build-Database-0.33/t/tlib/misc.pm line 16.
# ./Build dbtest failed : 512 512
# # starting test database
# Error with '/usr/bin/initdb -D /tmp/mbdtest_qaB5MY/db >>
/tmp/mbdtest_qaB5MY/postgres.log 2>&1' : 256 256
# could not initdb at /opt/work/uq.cis.perl.build/uq.cis.perl.build.rhel6-5.16.1-
20120910/tarball-build/Module-Build-Database-
0.33/t/../blib/lib/Module/Build/Database/PostgreSQL.pm line 155.
not ok 3 - ./Build dbdist
# Failed test './Build dbdist'
# at /opt/work/uq.cis.perl.build/uq.cis.perl.build.rhel6-5.16.1-20120910/tarball-
build/Module-Build-Database-0.33/t/tlib/misc.pm line 16.
# ./Build dbdist failed : 512 512
# Error with '/usr/bin/initdb -D /tmp/mbdtest_PT3nh6/db >>
/tmp/mbdtest_PT3nh6/postgres.log 2>&1' : 256 256
# could not initdb at /opt/work/uq.cis.perl.build/uq.cis.perl.build.rhel6-5.16.1-
20120910/tarball-build/Module-Build-Database-
0.33/t/../blib/lib/Module/Build/Database/PostgreSQL.pm line 155.
not ok 4 - created base.sql
# Failed test 'created base.sql'
# at t/02-install-no-postgis.t line 47.
not ok 5 - created patches_applied.txt
# Failed test 'created patches_applied.txt'
# at t/02-install-no-postgis.t line 48.
# using local port 9999
not ok 6 - initdb -D /tmp/ezqzHOedqt/dbtest
# Failed test 'initdb -D /tmp/ezqzHOedqt/dbtest'
# at /opt/work/uq.cis.perl.build/uq.cis.perl.build.rhel6-5.16.1-20120910/tarball-
build/Module-Build-Database-0.33/t/tlib/misc.pm line 16.
# initdb -D /tmp/ezqzHOedqt/dbtest failed : 256 256
# initdb: cannot be run as root
# Please log in (using, e.g., "su") as the (unprivileged) user that will
# own the server process.
No such file or directory at t/02-install-no-postgis.t line 76.
1..6
# Looks like you failed 5 tests of 6.
# Looks like your test exited with 2 just after 6.
any ideas to help diagnose
from build of DBD::Pg
# DBI Version 1.622
# DBD::Pg Version 2.19.3
# Perl Version 5.16.1
# OS linux
# PostgreSQL (compiled) 80412
# PostgreSQL (target) 80412
# PostgreSQL (reported) PostgreSQL 8.4.12 on x86_64-redhat-linux-gnu, compiled by
GCC gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3), 64-bit
# Default port 5432
# DBI_DSN
dbi:Pg:db="postgres";port=5441;host=/tmp/dbdpg_testdatabase_IEF2_W/data/socket
# DBI_USER postgres
# Test schema dbd_pg_testschema
# LANG C
# array_nulls on
# backslash_quote safe_encoding
# client_encoding UTF8
# server_encoding UTF8
# standard_conforming_strings off
# Adjusted: initdb