[Pkg-javascript-devel] Bug#980648: node-execa: FTBFS: dh_auto_test: error: cd ./human-signals && sh -ex ../debian/nodejs/human-signals/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Wed Jan 20 20:46:45 GMT 2021


Source: node-execa
Version: 4.1.0+dfsg+~cs19.3.6-4
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> echo 'int main() { return 0; }' | gcc -x c -o test/fixtures/fast-exit-linux -
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> Found debian/nodejs/human-signals/build
> 	cd ./human-signals && sh -ex ../debian/nodejs/human-signals/build
> + babeljs -d build/src --presets=@babel/preset-env src/
> Successfully compiled 4 files with Babel (685ms).
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../debian/tests/test_modules/test-each node_modules/test-each
> 	ln -s ../debian/tests/test_modules/big-cartesian node_modules/big-cartesian
> 	ln -s ../. node_modules/execa
> 	cd ./human-signals && sh -ex ../debian/nodejs/human-signals/test
> + jest --ci --testRegex test/main.js
> FAIL test/main.js
>   ● Test suite failed to run
> 
>     Cannot find module 'ajv' from 'test/main.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> (test/main.js:4:1)
> 
> Test Suites: 1 failed, 1 total
> Tests:       0 total
> Snapshots:   0 total
> Time:        1.746 s
> Ran all test suites.
> dh_auto_test: error: cd ./human-signals && sh -ex ../debian/nodejs/human-signals/test returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/node-execa_4.1.0+dfsg+~cs19.3.6-4_unstable.log

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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-javascript-devel mailing list