Bug#866984: libpgobject-type-json-perl FTBFS: You planned 9 tests but ran 5.

Adrian Bunk bunk at debian.org
Mon Jul 3 09:14:21 UTC 2017


Source: libpgobject-type-json-perl
Version: 1.011.0-1
Severity: serious
Tags: buster sid

Some recent change in unstable makes libpgobject-type-json-perl FTBFS:

https://tests.reproducible-builds.org/debian/history/libpgobject-type-json-perl.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libpgobject-type-json-perl.html

...
Deprecated use of PGObject->new_registry() at t/01-registration.t line 11.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-json-perl-1.011.0/blib/lib/PGObject/Type/JSON.pm line 59.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-json-perl-1.011.0/blib/lib/PGObject/Type/JSON.pm line 59.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-json-perl-1.011.0/blib/lib/PGObject/Type/JSON.pm line 59.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-json-perl-1.011.0/blib/lib/PGObject/Type/JSON.pm line 59.
Undefined subroutine &PGObject::get_type_registry called at t/01-registration.t line 19.
# Looks like you planned 9 tests but ran 5.
# Looks like your test exited with 255 just after 5.
t/01-registration.t ... 
1..9
ok 1 - creating test registry
ok 2 - default registration
ok 3 - int8 registration
ok 4 - custom registry, int8 registration
ok 5 - default types, custom registry
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/9 subtests 
t/02-serialization.t .. 
1..23
ok 1 - Instantiate null
ok 2 - Null is a JSON object
ok 3 - Null is a scalar
ok 4 - Serializes to db as null
ok 5 - Null is not undef
ok 6 - Instantiate undef
ok 7 - Undef isa JSON object
ok 8 - Undef is scalar
ok 9 - Serializes to db as undef
ok 10 - undef is undef
ok 11 - Instantiate hashref
ok 12 - Hashref is a JSON object
ok 13 - Hashref is a HASH
ok 14 - Serialization of hashtest works
ok 15 - Hash foo element is 1
ok 16 - Hash bar element is 2
ok 17 - Instantiate arrayref
ok 18 - Array is ARRAY
ok 19 - Array is correct array
ok 20 - Array serializes to db correctly
ok 21 - Instantiate literal
ok 22 - Literal is SCALAR
ok 23 - Literal serializes correctly
ok
t/boilerplate.t ....... 
1..3
ok 1 - README contains no boilerplate text
ok 2 - Changes contains no boilerplate text
ok 3 - lib/PGObject/Type/JSON.pm contains no boilerplate text
ok
t/manifest.t .......... skipped: Author tests not required for installation
t/pod-coverage.t ...... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod.t ............... skipped: Test::Pod 1.22 required for testing POD

Test Summary Report
-------------------
t/01-registration.t (Wstat: 65280 Tests: 5 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 9 tests but ran 5.
Files=7, Tests=32,  0 wallclock secs ( 0.04 usr  0.00 sys +  0.25 cusr  0.01 csys =  0.30 CPU)
Result: FAIL
Failed 1/7 test programs. 0/32 subtests failed.
Makefile:824: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory '/build/1st/libpgobject-type-json-perl-1.011.0'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2



More information about the pkg-perl-maintainers mailing list