[Pkg-javascript-devel] Bug#1009487: node-stream-http: FTBFS: ERROR: Coverage for statements (35.65%) does not meet global threshold (100%)

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


Source: node-stream-http
Version: 3.2.0+dfsg-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
>    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/stream-http
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap -R spec test/node/http-browserify.js
> 
> test/node/http-browserify.js
> 
>   ✓ Agent defined
> 
>   ✓ ClientRequest defined
> 
>   ✓ ClientRequest.prototype defined
> 
>   ✓ IncomingMessage defined
> 
>   ✓ IncomingMessage.prototype defined
> 
>   ✓ METHODS defined
> 
>   ✓ STATUS_CODES defined
> 
>   ✓ get defined
> 
>   ✓ globalAgent defined
> 
>   ✓ request defined
> 
>   ✓ Url1 should be correct
> 
>   ✓ Url should be correct
> 
>   ✓ Url should be correct
> 
>   ✓ Url should be correct
> 
>   ✓ Url should be correct
> 
>   ✓ xhr.withCredentials should be false
> 
>   ✓ xhr.withCredentials should be true
> 
>   ✓ xhr.withCredentials should be false
> 
>   ✓ Url should be correct
> 
>   ✓ Url should be correct
> 
>   20 passing (958.347ms)
> ERROR: Coverage for lines (35.67%) does not meet global threshold (100%)
> ERROR: Coverage for functions (19.64%) does not meet global threshold (100%)
> ERROR: Coverage for branches (29.24%) does not meet global threshold (100%)
> ERROR: Coverage for statements (35.65%) does not meet global threshold (100%)
> ---------------------------------|---------|----------|---------|---------|-------------------------
> File                             | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s       
> ---------------------------------|---------|----------|---------|---------|-------------------------
> All files                        |   35.65 |    29.24 |   19.64 |   35.67 |                         
>  node-stream-http-3.2.0+dfsg     |     100 |    95.83 |     100 |     100 |                         
>   index.js                       |     100 |    95.83 |     100 |     100 | 37                      
>  node-stream-http-3.2.0+dfsg/lib |   29.26 |    20.74 |   15.09 |   29.22 |                         
>   capability.js                  |      84 |       75 |     100 |   86.95 | 23-27,39                
>   request.js                     |   38.54 |    22.64 |   15.15 |   38.54 | ...-303,309-310,317-323 
>   response.js                    |    5.92 |        0 |       0 |    5.97 | 14-134,142-147,152-209  
> ---------------------------------|---------|----------|---------|---------|-------------------------
> 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-stream-http_3.2.0+dfsg-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