Bug#902107: libconfig-model-approx-perl fails it's autopkg tests

Matthias Klose doko at debian.org
Fri Jun 22 11:38:22 BST 2018


Package: src:libconfig-model-approx-perl
Version: 1.010-1
Severity: important
Tags: sid buster

autopkgtest [01:40:52]: test command1: [-----------------------
t/approx_config.t ..
1..5
ok 1 - compiled
ok 2 - Read wr_root/approx_test/etc/approx/approx.conf and created instance
2018/06/21 01:40:53 suffix method is deprecated. you can remove it from backend 
Approx
2018/06/21 01:40:53 io_handle backend parameter is deprecated, please use 
file_path parameter. (/usr/share/perl5/Config/Model/Backend/Approx.pm:49)
not ok 3 - check data read from approx.conf

#   Failed test 'check data read from approx.conf'
#   at t/approx_config.t line 68.
#          got: '
# '
#     expected: 'max_rate=100K
# verbose=1#"old style parameter (before approx 2.9.0)"
# distributions:debian=http://ftp.debian.org/debian
# distributions:local=file:///my/local/repo
# distributions:security=http://security.debian.org/debian-security#"let's be 
secure" -
# '
2018/06/21 01:40:53 io_handle backend parameter is deprecated, please use 
file_path parameter. (/usr/share/perl5/Config/Model/Backend/Approx.pm:79)
2018/06/21 01:40:53 io_handle backend parameter is deprecated, please use 
file_path parameter. (/usr/share/perl5/Config/Model/Backend/Approx.pm:80)
2018/06/21 01:40:53 io_handle backend parameter is deprecated, please use 
file_path parameter. (/usr/share/perl5/Config/Model/Backend/Approx.pm:94)
Can't open wr_root/approx_test/etc/approx/approx.conf:No such file or directory 
at t/approx_config.t line 74.
# Looks like your test exited with 2 just after 3.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/5 subtests
t/model_tests.t ....
# Calling run_tests with argument is deprecated
ok 1 - compiled
# Beginning approx test (t/model_tests.d/approx-test-conf.pl)
# approx uses Approx model on file approx.conf
# Beginning subtest approx basic
ok 2 - Copied approx example basic
# load_warnings param is DEPRECATED. Please use log4perl_load_warnings
ok 3 - Read configuration and created instance with init() method without 
warning check
# dump_warnings parameter is DEPRECATED
ok 4 - Ran dump_tree
ok 5 - Dumped approx config tree in full mode
# dump_warnings parameter is DEPRECATED
ok 6 - Ran dump_tree
ok 7 - Dumped approx config tree in custom mode
ok 8 - approx write back done
ok 9 - Created instance approx-test-basic-w
Backend error: Cannot read /etc/approxapprox.conf
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 9.
Dubious, test returned 2 (wstat 512, 0x200)
All 9 subtests passed

Test Summary Report
-------------------
t/approx_config.t (Wstat: 512 Tests: 3 Failed: 1)
   Failed test:  3
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 5 tests but ran 3.
t/model_tests.t  (Wstat: 512 Tests: 9 Failed: 0)
   Non-zero exit status: 2
   Parse errors: No plan found in TAP output
Files=2, Tests=12,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.67 cusr  0.07 
csys =  0.77 CPU)
Result: FAIL
autopkgtest [01:40:54]: test command1: -----------------------]
autopkgtest [01:40:54]: test command1:  - - - - - - - - - - results - - - - - - 
- - - -
command1             FAIL non-zero exit status 1



More information about the pkg-perl-maintainers mailing list