[Pkg-javascript-devel] Bug#1009544: node-combine-source-map: FTBFS: ERROR: Coverage for statements (93.44%) does not meet global threshold (100%)

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


Source: node-combine-source-map
Version: 0.8.0+ds-7
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/combine-source-map
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test/combine-source-map.js
> TAP version 13
> (node:261468) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 1 - test/combine-source-map.js # time=108.757ms {
>     # Subtest: add one file with inlined source
>         ok 1 - all generated lines are offset properly and columns unchanged
>         ok 2 - all original lines and columns are unchanged
>         ok 3 - includes the original source
>         ok 4 - includes original filename
>         1..4
>     ok 1 - add one file with inlined source # time=46.326ms
>     
>     # Subtest: add one file without inlined source
>         ok 1 - includes the generated source
>         ok 2 - includes generated filename
>         ok 3 - generates mappings offset by the given line
>         1..3
>     ok 2 - add one file without inlined source # time=13.806ms
>     
>     # Subtest: add one file with inlined sources from multiple files
>         ok 1 - include the correct source
>         ok 2 - include the correct source file content
>         ok 3 - should properly map multiple files
>         1..3
>     ok 3 - add one file with inlined sources from multiple files # time=7.594ms
>     
>     # Subtest: relative path from multiple files
>         ok 1 - include the correct source
>         ok 2 - include the correct source file content
>         ok 3 - should properly map multiple files
>         1..3
>     ok 4 - relative path from multiple files # time=6.142ms
>     
>     # Subtest: relative path when source and file name are the same
>         ok 1 - include the correct source
>         ok 2 - should properly map multiple files
>         1..2
>     ok 5 - relative path when source and file name are the same # time=2.22ms
>     
>     # Subtest: remove comments
>         ok 1 - should be equal
>         ok 2 - should be equal
>         ok 3 - should be equal
>         ok 4 - should be equal
>         1..4
>     ok 6 - remove comments # time=1.587ms
>     
>     1..6
>     # time=108.757ms
> }
> 
> 1..1
> # time=1067.475ms
> ERROR: Coverage for lines (96.29%) does not meet global threshold (100%)
> ERROR: Coverage for functions (93.33%) does not meet global threshold (100%)
> ERROR: Coverage for branches (78.78%) does not meet global threshold (100%)
> ERROR: Coverage for statements (93.44%) does not meet global threshold (100%)
> --------------------------------------|---------|----------|---------|---------|-------------------
> File                                  | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> --------------------------------------|---------|----------|---------|---------|-------------------
> All files                             |   93.44 |    78.78 |   93.33 |   96.29 |                   
>  node-combine-source-map-0.8.0+ds     |   92.59 |    82.75 |    92.3 |   95.74 |                   
>   index.js                            |   92.59 |    82.75 |    92.3 |   95.74 | 31,134            
>  node-combine-source-map-0.8.0+ds/lib |     100 |       50 |     100 |     100 |                   
>   mappings-from-map.js                |     100 |       50 |     100 |     100 | 16-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-combine-source-map_0.8.0+ds-7_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