[Pkg-javascript-devel] Bug#963065: nodejs breaks node-encoding autopkgtest: Encoding not recognized: 'ISO-2022-JP' (searched as: 'iso2022jp')
Paul Gevers
elbrus at debian.org
Thu Jun 18 14:26:46 BST 2020
Source: nodejs, node-encoding
Control: found -1 nodejs/12.18.0~dfsg-3
Control: found -1 node-encoding/0.1.12-3
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of nodejs the autopkgtest of node-encoding fails in
testing when that autopkgtest is run with the binary packages of nodejs
from unstable. It passes when run with only packages from testing. In
tabular form:
pass fail
nodejs from testing 12.18.0~dfsg-3
node-encoding from testing 0.1.12-3
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 of nodejs to testing
[1]. Due to the nature of this issue, I filed this bug report against
both packages. Can you please investigate the situation and reassign the
bug to the right package?
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=nodejs
https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-encoding/5930265/log.gz
autopkgtest [00:26:31]: test pkg-js-autopkgtest: [-----------------------
Using package.json
Node module name is encoding
# Copy test files
Looking at /usr/lib/nodejs/encoding
Looking at /usr/lib/*/nodejs/encoding
Looking at /usr/share/nodejs/encoding
Found /usr/share/nodejs/encoding
Linking /usr/share/nodejs/encoding/lib
Linking /usr/share/nodejs/encoding/package.json
Launch debian/tests/pkg-js/test with sh -ex
+ nodeunit test
[1mtest[22m
[31m✖ General tests - Iconv is available[39m
AssertionError:
at Object.ok (/usr/lib/nodejs/nodeunit/lib/types.js:83:39)
at Object.Iconv is available
(/tmp/autopkgtest-lxc.ykcnkdm9/downtmp/autopkgtest_tmp/smokeeIxCcR/test/test.js:9:14)
at Object.<anonymous> (/usr/lib/nodejs/nodeunit/lib/core.js:236:16)
at Object.<anonymous> (/usr/lib/nodejs/nodeunit/lib/core.js:236:16)
at /usr/lib/nodejs/nodeunit/lib/core.js:236:16
at Object.exports.runTest (/usr/lib/nodejs/nodeunit/lib/core.js:70:9)
at /usr/lib/nodejs/nodeunit/lib/core.js:118:25
at /usr/share/javascript/async/async.js:665:13
at iterate (/usr/share/javascript/async/async.js:149:13)
at async.eachSeries (/usr/share/javascript/async/async.js:165:9)
(node:14186) [DEP0005] DeprecationWarning: Buffer() is deprecated due to
security and usability issues. Please use the Buffer.alloc(),
Buffer.allocUnsafe(), or Buffer.from() methods instead.
✔ General tests - From UTF-8 to Latin_1 with Iconv
✔ General tests - From Latin_1 to UTF-8 with Iconv
✔ General tests - From UTF-8 to UTF-8 with Iconv
✔ General tests - From Latin_13 to Latin_15 with Iconv
Error: Encoding not recognized: 'ISO-2022-JP' (searched as: 'iso2022jp')
at Object.getCodec (/usr/share/nodejs/iconv-lite/lib/index.js:106:23)
at Object.getDecoder (/usr/share/nodejs/iconv-lite/lib/index.js:127:23)
at Object.decode (/usr/share/nodejs/iconv-lite/lib/index.js:40:25)
at convertIconvLite (/usr/share/nodejs/encoding/lib/encoding.js:91:26)
at Object.convert (/usr/share/nodejs/encoding/lib/encoding.js:51:22)
at Object.From ISO-2022-JP to UTF-8 with Iconv
(/tmp/autopkgtest-lxc.ykcnkdm9/downtmp/autopkgtest_tmp/smokeeIxCcR/test/test.js:44:33)
at Object.<anonymous> (/usr/lib/nodejs/nodeunit/lib/core.js:236:16)
at Object.<anonymous> (/usr/lib/nodejs/nodeunit/lib/core.js:236:16)
at /usr/lib/nodejs/nodeunit/lib/core.js:236:16
at Object.exports.runTest (/usr/lib/nodejs/nodeunit/lib/core.js:70:9)
[31m✖ General tests - From ISO-2022-JP to UTF-8 with Iconv[39m
AssertionError: <Buffer 1b 24 42 33 58 39 3b 35 3b 3d 51 30 77 38 26 3d
24 38 21 46 24 32 71 4a 73 39 70 1b 28 42> deepEqual <Buffer e5 ad a6 e6
a0 a1 e6 8a 80 e8 a1 93 e5 93 a1 e7 a0 94 e4 bf ae e6 a4 9c e8 a8 8e e4
bc 9a e5 a0 b1 e5 91 8a>
at Object.deepEqual (/usr/lib/nodejs/nodeunit/lib/types.js:83:39)
at Object.From ISO-2022-JP to UTF-8 with Iconv
(/tmp/autopkgtest-lxc.ykcnkdm9/downtmp/autopkgtest_tmp/smokeeIxCcR/test/test.js:44:14)
at Object.<anonymous> (/usr/lib/nodejs/nodeunit/lib/core.js:236:16)
at Object.<anonymous> (/usr/lib/nodejs/nodeunit/lib/core.js:236:16)
at /usr/lib/nodejs/nodeunit/lib/core.js:236:16
at Object.exports.runTest (/usr/lib/nodejs/nodeunit/lib/core.js:70:9)
at /usr/lib/nodejs/nodeunit/lib/core.js:118:25
at /usr/share/javascript/async/async.js:665:13
at iterate (/usr/share/javascript/async/async.js:149:13)
at /usr/share/javascript/async/async.js:160:25
✔ General tests - From UTF-8 to Latin_1 with iconv-lite
✔ General tests - From Latin_1 to UTF-8 with iconv-lite
✔ General tests - From UTF-8 to UTF-8 with iconv-lite
✔ General tests - From Latin_13 to Latin_15 with iconv-lite
[1m[31mFAILURES: [39m[22m2/10 assertions failed (55ms)
Aborted
autopkgtest [00:26:32]: test pkg-js-autopkgtest: -----------------------]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200618/f6ad2cd8/attachment-0001.sig>
More information about the Pkg-javascript-devel
mailing list