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

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


Source: node-findit2
Version: 2.2.3-7
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/findit2
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test/empty.js test/err.js test/foo.js test/module.js test/stop.js test/symlinks.js
> TAP version 13
> (node:490870) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:490869) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 1 - test/empty.js # time=28.539ms {
>     # Subtest: empty
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - empty # time=16.557ms
>     
>     1..1
>     # time=28.539ms
> }
> 
> ok 2 - test/err.js # time=21.458ms {
>     # Subtest: error
>         1..1
>         ok 1 - should be equal
>     ok 1 - error # time=12.029ms
>     
>     1..1
>     # time=21.458ms
> }
> 
> ok 3 - test/foo.js # time=45.581ms {
>     # Subtest: foo
>         ok 1 - should be equal
>         ok 2 - should be equal
>         ok 3 - expect truthy value
>         ok 4 - should be equal
>         ok 5 - expect truthy value
>         ok 6 - should be equal
>         ok 7 - expect truthy value
>         ok 8 - should be equal
>         ok 9 - expect truthy value
>         ok 10 - should be equal
>         ok 11 - expect truthy value
>         ok 12 - should be equal
>         ok 13 - expect truthy value
>         ok 14 - should be equal
>         ok 15 - expect truthy value
>         ok 16 - should be equal
>         ok 17 - expect truthy value
>         ok 18 - should be equivalent
>         ok 19 - should be equivalent
>         ok 20 - should be equivalent
>         1..20
>     ok 1 - foo # time=35.869ms
>     
>     1..1
>     # time=45.581ms
> }
> 
> (node:490871) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 4 - test/module.js # time=16.895ms {
>     # Subtest: single file
>         1..2
>         ok 1 - should be equal
>         ok 2 - should be equivalent
>     ok 1 - single file # time=10.239ms
>     
>     1..1
>     # time=16.895ms
> }
> 
> ok 5 - test/stop.js # time=13.908ms {
>     # Subtest: stop
>         1..1
>         ok 1 - should be equal
>     ok 1 - stop # time=8.44ms
>     
>     1..1
>     # time=13.908ms
> }
> 
> (node:490889) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 6 - test/symlinks.js # time=39.561ms {
>     # Subtest: links
>         ok 1 - expect truthy value
>         ok 2 - expect truthy value
>         ok 3 - expect truthy value
>         ok 4 - expect truthy value
>         ok 5 - expect truthy value
>         ok 6 - should be equivalent
>         ok 7 - should be equivalent
>         ok 8 - should be equivalent
>         ok 9 - should be equivalent
>         1..9
>     ok 1 - links # time=17.415ms
>     
>     # Subtest: follow links
>         ok 1 - expect truthy value
>         ok 2 - expect truthy value
>         ok 3 - expect truthy value
>         ok 4 - expect truthy value
>         ok 5 - expect truthy value
>         ok 6 - expect truthy value
>         ok 7 - expect truthy value
>         ok 8 - expect truthy value
>         ok 9 - expect truthy value
>         ok 10 - should be equal
>         ok 11 - should be equal
>         ok 12 - should be equal
>         ok 13 - should be equivalent
>         ok 14 - should be equivalent
>         ok 15 - should be equivalent
>         1..15
>     ok 2 - follow links # time=8.892ms
>     
>     # Subtest: parent links
>         ok 1 - expect truthy value
>         ok 2 - expect truthy value
>         ok 3 - expect truthy value
>         ok 4 - expect truthy value
>         ok 5 - expect truthy value
>         ok 6 - expect truthy value
>         ok 7 - expect truthy value
>         ok 8 - expect truthy value
>         ok 9 - expect truthy value
>         ok 10 - expect truthy value
>         ok 11 - should be equivalent
>         ok 12 - should be equivalent
>         ok 13 - should be equivalent
>         1..13
>     ok 3 - parent links # time=7.967ms
>     
>     1..3
>     # time=39.561ms
> }
> 
> 1..6
> # time=1554.659ms
> ERROR: Coverage for lines (89.74%) does not meet global threshold (100%)
> ERROR: Coverage for functions (92.3%) does not meet global threshold (100%)
> ERROR: Coverage for branches (81.81%) does not meet global threshold (100%)
> ERROR: Coverage for statements (87.2%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|--------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s  
> ----------|---------|----------|---------|---------|--------------------
> All files |    87.2 |    81.81 |    92.3 |   89.74 |                    
>  index.js |    87.2 |    81.81 |    92.3 |   89.74 | 25-27,73,83-85,118 
> ----------|---------|----------|---------|---------|--------------------
> 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-findit2_2.2.3-7_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