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

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


Source: node-invariant
Version: 2.2.4-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/invariant -> ../../types-invariant
>    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/invariant
> 	/bin/sh -ex debian/tests/pkg-js/test
> + NODE_ENV=production tap test/test.js
> TAP version 13
> ok 1 - test/test.js # time=395.807ms {
>     # Subtest: node
>         1..4
>         ok 1 - expected to not throw
>         ok 2 - expected to throw
>         ok 3 - expected to not throw
>         ok 4 - expected to throw
>     ok 1 - node # time=390.236ms
>     
>     1..1
>     # time=395.807ms
> }
> 
> 1..1
> # time=817.515ms
> ERROR: Coverage for lines (81.25%) does not meet global threshold (100%)
> ERROR: Coverage for functions (50%) does not meet global threshold (100%)
> ERROR: Coverage for branches (62.5%) does not meet global threshold (100%)
> ERROR: Coverage for statements (81.25%) does not meet global threshold (100%)
> --------------|---------|----------|---------|---------|-------------------
> File          | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> --------------|---------|----------|---------|---------|-------------------
> All files     |   81.25 |     62.5 |      50 |   81.25 |                   
>  invariant.js |   81.25 |     62.5 |      50 |   81.25 | 25-26,41          
> --------------|---------|----------|---------|---------|-------------------
> 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-invariant_2.2.4-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