[Pkg-javascript-devel] Bug#1006373: node-winston: autopkgtest regression: Cannot find module 'cross-spawn-async'
Paul Gevers
elbrus at debian.org
Thu Feb 24 15:04:46 GMT 2022
Source: node-winston
Version: 3.3.3-6
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-winston the autopkgtest of node-winston
fails in testing when that autopkgtest is run with the binary packages
of node-winston from unstable. It passes when run with only packages
from testing. In tabular form:
pass fail
node-winston from testing 3.3.3-6
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-winston
https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-winston/19529848/log.gz
# Using ./package.(json|yaml)
# Node module name is winston
# Build files found: .babelrc tsconfig.json
# Test files found: test
# Files/dir to be installed from source: test .babelrc tsconfig.json
# Copy test files
# Copy debian/tests/pkg-js content
'debian/tests/pkg-js' ->
'/tmp/autopkgtest-lxc.s52n071b/downtmp/autopkgtest_tmp/smokeLlM160/debian/tests/pkg-js'
'debian/tests/pkg-js/test' ->
'/tmp/autopkgtest-lxc.s52n071b/downtmp/autopkgtest_tmp/smokeLlM160/debian/tests/pkg-js/test'
# Searching module in /usr/lib/nodejs/winston
# Searching module in /usr/lib/*/nodejs/winston
# Searching module in /usr/share/nodejs/winston
# Found /usr/share/nodejs/winston
# Searching files to link in /usr/share/nodejs/winston
'./index.d.ts' -> '/usr/share/nodejs/winston/index.d.ts'
'./lib' -> '/usr/share/nodejs/winston/lib'
'./package.json' -> '/usr/share/nodejs/winston/package.json'
# Launch debian/tests/pkg-js/test with sh -ex
+ mocha test/config.test.js test/container.test.js
test/exception-handler.test.js test/exception-stream.test.js
test/log-exception.test.js test/logger-legacy.test.js
test/logger.test.js test/profiler.test.js test/rejection-handler.test.js
test/tail-file.test.js test/winston.test.js test/formats/errors.test.js
test/integration/formats.test.js test/transports/00-file-stress.test.js
test/transports/01-file-maxsize.test.js test/transports/console.test.js
test/transports/error.test.js test/transports/file-archive.test.js
test/transports/file-tailrolling.test.js test/transports/file.test.js
test/transports/http.test.js test/transports/stream.test.js --exit
Error: Cannot find module 'cross-spawn-async'
Require stack:
-
/tmp/autopkgtest-lxc.s52n071b/downtmp/autopkgtest_tmp/smokeLlM160/test/integration/formats.test.js
at Function.Module._resolveFilename
(internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous>
(/tmp/autopkgtest-lxc.s52n071b/downtmp/autopkgtest_tmp/smokeLlM160/test/integration/formats.test.js:12:13)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js
(internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at ModuleWrap.<anonymous> (internal/modules/esm/translators.js:188:29)
at ModuleJob.run (internal/modules/esm/module_job.js:145:37)
at async Loader.import (internal/modules/esm/loader.js:182:24)
at async formattedImport
(/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:7:14)
at async Object.exports.requireOrImport
(/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:48:32)
at async Object.exports.loadFilesAsync
(/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:103:20)
at async singleRun
(/usr/share/nodejs/mocha/lib/cli/run-helpers.js:125:3)
at async Object.exports.handler
(/usr/share/nodejs/mocha/lib/cli/run.js:374:5)
autopkgtest [10:18:45]: 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/20220224/35950e69/attachment.sig>
More information about the Pkg-javascript-devel
mailing list