[Pkg-javascript-devel] Bug#1009542: node-libravatar: FTBFS: ERROR: Coverage for statements (80.19%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:19:51 BST 2022
Source: node-libravatar
Version: 3.0.0-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/libravatar
> /bin/sh -ex debian/tests/pkg-js/test
> + tap tests/federation.js tests/url.js
> TAP version 13
> ok 1 - tests/federation.js # time=26.174ms {
> # Subtest: sanitization of invalid SRV responses
> ok 1 - both parameters missing
> ok 2 - first parameter missing
> ok 3 - second parameter missing
> ok 4 - port too small
> ok 5 - port too big
> ok 6 - invalid hostname
> ok 7 - invalid port
> 1..7
> ok 1 - sanitization of invalid SRV responses # time=5.915ms
>
> # Subtest: sanitization of valid SRV responses
> ok 1 - normal http
> ok 2 - normal https
> ok 3 - weird http
> ok 4 - weird https
> 1..4
> ok 2 - sanitization of valid SRV responses # time=1.491ms
>
> # Subtest: ordering of invalid SRV hostnames
> ok 1 - empty array [0]
> ok 2 - empty array [1]
> ok 3 - single empty array [0]
> ok 4 - single empty array [1]
> 1..4
> ok 3 - ordering of invalid SRV hostnames # time=1.166ms
>
> # Subtest: ordering of valid SRV hostnames on priority
> ok 1 - single hostname [0]
> ok 2 - single hostname [1]
> ok 3 - two hostnames [0]
> ok 4 - two hostnames [1]
> ok 5 - four hostnames [0]
> ok 6 - four hostnames [1]
> 1..6
> ok 4 - ordering of valid SRV hostnames on priority # time=1.42ms
>
> # Subtest: ordering of valid SRV hostnames on weight
> ok 1 - random 1 [0]
> ok 2 - random 1 [1]
> ok 3 - random 2 [0]
> ok 4 - random 2 [1]
> ok 5 - random 3 [0]
> ok 6 - random 3 [1]
> ok 7 - random 4 [0]
> ok 8 - random 4 [1]
> ok 9 - random 5 [0]
> ok 10 - random 5 [1]
> 1..10
> ok 5 - ordering of valid SRV hostnames on weight # time=1.848ms
>
> # Subtest: ordering of valid SRV hostnames on weight
> ok 1 - degenerate case
> ok 2 - simple domain over http
> ok 3 - simple domain over https
> ok 4 - longer domain over http
> 1..4
> ok 6 - ordering of valid SRV hostnames on weight # time=0.9ms
>
> 1..6
> # time=26.174ms
> }
>
> ok 2 - tests/url.js # time=24.161ms {
> # Subtest: parsing of user identity
> ok 1 - both parameters missing [0]
> ok 2 - both parameters missing [1]
> ok 3 - both parameters supplied [0]
> ok 4 - both parameters supplied [1]
> ok 5 - standard email [0]
> ok 6 - standard email [1]
> ok 7 - standard openid [0]
> ok 8 - standard openid [1]
> 1..8
> ok 1 - parsing of user identity # time=7.286ms
>
> # Subtest: parsing of email address
> ok 1 - empty email [0]
> ok 2 - empty email [1]
> ok 3 - missing hostname [0]
> ok 4 - missing hostname [1]
> ok 5 - uppercase username [0]
> ok 6 - uppercase username [1]
> ok 7 - mixed-case username and hostname [0]
> ok 8 - mixed-case username and hostname [1]
> ok 9 - untrimmed email [0]
> ok 10 - untrimmed email [1]
> 1..10
> ok 2 - parsing of email address # time=1.905ms
>
> # Subtest: parsing of openid urls
> ok 1 - empty openid [0]
> ok 2 - empty openid [1]
> ok 3 - invalid url [0]
> ok 4 - invalid url [1]
> ok 5 - mixed-case hostname [0]
> ok 6 - mixed-case hostname [1]
> ok 7 - uppercase scheme [0]
> ok 8 - uppercase scheme [1]
> ok 9 - lowercase basic auth [0]
> ok 10 - lowercase basic auth [1]
> ok 11 - mixed-case basic auth [0]
> ok 12 - mixed-case basic auth [1]
> ok 13 - sub-domain [0]
> ok 14 - sub-domain [1]
> ok 15 - https [0]
> ok 16 - https [1]
> ok 17 - uppercase path [0]
> ok 18 - uppercase path [1]
> 1..18
> ok 3 - parsing of openid urls # time=3.482ms
>
> # Subtest: parsing of openid urls
> ok 1 - degenerate http case
> ok 2 - degenerate https case
> ok 3 - simple http hash
> ok 4 - federated http hash
> ok 5 - federated https hash with size
> ok 6 - common https hash with default
> 1..6
> ok 4 - parsing of openid urls # time=1.192ms
>
> 1..4
> # time=24.161ms
> }
>
> 1..2
> # time=1347.598ms
> ERROR: Coverage for lines (80.8%) does not meet global threshold (100%)
> ERROR: Coverage for functions (54.54%) does not meet global threshold (100%)
> ERROR: Coverage for branches (84.61%) does not meet global threshold (100%)
> ERROR: Coverage for statements (80.19%) does not meet global threshold (100%)
> ---------------|---------|----------|---------|---------|-----------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ---------------|---------|----------|---------|---------|-----------------------
> All files | 80.19 | 84.61 | 54.54 | 80.8 |
> libravatar.js | 80.19 | 84.61 | 54.54 | 80.8 | 91-95,193-199,205-221
> ---------------|---------|----------|---------|---------|-----------------------
> 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-libravatar_3.0.0-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