0s autopkgtest [17:59:55]: starting date and time: 2025-03-15 17:59:55+0000 0s autopkgtest [17:59:55]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [17:59:55]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.jcopkzc4/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:glibc --apt-upgrade tdom --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu2 -- lxd -r lxd-armhf-10.145.243.201 lxd-armhf-10.145.243.201:autopkgtest/ubuntu/plucky/armhf 31s autopkgtest [18:00:26]: testbed dpkg architecture: armhf 33s autopkgtest [18:00:28]: testbed apt version: 2.9.33 37s autopkgtest [18:00:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup 40s autopkgtest [18:00:35]: testbed release detected to be: None 47s autopkgtest [18:00:42]: updating testbed package index (apt update) 50s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 50s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [257 kB] 50s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 50s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 50s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.7 kB] 50s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.8 kB] 50s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [379 kB] 51s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [114 kB] 51s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf c-n-f Metadata [1832 B] 51s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf c-n-f Metadata [116 B] 51s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [312 kB] 51s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf c-n-f Metadata [11.1 kB] 51s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [3472 B] 51s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf c-n-f Metadata [240 B] 51s Get:15 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB] 51s Get:16 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 66s Get:17 http://ftpmaster.internal/ubuntu plucky/main Sources [1394 kB] 67s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1378 kB] 68s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 81s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [172 kB] 83s Fetched 40.7 MB in 33s (1235 kB/s) 84s Reading package lists... 90s autopkgtest [18:01:25]: upgrading testbed (apt dist-upgrade and autopurge) 92s Reading package lists... 92s Building dependency tree... 92s Reading state information... 93s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 93s Starting 2 pkgProblemResolver with broken count: 0 93s Done 94s Entering ResolveByKeep 94s 94s Calculating upgrade... 95s The following packages will be upgraded: 95s libc-bin libc6 locales pinentry-curses sos 95s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 95s Need to get 8128 kB of archives. 95s After this operation, 0 B of additional disk space will be used. 95s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libc6 armhf 2.41-1ubuntu2 [2932 kB] 98s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libc-bin armhf 2.41-1ubuntu2 [545 kB] 99s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf locales all 2.41-1ubuntu2 [4246 kB] 102s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu3 [40.6 kB] 102s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf sos all 4.9.0-5 [365 kB] 103s Preconfiguring packages ... 103s Fetched 8128 kB in 8s (1018 kB/s) 103s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 103s Preparing to unpack .../libc6_2.41-1ubuntu2_armhf.deb ... 104s Unpacking libc6:armhf (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 104s Setting up libc6:armhf (2.41-1ubuntu2) ... 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 104s Preparing to unpack .../libc-bin_2.41-1ubuntu2_armhf.deb ... 104s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 104s Setting up libc-bin (2.41-1ubuntu2) ... 104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 104s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ... 104s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 105s Preparing to unpack .../pinentry-curses_1.3.1-2ubuntu3_armhf.deb ... 105s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 105s Preparing to unpack .../archives/sos_4.9.0-5_all.deb ... 105s Unpacking sos (4.9.0-5) over (4.9.0-4) ... 105s Setting up sos (4.9.0-5) ... 106s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 106s Setting up locales (2.41-1ubuntu2) ... 107s Generating locales (this might take a while)... 109s en_US.UTF-8... done 109s Generation complete. 109s Processing triggers for systemd (257.3-1ubuntu3) ... 109s Processing triggers for man-db (2.13.0-1) ... 112s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Starting pkgProblemResolver with broken count: 0 113s Starting 2 pkgProblemResolver with broken count: 0 113s Done 114s Solving dependencies... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s autopkgtest [18:01:51]: rebooting testbed after setup commands that affected boot 156s autopkgtest [18:02:31]: testbed running kernel: Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 18:10:51 UTC 2 182s autopkgtest [18:02:57]: @@@@@@@@@@@@@@@@@@@@ apt-source tdom 199s Get:1 http://ftpmaster.internal/ubuntu plucky/universe tdom 0.9.5.1-2 (dsc) [2060 B] 199s Get:2 http://ftpmaster.internal/ubuntu plucky/universe tdom 0.9.5.1-2 (tar) [1513 kB] 199s Get:3 http://ftpmaster.internal/ubuntu plucky/universe tdom 0.9.5.1-2 (diff) [7080 B] 199s gpgv: Signature made Thu Feb 27 21:19:46 2025 UTC 199s gpgv: using RSA key E456CE03C47805C3DC5A9364EDC8C8240F688E68 199s gpgv: Can't check signature: No public key 199s dpkg-source: warning: cannot verify inline signature for ./tdom_0.9.5.1-2.dsc: no acceptable signature found 199s autopkgtest [18:03:14]: testing package tdom version 0.9.5.1-2 201s autopkgtest [18:03:16]: build not needed 204s autopkgtest [18:03:19]: test command1: preparing testbed 206s Reading package lists... 206s Building dependency tree... 206s Reading state information... 206s Starting pkgProblemResolver with broken count: 0 206s Starting 2 pkgProblemResolver with broken count: 0 206s Done 207s The following NEW packages will be installed: 207s libgumbo3 libtcl8.6 tcl tcl8.6 tdom tdom-dev 207s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 207s Need to get 1371 kB of archives. 207s After this operation, 4861 kB of additional disk space will be used. 207s Get:1 http://ftpmaster.internal/ubuntu plucky/universe armhf libgumbo3 armhf 0.13.0+dfsg-2 [120 kB] 208s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libtcl8.6 armhf 8.6.16+dfsg-1 [909 kB] 209s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf tcl8.6 armhf 8.6.16+dfsg-1 [14.6 kB] 209s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf tcl armhf 8.6.14build1 [4124 B] 209s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf tdom armhf 0.9.5.1-2 [318 kB] 209s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf tdom-dev armhf 0.9.5.1-2 [4876 B] 209s Fetched 1371 kB in 2s (775 kB/s) 209s Selecting previously unselected package libgumbo3:armhf. 209s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 209s Preparing to unpack .../0-libgumbo3_0.13.0+dfsg-2_armhf.deb ... 209s Unpacking libgumbo3:armhf (0.13.0+dfsg-2) ... 209s Selecting previously unselected package libtcl8.6:armhf. 209s Preparing to unpack .../1-libtcl8.6_8.6.16+dfsg-1_armhf.deb ... 209s Unpacking libtcl8.6:armhf (8.6.16+dfsg-1) ... 210s Selecting previously unselected package tcl8.6. 210s Preparing to unpack .../2-tcl8.6_8.6.16+dfsg-1_armhf.deb ... 210s Unpacking tcl8.6 (8.6.16+dfsg-1) ... 210s Selecting previously unselected package tcl. 210s Preparing to unpack .../3-tcl_8.6.14build1_armhf.deb ... 210s Unpacking tcl (8.6.14build1) ... 210s Selecting previously unselected package tdom:armhf. 210s Preparing to unpack .../4-tdom_0.9.5.1-2_armhf.deb ... 210s Unpacking tdom:armhf (0.9.5.1-2) ... 210s Selecting previously unselected package tdom-dev:armhf. 210s Preparing to unpack .../5-tdom-dev_0.9.5.1-2_armhf.deb ... 210s Unpacking tdom-dev:armhf (0.9.5.1-2) ... 210s Setting up libgumbo3:armhf (0.13.0+dfsg-2) ... 210s Setting up libtcl8.6:armhf (8.6.16+dfsg-1) ... 210s Setting up tcl8.6 (8.6.16+dfsg-1) ... 210s Setting up tcl (8.6.14build1) ... 210s Setting up tdom:armhf (0.9.5.1-2) ... 210s Setting up tdom-dev:armhf (0.9.5.1-2) ... 210s Processing triggers for man-db (2.13.0-1) ... 210s Processing triggers for libc-bin (2.41-1ubuntu2) ... 220s autopkgtest [18:03:35]: test command1: tclsh tests/all.tcl -constraints longRunning 220s autopkgtest [18:03:35]: test command1: [----------------------- 222s Tests running in interp: /usr/bin/tclsh 222s Tests located in: /tmp/autopkgtest.WIp9fa/build.LR0/src/tests 222s Tests running in: /tmp/autopkgtest.WIp9fa/build.LR0/src 222s Temporary files stored in /tmp/autopkgtest.WIp9fa/build.LR0/src 222s Test files sourced into current interpreter 222s Running tests that match: * 222s Skipping test files that match: l.*.test 222s Only running test files that match: *.test 222s Tests began at Sat Mar 15 18:03:37 UTC 2025 222s attribute.test 222s 222s 222s ==== attrList-4.1 Unquoted attribute value FAILED 222s ==== Contents of test case: 222s 222s catch {unset ::result} 222s set ::countAttributesOnly 1 222s 222s catch {rename xml::attrList-4.1 {}} 222s set parser [xml::parser attrList-4.1 -elementstartcommand EStart] 222s set retval [catch { 222s $parser parse {<?xml version="1.0"?> 222s <!DOCTYPE Test> 222s <Test attr=noquotes></Test> 222s }} msg] 222s 222s list $retval $msg 222s 222s ---- Result was: 222s 1 {error "not well-formed (invalid token)" at line 629786108472852483 character 629786108472852491} 222s ---- Result should have been (exact matching): 222s 1 {error "not well-formed (invalid token)" at line 3 character 11} 222s ==== attrList-4.1 FAILED 222s 222s cdata.test 222s comment.test 222s decls.test 222s doctype.test 222s dom.test 222s 222s 222s ==== dom-2.17 parse method: test reporting of error in external subset FAILED 222s ==== Contents of test case: 222s 222s set result [catch {set doc [dom parse -externalentitycommand extRefResolver { 222s <!DOCTYPE root PUBLIC "DOMCMDTEST" "dummysystemID"> 222s <root/> 222s }]} errMsg] 222s lappend result $errMsg 222s 222s ---- Result was: 222s 1 {error "syntax error" in entity "dummysystemID" at line 629532271610691585 character 629532271610691604 222s "<!ATTLIST root lang # <--Error-- FIXED "en">", referenced at line 629653763350593538 character 629653763350593594} 222s ---- Result should have been (exact matching): 222s 1 {error "syntax error" in entity "dummysystemID" at line 1 character 20 222s "<!ATTLIST root lang # <--Error-- FIXED "en">", referenced at line 2 character 58} 222s ==== dom-2.17 FAILED 222s 222s 222s 222s ==== dom-2.34 XML prefix declaration with empty namespace FAILED 222s ==== Contents of test case: 222s 222s catch {dom parse {<foo:doc xmlns:foo=""><e1/></foo:doc>}} errMsg 222s set errMsg 222s 222s ---- Result was: 222s Missing URI in Namespace declaration, referenced at line 629653604436803585 character 629653604436803606 222s ---- Result should have been (exact matching): 222s Missing URI in Namespace declaration, referenced at line 1 character 22 222s ==== dom-2.34 FAILED 222s 222s 222s 222s ==== dom-5.3 -externalentitycommand - nested external entities FAILED 222s ==== Contents of test case: 222s 222s set result [catch { 222s dom parse -externalentitycommand dom-5.3 {<!DOCTYPE doc [ 222s <!ENTITY e1 PUBLIC "e1" "e1.xml"> 222s ]> 222s <doc>&e1;</doc>} 222s } msg] 222s list $result $msg 222s 222s ---- Result was: 222s 1 {error "not well-formed (invalid token)" in entity "e1.xml" at line 629532194301280257 character 629532194301280258 222s " <--Error-- 1/>", referenced at line 629654068293271556 character 629654068293271573} 222s ---- Result should have been (exact matching): 222s 1 {error "not well-formed (invalid token)" in entity "e1.xml" at line 1 character 2 222s "<e, <--Error-- 1/>", referenced at line 4 character 21} 222s ==== dom-5.3 FAILED 222s 222s 222s 222s ==== dom-5.4 -externalentitycommand - nested external entities FAILED 222s ==== Contents of test case: 222s 222s set result [catch { 222s dom parse -externalentitycommand dom-5.4 {<!DOCTYPE doc [ 222s <!ENTITY e1 PUBLIC "e1" "e1.xml"> 222s <!ENTITY e2 PUBLIC "e2" "e2.xml"> 222s ]> 222s <doc>&e1;</doc>} 222s } msg] 222s list $result $msg 222s 222s ---- Result was: 222s 1 {error "not well-formed (invalid token)" in entity "e2.xml" at line 630166956107890689 character 630166956107890690 222s " <--Error-- 2/>", referenced in entity "e1.xml" at line 629532202891214849 character 629532202891214852, referenced at line 629654334581243909 character 629654334581243925} 222s ---- Result should have been (exact matching): 222s 1 {error "not well-formed (invalid token)" in entity "e2.xml" at line 1 character 2 222s "<e, <--Error-- 2/>", referenced in entity "e1.xml" at line 1 character 4, referenced at line 5 character 21} 222s ==== dom-5.4 FAILED 222s 222s 222s 222s ==== dom-5.5 -externalentitycommand - nested external entities FAILED 222s ==== Contents of test case: 222s 222s set result [catch { 222s dom parse -externalentitycommand dom-5.5 {<!DOCTYPE doc [ 222s <!ENTITY e1 PUBLIC "e1" "e1.xml"> 222s <!ENTITY e2 PUBLIC "e2" "e2.xml"> 222s <!ENTITY e3 PUBLIC "e3" "e3.xml"> 222s ]> 222s <doc>&e1;</doc>} 222s } msg] 222s list $result $msg 222s 222s ---- Result was: 222s 1 {error "not well-formed (invalid token)" in entity "e3.xml" at line 620061344737001473 character 620061344737001474 222s " <--Error-- 3/>", referenced in entity "e2.xml" at line 630166964697825281 character 630166964697825284, referenced in entity "e1.xml" at line 629532202891214849 character 629532202891214852, referenced at line 629654600869216262 character 629654600869216277} 222s ---- Result should have been (exact matching): 222s 1 {error "not well-formed (invalid token)" in entity "e3.xml" at line 1 character 2 222s "<e, <--Error-- 3/>", referenced in entity "e2.xml" at line 1 character 4, referenced in entity "e1.xml" at line 1 character 4, referenced at line 6 character 21} 222s ==== dom-5.5 FAILED 222s 222s 222s 222s ==== dom-5.6 -externalentitycommand - nested external entities FAILED 222s ==== Contents of test case: 222s 222s set result [catch { 222s dom parse -externalentitycommand dom-5.6 {<!DOCTYPE doc [ 222s <!ENTITY e1 PUBLIC "e1" "e1.xml"> 222s ]> 222s <doc>&e1;</doc>} 222s } msg] 222s list $result $msg 222s 222s ---- Result was: 222s 1 {error "not well-formed (invalid token)" in entity "e1.xml" at line 629532194301280257 character 629532194301280258, referenced at line 629654068293271556 character 629654068293271573} 222s ---- Result should have been (exact matching): 222s 1 {error "not well-formed (invalid token)" in entity "e1.xml" at line 1 character 2, referenced at line 4 character 21} 223s ==== dom-5.6 FAILED 223s 223s 223s 223s ==== dom-5.7 -externalentitycommand - nested external entities FAILED 223s ==== Contents of test case: 223s 223s set result [catch { 223s dom parse -externalentitycommand dom-5.7 {<!DOCTYPE doc [ 223s <!ENTITY e1 PUBLIC "e1" "e1.xml"> 223s <!ENTITY e2 PUBLIC "e2" "e2.xml"> 223s ]> 223s <doc>&e1;</doc>} 223s } msg] 223s list $result $msg 223s 223s ---- Result was: 223s 1 {error "not well-formed (invalid token)" in entity "e2.xml" at line 630165822236524545 character 630165822236524546, referenced in entity "e1.xml" at line 629532202891214849 character 629532202891214852, referenced at line 629654334581243909 character 629654334581243925} 223s ---- Result should have been (exact matching): 223s 1 {error "not well-formed (invalid token)" in entity "e2.xml" at line 1 character 2, referenced in entity "e1.xml" at line 1 character 4, referenced at line 5 character 21} 223s ==== dom-5.7 FAILED 223s 223s 223s 223s ==== dom-5.8 -externalentitycommand - nested external entities FAILED 223s ==== Contents of test case: 223s 223s set result [catch { 223s dom parse -externalentitycommand dom-5.8 {<!DOCTYPE doc [ 223s <!ENTITY e1 PUBLIC "e1" "e1.xml"> 223s <!ENTITY e2 PUBLIC "e2" "e2.xml"> 223s <!ENTITY e3 PUBLIC "e3" "e3.xml"> 223s ]> 223s <doc>&e1;</doc>} 223s } msg] 223s list $result $msg 223s 223s ---- Result was: 223s 1 {error "not well-formed (invalid token)" in entity "e3.xml" at line 620061344737001473 character 620061344737001474, referenced in entity "e2.xml" at line 630165830826459137 character 630165830826459140, referenced in entity "e1.xml" at line 629532202891214849 character 629532202891214852, referenced at line 629654600869216262 character 629654600869216277} 223s ---- Result should have been (exact matching): 223s 1 {error "not well-formed (invalid token)" in entity "e3.xml" at line 1 character 2, referenced in entity "e2.xml" at line 1 character 4, referenced in entity "e1.xml" at line 1 character 4, referenced at line 6 character 21} 223s ==== dom-5.8 FAILED 223s 223s 223s 223s ==== dom-12.16 -feedbackcmd setting interp result w/ invalid XML FAILED 223s ==== Contents of test case: 223s 223s set ::feedbackcmd-12.16 0 223s set result [catch {dom parse -feedbackcmd feedbackcmd-12.16 -feedbackAfter 1 {<doc><e1/><e1/><e1></doc}} msg] 223s list $result $msg 223s 223s ---- Result was: 223s 1 {error "unclosed token" at line 629653591551901697 character 629653591551901715 223s " <--Error-- /doc"} 223s ---- Result should have been (exact matching): 223s 1 {error "unclosed token" at line 1 character 19 223s "<doc><e1/><e1/><e1>< <--Error-- /doc"} 223s ==== dom-12.16 FAILED 223s 223s 223s 223s ==== dom-13.5 -forest -channel FAILED 223s ==== Contents of test case: 223s 223s set fd [open $xmlfile] 223s set result [catch {set doc [dom parse -channel $fd -forest]} errMsg] 223s close $fd 223s list $result $errMsg 223s 223s ---- Result was: 223s 1 {error "asynchronous entity" at line 629653591551901698 character 629653591551901696} 223s ---- Result should have been (exact matching): 223s 1 {error "asynchronous entity" at line 2 character 0} 223s ==== dom-13.5 FAILED 223s 223s domDoc.test 223s domNode.test 223s domjson.test 223s domnamespace.test 223s element.test 223s entity.test 223s html5reader.test 223s htmlreader.test 223s i18n.test 223s namespace.test 223s parser.test 223s 223s 223s ==== parser-13.1 get -current* FAILED 223s ==== Contents of test case: 223s 223s catch {unset result} 223s set result "" 223s set p [expat parser-13.1] 223s $p configure -elementstartcommand [list gethdl-13 $p] 223s $p parse {<root> 223s <e1><e2/></e1></root>} 223s $p free 223s set result 223s 223s ---- Result was: 223s /635094546316787713.635094546316787712//635094610741297154.635094610741297160//635094627921166338.635094627921166348/ 223s ---- Result should have been (exact matching): 223s /1.0//2.8//2.12/ 223s ==== parser-13.1 FAILED 223s 223s pcdata.test 223s pi.test 223s pullparser.test 223s 223s 223s ==== pp-3.7 skip FAILED 223s ==== Contents of test case: 223s 223s tdom::pullparser pp 223s pp input {<doc>foo bar<e/><e>bar</wrong><e></e></doc>} 223s set result [pp next] 223s lappend result [pp next]; # TEXT "foo bar" 223s lappend result [pp next]; # START_TAG 223s lappend result [pp tag]; # e 223s lappend result [pp next]; # END_TAG 223s lappend result [pp tag]; # e 223s lappend result [pp next]; # START_TAG 223s lappend result [pp tag]; # e 223s lappend result [catch {pp skip} errMsg] 223s lappend result $errMsg 223s pp delete 223s set result 223s 223s ---- Result was: 223s START_TAG TEXT START_TAG e END_TAG e START_TAG e 1 {error "mismatched tag" at line 638895351855579137 column 638895351855579160} 223s ---- Result should have been (exact matching): 223s START_TAG TEXT START_TAG e END_TAG e START_TAG e 1 {error "mismatched tag" at line 1 column 24} 223s ==== pp-3.7 FAILED 223s 223s 223s 223s ==== pp-6.1 line FAILED 223s ==== Contents of test case: 223s 223s tdom::pullparser pp 223s set result [catch {pp line}] 223s pp input {<doc> <![CDATA[one]]><![CDATA[two]]><![CDATA[ ]]> after</doc>} 223s lappend result [pp line] 223s lappend result [pp next] 223s lappend result [pp tag] 223s lappend result [pp line] 223s lappend result [pp next] 223s lappend result [pp text] 223s lappend result [pp next] 223s lappend result [pp tag] 223s lappend result [pp line] 223s lappend result [pp next] 223s lappend result [pp line] 223s pp delete 223s set result 223s 223s ---- Result was: 223s 1 0 START_TAG doc 638895270251200513 TEXT { onetwo after} END_TAG doc 638895515064336385 END_DOCUMENT 638895515064336385 223s ---- Result should have been (exact matching): 223s 1 0 START_TAG doc 1 TEXT { onetwo after} END_TAG doc 1 END_DOCUMENT 1 223s ==== pp-6.1 FAILED 223s 223s 223s 223s ==== pp-6.2 column FAILED 223s ==== Contents of test case: 223s 223s tdom::pullparser pp 223s set result [catch {pp column}] 223s pp input {<doc> <![CDATA[one]]><![CDATA[two]]><![CDATA[ ]]> after</doc>} 223s lappend result [pp column] 223s lappend result [pp next] 223s lappend result [pp tag] 223s lappend result [pp column] 223s lappend result [pp next] 223s lappend result [pp text] 223s lappend result [pp next] 223s lappend result [pp tag] 223s lappend result [pp column] 223s lappend result [pp next] 223s lappend result [pp column] 223s pp delete 223s set result 223s 223s ---- Result was: 223s 1 0 START_TAG doc 638895270251200517 TEXT { onetwo after} END_TAG doc 638895515064336446 END_DOCUMENT 638895515064336446 223s ---- Result should have been (exact matching): 223s 1 0 START_TAG doc 5 TEXT { onetwo after} END_TAG doc 62 END_DOCUMENT 62 223s ==== pp-6.2 FAILED 223s 223s 223s 223s ==== pp-6.3 column FAILED 223s ==== Contents of test case: 223s 223s tdom::pullparser pp 223s pp input {<doc>foo<b>bar</b>grill</doc>} 223s set result [list] 223s while {[pp next] ne "END_DOCUMENT"} { 223s if {[pp state] eq "TEXT"} { 223s lappend result [pp text] 223s } else { 223s lappend result [pp tag] 223s lappend result [pp column] 223s } 223s } 223s pp delete 223s set result 223s 223s ---- Result was: 223s doc 638895270251200517 foo b 638895296021004299 bar b 638895326085775378 grill doc 638895373330415645 223s ---- Result should have been (exact matching): 223s doc 5 foo b 11 bar b 18 grill doc 29 223s ==== pp-6.3 FAILED 223s 223s 223s 223s ==== pp-6.4 line/column FAILED 223s ==== Contents of test case: 223s 223s tdom::pullparser pp 223s pp input {<doc>foo 223s <b>bar 223s </b>grill</doc>} 223s set result [list] 223s while {[pp next] ne "END_DOCUMENT"} { 223s if {[pp state] eq "TEXT"} { 223s lappend result [pp text] 223s } else { 223s lappend result [pp tag] 223s lappend result [pp line]/[pp column] 223s } 223s } 223s pp delete 223s set result 223s 223s ---- Result was: 223s doc 638895270251200513/638895270251200517 {foo 223s } b 638895300315971586/638895300315971587 {bar 223s } b 638895334675709955/638895334675709956 grill doc 638895381920350211/638895381920350223 223s ---- Result should have been (exact matching): 223s doc 1/5 {foo 223s } b 2/3 {bar 223s } b 3/4 grill doc 3/15 223s ==== pp-6.4 FAILED 223s 223s 223s 223s ==== pp-6.5 column FAILED 223s ==== Contents of test case: 223s 223s tdom::pullparser pp 223s pp input {<doc att="attvalue">foo<b att="boo">bar</b>grill</doc>} 223s set result [list] 223s while {[pp next] ne "END_DOCUMENT"} { 223s if {[pp state] eq "TEXT"} { 223s lappend result [pp text] 223s } else { 223s lappend result [pp tag] 223s lappend result [pp column] 223s } 223s } 223s lappend result [pp column] 223s pp delete 223s set result 223s 223s ---- Result was: 223s doc 638895334675709972 foo b 638895403395186724 bar b 638895433459957803 grill doc 638895480704598070 638895480704598070 223s ---- Result should have been (exact matching): 223s doc 20 foo b 36 bar b 43 grill doc 54 54 223s ==== pp-6.5 FAILED 223s 223s 223s 223s ==== pp-6.6 line/column after parsing error FAILED 223s ==== Contents of test case: 223s 223s tdom::pullparser pp 223s pp input {<doc>an 223s < xml error </doc>} 223s pp next 223s set result [catch {pp skip}] 223s lappend result [pp line]/[pp column] 223s pp delete 223s set result 223s 223s ---- Result was: 223s 1 638895321790808066/638895321790808073 223s ---- Result should have been (exact matching): 223s 1 2/9 223s ==== pp-6.6 FAILED 223s 223s schema.test 223s 223s 223s ==== schema-1.27 prefixns FAILED 223s ==== Contents of test case: 223s 223s tdom::schema create s 223s s define { 223s prefixns {a http:://some.uri} 223s defelement doc a {} 223s } 223s set result [s validate {<b:doc xmlns:b="a"/>} errMsg] 223s lappend result $errMsg 223s s delete 223s set result 223s 223s ---- Result was: 223s 0 {error "Unknown element" at line 635398269224091649 character 635398269224091668} 223s ---- Result should have been (exact matching): 223s 0 {error "Unknown element" at line 1 character 20} 223s ==== schema-1.27 FAILED 223s 223s 223s 223s ==== schema-1.31 recurive allowed element FAILED 223s ==== Contents of test case: 223s 223s tdom::schema s 223s s define { 223s defelement doc { 223s element n 223s } 223s defelement n { 223s element n ? 223s } 223s } 223s set xml "<doc>" 223s # That's 200000 (and one) nesting level 223s append xml [string repeat "<n><n><n><n><n><n><n><n><n><n>" 20000] 223s append xml "<a/>" 223s append xml [string repeat "</n></n></n></n></n></n></n></n></n></n>" 20000] 223s append xml "</doc>" 223s set result [s validate $xml errMsg] 223s s delete 223s list $result $errMsg 223s 223s ---- Result was: 223s 0 {error "Element "a" doesn't match" at line -965714458678657023 character -965714458678057015} 223s ---- Result should have been (exact matching): 223s 0 {error "Element "a" doesn't match" at line 1 character 600009} 223s ==== schema-1.31 FAILED 223s 223s 223s 223s ==== schema-4.5 event on itself in called script FAILED 223s ==== Contents of test case: 223s 223s tdom::schema s 223s s defelement doc { 223s element a ? 223s tcl schema-4.5 [self] 223s element b ? 223s } 223s set result [list] 223s foreach xml { 223s <doc/> 223s <doc><a/></doc> 223s <doc><a/><b/></doc> 223s } { 223s lappend result [catch {s validate $xml errMsg} errMsg] 223s lappend result $errMsg 223s } 223s s delete 223s set result 223s 223s ---- Result was: 223s 1 {error "This method is not allowed in nested evaluation" at line 634503000471109633 character 634503000471109638} 1 {error "This method is not allowed in nested evaluation" at line 634503039125815297 character 634503039125815311} 1 {error "This method is not allowed in nested evaluation" at line 634503030535880705 character 634503030535880717} 223s ---- Result should have been (exact matching): 223s 1 {error "This method is not allowed in nested evaluation" at line 1 character 6} 1 {error "This method is not allowed in nested evaluation" at line 1 character 15} 1 {error "This method is not allowed in nested evaluation" at line 1 character 13} 223s ==== schema-4.5 FAILED 223s 223s 223s 223s ==== schema-8.7 Delete schema cmd in script called by validation FAILED 223s ==== Contents of test case: 223s 223s set result "" 223s lappend result [info commands s] 223s tdom::schema s 223s lappend result [info commands s] 223s s defelement doc { 223s tcl schema-8.7 [self] 223s } 223s lappend result [catch {s validate <doc/>} errMsg] 223s lappend result $errMsg 223s lappend result [info commands s] 223s lappend result [catch {s delete}] 223s 223s ---- Result was: 223s {} s {in schema-8.7} 1 {error "this is deliberate" at line 634503000471109633 character 634503000471109638} {} 1 223s ---- Result should have been (exact matching): 223s {} s {in schema-8.7} 1 {error "this is deliberate" at line 1 character 6} {} 1 223s ==== schema-8.7 FAILED 223s 223s 223s 223s ==== schema-11.3 attribute FAILED 223s ==== Contents of test case: 223s 223s tdom::schema create s 223s s define { 223s defelement e { 223s attribute attr1 223s attribute attr3 ? 223s attribute attr4 ! 223s attribute attr2 ? 223s } 223s } 223s set result [s validate <e/> errMsg] 223s lappend result $errMsg 223s s delete 223s set result 223s 223s ---- Result was: 223s 0 {error "Missing mandatory attribute(s): attr1 attr4" at line 634502991881175041 character 634502991881175044} 223s ---- Result should have been (exact matching): 223s 0 {error "Missing mandatory attribute(s): attr1 attr4" at line 1 character 4} 223s ==== schema-11.3 FAILED 223s 223s 223s 223s ==== schema-11.3a attribute FAILED 223s ==== Contents of test case: 223s 223s tdom::schema create s 223s s define { 223s defelement e { 223s attribute attr1 223s attribute attr3 ? 223s attribute attr4 ! 223s attribute attr2 ? 223s } 223s } 223s set result [catch {dom parse -validateCmd s <e/>} errMsg] 223s lappend result $errMsg 223s s delete 223s set result 223s 223s ---- Result was: 223s 1 {Missing mandatory attribute(s): attr1 attr4, referenced at line 634502991881175041 character 634502991881175044} 223s ---- Result should have been (exact matching): 223s 1 {Missing mandatory attribute(s): attr1 attr4, referenced at line 1 character 4} 223s ==== schema-11.3a FAILED 223s 223s 223s 223s ==== schema-11.6 nsattribute FAILED 223s ==== Contents of test case: 223s 223s tdom::schema create s 223s s define { 223s defelement doc { 223s element e 1 { 223s attribute foo 223s nsattribute lang http://www.w3.org/XML/1998/namespace 223s } 223s } 223s } 223s set result [list] 223s foreach xml { 223s {<doc><e foo="bar"/></doc>} 223s {<doc><e xml:lang="en"/></doc>} 223s {<doc><e unknown="some"/></doc>} 223s {<doc><e/></doc>} 223s } { 223s lappend result [catch {set doc [dom parse -validateCmd s $xml]} errMsg] 223s lappend result $errMsg 223s s reset 223s } 223s s delete 223s set result 223s 223s ---- Result was: 223s 1 {Missing mandatory attribute(s): http://www.w3.org/XML/1998/namespace:lang, referenced at line 634503056305684481 character 634503056305684499} 1 {Missing mandatory attribute(s): foo, referenced at line 634503073485553665 character 634503073485553687} 1 {Unknown attribute "unknown", referenced at line 634503077780520961 character 634503077780520984} 1 {Missing mandatory attribute(s): foo http://www.w3.org/XML/1998/namespace:lang, referenced at line 634503013356011521 character 634503013356011529} 223s ---- Result should have been (exact matching): 223s 1 {Missing mandatory attribute(s): http://www.w3.org/XML/1998/namespace:lang, referenced at line 1 character 19} 1 {Missing mandatory attribute(s): foo, referenced at line 1 character 23} 1 {Unknown attribute "unknown", referenced at line 1 character 24} 1 {Missing mandatory attribute(s): foo http://www.w3.org/XML/1998/namespace:lang, referenced at line 1 character 9} 223s ==== schema-11.6 FAILED 223s 223s 223s 223s ==== schema-11.6 nsattribute FAILED 223s ==== Contents of test case: 223s 223s tdom::schema create s 223s s prefixns {ns1 http://www.w3.org/XML/1998/namespace} 223s s define { 223s defelement doc { 223s element e 1 { 223s attribute foo 223s nsattribute lang ns1 223s } 223s } 223s } 223s set result [list] 223s foreach xml { 223s {<doc><e foo="bar"/></doc>} 223s {<doc><e xml:lang="en"/></doc>} 223s {<doc><e unknown="some"/></doc>} 223s {<doc><e/></doc>} 223s } { 223s lappend result [catch {set doc [dom parse -validateCmd s $xml]} errMsg] 223s lappend result $errMsg 223s s reset 223s } 223s s delete 223s set result 223s 223s ---- Result was: 223s 1 {Missing mandatory attribute(s): http://www.w3.org/XML/1998/namespace:lang, referenced at line 634503056305684481 character 634503056305684499} 1 {Missing mandatory attribute(s): foo, referenced at line 634503073485553665 character 634503073485553687} 1 {Unknown attribute "unknown", referenced at line 634503077780520961 character 634503077780520984} 1 {Missing mandatory attribute(s): foo http://www.w3.org/XML/1998/namespace:lang, referenced at line 634503013356011521 character 634503013356011529} 223s ---- Result should have been (exact matching): 223s 1 {Missing mandatory attribute(s): http://www.w3.org/XML/1998/namespace:lang, referenced at line 1 character 19} 1 {Missing mandatory attribute(s): foo, referenced at line 1 character 23} 1 {Unknown attribute "unknown", referenced at line 1 character 24} 1 {Missing mandatory attribute(s): foo http://www.w3.org/XML/1998/namespace:lang, referenced at line 1 character 9} 223s ==== schema-11.6 FAILED 223s 223s 223s 223s ==== schema-17.29 error in reportcmd FAILED 223s ==== Contents of test case: 223s 223s tdom::schema s 223s s defelement doc { 223s element a 223s } 223s s reportcmd schema-17.29 223s set result [catch {s validate <doc><wrong/></doc} errMsg] 223s s delete 223s append result $errMsg 223s 223s ---- Result was: 223s 1error "triggered" at line 634503030535880705 character 634503030535880717 223s ---- Result should have been (exact matching): 223s 1error "triggered" at line 1 character 13 223s ==== schema-17.29 FAILED 223s 223s 223s 223s ==== schema-18.12 non existing reportcmd cmd FAILED 223s ==== Contents of test case: 223s 223s tdom::schema s 223s s defelement doc { 223s element a 223s } 223s s reportcmd ::tdom::_dontExists_ 223s set result [catch {s validate <doc/>} errMsg] 223s lappend result $errMsg 223s s delete 223s set result 223s 223s ---- Result was: 223s 1 {error "invalid command name "::tdom::_dontExists_"" at line 634503000471109633 character 634503000471109638} 223s ---- Result should have been (exact matching): 223s 1 {error "invalid command name "::tdom::_dontExists_"" at line 1 character 6} 223s ==== schema-18.12 FAILED 223s 223s stackedhdl.test 223s tdomcmd.test 223s 223s 223s ==== xslt-5.3 xslt document() with script error in -externalentitycommand FAILED 223s ==== Contents of test case: 223s 223s dom parse <dontMatter/> xmldoc 223s dom parse -externalentitycommand xslt-5.3 $xslt xsltdoc 223s set result [catch {$xmldoc xslt $xsltdoc resultDoc} errMsg] 223s $xmldoc delete 223s $xsltdoc delete 223s lappend result $errMsg 223s 223s ---- Result was: 223s 1 {Error while processing external entity "foo": 223s At line 638612223316459521 character 638612223316459535: not well-formed (invalid token)} 223s ---- Result should have been (exact matching): 223s 1 {Error while processing external entity "foo": 223s At line 1 character 15: not well-formed (invalid token)} 223s ==== xslt-5.3 FAILED 223s 223s 223s 223s ==== xslt-5.4 xslt document() with script error in -externalentitycommand FAILED 223s ==== Contents of test case: 223s 223s dom parse <dontMatter/> xmldoc 223s dom parse -externalentitycommand xslt-5.4 $xslt xsltdoc 223s set result [catch {$xmldoc xslt $xsltdoc resultDoc} errMsg] 223s $xmldoc delete 223s $xsltdoc delete 223s lappend result $errMsg 223s 223s ---- Result was: 223s 1 {Error while processing external entity "secondlevel": 223s At line 638612223316459521 character 638612223316459535: not well-formed (invalid token)} 223s ---- Result should have been (exact matching): 223s 1 {Error while processing external entity "secondlevel": 223s At line 1 character 15: not well-formed (invalid token)} 223s ==== xslt-5.4 FAILED 223s 223s xmlsimple.test 223s xmltest.test 223s xpath.test 223s xslt.test 223s 223s 223s ==== xslt-5.3 xslt document() with script error in -externalentitycommand FAILED 223s ==== Contents of test case: 223s 223s dom parse <dontMatter/> xmldoc 223s dom parse -externalentitycommand xslt-5.3 $xslt xsltdoc 223s set result [catch {$xmldoc xslt $xsltdoc resultDoc} errMsg] 223s $xmldoc delete 223s $xsltdoc delete 223s lappend result $errMsg 223s 223s ---- Result was: 223s 1 {Error while processing external entity "foo": 223s At line 639151636849098753 character 639151636849098767: not well-formed (invalid token)} 223s ---- Result should have been (exact matching): 223s 1 {Error while processing external entity "foo": 223s At line 1 character 15: not well-formed (invalid token)} 223s ==== xslt-5.3 FAILED 223s 223s 223s 223s ==== xslt-5.4 xslt document() with script error in -externalentitycommand FAILED 223s ==== Contents of test case: 223s 223s dom parse <dontMatter/> xmldoc 223s dom parse -externalentitycommand xslt-5.4 $xslt xsltdoc 223s set result [catch {$xmldoc xslt $xsltdoc resultDoc} errMsg] 223s $xmldoc delete 223s $xsltdoc delete 223s lappend result $errMsg 223s 223s ---- Result was: 223s 1 {Error while processing external entity "secondlevel": 223s At line 639151636849098753 character 639151636849098767: not well-formed (invalid token)} 223s ---- Result should have been (exact matching): 223s 1 {Error while processing external entity "secondlevel": 223s At line 1 character 15: not well-formed (invalid token)} 223s ==== xslt-5.4 FAILED 223s 223s 223s Tests ended at Sat Mar 15 18:03:38 UTC 2025 223s all.tcl: Total 2395 Passed 2318 Skipped 44 Failed 33 223s Sourced 27 Test Files. 223s Files with failing tests: attribute.test dom.test parser.test stackedhdl.test xslt.test 223s Number of tests skipped for each constraint: 223s 3 64bit 223s 8 Tcl9 223s 4 beyondBMP 223s 9 knownBug 223s 10 need_uri 223s 10 nonetest 224s autopkgtest [18:03:39]: test command1: -----------------------] 228s command1 PASS 228s autopkgtest [18:03:43]: test command1: - - - - - - - - - - results - - - - - - - - - - 232s autopkgtest [18:03:47]: @@@@@@@@@@@@@@@@@@@@ summary 232s command1 PASS