Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202607/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-webpack, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
PASS test/ContextModuleFactory.unittest.js
PASS test/compareSourceOrder.unittest.js
PASS test/walkCssTokens.unittest.js
PASS test/compileBooleanMatcher.unittest.js
PASS test/BinaryMiddleware.unittest.js (12.648 s)
FAIL test/SideEffectsFlagPlugin.unittest.js
● Test suite failed to run
Cannot find module 'glob-to-regexp' from 'lib/optimize/SideEffectsFlagPlugin.js'
Require stack:
lib/optimize/SideEffectsFlagPlugin.js
test/SideEffectsFlagPlugin.unittest.js
363 | _throwModNotFoundError(from, moduleName) {
364 | const relativePath = (0, _slash().default)(path().relative(this._options.rootDir, from)) || '.';
> 365 | throw new _ModuleNotFoundError.default(`Cannot find module '${moduleName}' from '${relativePath}'`, moduleName);
| ^
366 | }
367 | _getMapModuleName(matches) {
368 | return matches ? moduleName => moduleName.replace(/\$([0-9]+)/g, (_, index) => matches[parseInt(index, 10)]) : moduleName => moduleName;
at Resolver._throwModNotFoundError (../../../usr/share/nodejs/jest-resolve/build/resolver.js:365:11)
at Object.<anonymous> (lib/optimize/SideEffectsFlagPlugin.js:8:21)
at Object.<anonymous> (test/SideEffectsFlagPlugin.unittest.js:3:31)
PASS test/compareLocations.unittest.js
PASS test/deterministicGrouping.unittest.js
PASS test/createMappings.unittest.js
PASS test/compareStringsNumeric.unittest.js
PASS test/MultiWatching.unittest.js
PASS test/RuntimeTemplate.unittest.js
PASS test/MultiItemCache.unittest.js
PASS test/target-browserslist.unittest.js
PASS test/extractSourceMap.unittest.js
› 3 snapshots written.
› 3 snapshots removed.
• getSourceMappingURL should work with ""\n /*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+" */";" url: result 1
• getSourceMappingURL should work with "\n with SourceMap\n // #sourceMappingURL = /sample-source-map-1.map\n // #sourceMappingURL = /sample-source-map-2.map\n // #sourceMappingURL = /sample-source-map-last.map\n // comment\n " url: result 1
• getSourceMappingURL should work with "\n with SourceMap\n \n // #sourceMappingURL = /sample-source-map.map\n // comment\n " url: result 1
PASS test/URLAbsoluteSpecifier.unittest.js
PASS test/findGraphRoots.unittest.js
PASS test/CleanPlugin.unittest.js
PASS test/smartGrouping.unittest.js
PASS test/formatLocation.unittest.js
PASS test/ModuleDependencyError.unittest.js
PASS test/formatSize.unittest.js
PASS test/LocalModulesHelpers.unittest.js
PASS test/SortableSet.unittest.js
PASS test/RawModule.unittest.js
PASS test/extractUrlAndGlobal.unittest.js
PASS test/Queue.unittest.js
PASS test/AppendOnlyStackedSet.unittest.js
PASS test/propertyAccess.unittest.js
PASS test/RequestShortener.unittest.js
PASS test/nonNumericOnlyHash.unittest.js
PASS test/AbstractMethodError.unittest.js
PASS test/Template.unittest.js
PASS test/LazySet.unittest.js
PASS test/WebpackError.unittest.js
PASS test/ContextModule.unittest.js
PASS test/Chunk.unittest.js
PASS test/numberHash.unittest.js
PASS test/propertyName.unittest.js
PASS test/ArrayHelpers.unittest.js
PASS test/objectToMap.unittest.js
Summary of all failing tests
FAIL test/SideEffectsFlagPlugin.unittest.js
● Test suite failed to run
Cannot find module 'glob-to-regexp' from 'lib/optimize/SideEffectsFlagPlugin.js'
Require stack:
lib/optimize/SideEffectsFlagPlugin.js
test/SideEffectsFlagPlugin.unittest.js
363 | _throwModNotFoundError(from, moduleName) {
364 | const relativePath = (0, _slash().default)(path().relative(this._options.rootDir, from)) || '.';
> 365 | throw new _ModuleNotFoundError.default(`Cannot find module '${moduleName}' from '${relativePath}'`, moduleName);
| ^
366 | }
367 | _getMapModuleName(matches) {
368 | return matches ? moduleName => moduleName.replace(/\$([0-9]+)/g, (_, index) => matches[parseInt(index, 10)]) : moduleName => moduleName;
at Resolver._throwModNotFoundError (../../../usr/share/nodejs/jest-resolve/build/resolver.js:365:11)
at Object.<anonymous> (lib/optimize/SideEffectsFlagPlugin.js:8:21)
at Object.<anonymous> (test/SideEffectsFlagPlugin.unittest.js:3:31)
Snapshot Summary
› 3 snapshots written from 1 test suite.
› 3 snapshots removed from 1 test suite.
↳ test/extractSourceMap.unittest.js
• getSourceMappingURL should work with ""\n /*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+" */";" url: result 1
• getSourceMappingURL should work with "\n with SourceMap\n // #sourceMappingURL = /sample-source-map-1.map\n // #sourceMappingURL = /sample-source-map-2.map\n // #sourceMappingURL = /sample-source-map-last.map\n // comment\n " url: result 1
• getSourceMappingURL should work with "\n with SourceMap\n \n // #sourceMappingURL = /sample-source-map.map\n // comment\n " url: result 1
Test Suites: 1 failed, 51 passed, 52 total
Tests: 19965 passed, 19965 total
Snapshots: 3 removed, 3 written, 97 passed, 100 total
Time: 21.386 s
Ran all test suites matching /test\/AbstractMethodError.unit [too-long-redacted] \/walkHtmlTokens.unittest.js/i.
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------