[Pkg-javascript-devel] Bug#1143237: node-xmldom: autopkgtest regression on i386 and armhf

Paul Gevers elbrus at debian.org
Sat Aug 1 10:31:46 BST 2026


Source: node-xmldom
Version: 0.9.10-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression
Control: block 1139195 by -1

Dear maintainer(s),

With a recent upload of node-xmldom the autopkgtest of node-xmldom fails 
in testing on our 32 bit architectures armhf and i386 when that 
autopkgtest is run with the binary packages of node-xmldom from 
unstable. It passes when run with only packages from testing. In tabular 
form:

                        pass            fail
node-xmldom            from testing    0.9.10-1
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=node-xmldom

https://ci.debian.net/data/autopkgtest/testing/i386/n/node-xmldom/73908622/log.gz

161s PASS test/dom/node.test.js
161s PASS test/dom/serializer.test.js
162s PASS test/dom/document.test.js
162s PASS test/dom/element.test.js
162s PASS test/dom-parser.test.js
162s PASS test/sax/parseDoctypeInternalSubset.test.js
163s PASS test/dom/dom-implementation.test.js
163s PASS test/dom/named-node-map.test.js
163s PASS test/dom/walk-dom.test.js
163s PASS test/parse/parse-element.test.js
163s PASS test/parse/node.test.js
163s   ● Console
163s 163s     console.error
163s       [xmldom warning]	Unexpected doctype.systemId in HTML document 
at position 120 163s       @#[line:1,col:1]
163s 163s       464 | 			}
163s       465 | 		} else {
163s     > 466 | 			console.error('[xmldom ' + level + ']\t' + message, 
_locator(this.locator));
163s           | 			        ^
163s       467 | 		}
163s       468 | 	},
163s       469 | 	/**
163s 163s       at DOMHandler.reportError 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:466:12)
163s       at DOMHandler.warning 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:473:8)
163s       at parseDoctypeCommentOrCData 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/sax.js:842:18)
163s       at parse 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/sax.js:192:12)
163s       at XMLReader.parse 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/sax.js:35:3)
163s       at DOMParser.parseFromString 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:253:6)
163s       at Object.<anonymous> (test/parse/node.test.js:184:34)
163s 164s PASS test/errors/reported-levels.test.js
164s  › 35 snapshots updated.
164s PASS test/conventions/html.test.js
164s PASS test/errors/xml-reader-dom-handler-errors.test.js
165s PASS test/grammar/externalid.test.js
165s PASS test/html/normalize.test.js
165s PASS test/dom/dom-comparison.test.js
165s PASS test/grammar/name.test.js
165s PASS test/sax/parseUtils.test.js
165s PASS test/grammar/AttlistDecl.test.js
165s PASS test/parse/doctype.test.js
165s PASS test/dom/node-list.test.js
166s PASS test/parse/locator.test.js
166s PASS test/grammar/helpers.test.js
166s PASS test/dom/processing-instruction.test.js
166s PASS test/grammar/EntityDecl.test.js
167s FAIL test/recursion-regression.test.js
167s   ● recursive function overflows within DEEP_TREE_DEPTH frames
167s 167s     expect(received).toBeLessThanOrEqual(expected)
167s 167s     Expected: <= 3000
167s     Received:    4634
167s 167s       27 | 		}
167s       28 | 	}
167s     > 29 | 
expect(throwsAtLevel()).toBeLessThanOrEqual(DEEP_TREE_DEPTH);
167s          | 	                        ^
167s       30 | });
167s       31 |
167s       32 | describe('deep tree stack overflow guard 
(GHSA-2v35-w6hq-6mfw)', () => {
167s 167s       at Object.<anonymous> 
(test/recursion-regression.test.js:29:26)
167s 167s PASS test/errors/dom-exception.test.js
167s PASS test/parse/namespace.test.js
168s PASS test/parse/normalize-line-endings.test.js
168s PASS test/conventions/mime-type.test.js
168s PASS test/dom/ns-test.test.js
168s PASS test/dom/character-data.test.js
168s PASS test/grammar/pi.test.js
168s PASS test/dom/cdata-section.test.js
169s PASS test/parse/simple.test.js
169s PASS test/grammar/elementdecl.test.js
169s PASS test/grammar/regexp.test.js
169s PASS test/dom/fragment.test.js
170s PASS test/grammar/comment.test.js
170s PASS test/xss.test.js
170s PASS test/conventions/freeze.test.js
170s PASS test/errors/xml-error.test.js
170s PASS test/grammar/char.test.js
171s PASS test/conventions/assign.test.js
171s PASS test/parse/file.test.js
171s   ● Console
171s 171s     console.error
171s       [xmldom error]	Unexpected content outside root element: '' 
171s       @#[line:0,col:undefined]
171s 171s       464 | 			}
171s       465 | 		} else {
171s     > 466 | 			console.error('[xmldom ' + level + ']\t' + message, 
_locator(this.locator));
171s           | 			        ^
171s       467 | 		}
171s       468 | 	},
171s       469 | 	/**
171s 171s       at DOMHandler.reportError 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:466:12)
171s       at DOMHandler.error 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:476:8)
171s       at parse 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/sax.js:140:33)
171s       at XMLReader.parse 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/sax.js:35:3)
171s       at DOMParser.parseFromString 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:253:6)
171s       at test/parse/file.test.js:32:32
171s       at Object.<anonymous> 
(../../../../../usr/share/nodejs/expect/build/toThrowMatchers.js:55:9)
171s       at Object.toThrow 
(../../../../../usr/share/nodejs/expect/build/index.js:177:93)
171s       at Object.<anonymous> (test/parse/file.test.js:32:77)
171s 171s     console.error
171s       [xmldom fatalError]	processing instruction at position 1 is 
an xml declaration which is only at the start of the document 171s 
@#[line:1,col:2]
171s 171s       464 | 			}
171s       465 | 		} else {
171s     > 466 | 			console.error('[xmldom ' + level + ']\t' + message, 
_locator(this.locator));
171s           | 			        ^
171s       467 | 		}
171s       468 | 	},
171s       469 | 	/**
171s 171s       at DOMHandler.reportError 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:466:12)
171s       at DOMHandler.fatalError 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:489:8)
171s       at parseProcessingInstruction 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/sax.js:869:24)
171s       at parse 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/sax.js:188:12)
171s       at XMLReader.parse 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/sax.js:35:3)
171s       at DOMParser.parseFromString 
(../../../../../usr/share/nodejs/@xmldom/xmldom/lib/dom-parser.js:253:6)
171s       at test/parse/file.test.js:32:32
171s       at Object.<anonymous> 
(../../../../../usr/share/nodejs/expect/build/toThrowMatchers.js:55:9)
171s       at Object.toThrow 
(../../../../../usr/share/nodejs/expect/build/index.js:177:93)
171s       at Object.<anonymous> (test/parse/file.test.js:32:77)
171s 171s PASS test/dom/clone.test.js
171s PASS test/errors/parse-error.test.js
172s PASS test/entities.test.js
172s PASS test/grammar/space.test.js
172s PASS test/grammar/xmldecl.test.js
172s PASS test/grammar/cdata.test.js
172s PASS test/parse/test-doc-whitespace.test.js
172s PASS test/conventions/find.test.js
172s PASS test/conventions/namespace.test.js
172s PASS test/dom/entity-reference.test.js
172s PASS test/dom/document-type.test.js
173s PASS test/dom/notation.test.js
173s PASS test/dom/comment.test.js
173s PASS test/dom/entity.test.js
173s PASS test/dom/text.test.js
173s PASS test/dom/attr.test.js
173s 173s Summary of all failing tests
173s FAIL test/recursion-regression.test.js
173s   ● recursive function overflows within DEEP_TREE_DEPTH frames
173s 173s     expect(received).toBeLessThanOrEqual(expected)
173s 173s     Expected: <= 3000
173s     Received:    4634
173s 173s       27 | 		}
173s       28 | 	}
173s     > 29 | 
expect(throwsAtLevel()).toBeLessThanOrEqual(DEEP_TREE_DEPTH);
173s          | 	                        ^
173s       30 | });
173s       31 |
173s       32 | describe('deep tree stack overflow guard 
(GHSA-2v35-w6hq-6mfw)', () => {
173s 173s       at Object.<anonymous> 
(test/recursion-regression.test.js:29:26)
173s 173s 173s Snapshot Summary
173s  › 35 snapshots updated from 1 test suite.
173s 173s Test Suites: 1 failed, 61 passed, 62 total
173s Tests:       1 failed, 2 skipped, 23 todo, 1482 passed, 1508 total
173s Snapshots:   35 updated, 205 passed, 240 total
173s Time:        14.764 s
173s Ran all test suites.
174s autopkgtest [11:09:36]: test pkg-js-autopkgtest

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 585 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20260801/d4330ba2/attachment.sig>


More information about the Pkg-javascript-devel mailing list