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

Lucas Nussbaum lucas at debian.org
Fri Jun 24 11:07:18 BST 2022


Source: node-memfs
Version: 3.4.3+~cs1.0.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 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/jest -> /usr/share/nodejs/@types/jest
> Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
> Link ./node_modules/ts-jest -> /usr/share/nodejs/ts-jest
> Link node_modules/fs-monkey -> ../fs-monkey
>    dh_auto_build --buildsystem=nodejs
> Found debian/nodejs/fs-monkey/build
> 	cd ./fs-monkey && sh -ex ../debian/nodejs/fs-monkey/build
> + babeljs src --out-dir lib
> Successfully compiled 6 files with Babel (794ms).
> Found debian/nodejs/./build
> 	cd ./. && sh -ex debian/nodejs/./build
> + test -e node_modules/@types/jest
> + mv node_modules/@types/jest node_modules/@types/.jest
> + tsc -p .
> + cp src/getBigInt.js lib
> + test -e node_modules/@types/.jest
> + mv node_modules/@types/.jest node_modules/@types/jest
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../. node_modules/memfs
> 	/bin/sh -ex debian/tests/pkg-js/test
> + [ ! -e node_modules/fs-monkey ]
> + jest --ci src/__tests__/hasBigInt.js src/__tests__/index.test.ts src/__tests__/node.test.ts src/__tests__/process.test.ts src/__tests__/promises.test.ts src/__tests__/setImmediate.test.ts src/__tests__/setTimeoutUnref.test.ts src/__tests__/util.ts src/__tests__/volume src/__tests__/volume.test.ts
> PASS src/__tests__/node.test.ts (5.855 s)
> PASS src/__tests__/volume/rmSync.test.ts (7.897 s)
> PASS src/__tests__/volume/copyFileSync.test.ts (7.823 s)
> PASS src/__tests__/volume/renameSync.test.ts (7.842 s)
> PASS src/__tests__/volume/rmPromise.test.ts (8.211 s)
> PASS src/__tests__/promises.test.ts (8.315 s)
> PASS src/__tests__/volume/copyFile.test.ts
> PASS src/__tests__/index.test.ts
> PASS src/__tests__/volume/closeSync.test.ts
> PASS src/__tests__/volume/writeFileSync.test.ts
> PASS src/__tests__/volume/readdirSync.test.ts
> PASS src/__tests__/volume.test.ts (8.576 s)
> PASS src/__tests__/volume/exists.test.ts
> PASS src/__tests__/volume/WriteStream.test.ts
> PASS src/__tests__/volume/mkdirSync.test.ts
> PASS src/__tests__/process.test.ts
> PASS src/__tests__/volume/readSync.test.ts
> PASS src/__tests__/volume/writeSync.test.ts
> PASS src/__tests__/volume/ReadStream.test.ts
> PASS src/__tests__/volume/appendFile.test.ts
> PASS src/__tests__/volume/existsSync.test.ts
> PASS src/__tests__/volume/write.test.ts
> PASS src/__tests__/volume/appendFileSync.test.ts
> FAIL src/__tests__/volume/callback-error.test.ts
>   ● Test suite failed to run
> 
>     src/__tests__/volume/callback-error.test.ts:1:20 - error TS2559: Type '"modern"' has no properties in common with type 'FakeTimersConfig'.
> 
>     1 jest.useFakeTimers('modern');
>                          ~~~~~~~~
> 
> PASS src/__tests__/volume/statSync.test.ts
> PASS src/__tests__/volume/toString.test.ts
> PASS src/__tests__/volume/realpathSync.test.ts
> PASS src/__tests__/setImmediate.test.ts
> PASS src/__tests__/volume/rename.test.ts
> PASS src/__tests__/setTimeoutUnref.test.ts
> PASS src/__tests__/volume/openSync.test.ts
> 
> Summary of all failing tests
> FAIL src/__tests__/volume/callback-error.test.ts
>   ● Test suite failed to run
> 
>     src/__tests__/volume/callback-error.test.ts:1:20 - error TS2559: Type '"modern"' has no properties in common with type 'FakeTimersConfig'.
> 
>     1 jest.useFakeTimers('modern');
>                          ~~~~~~~~
> 
> 
> Test Suites: 1 failed, 30 passed, 31 total
> Tests:       19 skipped, 298 passed, 317 total
> Snapshots:   6 passed, 6 total
> Time:        10.175 s
> Ran all test suites matching /src\/__tests__\/hasBigInt.js|src\/__tests__\/index.test.ts|src\/__tests__\/node.test.ts|src\/__tests__\/process.test.ts|src\/__tests__\/promises.test.ts|src\/__tests__\/setImmediate.test.ts|src\/__tests__\/setTimeoutUnref.test.ts|src\/__tests__\/util.ts|src\/__tests__\/volume|src\/__tests__\/volume.test.ts/i.
> 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/06/24/node-memfs_3.4.3+~cs1.0.3-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&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