[Pkg-javascript-devel] Bug#1009521: node-nopt: FTBFS: ERROR: Coverage for statements (87.95%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:20:05 BST 2022
Source: node-nopt
Version: 5.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/nopt
> /bin/sh -ex debian/tests/pkg-js/test
> + tap test/basic.js
> TAP version 13
> (node:2045633) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 1 - test/basic.js # time=93.823ms {
> # Subtest: empty array is fine if type includes Array
> ok 1 - should be equivalent
> 1..1
> ok 1 - empty array is fine if type includes Array # time=8.663ms
>
> # Subtest: passing a string results in a string
> ok 1 - should be equivalent
> 1..1
> ok 2 - passing a string results in a string # time=3.536ms
>
> # Subtest: Empty String results in empty string, not true
> ok 1 - should be equivalent
> 1..1
> ok 3 - Empty String results in empty string, not true # time=1.199ms
>
> # Subtest: Empty String should not swallow next flag
> ok 1 - should be equivalent
> ok 2 - should be equivalent
> 1..2
> ok 4 - Empty String should not swallow next flag # time=1.593ms
>
> # Subtest: Empty String should not be true when type is single item Array
> ok 1 - should be equivalent
> 1..1
> ok 5 - Empty String should not be true when type is single item Array # time=1.798ms
>
> # Subtest: ~ path is resolved to $HOME
> ok 1 - should be equivalent
> 1..1
> ok 6 - ~ path is resolved to $HOME # time=1.296ms
>
> # Subtest: Unknown options are not parsed as numbers
> ok 1 - should be equal
> ok 2 - should be equal
> 1..2
> ok 7 - Unknown options are not parsed as numbers # time=1.321ms
>
> # Subtest: Check types based on name of type
> ok 1 - should be equal
> 1..1
> ok 8 - Check types based on name of type # time=0.665ms
>
> # Subtest: Missing types are not parsed
> ok 1 - should be equal
> 1..1
> ok 9 - Missing types are not parsed # time=0.637ms
>
> # Subtest: Types passed without a name are not parsed
> ok 1 - should be equal
> 1..1
> ok 10 - Types passed without a name are not parsed # time=0.579ms
>
> # Subtest: other tests
> ok 1 - should be equal
> ok 2 - should be equivalent
> ok 3 - should be equal
> ok 4 - should be equivalent
> ok 5 - should be equal
> ok 6 - should be equal
> ok 7 - should be equivalent
> ok 8 - should be equal
> ok 9 - should be equivalent
> ok 10 - should be equivalent
> ok 11 - should be equal
> ok 12 - should be equivalent
> ok 13 - should be equal
> ok 14 - should be equivalent
> ok 15 - should be equal
> ok 16 - should be equivalent
> ok 17 - should be equal
> ok 18 - should be equivalent
> ok 19 - should be equal
> ok 20 - should be equivalent
> ok 21 - should be equal
> ok 22 - should be equal
> ok 23 - should be equivalent
> ok 24 - should be equal
> ok 25 - should be equivalent
> ok 26 - should be equal
> ok 27 - should be equivalent
> ok 28 - should be equal
> ok 29 - should be equal
> ok 30 - should be equivalent
> ok 31 - should be equal
> ok 32 - should be equal
> ok 33 - should be equivalent
> ok 34 - should be equivalent
> ok 35 - should be equal
> ok 36 - should be equivalent
> ok 37 - should be equal
> ok 38 - should be equivalent
> ok 39 - should be equal
> ok 40 - should be equivalent
> ok 41 - should be equal
> ok 42 - should be equivalent
> ok 43 - should be equal
> ok 44 - should be equivalent
> ok 45 - should be equal
> ok 46 - should be equal
> ok 47 - should be equal
> ok 48 - should be equal
> ok 49 - should be equal
> ok 50 - should be equal
> ok 51 - should be equal
> ok 52 - should be equal
> ok 53 - should be equal
> ok 54 - should be equal
> ok 55 - should be equal
> ok 56 - should be equivalent
> ok 57 - should be equal
> ok 58 - should be equivalent
> ok 59 - should be equal
> ok 60 - should be equivalent
> ok 61 - should be equal
> ok 62 - should be equivalent
> ok 63 - should be equal
> ok 64 - should be equivalent
> ok 65 - should be equal
> ok 66 - should be equivalent
> ok 67 - should be equal
> ok 68 - should be equivalent
> ok 69 - should be equal
> ok 70 - should be equivalent
> ok 71 - should be equal
> ok 72 - should be equivalent
> ok 73 - should be equal
> ok 74 - should be equivalent
> ok 75 - should be equal
> ok 76 - should be equivalent
> ok 77 - should be equal
> ok 78 - should be equivalent
> ok 79 - should be equal
> ok 80 - should be equivalent
> ok 81 - should be equal
> ok 82 - should be equal
> ok 83 - should be equivalent
> ok 84 - should be equal
> ok 85 - should be equivalent
> ok 86 - should be equal
> ok 87 - should be equivalent
> ok 88 - should be equal
> ok 89 - should be equivalent
> ok 90 - should be equal
> ok 91 - should be equivalent
> ok 92 - should be equal
> ok 93 - should be equivalent
> ok 94 - should be equal
> ok 95 - should be equivalent
> 1..95
> ok 11 - other tests # time=38.915ms
>
> 1..11
> # time=93.823ms
> }
>
> 1..1
> # time=1463.803ms
> ERROR: Coverage for lines (89.38%) does not meet global threshold (100%)
> ERROR: Coverage for functions (91.3%) does not meet global threshold (100%)
> ERROR: Coverage for branches (81.77%) does not meet global threshold (100%)
> ERROR: Coverage for statements (87.95%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|------------------------------------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ----------|---------|----------|---------|---------|------------------------------------------------
> All files | 87.95 | 81.77 | 91.3 | 89.38 |
> nopt.js | 87.95 | 81.77 | 91.3 | 89.38 | ...339,344-345,348-349,369-370,399,430,434,438
> ----------|---------|----------|---------|---------|------------------------------------------------
> 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-nopt_5.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