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

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


Source: node-buffer
Version: 6.0.3-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/buffer
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap -R spec test/base64.js test/basic.js test/compare.js test/constructor.js test/from-string.js test/is-buffer.js test/methods.js test/slice.js test/static.js test/to-string.js test/write.js test/write_infinity.js
> 
> test/base64.js
> 
>   ✓ 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 deeply equivalent
> test/basic.js
> 
>   ✓ should be truthy
> 
>   ✓ should be truthy
> 
>   ✓ 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
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> test/compare.js
> 
>   ✓ 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 throw
> 
>   ✓ should throw
> 
>   ✓ should throw
> 
>   ✓ should be truthy
> 
>   ✓ should be truthy
> 
>   ✓ should be truthy
> 
>   ✓ should throw
> test/constructor.js
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be truthy
> test/from-string.js
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> test/is-buffer.js
> 
>   ✓ new Buffer(4)
> 
>   ✓ undefined
> 
>   ✓ null
> 
>   ✓ empty string
> 
>   ✓ true
> 
>   ✓ false
> 
>   ✓ 0
> 
>   ✓ 1
> 
>   ✓ 1.0
> 
>   ✓ string
> 
>   ✓ {}
> 
>   ✓ function foo () {}
> test/methods.js
> 
>   ✓ should be deeply equivalent
> 
>   ✓ 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 deeply equivalent
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be deeply equivalent
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> test/slice.js
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> test/static.js
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> test/to-string.js
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ should be strictly equal
> test/write.js
> 
>   ✓ should be strictly equal
> 
>   ✓ should be strictly equal
> 
>   ✓ should throw
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ 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
> 
>   ✓ 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
> test/write_infinity.js
> 
>   ✓ 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
> 
>   280 passing (4s)
> ERROR: Coverage for lines (60.79%) does not meet global threshold (100%)
> ERROR: Coverage for functions (63.9%) does not meet global threshold (100%)
> ERROR: Coverage for branches (56.57%) does not meet global threshold (100%)
> ERROR: Coverage for statements (60.25%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|------------------------------------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                              
> ----------|---------|----------|---------|---------|------------------------------------------------
> All files |   60.25 |    56.57 |    63.9 |   60.79 |                                                
>  index.js |   60.25 |    56.57 |    63.9 |   60.79 | ...848-1852,1856,1860-1930,1975-1976,2027,2105 
> ----------|---------|----------|---------|---------|------------------------------------------------
> 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-buffer_6.0.3-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