[Pkg-javascript-devel] Bug#1072605: node-uuid: FTBFS: failing tests
Santiago Vila
sanvila at debian.org
Wed Jun 5 01:17:36 BST 2024
Package: src:node-uuid
Version: 8.3.2+~8.3.3-4
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link node_modules/@types/uuid -> ../../Xtypes
debian/rules override_dh_auto_build
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
[36m
[1mdist/esm-browser/index.js[22m → [1mdist/umd/uuid.min.js[22m...[39m
[32mcreated [1mdist/umd/uuid.min.js[22m in [1m646ms[22m[39m
[36m
[1mdist/esm-browser/v1.js[22m → [1mdist/umd/uuidv1.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidv1.min.js[22m in [1m277ms[22m[39m
[36m
[1mdist/esm-browser/v3.js[22m → [1mdist/umd/uuidv3.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidv3.min.js[22m in [1m467ms[22m[39m
[36m
[1mdist/esm-browser/v4.js[22m → [1mdist/umd/uuidv4.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidv4.min.js[22m in [1m227ms[22m[39m
[36m
[1mdist/esm-browser/v5.js[22m → [1mdist/umd/uuidv5.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidv5.min.js[22m in [1m342ms[22m[39m
[36m
[1mdist/esm-browser/nil.js[22m → [1mdist/umd/uuidNIL.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidNIL.min.js[22m in [1m169ms[22m[39m
[36m
[1mdist/esm-browser/version.js[22m → [1mdist/umd/uuidVersion.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidVersion.min.js[22m in [1m193ms[22m[39m
[36m
[1mdist/esm-browser/validate.js[22m → [1mdist/umd/uuidValidate.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidValidate.min.js[22m in [1m187ms[22m[39m
[36m
[1mdist/esm-browser/parse.js[22m → [1mdist/umd/uuidParse.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidParse.min.js[22m in [1m206ms[22m[39m
[36m
[1mdist/esm-browser/stringify.js[22m → [1mdist/umd/uuidStringify.min.js[22m...[39m
[32mcreated [1mdist/umd/uuidStringify.min.js[22m in [1m208ms[22m[39m
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/v35.test.js
PASS test/unit/v1.test.js
PASS test/unit/parse.test.js
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/v1-rng.test.js
PASS test/unit/v1-random.test.js
FAIL test/unit/rng.test.js
● rng › Browser without crypto.getRandomValues()
assert.throws(function)
Expected the function to throw an error.
But it didn't throw anything.
Message:
Missing expected exception.
14 |
15 | test('Browser without crypto.getRandomValues()', () => {
> 16 | assert.throws(() => {
| ^
17 | rngBrowser();
18 | });
19 | });
at Object.<anonymous> (test/unit/rng.test.js:16:12)
Test Suites: 1 failed, 9 passed, 10 total
Tests: 1 failed, 46 passed, 47 total
Snapshots: 0 total
Time: 1.73 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
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202406/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list