[Pkg-javascript-devel] Bug#1009541: node-lexical-scope: FTBFS: ERROR: Coverage for statements (91.11%) does not meet global threshold (100%)

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


Source: node-lexical-scope
Version: 1.2.0+dfsg1-5
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/lexical-scope
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test/argument.js test/assign_implicit.js test/detect.js test/labels.js test/multiple-exports.js test/named_arg.js test/obj.js test/props.js test/return_hash.js test/right_hand.js test/shebang.js test/try_catch.js
> TAP version 13
> ok 1 - test/argument.js # time=1508.04ms {
>     # parameters from inline arguments
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 2 - test/assign_implicit.js # time=1496.997ms {
>     # assign from an implicit global
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 3 - test/detect.js # time=1504.281ms {
>     # check locals and globals
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 4 - test/labels.js # time=1489.325ms {
>     # globals on the right-hand of a colon in an object literal
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 5 - test/multiple-exports.js # time=1478.016ms {
>     # multiple-exports
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 6 - test/named_arg.js # time=1507.23ms {
>     # named argument parameter
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 7 - test/obj.js # time=1495.042ms {
>     # globals on the right-hand of a colon in an object literal
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 8 - test/props.js # time=1515.041ms {
>     # implicit props: call
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     # implicit props: isBuffer
>     ok 4 should be deeply equivalent
>     ok 5 should be deeply equivalent
>     ok 6 should be deeply equivalent
>     # implicit props: var
>     ok 7 should be deeply equivalent
>     ok 8 should be deeply equivalent
>     ok 9 should be deeply equivalent
>     
>     1..9
>     # tests 9
>     # pass  9
>     
>     # ok
> }
> 
> ok 9 - test/return_hash.js # time=365.937ms {
>     # return hash
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 10 - test/right_hand.js # time=349.46ms {
>     # globals on the right-hand of assignment
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 11 - test/shebang.js # time=359.382ms {
>     # shebangs
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 12 - test/try_catch.js # time=360.766ms {
>     # the exception in a try catch block is a local
>     ok 1 should be deeply equivalent
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> 1..12
> # time=1887.377ms
> ERROR: Coverage for lines (93.69%) does not meet global threshold (100%)
> ERROR: Coverage for functions (81.81%) does not meet global threshold (100%)
> ERROR: Coverage for branches (91.83%) does not meet global threshold (100%)
> ERROR: Coverage for statements (91.11%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|---------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s   
> ----------|---------|----------|---------|---------|---------------------
> All files |   91.11 |    91.83 |   81.81 |   93.69 |                     
>  index.js |   91.11 |    91.83 |   81.81 |   93.69 | 179,183-185,190-193 
> ----------|---------|----------|---------|---------|---------------------
> 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-lexical-scope_1.2.0+dfsg1-5_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