Subject: | Test t/04misc.t fails on i586 |
Hi,
while maintaining the openSUSE perl repository, I noticed that tests for version 3.10.1 fail on i586. Here is a part of the log:
https://build.opensuse.org/package/live_build_log/devel:languages:perl:autoupdate/perl-DBD-Pg/standard/i586
[ 52s] "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/DBD/Pg/Pg.bs 644
[ 52s] PGINITDB="/usr/lib/postgresql11/bin/initdb" PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[ 53s] t/00_signature.t ....... skipped: Set the environment variable TEST_SIGNATURE to enable this test
[ 53s] t/00basic.t ............ ok
[ 53s] Please wait, creating new database (version 11.5) for testing
[ 55s] Use of uninitialized value $info in pattern match (m//) at t/dbdpg_test_setup.pl line 472.
[ 55s] Use of uninitialized value $info in pattern match (m//) at t/dbdpg_test_setup.pl line 472.
[ 56s] #
[ 56s] # DBI Version 1.642
[ 56s] # DBD::Pg Version 3.10.1
[ 56s] # Perl Version 5.30.1
[ 56s] # OS linux
[ 56s] # PostgreSQL (compiled) 110005
[ 56s] # PostgreSQL (target) 110005
[ 56s] # PostgreSQL (reported) PostgreSQL 11.5 on i586-suse-linux-gnu, compiled by gcc (SUSE Linux) 9.2.1 20190903 [gcc-9-branch revision 275330], 32-bit
[ 56s] # Default port 5432
[ 56s] # DBI_DSN dbi:Pg:db="postgres";port=5440;host=<pwd>/dbdpg_test_database/data/socket
[ 56s] # DBI_USER abuild
[ 56s] # Test schema dbd_pg_testschema
[ 56s] # LANG C
[ 56s] # array_nulls on
[ 56s] # backslash_quote safe_encoding
[ 56s] # client_encoding UTF8
[ 56s] # server_encoding UTF8
[ 56s] # standard_conforming_strings on
[ 56s] # Adjusted: initdb
[ 56s] t/01connect.t .......... ok
[ 56s] t/01constants.t ........ ok
[ 58s] t/02attribs.t .......... ok
[ 60s] t/03dbmethod.t ......... ok
[ 62s] t/03smethod.t .......... ok
[ 62s] DBD::Pg::st execute failed: ERROR: invalid input syntax for integer: "-9.22337203685478e+18" at t/04misc.t line 87.
[ 62s] Issuing rollback() due to DESTROY without explicit disconnect() of DBD::Pg::db handle dbname=postgres;port=5440;host=/home/abuild/rpmbuild/BUILD/DBD-Pg-3.10.1/dbdpg_test_database/data/socket at t/04misc.t line 87.
[ 62s] # Looks like your test exited with 255 just after 16.
[ 62s] t/04misc.t .............
[ 62s] Dubious, test returned 255 (wstat 65280, 0xff00)
[ 62s] Failed 85/101 subtests
[ 62s] t/06bytea.t ............ ok
[ 63s] t/07copy.t ............. ok
[ 74s] t/08async.t ............ ok
[ 74s] t/09arrays.t ........... ok
[ 74s] t/10_pg_error_field.t .. ok
[ 74s] NOTICE: drop cascades to table dbd_pg_testschema.dbdpg_error_field_test
[ 75s] t/12placeholders.t ..... ok
[ 75s] t/20savepoints.t ....... ok
[ 76s] t/30unicode.t .......... ok
[ 76s] t/99cleanup.t .......... ok
[ 76s]
[ 76s] Test Summary Report
[ 76s] -------------------
[ 76s] t/04misc.t (Wstat: 65280 Tests: 16 Failed: 0)
[ 76s] Non-zero exit status: 255
[ 76s] Parse errors: Bad plan. You planned 101 tests but ran 16.
[ 76s] Files=17, Tests=2779, 24 wallclock secs ( 0.46 usr 0.04 sys + 4.41 cusr 0.95 csys = 5.86 CPU)
[ 76s] Result: FAIL
[ 76s] Failed 1/17 test programs. 0/2779 subtests failed.
[ 76s] make: *** [Makefile:987: test_dynamic] Error 255
On the other platforms it succeeds.