Bug#1023709: pkwalify: autopkgtest regression: t/pkwalify.t Failed: 22

Paul Gevers elbrus at debian.org
Tue Nov 8 20:41:43 GMT 2022


Source: pkwalify
Version: 1.23-2
Severity: serious
X-Debbugs-CC: jelmer at debian.org
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of pkwalify the autopkgtest of pkwalify fails in 
testing when that autopkgtest is run with the binary packages of 
pkwalify from unstable. It passes when run with only packages from 
testing. In tabular form:

                        pass            fail
pkwalify               from testing    1.23-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can 
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=pkwalify

https://ci.debian.net/data/autopkgtest/testing/amd64/p/pkwalify/27088725/log.gz

t/Kwalify.t ...... 1..100
ok 1 - use Kwalify;
ok 2 - use Schema::Kwalify;
ok 3 - sequence of str
ok 4 - sequence with default type (str)
ok 5 - Non valid data, int in sequence of str
ok 6
ok 7 - mapping
ok 8 - invalid mapping
ok 9
ok 10
ok 11
ok 12 - sequence of mapping
ok 13
ok 14
ok 15
ok 16
ok 17 - mapping of sequence
ok 18
ok 19
ok 20
ok 21 - Many rules
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33 - unique
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39 - valid data against schema with recursive rules (no endless loop)
ok 40 - valid recursive data against schema with recursive rules (no 
endless loop)
ok 41 - valid data against perl schema
ok 42 - invalid data against perl schema
ok 43 - min-ex length pass
ok 44 - min-ex length fail
ok 45 - max-ex length pass
ok 46 - max-ex length fail
ok 47 - min-ex range pass
ok 48 - min-ex range fail
ok 49 - max-ex range pass
ok 50 - max-ex range fail
ok 51 - max length pass
ok 52 - max length fail
ok 53 - max range pass
ok 54 - max range fail
ok 55 - Passing name/classname/desc
ok 56 - Passing name/class/desc
ok 57 - a ref is not a text
ok 58 - undef is not a text
ok 59 - a str is not a text
ok 60 - undef is not a str
ok 61 - a number is not a str
ok 62 - a non-float
ok 63 - a non-number
ok 64 - a non-bool
ok 65 - validate '0' as bool
ok 66 - validate '1' as bool
ok 67 - validate 'yes' as bool
ok 68 - validate 'no' as bool
ok 69 - validate 'true' as bool
ok 70 - validate 'false' as bool
ok 71 - validate float
ok 72 - validate number
ok 73 - validate time
ok 74 - schema must be hash
ok 75 - unknown type
ok 76 - invalid length spec
ok 77 - invalid enum spec
ok 78 - invalid range spec
ok 79 - unknown key in type
ok 80 - unknown key in range
ok 81 - unknown key in length
ok 82 - expected hash in data
ok 83 - wrong seq in schema
ok 84 - wrong seq in schema
ok 85 - wrong seq in schema
ok 86 - wrong data, no sequence
ok 87 - wrong map in schema
ok 88 - wrong map in schema
ok 89 - wrong data, undefined
ok 90 - wrong data, no mapping
ok 91 - An object of class 'Schema::Kwalify' isa 'Schema::Kwalify'
ok 92 - Simple Schema::Kwalify validation
ok 93 - Simple Schema::Kwalify failure
ok 94 - type any with additional check, successful
ok 95 - type any with additional check, failure
ok 96 - enum with defined value
ok 97 - enum with undefined value
ok 98 - legally undefined pattern
ok 99 - legally undefined pattern
ok 100 - No warnings expected
ok
t/compat.t ....... 1..2
# Running under perl version 5.034000 for linux
# Current time local: Fri Oct 14 22:02:12 2022
# Current time GMT:   Fri Oct 14 22:02:12 2022
# Using Test.pm version 1.31
ok 1
ok 2
ok
t/pkwalify.t ..... 1..31
not ok 1 - There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05a.yaml

#   Failed test 'There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05a.yaml'
#   at t/pkwalify.t line 119.
#          got: ''
#     expected: anything else
not ok 2 - Nothing in STDERR

#   Failed test 'Nothing in STDERR'
#   at t/pkwalify.t line 119.
#          got: 'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     expected: ''
not ok 3 - -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05a.yaml

#   Failed test '-f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05a.yaml'
#   at t/pkwalify.t line 119.
#          got: '0'
#     expected: '1'
# -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05a.yaml
not ok 4 - There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05b.yaml

#   Failed test 'There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05b.yaml'
#   at t/pkwalify.t line 119.
#          got: ''
#     expected: anything else
not ok 5 - Nothing in STDERR

