[Pkg-javascript-devel] Bug#1009545: node-jsonstream: FTBFS: ERROR: Coverage for statements (50.89%) does not meet global threshold (100%)

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


Source: node-jsonstream
Version: 1.3.5-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/JSONStream
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test/browser.js test/map.js test/null.js
> TAP version 13
> ok 1 - test/browser.js # time=952.625ms {
>     # basic parsing
>     ok 1 should be strictly equal
>     ok 2 should be strictly equal
>     
>     1..2
>     # tests 2
>     # pass  2
>     
>     # ok
> }
> 
> ok 2 - test/map.js # time=888.325ms {
>     # map function
>     ok 1 should be deeply equivalent
>     # filter function
>     ok 2 should be deeply equivalent
>     
>     1..2
>     # tests 2
>     # pass  2
>     
>     # ok
> }
> 
> ok 3 - test/null.js # time=917.129ms {
>     # null properties
>     ok 1 should be deeply equivalent
>     
>     1..1
>     # tests 1
>     # pass  1
>     
>     # ok
> }
> 
> 1..3
> # time=976.145ms
> ERROR: Coverage for lines (52.25%) does not meet global threshold (100%)
> ERROR: Coverage for functions (56.25%) does not meet global threshold (100%)
> ERROR: Coverage for branches (54.16%) does not meet global threshold (100%)
> ERROR: Coverage for statements (50.89%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|------------------------------------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                              
> ----------|---------|----------|---------|---------|------------------------------------------------
> All files |   50.89 |    54.16 |   56.25 |   52.25 |                                                
>  index.js |   50.89 |    54.16 |   56.25 |   52.25 | ...115,132,140-142,166,169-171,175-210,214-244 
> ----------|---------|----------|---------|---------|------------------------------------------------
> 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-jsonstream_1.3.5-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