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

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


Source: node-read
Version: 1.0.7-3
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/read
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test
> TAP version 13
> data Username: (test-user) 
> data Password: (<default hidden>) 
> data Password again: (<default hidden>) 
> result "{\"user\":\"a user\",\"pass\":\"a password\",\"verify\":\"a password\",\"passMatch\":true}\n"
> ok 1 - test/basic.js # time=286.432ms {
>     # Subtest: basic
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>         1..2
>     ok 1 - basic # time=280.927ms
>     
>     1..1
>     # time=286.432ms
> }
> 
> data Username: (test-user) 
> data Password: (<default hidden>) 
> data Password again: (<default hidden>) 
> result "{\"user\":\"test-user\",\"pass\":\"test-pass\",\"verify\":\"test-pass\",\"passMatch\":true}\n"
> ok 2 - test/defaults.js # time=264.045ms {
>     # Subtest: defaults
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>         1..2
>     ok 1 - defaults # time=258.927ms
>     
>     1..1
>     # time=264.045ms
> }
> 
> ok 3 - test/many.js # time=286.409ms {
>     # Subtest: many reads
>         ok 1 - should be equal
>         ok 2 - should be equal
>         1..2
>     ok 1 - many reads # time=281.695ms
>     
>     1..1
>     # time=286.409ms
> }
> 
> 1..3
> # time=1406.272ms
> ERROR: Coverage for lines (72.46%) does not meet global threshold (100%)
> ERROR: Coverage for functions (50%) does not meet global threshold (100%)
> ERROR: Coverage for branches (70.21%) does not meet global threshold (100%)
> ERROR: Coverage for statements (70.42%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|------------------------------------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                              
> ----------|---------|----------|---------|---------|------------------------------------------------
> All files |   70.42 |    70.21 |      50 |   72.46 |                                                
>  read.js  |   70.42 |    70.21 |      50 |   72.46 | ...30,43,55-57,65-66,71-72,81-83,92-94,100-101 
> ----------|---------|----------|---------|---------|------------------------------------------------
> 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-read_1.0.7-3_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