[Pkg-javascript-devel] Bug#1022396: node-webpack-sources: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Oct 23 14:15:21 BST 2022


Source: node-webpack-sources
Version: 3.2.3+~3.2.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> Link node_modules/@types/webpack-sources -> ../../types-webpack-sources
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../debian/tests/test_modules/sourcemap-validator node_modules/sourcemap-validator
> 	ln -s ../. node_modules/webpack-sources
> 	/bin/sh -ex debian/tests/pkg-js/test
> + jest --ci -u --testPathIgnorePatterns test/Fuzzy.js
> PASS test/helpers.js
> PASS test/PrefixSource.js
> PASS test/OriginalSource.js
> PASS test/CachedSource.js
> FAIL test/ConcatSource.js
>   ● Test suite failed to run
> 
>     Jest: Couldn't locate all inline snapshots.
> 
>       225 |   });
>       226 |   if (remainingSnapshots.size) {
>     > 227 |     throw new Error("Jest: Couldn't locate all inline snapshots.");
>           |           ^
>       228 |   }
>       229 | };
>       230 | const runPrettier = (prettier, sourceFilePath, sourceFileWithSnapshots, snapshotMatcherNames) => {
> 
>       at traverseAst (../../../usr/share/nodejs/jest-snapshot/build/InlineSnapshots.js:227:11)
> 
> PASS test/CompatSource.js
> PASS test/package-entry.js
> PASS test/SizeOnlySource.js
> FAIL test/SourceMapSource.js
>   ● Test suite failed to run
> 
>     Jest: Couldn't locate all inline snapshots.
> 
>       225 |   });
>       226 |   if (remainingSnapshots.size) {
>     > 227 |     throw new Error("Jest: Couldn't locate all inline snapshots.");
>           |           ^
>       228 |   }
>       229 | };
>       230 | const runPrettier = (prettier, sourceFilePath, sourceFileWithSnapshots, snapshotMatcherNames) => {
> 
>       at traverseAst (../../../usr/share/nodejs/jest-snapshot/build/InlineSnapshots.js:227:11)
> 
> FAIL test/ReplaceSource.js
>   ● Test suite failed to run
> 
>     Jest: Couldn't locate all inline snapshots.
> 
>       225 |   });
>       226 |   if (remainingSnapshots.size) {
>     > 227 |     throw new Error("Jest: Couldn't locate all inline snapshots.");
>           |           ^
>       228 |   }
>       229 | };
>       230 | const runPrettier = (prettier, sourceFilePath, sourceFileWithSnapshots, snapshotMatcherNames) => {
> 
>       at traverseAst (../../../usr/share/nodejs/jest-snapshot/build/InlineSnapshots.js:227:11)
> 
> Test Suites: 3 failed, 7 passed, 10 total
> Tests:       36 passed, 36 total
> Snapshots:   0 total
> Time:        2.764 s
> Ran all test suites.
> 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


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/node-webpack-sources_3.2.3+~3.2.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list