[Pkg-javascript-devel] Bug#1009594: node-syntax-error: FTBFS: ERROR: Coverage for statements (89.65%) does not meet global threshold (100%)

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


Source: node-syntax-error
Version: 1.4.0+~1.4.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/syntax-error -> ../../types-syntax-error
>    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/syntax-error
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test/check.js test/esm.js test/html.js test/ok.js test/run.js test/run2.js test/shebang.js test/spread.js test/yield.js
> TAP version 13
> ok 1 - test/check.js # time=27.964ms {
>     # Subtest: check
>         ok 1 - expect truthy value
>         ok 2 - should be equal
>         ok 3 - should be equal
>         ok 4 - should be equal
>         ok 5 - expect truthy value
>         1..5
>     ok 1 - check # time=20.853ms
>     
>     1..1
>     # time=27.964ms
> }
> 
> ok 2 - test/esm.js # time=30.338ms {
>     # Subtest: esm with sourceType script
>         ok 1 - expect truthy value
>         ok 2 - should be equal
>         ok 3 - should be equal
>         ok 4 - should be equal
>         ok 5 - expect truthy value
>         1..5
>     ok 1 - esm with sourceType script # time=12.626ms
>     
>     # Subtest: esm with sourceType module
>         ok 1 - expect falsey value
>         1..1
>     ok 2 - esm with sourceType module # time=7.23ms
>     
>     1..2
>     # time=30.338ms
> }
> 
> ok 3 - test/html.js # time=13.64ms {
>     # Subtest: html
>         ok 1 - expect truthy value
>         ok 2 - should be equal
>         ok 3 - should be equal
>         ok 4 - should be equal
>         ok 5 - foo.js:1
>         1..5
>     ok 1 - html # time=8.926ms
>     
>     1..1
>     # time=13.64ms
> }
> 
> ok 4 - test/ok.js # time=16.505ms {
>     # Subtest: ok
>         ok 1 - expect falsey value
>         1..1
>     ok 1 - ok # time=9.305ms
>     
>     1..1
>     # time=16.505ms
> }
> 
> ok 5 - test/run.js # time=15.049ms {
>     # Subtest: do not run sources
>         1..1
>         ok 1 - expect falsey value
>     ok 1 - do not run sources # time=7.412ms
>     
>     1..1
>     # time=15.049ms
> }
> 
> ok 6 - test/run2.js # time=29.133ms {
>     # Subtest: do not run sources (2)
>         1..1
>         ok 1 - expect falsey value
>     ok 1 - do not run sources (2) # time=10.809ms
>     
>     1..1
>     # time=29.133ms
> }
> 
> ok 7 - test/shebang.js # time=21.096ms {
>     # Subtest: shebang
>         ok 1 - expect falsey value
>         1..1
>     ok 1 - shebang # time=14.465ms
>     
>     1..1
>     # time=21.096ms
> }
> 
> ok 8 - test/spread.js # time=14.64ms {
>     # Subtest: spread
>         ok 1 - expect falsey value
>         1..1
>     ok 1 - spread # time=7.134ms
>     
>     1..1
>     # time=14.64ms
> }
> 
> ok 9 - test/yield.js # time=19.484ms {
>     # Subtest: yield
>         ok 1 - expect falsey value
>         1..1
>     ok 1 - yield # time=4.562ms
>     
>     1..1
>     # time=19.484ms
> }
> 
> 1..9
> # time=1519.101ms
> ERROR: Coverage for lines (91.66%) does not meet global threshold (100%)
> ERROR: Coverage for functions (83.33%) does not meet global threshold (100%)
> ERROR: Coverage for branches (80%) does not meet global threshold (100%)
> ERROR: Coverage for statements (89.65%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|-------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ----------|---------|----------|---------|---------|-------------------
> All files |   89.65 |       80 |   83.33 |   91.66 |                   
>  index.js |   89.65 |       80 |   83.33 |   91.66 | 12,56             
> ----------|---------|----------|---------|---------|-------------------
> 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-syntax-error_1.4.0+~1.4.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