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

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


Source: node-detective
Version: 5.2.0-4
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/detective
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap -J test/both.js test/chained.js test/complicated.js test/es2019.js test/es6-module.js test/generators.js test/isrequire.js test/nested.js test/noargs.js test/parseopts.js test/rest-spread.js test/return.js test/set-in-object-pattern.js test/shebang.js test/sparse-array.js test/strings.js test/word.js test/yield.js
> TAP version 13
> (node:1296651) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296650) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296626) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296627) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296634) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296624) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 1 - test/both.js # time=48.318ms {
>     # Subtest: both
>         ok 1 - should be equivalent
>         ok 2 - should be equivalent
>         ok 3 - has no nodes
>         1..3
>     ok 1 - both # time=25.375ms
>     
>     # Subtest: both with nodes specified in opts
>         ok 1 - should be equivalent
>         ok 2 - should be equivalent
>         ok 3 - has a node for each require
>         1..3
>     ok 2 - both with nodes specified in opts # time=4.538ms
>     
>     1..2
>     # time=48.318ms
> }
> 
> (node:1296625) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 2 - test/chained.js # time=34.21ms {
>     # Subtest: chained
>         ok 1 - should be equivalent
>         1..1
>     ok 1 - chained # time=20.64ms
>     
>     1..1
>     # time=34.21ms
> }
> 
> ok 3 - test/complicated.js # time=60.959ms {
>     # Subtest: complicated
>         1..42
>         ok 1 - should be equivalent
>         ok 2 - should be equivalent
>         ok 3 - should be equivalent
>         ok 4 - should be equivalent
>         ok 5 - should be equivalent
>         ok 6 - should be equivalent
>         ok 7 - should be equivalent
>         ok 8 - should be equivalent
>         ok 9 - should be equivalent
>         ok 10 - should be equivalent
>         ok 11 - should be equivalent
>         ok 12 - should be equivalent
>         ok 13 - should be equivalent
>         ok 14 - should be equivalent
>         ok 15 - should be equivalent
>         ok 16 - should be equivalent
>         ok 17 - should be equivalent
>         ok 18 - should be equivalent
>         ok 19 - should be equivalent
>         ok 20 - should be equivalent
>         ok 21 - should be equivalent
>         ok 22 - should be equivalent
>         ok 23 - should be equivalent
>         ok 24 - should be equivalent
>         ok 25 - should be equivalent
>         ok 26 - should be equivalent
>         ok 27 - should be equivalent
>         ok 28 - should be equivalent
>         ok 29 - should be equivalent
>         ok 30 - should be equivalent
>         ok 31 - should be equivalent
>         ok 32 - should be equivalent
>         ok 33 - should be equivalent
>         ok 34 - should be equivalent
>         ok 35 - should be equivalent
>         ok 36 - should be equivalent
>         ok 37 - should be equivalent
>         ok 38 - should be equivalent
>         ok 39 - should be equivalent
>         ok 40 - should be equivalent
>         ok 41 - should be equivalent
>         ok 42 - should be equivalent
>     ok 1 - complicated # time=53.77ms
>     
>     1..1
>     # time=60.959ms
> }
> 
> ok 4 - test/es2019.js # time=34.084ms {
>     # Subtest: es2019 - for-await
>         ok 1 - Files with `for await()` do not throw
>         1..1
>     ok 1 - es2019 - for-await # time=21.032ms
>     
>     1..1
>     # time=34.084ms
> }
> 
> ok 5 - test/es6-module.js # time=53.349ms {
>     # Subtest: es6-module
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - es6-module # time=34.048ms
>     
>     1..1
>     # time=53.349ms
> }
> 
> ok 6 - test/generators.js # time=54.111ms {
>     # Subtest: generators
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - generators # time=36.49ms
>     
>     1..1
>     # time=54.111ms
> }
> 
> ok 7 - test/isrequire.js # time=49.47ms {
>     # Subtest: word
>         ok 1 - should be equivalent
>         1..1
>     ok 1 - word # time=26.645ms
>     
>     1..1
>     # time=49.47ms
> }
> 
> ok 8 - test/nested.js # time=50.701ms {
>     # Subtest: nested
>         ok 1 - should be equivalent
>         1..1
>     ok 1 - nested # time=27.217ms
>     
>     1..1
>     # time=50.701ms
> }
> 
> (node:1296680) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296683) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296686) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296684) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296681) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 9 - test/noargs.js # time=64.965ms {
>     # Subtest: noargs
>         1..1
>         ok 1 - finds no arg id
>     ok 1 - noargs # time=20.669ms
>     
>     # Subtest: find noargs with nodes
>         1..4
>         ok 1 - finds no arg id
>         ok 2 - finds no expressions
>         ok 3 - finds a node for each matching function call
>         ok 4 - all matches are correct
>     ok 2 - find noargs with nodes # time=4.968ms
>     
>     1..2
>     # time=64.965ms
> }
> 
> (node:1296721) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 10 - test/parseopts.js # time=75.346ms {
>     # Subtest: nodes specified in opts and parseopts { range: true }
>         ok 1 - should be equivalent
>         ok 2 - should be equivalent
>         ok 3 - has a node for each require
>         ok 4 - includes range start
>         ok 5 - includes range end
>         1..5
>     ok 1 - nodes specified in opts and parseopts { range: true } # time=25.655ms
>     
>     # Subtest: nodes specified in opts and parseopts { range: false }
>         ok 1 - should be equivalent
>         ok 2 - should be equivalent
>         ok 3 - has a node for each require
>         ok 4 - includes no ranges
>         1..4
>     ok 2 - nodes specified in opts and parseopts { range: false } # time=8.865ms
>     
>     # Subtest: nodes specified in opts and parseopts { range: true, loc: true }
>         ok 1 - should be equivalent
>         ok 2 - should be equivalent
>         ok 3 - has a node for each require
>         ok 4 - includes range start
>         ok 5 - includes range end
>         ok 6 - includes start line
>         ok 7 - includes start column
>         ok 8 - includes end line
>         ok 9 - includes end column
>         1..9
>     ok 3 - nodes specified in opts and parseopts { range: true, loc: true } # time=5.255ms
>     
>     1..3
>     # time=75.346ms
> }
> 
> ok 11 - test/rest-spread.js # time=56.934ms {
>     # Subtest: rest-spread
>         ok 1 - Files with rest or spread do not throw
>         1..1
>     ok 1 - rest-spread # time=20.689ms
>     
>     1..1
>     # time=56.934ms
> }
> 
> ok 12 - test/return.js # time=55.872ms {
>     # Subtest: return
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - return # time=21.791ms
>     
>     1..1
>     # time=55.872ms
> }
> 
> ok 13 - test/set-in-object-pattern.js # time=59.795ms {
>     # Subtest: set in object pattern
>         ok 1 - should be equivalent
>         1..1
>     ok 1 - set in object pattern # time=26.662ms
>     
>     1..1
>     # time=59.795ms
> }
> 
> ok 14 - test/shebang.js # time=56.899ms {
>     # Subtest: shebang
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - shebang # time=23.564ms
>     
>     1..1
>     # time=56.899ms
> }
> 
> ok 15 - test/sparse-array.js # time=36.719ms {
>     # Subtest: sparse-array
>         ok 1 - expected to not throw
>         1..1
>     ok 1 - sparse-array # time=15.616ms
>     
>     1..1
>     # time=36.719ms
> }
> 
> ok 16 - test/strings.js # time=43.187ms {
>     # Subtest: single
>         ok 1 - should be equivalent
>         1..1
>     ok 1 - single # time=22.597ms
>     
>     1..1
>     # time=43.187ms
> }
> 
> (node:1296737) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1296736) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 17 - test/word.js # time=32.822ms {
>     # Subtest: word
>         ok 1 - should be equivalent
>         1..1
>     ok 1 - word # time=16.53ms
>     
>     1..1
>     # time=32.822ms
> }
> 
> ok 18 - test/yield.js # time=32.361ms {
>     # Subtest: yield
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - yield # time=15.889ms
>     
>     1..1
>     # time=32.361ms
> }
> 
> 1..18
> # time=2364.837ms
> ERROR: Coverage for branches (90.69%) does not meet global threshold (100%)
> ERROR: Coverage for statements (92.15%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|-------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ----------|---------|----------|---------|---------|-------------------
> All files |   92.15 |    90.69 |     100 |     100 |                   
>  index.js |   92.15 |    90.69 |     100 |     100 | 17,19-20,45       
> ----------|---------|----------|---------|---------|-------------------
> 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-detective_5.2.0-4_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