[Pkg-javascript-devel] Bug#981286: node-mimic-response: autopkgtest regression on !amd64: Cannot find module 'iconv'
Paul Gevers
elbrus at debian.org
Thu Jan 28 17:42:32 GMT 2021
Source: node-mimic-response
Version: 3.1.0-2
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression
Dear maintainer(s),
With a recent upload of node-mimic-response the autopkgtest of
node-mimic-response fails in testing when that autopkgtest is run with
the binary packages of node-mimic-response from unstable. It passes when
run with only packages from testing. In tabular form:
pass fail
node-mimic-response from testing 3.1.0-2
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-mimic-response
https://ci.debian.net/data/autopkgtest/testing/arm64/n/node-mimic-response/10071183/log.gz
autopkgtest [16:14:29]: test pkg-js-autopkgtest: [-----------------------
# Using package.json
# Node module name is mimic-response
# Build files found:
# Test files found: test.js
# Files/dir to be installed from source: test.js
# Copy test files
# Copy debian/tests/pkg-js content
'debian/tests/pkg-js' ->
'/tmp/autopkgtest-lxc.ahpnqplz/downtmp/autopkgtest_tmp/smokeVIaf0R/debian/tests/pkg-js'
'debian/tests/pkg-js/test' ->
'/tmp/autopkgtest-lxc.ahpnqplz/downtmp/autopkgtest_tmp/smokeVIaf0R/debian/tests/pkg-js/test'
# Found debian/tests/test_modules directory, let's copy it
'/tmp/autopkgtest-lxc.ahpnqplz/downtmp/autopkgtest_tmp/smokeVIaf0R/node_modules/create-cert'
-> '../debian/tests/test_modules/create-cert'
'/tmp/autopkgtest-lxc.ahpnqplz/downtmp/autopkgtest_tmp/smokeVIaf0R/node_modules/create-test-server'
-> '../debian/tests/test_modules/create-test-server'
'/tmp/autopkgtest-lxc.ahpnqplz/downtmp/autopkgtest_tmp/smokeVIaf0R/node_modules/es6-promisify'
-> '../debian/tests/test_modules/es6-promisify'
'/tmp/autopkgtest-lxc.ahpnqplz/downtmp/autopkgtest_tmp/smokeVIaf0R/node_modules/p-event'
-> '../debian/tests/test_modules/p-event'
'/tmp/autopkgtest-lxc.ahpnqplz/downtmp/autopkgtest_tmp/smokeVIaf0R/node_modules/pem'
-> '../debian/tests/test_modules/pem'
# Searching module in /usr/lib/nodejs/mimic-response
# Searching module in /usr/lib/*/nodejs/mimic-response
# Searching module in /usr/share/nodejs/mimic-response
# Found /usr/share/nodejs/mimic-response
# Searching files to link in /usr/share/nodejs/mimic-response
'./index.d.ts' -> '/usr/share/nodejs/mimic-response/index.d.ts'
'./index.js' -> '/usr/share/nodejs/mimic-response/index.js'
'./package.json' -> '/usr/share/nodejs/mimic-response/package.json'
# Launch debian/tests/pkg-js/test with sh -ex
+ jest --ci --testRegex test.js
FAIL ./test.js
● Test suite failed to run
Cannot find module 'iconv' from
'../../../../../usr/share/nodejs/raw-body/index.js'
Require stack:
/usr/share/nodejs/raw-body/index.js
/usr/share/nodejs/body-parser/lib/read.js
/usr/share/nodejs/body-parser/lib/types/json.js
/usr/share/nodejs/body-parser/index.js
/usr/share/nodejs/express/lib/express.js
/usr/share/nodejs/express/index.js
debian/tests/test_modules/create-test-server/src/index.js
test.js
235 |
236 | const relativePath = (0,
_slash().default)(path().relative(this._options.rootDir, from)) || '.';
> 237 | throw new _ModuleNotFoundError.default(`Cannot find
module '${moduleName}' from '${relativePath}'`, moduleName);
| ^
238 | }
239 |
240 | _isAliasModule(moduleName) {
at Resolver.resolveModule
(../../../../../usr/share/nodejs/jest-resolve/build/index.js:237:11)
at Object.<anonymous>
(../../../../../usr/share/nodejs/raw-body/index.js:17:13)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 4.099 s
Ran all test suites.
autopkgtest [16:14:35]: test pkg-js-autopkgtest: -----------------------]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210128/87792edb/attachment.sig>
More information about the Pkg-javascript-devel
mailing list