Bug#912039: libpetail-utils-perl: FTBFS: Test failures

Daniel Schepler dschepler at gmail.com
Sat Oct 27 16:14:09 BST 2018


Source: libpetal-utils-perl
Version: 0.06-3
Severity: serious
Tags: ftbfs

>From my pbuilder build log:

...
   dh_auto_test
dh_auto_test: Compatibility levels before 9 are deprecated (level 8 in use)
       perl Build test --verbose 1

#   Failed test 'use set :default'
#   at t/01__import.t line 21.
#          got: 'Can't find Petal plugin: 'Date'! at
/build/libpetal-utils-perl-0.06/blib/lib/Petal/Utils.pm line 111.
# BEGIN failed--compilation aborted at (eval 13) line 1.
# '
#     expected: ''
# Looks like you failed 1 test of 6.
t/01__import.t .......
ok 1 - use Petal::Utils
ok 2 - use set :none
not ok 3 - use set :default
ok 4 - use plugin UpperCase
ok 5 - error loading non-existent set
ok 6 - error loading non-existent plugin
1..6
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
t/02__debug.t ........
ok 1 - dump
1..1
ok
t/03__text.t .........
ok 1 - lc
ok 2 - uc
ok 3 - uc_first
1..3
ok
t/04__logic.t ........
ok 1 - first
ok 2 - second
ok 3 - or
ok 4 - and
ok 5 - equal
ok 6 - like
ok 7 - if
ok 8 - if
1..8
ok
Can't find Petal plugin: 'Date'! at
/build/libpetal-utils-perl-0.06/blib/lib/Petal/Utils.pm line 111.
BEGIN failed--compilation aborted at t/05__date.t line 15.
t/05__date.t ......... skipped: (no reason given)
t/06__list.t .........
ok 1 - sort
1..1
ok
t/07__hash.t .........
ok 1 - each
ok 2 - each
ok 3 - each
ok 4 - keys
ok 5 - keys
ok 6 - keys
not ok 7 - dkeys # TODO Petal cannot use dynamic hash keys to look up values
#   Failed (TODO) test 'dkeys'
#   at t/07__hash.t line 45.
#                   '<html>
#       <body>
#               <p>
#
#                       <ul>
#                               <li>ekey2 => evalue2</li><li>ekey3 =>
evalue3</li><li>ekey1 => evalue1</li>
#                       </ul>
#
#
#                       <ul>
#
#                               <li>kkey3 => </li><li>kkey2 =>
</li><li>kkey1 => </li>
#                       </ul>
#               </p>
#       </body>
# </html>'
#     doesn't match '(?^:kkey1 => kvalue1)'
1..7
ok
t/08__uri.t ..........
ok 1 - &
ok 2 - ' '
ok 3 - ,
ok 4 - ;
ok 5 - /
ok 6 - ?
ok 7 - .
1..7
ok
t/20__Base.t .........
ok 1 - split_first_arg - 'first second'
ok 2 - split_first_arg - 'first second'
ok 3 - split_first_arg - ''first' second'
ok 4 - split_first_arg - ''first' second'
ok 5 - split_first_arg - 'first second third'
ok 6 - split_first_arg - 'first second third'
ok 7 - split_first_arg - 'first second third'
ok 8 - split_first_arg - ''first' second third fourth'
ok 9 - split_first_arg - ''first' second third fourth'
ok 10 - split_first_arg - ''first' second third fourth'
ok 11 - split_first_arg - ''first' second third fourth'
ok 12 - split_first_arg - 'string: first second''
ok 13 - split_first_arg - 'string: first second''
ok 14 - split_args - 'first second'
ok 15 - split_args - 'first second'
ok 16 - split_args - ''first' second'
ok 17 - split_args - ''first' second'
ok 18 - split_args - 'first second third'
ok 19 - split_args - 'first second third'
ok 20 - split_args - 'first second third'
ok 21 - split_args - ''first' second third fourth'
ok 22 - split_args - ''first' second third fourth'
ok 23 - split_args - ''first' second third fourth'
ok 24 - split_args - ''first' second third fourth'
ok 25 - split_args - 'string: first second'
ok 26 - split_args - 'string: first second'
ok 27 - split_args - 'string: first second'
ok 28 - Fetch value of Dad
ok 29 - Fetch plaintext
ok 30 - Fetch number
ok 31 - Fetch number with decimal
1..31
ok
t/21__Limit.t ........
ok 1 - no limit
ok 2 - limit 1
ok 3 - limit 2
1..3
ok
t/22__Limitr.t .......
ok 1 - no limit
ok 2 - limit 1
ok 3 - limit 2
1..3
ok
t/23__Create_Href.t ..
ok 1 - url1
ok 2 - url2
ok 3 - url3
ok 4 - url4
1..4
ok
t/24__Substr.t .......
ok 1 - substr1
ok 2 - substr2
ok 3 - substr3
ok 4 - substr4
ok 5 - substr4
1..5
ok
t/25__Decode.t .......
ok 1 - decode1
ok 2 - decode2
ok 3 - decode2a
ok 4 - decode2b
ok 5 - decode3 - true (1)
ok 6 - decode4 - false (0)
ok 7 - decode5 - false (false)
ok 8 - decode6
ok 9 - decode7
ok 10 - decode8
ok 11 - decode9
ok 12 - decode10
ok 13 - decode11
ok 14 - decode12
ok 15 - decode13
ok 16 - decode14
ok 17 - decode15
1..17
ok
t/26__Printf.t .......
ok 1 - printf1
ok 2 - printf2
ok 3 - printf3
ok 4 - printf4
ok 5 - printf5
ok 6 - printf6
1..6
ok

Test Summary Report
-------------------
t/01__import.t     (Wstat: 256 Tests: 6 Failed: 1)
 Failed test:  3
 Non-zero exit status: 1
t/05__date.t       (Wstat: 512 Tests: 0 Failed: 0)
 Non-zero exit status: 2
Files=15, Tests=102,  2 wallclock secs ( 0.06 usr  0.01 sys +  1.16
cusr  0.14 csys =  1.37 CPU)
Result: FAIL
Failed 2/15 test programs. 1/102 subtests failed.
dh_auto_test: perl Build test --verbose 1 returned exit code 255
make: *** [debian/rules:4: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

(Also reproduced on reproducible-builds.org.)
-- 
Daniel Schepler



More information about the pkg-perl-maintainers mailing list