[Pkg-javascript-devel] Bug#1009517: node-function-bind: FTBFS: ERROR: Coverage for branches (90%) does not meet global threshold (100%)

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


Source: node-function-bind
Version: 1.1.1+repacked+~1.0.3-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 --with nodejs
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> Link node_modules/has -> ../has
>    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/function-bind
> 	cd ./has && sh -ex ../debian/nodejs/has/test
> + tap -R spec test
> 
> test/index.js
> 
>   ✓ object literal does not have own property "hasOwnProperty"
> 
>   ✓ Object.prototype has own property "hasOwnProperty"
> 
>   2 passing (790.317ms)
> ----------|---------|----------|---------|---------|-------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ----------|---------|----------|---------|---------|-------------------
> All files |     100 |      100 |     100 |     100 |                   
>  index.js |     100 |      100 |     100 |     100 |                   
> ----------|---------|----------|---------|---------|-------------------
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap -R spec test/index.js
> 
> test/index.js
> 
>   ✓ should be strictly equal
> 
>   ✓ throws when given true
> 
>   ✓ throws when given false
> 
>   ✓ throws when given
> 
>   ✓ throws when given [object Object]
> 
>   ✓ throws when given 42
> 
>   ✓ throws when given foo
> 
>   ✓ throws when given NaN
> 
>   ✓ throws when given /a/g
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be strictly equal
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be strictly equal
> 
>   ✓ returned context is namespaced context
> 
>   ✓ passed arguments are correct
> 
>   ✓ returned context is namespaced context
> 
>   ✓ passed arguments are correct
> 
>   ✓ should be strictly equal
> 
>   ✓ should not be strictly equal
> 
>   ✓ result is instance of bound constructor
> 
>   ✓ result is instance of original constructor
> 
>   ✓ binds a context properly
> 
>   ✓ supplies passed arguments
> 
>   ✓ binds a context properly
> 
>   ✓ supplies bound and passed arguments
> 
>   ✓ returned context is bound context
> 
>   ✓ returned context is not lexical context
> 
>   ✓ passed arguments are correct
> 
>   ✓ returned context is bound context
> 
>   ✓ returned context is not lexical context
> 
>   ✓ passed arguments are correct
> 
>   ✓ returns the right arg when called as a constructor
> 
>   ✓ should be strictly equal
> 
>   ✓ should not be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   46 passing (820.589ms)
> ERROR: Coverage for branches (90%) does not meet global threshold (100%)
> -------------------|---------|----------|---------|---------|-------------------
> File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> -------------------|---------|----------|---------|---------|-------------------
> All files          |     100 |       90 |     100 |     100 |                   
>  implementation.js |     100 |       90 |     100 |     100 | 44                
> -------------------|---------|----------|---------|---------|-------------------
> 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-function-bind_1.1.1+repacked+~1.0.3-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