[Pkg-javascript-devel] Bug#1009497: node-ansi-color-table: FTBFS: ERROR: Coverage for statements (98.63%) does not meet global threshold (100%)

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


Source: node-ansi-color-table
Version: 1.0.1-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/ansi-color-table
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap -J test/cells.js test/padsegments.js
> TAP version 13
> ok 1 - test/cells.js # time=22.65ms {
>     # Subtest: Read content from random cells
>         1..2
>     write
>     writeUsername
>         ok 1 - (unnamed test)
>     write     
>     write  
>     write
>     writeEmail
>     write                      
>     write  
>     write
>     writeactive
>     write
>     write
>         
>     write
>     writejohn.smith
>     write   
>     write  
>     write
>     writejohn at gimail.com
>     write            
>     write  
>     write
>     writeyes
>     write   
>     write
>         
>     write
>     writesteve.balmes
>     write 
>     write  
>     write
>     writesbalmes at hotma.il
>     write           
>     write  
>     write
>     writeyes
>     write   
>     write
>         
>     write
>     writejames.durango
>     write
>     write  
>     write
>     writejames.durango at greenvine.com
>     write
>     write  
>     write
>     writeno
>     write    
>     write
>         
>     write
>     writeelisa.polite
>     write 
>     write  
>     write
>     writeepolite at 1234.com
>         ok 2 - (unnamed test)
>     write           
>     write  
>     write
>     writeyes
>     write   
>     write
>         
>     ok 1 - Read content from random cells # time=11.604ms
>     
>     1..1
>     # time=22.65ms
> }
> 
> ok 2 - test/padsegments.js # time=25.627ms {
>     # Subtest: Left align
>         ok 1 - should be equal
>         ok 2 - should be equal
>         ok 3 - should be equal
>         ok 4 - should be equal
>         1..4
>     ok 1 - Left align # time=5.523ms
>     
>     # Subtest: Right align
>         ok 1 - should be equal
>         ok 2 - should be equal
>         1..2
>     ok 2 - Right align # time=1.061ms
>     
>     # Subtest: Center align
>         ok 1 - should be equal
>         ok 2 - should be equal
>         ok 3 - should be equal
>         ok 4 - should be equal
>         1..4
>     ok 3 - Center align # time=0.97ms
>     
>     # Subtest: String bigger than demanded pad
>         ok 1 - should be equal
>         ok 2 - should be equal
>         1..2
>     ok 4 - String bigger than demanded pad # time=0.682ms
>     
>     # Subtest: Custom padChar
>         ok 1 - should be equal
>         ok 2 - should be equal
>         1..2
>     ok 5 - Custom padChar # time=0.782ms
>     
>     # Subtest: Custom padChar discard extra-chars
>         ok 1 - should be equal
>         ok 2 - should be equal
>         1..2
>     ok 6 - Custom padChar discard extra-chars # time=0.846ms
>     
>     1..6
>     # time=25.627ms
> }
> 
> 1..2
> # time=990.748ms
> ERROR: Coverage for branches (79.48%) does not meet global threshold (100%)
> ERROR: Coverage for statements (98.63%) does not meet global threshold (100%)
> ---------------------------------|---------|----------|---------|---------|-------------------
> File                             | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ---------------------------------|---------|----------|---------|---------|-------------------
> All files                        |   98.63 |    79.48 |     100 |     100 |                   
>  node-ansi-color-table-1.0.1     |   98.07 |    73.33 |     100 |     100 |                   
>   index.js                       |   98.07 |    73.33 |     100 |     100 | 38-50,71,89       
>  node-ansi-color-table-1.0.1/lib |     100 |      100 |     100 |     100 |                   
>   padsegments.js                 |     100 |      100 |     100 |     100 |                   
> ---------------------------------|---------|----------|---------|---------|-------------------
> 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-ansi-color-table_1.0.1-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