Bug#1101994: libconfig-model-itself-perl: (autopkg)test failures with Path::Tiny 0.148
gregor herrmann
gregoa at debian.org
Thu Apr 3 18:26:19 BST 2025
Source: libconfig-model-itself-perl
Version: 2.023-1
Severity: serious
Tags: ftbfs trixie sid
Justification: we love autopkgtests; blocks libpath-tiny-perl's migration
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
libpath-tiny-perl's 0.148-1 upload breaks
libconfig-model-itself-perl's test suite in autopkgtests.
(Or maybe libpath-tiny-perl's involvement is just a coincidence?)
>From https://ci.debian.net/packages/libc/libconfig-model-itself-perl/testing/amd64/59423510/
#v+
68s t/cme-meta-edit.t ..........
68s Prototype mismatch: sub CORE::GLOBAL::exit: none vs (;$) at /usr/lib/x86_64-linux-gnu/perl5/5.40/Tk.pm line 415.
68s ok 1 - compiled
68s not ok 2 - edit and quit
68s
68s # Failed test 'edit and quit'
68s # at t/cme-meta-edit.t line 33.
68s # ''
68s # doesn't match '(?^:Reading model from)'
68s not ok 3 - edit is in test mode
68s
68s # Failed test 'edit is in test mode'
68s # at t/cme-meta-edit.t line 34.
68s # ''
68s # doesn't match '(?^:Test mode: quit)'
68s 1..3
68s # Looks like you failed 2 tests of 3.
68s Dubious, test returned 2 (wstat 512, 0x200)
68s Failed 2/3 subtests
74s t/cme-meta.t ...............
74s ok 1 - compiled
74s # Running tests in wr_root/cme-meta
74s ok 2 # skip dev list does not yet work
74s Prototype mismatch: sub CORE::GLOBAL::exit: none vs (;$) at /usr/lib/x86_64-linux-gnu/perl5/5.40/Tk.pm line 415.
74s ok 3 - check help
74s not ok 4 - meta check fstab
74s
74s # Failed test 'meta check fstab'
74s # at t/cme-meta.t line 32.
74s # 'loading model
74s # '
74s # doesn't match '(?^:checking data)'
74s not ok 5 - dump fstab model in wr_root/cme-meta/fstab.cds
74s
74s # Failed test 'dump fstab model in wr_root/cme-meta/fstab.cds'
74s # at t/cme-meta.t line 40.
74s # ''
74s # doesn't match '(?^:Dumping Fstab)'
74s not ok 6 - check content of wr_root/cme-meta/fstab.cds
74s
74s # Failed test 'check content of wr_root/cme-meta/fstab.cds'
74s # at t/cme-meta.t line 41.
74s # Could not open file wr_root/cme-meta/fstab.cds: No such file or directory
74s not ok 7 - dump fstab model in wr_root/cme-meta/fstab.yml
74s
74s # Failed test 'dump fstab model in wr_root/cme-meta/fstab.yml'
74s # at t/cme-meta.t line 47.
74s # ''
74s # doesn't match '(?^:Dumping Fstab)'
74s not ok 8 - check content of wr_root/cme-meta/fstab.yml
74s
74s # Failed test 'check content of wr_root/cme-meta/fstab.yml'
74s # at t/cme-meta.t line 48.
74s # Could not open file wr_root/cme-meta/fstab.yml: No such file or directory
74s not ok 9 - dot diagram of Fstab in wr_root/cme-meta/fstab.dot
74s
74s # Failed test 'dot diagram of Fstab in wr_root/cme-meta/fstab.dot'
74s # at t/cme-meta.t line 53.
74s # ''
74s # doesn't match '(?^:Creating dot file)'
74s not ok 10 - check content of wr_root/cme-meta/fstab.dot
74s
74s # Failed test 'check content of wr_root/cme-meta/fstab.dot'
74s # at t/cme-meta.t line 54.
74s # Could not open file wr_root/cme-meta/fstab.dot: No such file or directory
74s 1..10
74s # Looks like you failed 7 tests of 10.
74s Dubious, test returned 7 (wstat 1792, 0x700)
74s Failed 7/10 subtests
74s (less 1 skipped subtest: 2 okay)
#v-
Interestingly this does not happen when I _build_ the package locally
but it also happens during a local autopkgtest run.
Note 1: wr_root/ is missing during autopkgtests. But adding it to
debian/tests/pkg-perl/smoke-files is not enough.
Note 2: The failing tests use Config::Model::Tester::Setup (from
libconfig-model-tester-perl) with
#v+
71 my $wr_root = path('wr_root')->child($name);
#v-
which looks a bit like https://github.com/dagolden/Path-Tiny/commit/07dc0eef61ecd748821c3fdd135f72419b257fa3
Or maybe Path::Tiny's mkdir/mkpath/remove_tree are used somewhere
else in the Config::Model universe with a string instead of a hashref
:)
Cheers,
gregor
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmfuxLtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgZ4EhAArWf83UIk+lG4vTPxGvtCrpcwwEJmFjAowYU8iL68mBbQ0FhAL57ym6zh
u7lLrQSIMESAr6jkEcxE3l8AXjm6/HFm5sOAIbsurGPkpBl7mMOF0ahjKFQNY7+f
2HGLzuJuBToaR9aHHV8LiGK/eX0zmzQRdp6WxQ+KSV6dCHY4NqnGxue4rlxAvkmy
4H29nvJccMSA4v7UdLW2HyNUZcMPS7hyLjnqrGvQWopzOHfSsbO7W6JlEVgLk3ns
I+gkQ0+lPNNTX0OeGfBLcuRrBT9R4jI0vlXodl14cDXyfxmlkMOegKhcqnDjrgRw
Dq+cgh7fDps8o/c/OVi1z5sHUwAyqW29hSovh2prE1uGuJuxjQG0eVehvVmrAH7d
KSfPu22M4zh6n16hurv9AVWp6c51DGLGMFP8fyeTW6qnVb9ixMdr/5q1y5KaMh+0
m6c1kMD3Skh/5rMmig749WR72MTo6tUrptt8hzaPykvxjfJORJOle0c8OIXvur0C
e5ojM96raiMHooH0+77zCc6S5hzfAZTxFjPXB2lJj/KzTZzDbpaCD6tgO/q6JK5D
N0lOmKcE161h46+ZEFieQ3/NrXp8tabHZb96bsHKaD81LNIQ733AL02UyAMiJZrW
Qc12O+zSvbb7i7KTcNoV67smQrR4PhCEamCQa8WhcspRtBexC50=
=Z+q7
-----END PGP SIGNATURE-----
More information about the pkg-perl-maintainers
mailing list