Bug#998601: libconfig-model-itself-perl: FTBFS: dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 2

Lucas Nussbaum lucas at debian.org
Thu Nov 4 19:46:20 GMT 2021


Source: libconfig-model-itself-perl
Version: 2.022-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211104 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> xvfb-run -a dh_auto_test
> 	/usr/bin/perl Build test --verbose 1
> Configuration item has a configuration model declaration error:
> 	load error: couldn't do /<<PKGBUILDDIR>>/<<PKGBUILDDIR>>/wr_root/application/lib/wr_model1/models/MasterModel.pl: No such file or directory
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 4.
> t/application.t ............ 
> ok 1 - compiled
> # Running tests in wr_root/application
> ok 2 - loaded Master model
> ok 3 - Read Itself::Model and created instance
> ok 4 - Created model reader/writer
> Dubious, test returned 2 (wstat 512, 0x200)
> All 4 subtests passed 
> t/author-critic.t .......... skipped: these tests are for testing by the author
> t/backend_detect.t ......... 
> ok 1 - compiled
> ok 2 - test class created
> ok 3 - IniFile plugin backend was found
> ok 4 - Found IniFile doc in pod
> ok 5 - cds_file help was kept
> ok 6 - memory cycle
> 1..6
> ok
> Prototype mismatch: sub CORE::GLOBAL::exit: none vs (;$) at /usr/lib/x86_64-linux-gnu/perl5/5.32/Tk.pm line 415.
> 
> #   Failed test 'edit is in test mode'
> #   at t/cme-meta-edit.t line 34.
> #                   'Reading model from /usr/share/perl5/Config/Model
> # '
> #     doesn't match '(?^:Test mode: quit)'
> # Looks like you failed 1 test of 3.
> t/cme-meta-edit.t .......... 
> ok 1 - compiled
> ok 2 - edit and quit
> not ok 3 - edit is in test mode
> 1..3
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/3 subtests 
> Prototype mismatch: sub CORE::GLOBAL::exit: none vs (;$) at /usr/lib/x86_64-linux-gnu/perl5/5.32/Tk.pm line 415.
> 
> #   Failed test 'threw no exceptions'
> #   at t/cme-meta-plugin.t line 52.
> #          got: 'Configuration item has a configuration model declaration error:
> # 	load error: couldn't do /<<PKGBUILDDIR>>/usr/share/perl5/Config/Model/models/Fstab.pl: No such file or directory
> # '
> #     expected: undef
> 
> #   Failed test 'edit plugin is in test mode'
> #   at t/cme-meta-plugin.t line 57.
> #                   'Preparing plugin my-plugin for model Fstab found in /usr/share/perl5/Config/Model
> # Use -dev option to create a plugin for a local model (i.e. in wr_test/plugin-ui)
> # '
> #     doesn't match '(?^:Test mode: save and quit)'
> 
> #   Failed test 'check content of wr_test/plugin-ui/models/Fstab.d/my-plugin/Fstab/CommonOptions.pl'
> #   at t/cme-meta-plugin.t line 59.
> #     Could not open file wr_test/plugin-ui/models/Fstab.d/my-plugin/Fstab/CommonOptions.pl: No such file or directory
> # Looks like you failed 3 tests of 5.
> t/cme-meta-plugin.t ........ 
> ok 1 - compiled
> not ok 2 - threw no exceptions
> ok 3 - edit plugin and quit
> not ok 4 - edit plugin is in test mode
> not ok 5 - check content of wr_test/plugin-ui/models/Fstab.d/my-plugin/Fstab/CommonOptions.pl
> 1..5
> Dubious, test returned 3 (wstat 768, 0x300)
> Failed 3/5 subtests 
> Prototype mismatch: sub CORE::GLOBAL::exit: none vs (;$) at /usr/lib/x86_64-linux-gnu/perl5/5.32/Tk.pm line 415.
> 
> #   Failed test 'meta check fstab'
> #   at t/cme-meta.t line 32.
> #                   'loading model
> # Reading model from /usr/share/perl5/Config/Model
> # '
> #     doesn't match '(?^:checking data)'
> 
> #   Failed test 'dump fstab model in wr_root/cme-meta/fstab.cds'
> #   at t/cme-meta.t line 40.
> #                   'Reading model from /usr/share/perl5/Config/Model
> # '
> #     doesn't match '(?^:Dumping Fstab)'
> 
> #   Failed test 'check content of wr_root/cme-meta/fstab.cds'
> #   at t/cme-meta.t line 41.
> #     Could not open file wr_root/cme-meta/fstab.cds: No such file or directory
> 
> #   Failed test 'dump fstab model in wr_root/cme-meta/fstab.yml'
> #   at t/cme-meta.t line 47.
> #                   'Reading model from /usr/share/perl5/Config/Model
> # '
> #     doesn't match '(?^:Dumping Fstab)'
> 
> #   Failed test 'check content of wr_root/cme-meta/fstab.yml'
> #   at t/cme-meta.t line 48.
> #     Could not open file wr_root/cme-meta/fstab.yml: No such file or directory
> 
> #   Failed test 'dot diagram of Fstab in wr_root/cme-meta/fstab.dot'
> #   at t/cme-meta.t line 53.
> #                   'Reading model from /usr/share/perl5/Config/Model
> # '
> #     doesn't match '(?^:Creating dot file)'
> 
> #   Failed test 'check content of wr_root/cme-meta/fstab.dot'
> #   at t/cme-meta.t line 54.
> #     Could not open file wr_root/cme-meta/fstab.dot: No such file or directory
> # Looks like you failed 7 tests of 10.
> t/cme-meta.t ............... 
> ok 1 - compiled
> # Running tests in wr_root/cme-meta
> ok 2 # skip dev list does not yet work
> ok 3 - check help
> not ok 4 - meta check fstab
> not ok 5 - dump fstab model in wr_root/cme-meta/fstab.cds
> not ok 6 - check content of wr_root/cme-meta/fstab.cds
> not ok 7 - dump fstab model in wr_root/cme-meta/fstab.yml
> not ok 8 - check content of wr_root/cme-meta/fstab.yml
> not ok 9 - dot diagram of Fstab in wr_root/cme-meta/fstab.dot
> not ok 10 - check content of wr_root/cme-meta/fstab.dot
> 1..10
> Dubious, test returned 7 (wstat 1792, 0x700)
> Failed 7/10 subtests 
> 	(less 1 skipped subtest: 2 okay)
> Configuration item has a configuration model declaration error:
> 	load error: couldn't do /<<PKGBUILDDIR>>/<<PKGBUILDDIR>>/blib/lib/Config/Model/models/Itself/WarpValue.pl: No such file or directory
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 2.
> t/dot_graph.t .............. 
> ok 1 - compiled
> # Running tests in wr_root/dot_graph
> ok 2 - Read Itself::Model and created instance
> # Reading models from /<<PKGBUILDDIR>>/blib/lib/Config/Model
> Dubious, test returned 2 (wstat 512, 0x200)
> All 2 subtests passed 
> Configuration item has a configuration model declaration error:
> 	load error: couldn't do /<<PKGBUILDDIR>>/<<PKGBUILDDIR>>/wr_root/itself-editor/lib/wr_model1/models/MasterModel.pl: No such file or directory
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 5.
> t/itself-editor.t .......... 
> ok 1 - compiled
> # You can play with the widget if you run the test with '--show' parameter
> # Running tests in wr_root/itself-editor
> ok 2 - loaded Master model
> ok 3 - created master_model instance
> ok 4 - loaded some data in master_model instance
> ok 5 - Read Itself::Model and created instance
> Dubious, test returned 2 (wstat 512, 0x200)
> All 5 subtests passed 
> Configuration item has a configuration model declaration error:
> 	load error: couldn't do /<<PKGBUILDDIR>>/<<PKGBUILDDIR>>/wr_root/itself/lib/wr_model1/models/MasterModel.pl: No such file or directory
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 6.
> t/itself.t ................. 
> ok 1 - compiled
> # Running tests in wr_root/itself
> ok 2 - loaded Master model
> ok 3 - created master_model instance
> ok 4 - loaded some data in master_model instance
> ok 5 - dumped master instance
> ok 6 - Read Itself::Model and created instance
> Dubious, test returned 2 (wstat 512, 0x200)
> All 6 subtests passed 
> Configuration item has a configuration model declaration error:
> 	load error: couldn't do /<<PKGBUILDDIR>>/<<PKGBUILDDIR>>/data/models/MasterModel.pl: No such file or directory
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 2.
> t/itself_snippet.t ......... 
> ok 1 - compiled
> # Running tests in wr_root/itself_snippet
> ok 2 - Read Itself::Model and created instance for model plugin
> Dubious, test returned 2 (wstat 512, 0x200)
> All 2 subtests passed 
> Configuration item has a configuration model declaration error:
> 	load error: couldn't do /<<PKGBUILDDIR>>/<<PKGBUILDDIR>>/blib/lib/Config/Model/models/Itself/WarpValue.pl: No such file or directory
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 2.
> t/list_itself_structure.t .. 
> ok 1 - compiled
> ok 2 - Read Itself::Model and created instance
> # Reading models from /<<PKGBUILDDIR>>/blib/lib/Config/Model
> Dubious, test returned 2 (wstat 512, 0x200)
> All 2 subtests passed 
> Configuration item has a configuration model declaration error:
> 	load error: couldn't do /<<PKGBUILDDIR>>/<<PKGBUILDDIR>>/wr_root/load_write_itself/lib/Config/Model/models/Itself/WarpValue.pl: No such file or directory
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 2.
> t/load_write_itself.t ...... 
> ok 1 - compiled
> # Running tests in wr_root/load_write_itself
> ok 2 - Read Itself::Model and created instance
> # Copying models from /<<PKGBUILDDIR>>/blib/lib/Config/Model/models
> Dubious, test returned 2 (wstat 512, 0x200)
> All 2 subtests passed 
> t/meta-class.t ............. 
> ok 1 - compiled
> # Running tests in wr_root/meta-class
> ok 2 - Read Itself::Model and created instance
> ok 3 - Created dummy Test class
> ok 4 - test explicit error message when attaching Config class to unknown Perl class
> # testing memory cycles. Please wait...
> ok 5 - Check memory cycle
> 1..5
> ok
> t/pod.t .................... 
> 1..25
> ok 1 - POD test for blib/lib/App/Cme/Command/meta.pm
> ok 2 - POD test for blib/lib/Config/Model/Itself.pm
> ok 3 - POD test for blib/lib/Config/Model/Itself/TkEditUI.pm (no pod)
> ok 4 - POD test for blib/lib/Config/Model/Itself/BackendDetector.pm
> ok 5 - POD test for blib/lib/Config/Model/models/Itself/ConfigAccept.pod
> ok 6 - POD test for blib/lib/Config/Model/models/Itself/WarpValue.pl (no pod)
> ok 7 - POD test for blib/lib/Config/Model/models/Itself/Class.pod
> ok 8 - POD test for blib/lib/Config/Model/models/Itself/Element.pod
> ok 9 - POD test for blib/lib/Config/Model/models/Itself/NonWarpableElement.pl (no pod)
> ok 10 - POD test for blib/lib/Config/Model/models/Itself/WarpableElement.pl (no pod)
> ok 11 - POD test for blib/lib/Config/Model/models/Itself/Model.pl (no pod)
> ok 12 - POD test for blib/lib/Config/Model/models/Itself/WarpOnlyElement.pl (no pod)
> ok 13 - POD test for blib/lib/Config/Model/models/Itself/Element.pl (no pod)
> ok 14 - POD test for blib/lib/Config/Model/models/Itself/MigratedValue.pl (no pod)
> ok 15 - POD test for blib/lib/Config/Model/models/Itself/Class.pl (no pod)
> ok 16 - POD test for blib/lib/Config/Model/models/Itself/WarpableCargoElement.pl (no pod)
> ok 17 - POD test for blib/lib/Config/Model/models/Itself/WarpValue.pod
> ok 18 - POD test for blib/lib/Config/Model/models/Itself/CommonElement.pl (no pod)
> ok 19 - POD test for blib/lib/Config/Model/models/Itself/Application.pl (no pod)
> ok 20 - POD test for blib/lib/Config/Model/models/Itself/ConfigReadWrite.pod
> ok 21 - POD test for blib/lib/Config/Model/models/Itself/ComputedValue.pl (no pod)
> ok 22 - POD test for blib/lib/Config/Model/models/Itself/CargoElement.pl (no pod)
> ok 23 - POD test for blib/lib/Config/Model/models/Itself/CommonElement/Assert.pod
> ok 24 - POD test for blib/lib/Config/Model/models/Itself/CommonElement/WarnIfMatch.pod
> ok 25 - POD test for blib/lib/Config/Model/models/Itself/ConfigReadWrite/DefaultLayer.pod
> ok
> Configuration item has a configuration model declaration error:
> 	load error: couldn't do /<<PKGBUILDDIR>>/<<PKGBUILDDIR>>/wr_root/pod_gen/wr_model1/models/Master/Created1.pl: No such file or directory
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with 2 just after 5.
> t/pod_gen.t ................ 
> ok 1 - compiled
> # Running tests in wr_root/pod_gen
> ok 2 - Read Itself::Model and created instance
> ok 3 - added new class Master::Created
> ok 4 - wrote back all stuff
> ok 5 - Read Itself::Model and created instance2
> Dubious, test returned 2 (wstat 512, 0x200)
> All 5 subtests passed 
> 
> Test Summary Report
> -------------------
> t/application.t          (Wstat: 512 Tests: 4 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> t/cme-meta-edit.t        (Wstat: 256 Tests: 3 Failed: 1)
>   Failed test:  3
>   Non-zero exit status: 1
> t/cme-meta-plugin.t      (Wstat: 768 Tests: 5 Failed: 3)
>   Failed tests:  2, 4-5
>   Non-zero exit status: 3
> t/cme-meta.t             (Wstat: 1792 Tests: 10 Failed: 7)
>   Failed tests:  4-10
>   Non-zero exit status: 7
> t/dot_graph.t            (Wstat: 512 Tests: 2 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> t/itself-editor.t        (Wstat: 512 Tests: 5 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> t/itself.t               (Wstat: 512 Tests: 6 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> t/itself_snippet.t       (Wstat: 512 Tests: 2 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> t/list_itself_structure.t (Wstat: 512 Tests: 2 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> t/load_write_itself.t    (Wstat: 512 Tests: 2 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> t/pod_gen.t              (Wstat: 512 Tests: 5 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> Files=15, Tests=82,  5 wallclock secs ( 0.04 usr  0.01 sys +  4.62 cusr  0.41 csys =  5.08 CPU)
> Result: FAIL
> Failed 11/15 test programs. 11/82 subtests failed.
> dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2021/11/04/libconfig-model-itself-perl_2.022-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-perl-maintainers mailing list