[Pkg-javascript-devel] Bug#1009540: node-prr: FTBFS: ERROR: Coverage for statements (88%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:20:24 BST 2022
Source: node-prr
Version: 1.0.1-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/prr
> /bin/sh -ex debian/tests/pkg-js/test
> + tap test.js
> TAP version 13
> (node:3369011) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 1 - test.js # time=38.892ms {
> # Subtest: test prr(o, key, value) form
> 1..2
> ok 1 - correct value
> ok 2 - correct property descriptor
> ok 1 - test prr(o, key, value) form # time=11.008ms
>
> # Subtest: test prr(o, { key: value }) form
> 1..2
> ok 1 - correct value
> ok 2 - correct property descriptor
> ok 2 - test prr(o, { key: value }) form # time=2.116ms
>
> # Subtest: test multiple key:value pairs
> ok 1 - properties are not enumerable
> ok 2 - correctly set property
> ok 3 - correctly set property
> ok 4 - correctly set property
> ok 5 - correct property descriptor
> ok 6 - correct property descriptor
> ok 7 - correct property descriptor
> 1..7
> ok 3 - test multiple key:value pairs # time=4.299ms
>
> # Subtest: test descriptor options
> ok 1 - correct value
> ok 2 - correct property descriptor
> ok 3 - correct value
> ok 4 - correct property descriptor
> ok 5 - correct value
> ok 6 - correct property descriptor
> 1..6
> ok 4 - test descriptor options # time=3.105ms
>
> # Subtest: test descriptor options, string form
> ok 1 - correct value
> ok 2 - correct property descriptor
> ok 3 - correct value
> ok 4 - correct property descriptor
> ok 5 - correct value
> ok 6 - correct property descriptor
> 1..6
> ok 5 - test descriptor options, string form # time=2.924ms
>
> 1..5
> # time=38.892ms
> }
>
> 1..1
> # time=806.826ms
> ERROR: Coverage for lines (88%) does not meet global threshold (100%)
> ERROR: Coverage for functions (85.71%) does not meet global threshold (100%)
> ERROR: Coverage for branches (81.25%) does not meet global threshold (100%)
> ERROR: Coverage for statements (88%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|-------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ----------|---------|----------|---------|---------|-------------------
> All files | 88 | 81.25 | 85.71 | 88 |
> prr.js | 88 | 81.25 | 85.71 | 88 | 12,21-22
> ----------|---------|----------|---------|---------|-------------------
> 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-prr_1.0.1-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