[Pkg-javascript-devel] Bug#1009488: node-foreground-child: FTBFS: ERROR: Coverage for statements (98.11%) does not meet global threshold (100%)

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


Source: node-foreground-child
Version: 2.0.0-3
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/foreground-child
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap -t 300 test/basic.js
> TAP version 13
> # Subtest: test/basic.js
>     # Subtest: signals
>         # Subtest: SIGTERM
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 1 - SIGTERM # time=583.137ms
>         
>         # Subtest: SIGHUP
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 2 - SIGHUP # time=618.522ms
>         
>         # Subtest: SIGKILL
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 3 - SIGKILL # time=557.89ms
>         
>         1..3
>     ok 1 - signals # time=1769.009ms
>     
>     # Subtest: exit codes
>         # Subtest: 0
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 1 - 0 # time=559.448ms
>         
>         # Subtest: 1
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 2 - 1 # time=563.647ms
>         
>         # Subtest: 2
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 3 - 2 # time=574.552ms
>         
>         1..3
>     ok 2 - exit codes # time=1704.162ms
>     
>     # Subtest: parent emits exit when SIGTERMed
>         # Subtest: SIGTERM parent
>             ok 1 - should be equal
>             ok 2 - should be equal
>             1..2
>         ok 1 - SIGTERM parent # time=293.058ms
>         
>         # Subtest: SIGTERM child
>             ok 1 - should be equal
>             ok 2 - should be equal
>             1..2
>         ok 2 - SIGTERM child # time=289.032ms
>         
>         # Subtest: SIGTERM nobody
>             ok 1 - should be equal
>             ok 2 - should be equal
>             1..2
>         ok 3 - SIGTERM nobody # time=324.721ms
>         
>         1..3
>     ok 3 - parent emits exit when SIGTERMed # time=914.565ms
>     
>     # Subtest: beforeExitHandler
>         # Subtest: 0
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 1 - 0 # time=572.143ms
>         
>         # Subtest: 1
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 2 - 1 # time=574.834ms
>         
>         # Subtest: 2
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 3 - 2 # time=586.912ms
>         
>         1..3
>     ok 4 - beforeExitHandler # time=1740.642ms
>     
>     # Subtest: promiseExitHandler
>         # Subtest: 0
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 1 - 0 # time=595.992ms
>         
>         # Subtest: 1
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 2 - 1 # time=616.807ms
>         
>         # Subtest: 2
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 3 - 2 # time=586.806ms
>         
>         1..3
>     ok 5 - promiseExitHandler # time=1804.7ms
>     
>     # Subtest: beforeExitHandleDoubleDone
>         # Subtest: 0
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 1 - 0 # time=613.872ms
>         
>         # Subtest: 1
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 2 - 1 # time=575.273ms
>         
>         # Subtest: 2
>             1..3
>             ok 1 - should be equal
>             ok 2 - should be equal
>             ok 3 - should be equal
>         ok 3 - 2 # time=569.665ms
>         
>         1..3
>     ok 6 - beforeExitHandleDoubleDone # time=1763.999ms
>     
>     # Subtest: IPC forwarding
>         1..5
>         ok 1 - should be equal
>         ok 2 - should be equal
>         ok 3 - should be equal
>         ok 4 - should be equal
>         ok 5 - should be equal
>     ok 7 - IPC forwarding # time=587.742ms
>     
>     1..7
>     # time=10291.252ms
> ok 1 - test/basic.js # time=10291.252ms
> 
> 1..1
> # time=11016.484ms
> ERROR: Coverage for lines (98.03%) does not meet global threshold (100%)
> ERROR: Coverage for branches (90%) does not meet global threshold (100%)
> ERROR: Coverage for statements (98.11%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|-------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ----------|---------|----------|---------|---------|-------------------
> All files |   98.11 |       90 |     100 |   98.03 |                   
>  index.js |   98.11 |       90 |     100 |   98.03 | 26                
> ----------|---------|----------|---------|---------|-------------------
> 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-foreground-child_2.0.0-3_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