[Pkg-javascript-devel] Bug#980679: node-uuid: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Wed Jan 20 20:46:56 GMT 2021
Source: node-uuid
Version: 8.3.2+~8.3.0-3
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>>'
> pandoc --from gfm-raw_html --to html --standalone --output README.html README.md
> [WARNING] This document format requires a nonempty <title> element.
> Defaulting to 'README' as the title.
> To specify a title, use 'title' in metadata or --metadata title="...".
> pandoc --from gfm-raw_html --to plain --output README.txt README.md
> pandoc --from gfm-raw_html --to html --standalone --output CHANGELOG.html CHANGELOG.md
> [WARNING] This document format requires a nonempty <title> element.
> Defaulting to 'CHANGELOG' as the title.
> To specify a title, use 'title' in metadata or --metadata title="...".
> pandoc --from gfm-raw_html --to plain --output CHANGELOG.txt CHANGELOG.md
> ./scripts/build.sh
> Replacing node-specific file for esm-browser: /<<PKGBUILDDIR>>/./scripts/../dist/esm-browser/md5-browser.js
> Replacing node-specific file for esm-browser: /<<PKGBUILDDIR>>/./scripts/../dist/esm-browser/rng-browser.js
> Replacing node-specific file for esm-browser: /<<PKGBUILDDIR>>/./scripts/../dist/esm-browser/sha1-browser.js
> Removing browser-specific files from esm-node
>
> dist/esm-browser/index.js → dist/umd/uuid.min.js...
> created dist/umd/uuid.min.js in 647ms
>
> dist/esm-browser/v1.js → dist/umd/uuidv1.min.js...
> created dist/umd/uuidv1.min.js in 298ms
>
> dist/esm-browser/v3.js → dist/umd/uuidv3.min.js...
> created dist/umd/uuidv3.min.js in 469ms
>
> dist/esm-browser/v4.js → dist/umd/uuidv4.min.js...
> created dist/umd/uuidv4.min.js in 266ms
>
> dist/esm-browser/v5.js → dist/umd/uuidv5.min.js...
> created dist/umd/uuidv5.min.js in 346ms
>
> dist/esm-browser/nil.js → dist/umd/uuidNIL.min.js...
> created dist/umd/uuidNIL.min.js in 202ms
>
> dist/esm-browser/version.js → dist/umd/uuidVersion.min.js...
> created dist/umd/uuidVersion.min.js in 216ms
>
> dist/esm-browser/validate.js → dist/umd/uuidValidate.min.js...
> created dist/umd/uuidValidate.min.js in 200ms
>
> dist/esm-browser/parse.js → dist/umd/uuidParse.min.js...
> created dist/umd/uuidParse.min.js in 205ms
>
> dist/esm-browser/stringify.js → dist/umd/uuidStringify.min.js...
> created dist/umd/uuidStringify.min.js in 241ms
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> ln -s ../debian/tests/test_modules/random-seed node_modules/random-seed
> ln -s ../. node_modules/uuid
> /bin/sh -ex debian/tests/pkg-js/test
> + export BABEL_ENV=commonjs
> + jest --ci test/unit
> PASS test/unit/v1.test.js
> FAIL test/unit/parse.test.js
> ● Test suite failed to run
>
> Cannot find module 'json-stringify-safe' from 'debian/tests/test_modules/random-seed/index.js'
>
> Require stack:
> debian/tests/test_modules/random-seed/index.js
> test/unit/parse.test.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> (debian/tests/test_modules/random-seed/index.js:55:17)
>
> PASS test/unit/v4.test.js
> PASS test/unit/stringify.test.js
> PASS test/unit/validate.test.js
> PASS test/unit/version.test.js
> PASS test/unit/v35.test.js
> PASS test/unit/v1-rng.test.js
> PASS test/unit/v1-random.test.js
> PASS test/unit/rng.test.js
>
> Test Suites: 1 failed, 9 passed, 10 total
> Tests: 42 passed, 42 total
> Snapshots: 0 total
> Time: 2.861 s
> Ran all test suites matching /test\/unit/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/2021/01/20/node-uuid_8.3.2+~8.3.0-3_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