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

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


Source: node-inherits
Version: 2.0.4-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/inherits
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap -R spec test/browser.js test/builtin.js test/old.js
> 
> Transformation error for /<<PKGBUILDDIR>>/inherits_browser.js ; return original code
> Object.create is not a function
> (node:3820895) DeprecationWarning: isa() is deprecated, use type() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3820894) DeprecationWarning: isa() is deprecated, use type() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3820893) DeprecationWarning: isa() is deprecated, use type() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/browser.js
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ type is Child
> 
>   ✓ type is Parent
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ type is Child
> 
>   ✓ type is Parent
> 
>   ✓ type is function
> test/builtin.js
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ type is Child
> 
>   ✓ type is Parent
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ type is Child
> 
>   ✓ type is Parent
> 
>   ✓ type is function
> test/old.js
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ type is Child
> 
>   ✓ type is Parent
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ should be equal
> 
>   ✓ type is Child
> 
>   ✓ type is Parent
> 
>   ✓ type is function
> 
>   39 passing (1s)
> ERROR: Coverage for lines (53.33%) does not meet global threshold (100%)
> ERROR: Coverage for functions (33.33%) does not meet global threshold (100%)
> ERROR: Coverage for branches (50%) does not meet global threshold (100%)
> ERROR: Coverage for statements (53.33%) does not meet global threshold (100%)
> ---------------------|---------|----------|---------|---------|-------------------
> File                 | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ---------------------|---------|----------|---------|---------|-------------------
> All files            |   53.33 |       50 |   33.33 |   53.33 |                   
>  inherits.js         |     100 |      100 |     100 |     100 |                   
>  inherits_browser.js |   41.66 |       50 |   33.33 |   41.66 | 18-24             
> ---------------------|---------|----------|---------|---------|-------------------
> 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-inherits_2.0.4-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