[Pkg-javascript-devel] Bug#1009562: node-fs.realpath: FTBFS: ERROR: Coverage for statements (21.46%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:19:07 BST 2022
Source: node-fs.realpath
Version: 1.0.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 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
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/fs.realpath
> /bin/sh -ex debian/tests/pkg-js/test
> + tap test/monkeypatching.js test/symlinks.js
> TAP version 13
> (node:1007448) DeprecationWarning: notEqual() is deprecated, use not() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 1 - test/monkeypatching.js # time=10.619ms {
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - should not be equal
> ok 4 - should not be equal
> 1..4
> # time=10.619ms
> }
>
> ok 2 - test/symlinks.js # time=99.428ms {
> # Subtest: setup
> 1..0
> ok 1 - setup # time=3.463ms
>
> # Subtest: symlinks = 1
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 2 - symlinks = 1 # time=13.808ms
>
> # Subtest: symlinks = 128
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 3 - symlinks = 128 # time=20.866ms
>
> # Subtest: symlinks = 256
> 1..2
> ok 1 - should be equal
> ok 2 - should be equal
> ok 4 - symlinks = 256 # time=51.85ms
>
> # Subtest: cleanup
> 1..0
> ok 5 - cleanup # time=0.615ms
>
> 1..5
> # time=99.428ms
> }
>
> 1..2
> # time=955.542ms
> ERROR: Coverage for lines (23.03%) does not meet global threshold (100%)
> ERROR: Coverage for functions (28.57%) does not meet global threshold (100%)
> ERROR: Coverage for branches (7.07%) does not meet global threshold (100%)
> ERROR: Coverage for statements (21.46%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|----------------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ----------|---------|----------|---------|---------|----------------------------
> All files | 21.46 | 7.07 | 28.57 | 23.03 |
> index.js | 81.81 | 33.33 | 100 | 81.81 | 26,35,44,50-53
> old.js | 7.63 | 3.06 | 0 | 8.33 | 34-66,74,81,88-179,184-301
> ----------|---------|----------|---------|---------|----------------------------
> 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/04/12/node-fs.realpath_1.0.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&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