[Pkg-javascript-devel] Bug#1009508: node-help-me: FTBFS: ERROR: Coverage for statements (88.63%) does not meet global threshold (100%)

Lucas Nussbaum lucas at debian.org
Tue Apr 12 20:19:22 BST 2022


Source: node-help-me
Version: 2.0.0-1
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 --with nodejs
>    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/help-me
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test.js
> TAP version 13
> ok 1 - test.js # time=763.193ms {
>     # show the doc/help.txt from the require.main folder if no options are passed
>     ok 1 null
>     ok 2 should be strictly equal
>     # show a generic help.txt from a folder to a stream
>     ok 3 null
>     ok 4 should be strictly equal
>     # custom help command with an array
>     ok 5 null
>     ok 6 should be strictly equal
>     # custom help command without an ext
>     ok 7 null
>     ok 8 should be strictly equal
>     # custom help command with a string
>     ok 9 null
>     ok 10 should be strictly equal
>     # missing help file
>     ok 11 should be strictly equal
>     # custom help command with an array
>     # abbreviates two words in one
>     ok 12 null
>     ok 13 should be strictly equal
>     # abbreviates three words in two
>     ok 14 null
>     ok 15 should be strictly equal
>     # abbreviates a word
>     ok 16 null
>     ok 17 should be strictly equal
>     # abbreviates a word using strings
>     ok 18 null
>     ok 19 should be strictly equal
>     # print a disambiguation
>     ok 20 should be strictly equal
>     # choose exact match over partial
>     ok 21 should be strictly equal
>     # support for help files organized in folders
>     # passing an array
>     ok 22 null
>     ok 23 should be strictly equal
>     # passing a string
>     ok 24 null
>     ok 25 should be strictly equal
>     
>     1..25
>     # tests 25
>     # pass  25
>     
>     # ok
> }
> 
> 1..1
> # time=788.45ms
> ERROR: Coverage for lines (90.47%) does not meet global threshold (100%)
> ERROR: Coverage for functions (81.81%) does not meet global threshold (100%)
> ERROR: Coverage for branches (87.5%) does not meet global threshold (100%)
> ERROR: Coverage for statements (88.63%) does not meet global threshold (100%)
> ------------|---------|----------|---------|---------|-------------------
> File        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ------------|---------|----------|---------|---------|-------------------
> All files   |   88.63 |     87.5 |   81.81 |   90.47 |                   
>  help-me.js |   88.63 |     87.5 |   81.81 |   90.47 | 18,73-76          
> ------------|---------|----------|---------|---------|-------------------
> 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-help-me_2.0.0-1_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