Control: tag -1 + confirmed On Thu, 06 Nov 2025 11:59:16 +0000, Santiago Vila wrote:
During a rebuild of all packages in unstable, this package failed to build.
Test Summary Report ------------------- t/URT/t/63c_view_with_subviews.t (Wstat: 256 (exited 1) Tests: 31 Failed: 1) Failed test: 27 Non-zero exit status: 1 Files=273, Tests=7473, 101 wallclock secs ( 0.69 usr 0.31 sys + 85.06 cusr 11.76 csys = 97.82 CPU) Result: FAIL Failed 1/273 test programs. 1/7473 subtests failed. dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------
# Creating view with toolkit json # Creating view with toolkit xml # Creating view with toolkit text # Creating view with toolkit json # Creating view with toolkit xml # Failed test 'content matches!' # at t/URT/t/63c_view_with_subviews.t line 152. # got: '<?xml version="1.0"?> # <object type="Acme::Cat::Set" id="Acme::Cat/And/owner_id/O:�O:111�"> # <display_name>(Acme::Cat::Set owner_id => 111)</display_name> # <label_name>Set</label_name> # <types> # <isa type="Acme::Cat::Set"/> # <isa type="Acme::Animal::Set"/> # <isa type="UR::Object::Set"/> # <isa type="UR::Value"/> # <isa type="UR::Object"/> # </types> # <aspect name="members"> # <object type="Acme::Cat" id="222"> # <display_name>222</display_name> # <label_name>Cat</label_name> # <types> # <isa type="Acme::Cat"/> # <isa type="Acme::Animal"/> # <isa type="UR::Object"/> # </types> # </object> # <object type="Acme::Cat" id="333"> # <display_name>333</display_name> # <label_name>Cat</label_name> # <types> # <isa type="Acme::Cat"/> # <isa type="Acme::Animal"/> # <isa type="UR::Object"/> # </types> # </object> # </aspect> # </object> # ' # expected: '<?xml version="1.0"?> # <object type="Acme::Cat::Set" id="Acme::Cat/And/owner_id/O:O:111"> # <display_name>(Acme::Cat::Set owner_id => 111)</display_name> # <label_name>Set</label_name> # <types> # <isa type="Acme::Cat::Set"/> # <isa type="Acme::Animal::Set"/> # <isa type="UR::Object::Set"/> # <isa type="UR::Value"/> # <isa type="UR::Object"/> # </types> # <aspect name="members"> # <object type="Acme::Cat" id="222"> # <display_name>222</display_name> # <label_name>Cat</label_name> # <types> # <isa type="Acme::Cat"/> # <isa type="Acme::Animal"/> # <isa type="UR::Object"/> # </types> # </object> # <object type="Acme::Cat" id="333"> # <display_name>333</display_name> # <label_name>Cat</label_name> # <types> # <isa type="Acme::Cat"/> # <isa type="Acme::Animal"/> # <isa type="UR::Object"/> # </types> # </object> # </aspect> # </object> # ' # Creating view with toolkit text # Looks like you failed 1 test of 31. t/URT/t/63c_view_with_subviews.t .......................................... ok 1 - Acme::Value::Years=HASH(0x55a59a0a09d0) has id 88 and display name 88 yrs ok 2 - Acme::Value::Years=HASH(0x55a59a0a6628) has id 22 and display name 22 yrs ok 3 - made a test person object to have cats ok 4 - made a test cat 1 ok 5 - made a test cat 2 ok 6 - got expected cat list for the owner ok 7 - got a set object representing the test person's set of cats: (Acme::Cat::Set owner_id => 111) # # VIEW: Acme::Person as json... # ok 8 - got an text view for the person ok 9 - json view of Acme::Person generated content ok 10 - path exists to expected content for toolkit json ok 11 - content matches! # # VIEW: Acme::Person as xml... # ok 12 - got an text view for the person ok 13 - xml view of Acme::Person generated content ok 14 - path exists to expected content for toolkit xml ok 15 - content matches! # # VIEW: Acme::Person as text... # ok 16 - got an text view for the person ok 17 - text view of Acme::Person generated content ok 18 - path exists to expected content for toolkit text ok 19 - content matches! # # VIEW: Acme::Cat::Set as json... # ok 20 - got an text view for the person ok 21 - json view of Acme::Cat::Set generated content ok 22 - path exists to expected content for toolkit json ok 23 - content matches! # # VIEW: Acme::Cat::Set as xml... # ok 24 - got an text view for the person ok 25 - xml view of Acme::Cat::Set generated content ok 26 - path exists to expected content for toolkit xml not ok 27 - content matches! # # VIEW: Acme::Cat::Set as text... # ok 28 - got an text view for the person ok 29 - text view of Acme::Cat::Set generated content ok 30 - path exists to expected content for toolkit text ok 31 - content matches! 1..31 Dubious, test returned 1 (wstat 256, 0x100) Failed 1/31 subtests So the diff is - # <object type="Acme::Cat::Set" id="Acme::Cat/And/owner_id/O:O:111"> + # <object type="Acme::Cat::Set" id="Acme::Cat/And/owner_id/O:�O:111�">I note that there are 2 places in the code (lib/UR/Object/View/Default/Xsl.pm and lib/UR/Object/View/Default/Xml.pm) with:
# remove invalid XML entities
$doc_string =~
s/[^\x09\x0A\x0D\x20-\x{D7FF}\x{E000}-\x{FFFD}\x{10000}-\x{10FFFF}]//go;
and
# remove invalid XML entities
$xml_content =~
s/[^\x09\x0A\x0D\x20-\x{D7FF}\x{E000}-\x{FFFD}\x{10000}-\x{10FFFF}]//go;
Looks like these assumpetions are not correct anymore …
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
signature.asc
Description: Digital Signature