#   Failed test 'Nothing in STDERR'
#   at t/pkwalify.t line 119.
#          got: 'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     expected: ''
ok 6 - -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05b.yaml
not ok 7 - There are warnings in -f /tmp/tKi5I6BKwY.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05a.yaml

#   Failed test 'There are warnings in -f /tmp/tKi5I6BKwY.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05a.yaml'
#   at t/pkwalify.t line 119.
#          got: ''
#     expected: anything else
not ok 8 - Nothing in STDERR

#   Failed test 'Nothing in STDERR'
#   at t/pkwalify.t line 119.
#          got: 'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     expected: ''
ok 9 - -f /tmp/tKi5I6BKwY.yaml 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/document05a.yaml
not ok 10 - There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/dhMDdL1CtI.yaml

#   Failed test 'There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/dhMDdL1CtI.yaml'
#   at t/pkwalify.t line 119.
#          got: ''
#     expected: anything else
not ok 11 - Nothing in STDERR

#   Failed test 'Nothing in STDERR'
#   at t/pkwalify.t line 119.
#          got: 'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     expected: ''
ok 12 - -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/dhMDdL1CtI.yaml
not ok 13 - There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/Ys4ayNIxF_.yaml

#   Failed test 'There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/Ys4ayNIxF_.yaml'
#   at t/pkwalify.t line 119.
#          got: ''
#     expected: anything else
not ok 14 - Nothing in STDERR

#   Failed test 'Nothing in STDERR'
#   at t/pkwalify.t line 119.
#          got: 'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     expected: ''
not ok 15 - -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/Ys4ayNIxF_.yaml

#   Failed test '-f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/Ys4ayNIxF_.yaml'
#   at t/pkwalify.t line 119.
#          got: '0'
#     expected: '1'
# -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/Ys4ayNIxF_.yaml
not ok 16 - There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/L96yxUgGZE.yaml

#   Failed test 'There are warnings in -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/L96yxUgGZE.yaml'
#   at t/pkwalify.t line 119.
#          got: ''
#     expected: anything else
not ok 17 - Nothing in STDERR

#   Failed test 'Nothing in STDERR'
#   at t/pkwalify.t line 119.
#          got: 'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     expected: ''
ok 18 - -f 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/testdata/schema05.yaml 
/tmp/L96yxUgGZE.yaml
ok 19 - No success without options
not ok 20 - usage -f

#   Failed test 'usage -f'
#   at t/pkwalify.t line 137.
#                   'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     doesn't match '(?^:-f option is mandatory)'
ok 21 - Invalid option
not ok 22 - got usage

#   Failed test 'got usage'
#   at t/pkwalify.t line 146.
#                   'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     doesn't match '(?^:usage)'
ok 23 - Missing data file
not ok 24 - usage datafile

#   Failed test 'usage datafile'
#   at t/pkwalify.t line 155.
#                   'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     doesn't match '(?^:datafile is mandatory)'
ok 25 - No YAML/JSON file
not ok 26 - cannot parse file

#   Failed test 'cannot parse file'
#   at t/pkwalify.t line 164.
#                   'Can't open perl script 
"/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify": 
No such file or directory
# '
#     doesn't match '(?^i:cannot parse)'
not ok 27 - Success with -s

#   Failed test 'Success with -s'
#   at t/pkwalify.t line 183.
#          got: '0'
#     expected: '1'
ok 28 - silent output
not ok 29 - Success without -s

#   Failed test 'Success without -s'
#   at t/pkwalify.t line 193.
#          got: '0'
#     expected: '1'
not ok 30 - non-silent output for validity

#   Failed test 'non-silent output for validity'
#   at t/pkwalify.t line 196.
#                   ''
#     doesn't match '(?^:\:\ valid\.)'
not ok 31 - 
/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify 
compiles OK

#   Failed test 
'/tmp/autopkgtest-lxc.ns43i5rp/downtmp/autopkgtest_tmp/smokex78hlS/t/../blib/script/pkwalify 
compiles OK'
#   at t/pkwalify.t line 286.
# Looks like you failed 22 tests of 31.
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 22/31 subtests t/required-no.t .. 1..1
ok 1
ok

Test Summary Report
-------------------
t/pkwalify.t   (Wstat: 5632 Tests: 31 Failed: 22)
   Failed tests:  1-5, 7-8, 10-11, 13-17, 20, 22, 24, 26-27
                 29-31
   Non-zero exit status: 22
Files=4, Tests=134,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.20 cusr 
0.04 csys =  0.27 CPU)
Result: FAIL
autopkgtest [22:02:13]: test autodep8-perl-build-deps

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20221108/e4a00fc8/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list