[Pkg-javascript-devel] Bug#1009490: node-static-eval: FTBFS: ERROR: Coverage for statements (78.46%) does not meet global threshold (100%)

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


Source: node-static-eval
Version: 2.1.0-2
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/static-eval
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test/eval.js test/prop.js test/template-strings.js
> TAP version 13
> ok 1 - test/eval.js # time=1003.653ms {
>     # resolved
>     ok 1 should be deeply equivalent
>     # unresolved
>     ok 2 should be strictly equal
>     # boolean
>     ok 3 should be deeply equivalent
>     # array methods
>     ok 4 should be deeply equivalent
>     # array methods invocation count
>     ok 5 should be strictly equal
>     ok 6 should be deeply equivalent
>     # array methods with vars
>     ok 7 should be deeply equivalent
>     # evaluate this
>     ok 8 should be strictly equal
>     # FunctionExpression unresolved
>     ok 9 should be strictly equal
>     # MemberExpressions from Functions unresolved
>     ok 10 should be strictly equal
>     # disallow accessing constructor or __proto__
>     ok 11 should be strictly equal
>     ok 12 should be strictly equal
>     ok 13 should be strictly equal
>     ok 14 should be strictly equal
>     # constructor at runtime only
>     ok 15 should be strictly equal
>     ok 16 should be strictly equal
>     # short circuit evaluation AND
>     ok 17 should be strictly equal
>     # short circuit evaluation OR
>     ok 18 should be strictly equal
>     # function declaration does not invoke CallExpressions
>     ok 19 should be strictly equal
>     
>     1..19
>     # tests 19
>     # pass  19
>     
>     # ok
> }
> 
> ok 2 - test/prop.js # time=1034.277ms {
>     # function property
>     ok 1 should be deeply equivalent
>     
>     1..1
>     # tests 1
>     # pass  1
>     
>     # ok
> }
> 
> ok 3 - test/template-strings.js # time=991.755ms {
>     # untagged template strings
>     ok 1 should be deeply equivalent
>     # tagged template strings
>     ok 2 should be deeply equivalent
>     ok 3 should be deeply equivalent
>     ok 4 should be deeply equivalent
>     
>     1..4
>     # tests 4
>     # pass  4
>     
>     # ok
> }
> 
> 1..3
> # time=1057.012ms
> ERROR: Coverage for lines (86.39%) does not meet global threshold (100%)
> ERROR: Coverage for branches (71.89%) does not meet global threshold (100%)
> ERROR: Coverage for statements (78.46%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|---------------------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s               
> ----------|---------|----------|---------|---------|---------------------------------
> All files |   78.46 |    71.89 |     100 |   86.39 |                                 
>  index.js |   78.46 |    71.89 |     100 |   86.39 | 20,34-40,52-54,78-87,99,166,201 
> ----------|---------|----------|---------|---------|---------------------------------
> 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-static-eval_2.1.0-2_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