[Pkg-javascript-devel] Bug#1009569: node-stack-utils: FTBFS: ERROR: Coverage for statements (84.61%) does not meet global threshold (100%)

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


Source: node-stack-utils
Version: 2.0.5+~2.0.1-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
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> Link node_modules/@types/stack-utils -> ../../types-stack-utils
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../. node_modules/stack-utils
> 	/bin/sh -ex debian/tests/pkg-js/test
> + + ls test/_utils.js test/at.js test/internals.js test/long-stack-traces.js test/node-modules.js test/parse-line-fixtures.js test/test.js
> + grepgrep -v test/long-stack-traces.js
>  -v test/test.js
> + tap -J test/_utils.js test/at.js test/internals.js test/node-modules.js test/parse-line-fixtures.js
> TAP version 13
> ok 1 - test/_utils.js # time=6.611ms {
>     ok 1 - this is fine
>     1..1
>     # time=6.611ms
> }
> 
> ok 2 - test/at.js # time=14.43ms {
>     ok 1 - should match pattern provided
>     ok 2 - should match pattern provided
>     1..2
>     # time=14.43ms
> }
> 
> ok 3 - test/internals.js # time=25.792ms {
>     # Subtest: removes namespaced internal modules
>         1..1
>         ok 1 - should be equal
>     ok 1 - removes namespaced internal modules # time=15.488ms
>     
>     1..1
>     # time=25.792ms
> }
> 
> ok 4 - test/node-modules.js # time=11.841ms {
>     ok 1 - should match pattern provided
>     ok 2 - should not match pattern provided
>     ok 3 - should match pattern provided
>     ok 4 - should not match pattern provided
>     ok 5 - should match pattern provided
>     ok 6 - should not match pattern provided
>     ok 7 - should match pattern provided
>     ok 8 - should not match pattern provided
>     ok 9 - should match pattern provided
>     ok 10 - should not match pattern provided
>     ok 11 - should match pattern provided
>     ok 12 - should not match pattern provided
>     1..12
>     # time=11.841ms
> }
> 
> ok 5 - test/parse-line-fixtures.js # time=61.8ms {
>     1..74
>     ok 1 - "    at Object.[foo] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 2 - "Object.[foo] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 3 - "    at Object.<anonymous> (__dirname/generate-parse-fixture.js:420:69)"
>     ok 4 - "Object.<anonymous> (__dirname/generate-parse-fixture.js:420:69)"
>     ok 5 - "    at Module._compile (module.js:571:32)"
>     ok 6 - "Module._compile (module.js:571:32)"
>     ok 7 - "    at Object.Module._extensions..js (module.js:580:10)"
>     ok 8 - "Object.Module._extensions..js (module.js:580:10)"
>     ok 9 - "    at Module.load (module.js:488:32)"
>     ok 10 - "Module.load (module.js:488:32)"
>     ok 11 - "    at tryModuleLoad (module.js:447:12)"
>     ok 12 - "tryModuleLoad (module.js:447:12)"
>     ok 13 - "    at Function.Module._load (module.js:439:3)"
>     ok 14 - "Function.Module._load (module.js:439:3)"
>     ok 15 - "    at Module.runMain (module.js:605:10)"
>     ok 16 - "Module.runMain (module.js:605:10)"
>     ok 17 - "    at run (bootstrap_node.js:418:7)"
>     ok 18 - "run (bootstrap_node.js:418:7)"
>     ok 19 - "    at startup (bootstrap_node.js:139:9)"
>     ok 20 - "startup (bootstrap_node.js:139:9)"
>     ok 21 - "    at Object.asdf ][)( \\u0000\\u0001\\u0002\\u0003\\u001b[44;37m foo (__dirname/generate-parse-fixture.js:420:69)"
>     ok 22 - "Object.asdf ][)( \\u0000\\u0001\\u0002\\u0003\\u001b[44;37m foo (__dirname/generate-parse-fixture.js:420:69)"
>     ok 23 - "    at Object.asdf (__dirname/generate-parse-fixture.js:420:69) (__dirname/generate-parse-fixture.js:420:69)"
>     ok 24 - "Object.asdf (__dirname/generate-parse-fixture.js:420:69) (__dirname/generate-parse-fixture.js:420:69)"
>     ok 25 - "    at Object.eval (__dirname/generate-parse-fixture.js:420:69)"
>     ok 26 - "Object.eval (__dirname/generate-parse-fixture.js:420:69)"
>     ok 27 - "    at eval (eval at <anonymous> (__dirname/generate-parse-fixture.js:420:69), <anonymous>:1:5)"
>     ok 28 - "eval (eval at <anonymous> (__dirname/generate-parse-fixture.js:420:69), <anonymous>:1:5)"
>     ok 29 - "    at Object.a (s) d [f] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 30 - "Object.a (s) d [f] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 31 - "    at eval (eval at fooeval (a file with eval .js:1:23), <anonymous>:1:5)"
>     ok 32 - "eval (eval at fooeval (a file with eval .js:1:23), <anonymous>:1:5)"
>     ok 33 - "    at fooeval (a file with eval .js:1:23)"
>     ok 34 - "fooeval (a file with eval .js:1:23)"
>     ok 35 - "    at a file with eval .js:1:41"
>     ok 36 - "a file with eval .js:1:41"
>     ok 37 - "    at ContextifyScript.Script.runInContext (vm.js:32:29)"
>     ok 38 - "ContextifyScript.Script.runInContext (vm.js:32:29)"
>     ok 39 - "    at ContextifyScript.Script.runInNewContext (vm.js:38:15)"
>     ok 40 - "ContextifyScript.Script.runInNewContext (vm.js:38:15)"
>     ok 41 - "    at Object.exports.runInNewContext (vm.js:69:17)"
>     ok 42 - "Object.exports.runInNewContext (vm.js:69:17)"
>     ok 43 - "    at eval (eval at <anonymous> (a file with eval .js:1:1), <anonymous>:1:5)"
>     ok 44 - "eval (eval at <anonymous> (a file with eval .js:1:1), <anonymous>:1:5)"
>     ok 45 - "    at a file with eval .js:1:1"
>     ok 46 - "a file with eval .js:1:1"
>     ok 47 - "    at Object.function ctor (file.js:1:2)     <anonymous> (__dirname/generate-parse-fixture.js:420:69)"
>     ok 48 - "Object.function ctor (file.js:1:2)     <anonymous> (__dirname/generate-parse-fixture.js:420:69)"
>     ok 49 - "    at eval (eval at <anonymous> (__dirname/generate-parse-fixture.js:420:69), <anonymous>:3:5)"
>     ok 50 - "eval (eval at <anonymous> (__dirname/generate-parse-fixture.js:420:69), <anonymous>:3:5)"
>     ok 51 - "    at Object.[Symbol.iterator] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 52 - "Object.[Symbol.iterator] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 53 - "    at Classy.[Symbol.iterator] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 54 - "Classy.[Symbol.iterator] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 55 - "    at [some (weird) [<symbolism>]] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 56 - "[some (weird) [<symbolism>]] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 57 - "    at Object.[some (weird) [<symbolism>]] [as foo] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 58 - "Object.[some (weird) [<symbolism>]] [as foo] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 59 - "    at OtherClass.[some (weird) [<symbolism>]] [as foo] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 60 - "OtherClass.[some (weird) [<symbolism>]] [as foo] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 61 - "    at Object.a (w) [<s>] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 62 - "Object.a (w) [<s>] (__dirname/generate-parse-fixture.js:420:69)"
>     ok 63 - "    at evalmachine.<anonymous>:1:17"
>     ok 64 - "evalmachine.<anonymous>:1:17"
>     ok 65 - "    at x (     f[i](l<e>:.js:1:2)    :1:33)"
>     ok 66 - "x (     f[i](l<e>:.js:1:2)    :1:33)"
>     ok 67 - "    at      f[i](l<e>:.js:1:2)    :2:1"
>     ok 68 - "     f[i](l<e>:.js:1:2)    :2:1"
>     ok 69 - "    at new Foo (__dirname/generate-parse-fixture.js:420:69)"
>     ok 70 - "new Foo (__dirname/generate-parse-fixture.js:420:69)"
>     ok 71 - "    at arr.map.n (__dirname/generate-parse-fixture.js:420:69)"
>     ok 72 - "arr.map.n (__dirname/generate-parse-fixture.js:420:69)"
>     ok 73 - "    at Array.map (native)"
>     ok 74 - "Array.map (native)"
>     # time=61.8ms
> }
> 
> 1..5
> # time=1214.497ms
> ERROR: Coverage for lines (84.21%) does not meet global threshold (100%)
> ERROR: Coverage for functions (93.33%) does not meet global threshold (100%)
> ERROR: Coverage for branches (80.18%) does not meet global threshold (100%)
> ERROR: Coverage for statements (84.61%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|------------------------------------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                              
> ----------|---------|----------|---------|---------|------------------------------------------------
> All files |   84.61 |    80.18 |   93.33 |   84.21 |                                                
>  index.js |   84.61 |    80.18 |   93.33 |   84.21 | ...-94,103-119,124-125,131,153,164,168,194,203 
> ----------|---------|----------|---------|---------|------------------------------------------------
> 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-stack-utils_2.0.5+~2.0.1-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