[Pkg-javascript-devel] Bug#1009504: node-create-hmac: FTBFS: ERROR: Coverage for statements (97.1%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:18:36 BST 2022
Source: node-create-hmac
Version: 1.1.7+~1.1.0-1
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
> Link node_modules/@types/create-hmac -> ../../types-create-hmac
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
> dh_auto_test --buildsystem=nodejs
> ln -s ../. node_modules/create-hmac
> /bin/sh -ex debian/tests/pkg-js/test
> + tap test.js
> TAP version 13
> ok 1 - test.js # time=1077.956ms {
> # hmac(sha1) w/ 486920... as undefined
> ok 1 should be strictly equal
> # hmac(sha1) w/ 486920... as base64
> ok 2 should be strictly equal
> # hmac(sha1) w/ 486920... as hex
> ok 3 should be strictly equal
> # hmac(sha1) w/ 486920... as binary
> ok 4 should be strictly equal
> # hmac(sha1) w/ 776861... as undefined
> ok 5 should be strictly equal
> # hmac(sha1) w/ 776861... as base64
> ok 6 should be strictly equal
> # hmac(sha1) w/ 776861... as hex
> ok 7 should be strictly equal
> # hmac(sha1) w/ 776861... as binary
> ok 8 should be strictly equal
> # hmac(sha1) w/ dddddd... as undefined
> ok 9 should be strictly equal
> # hmac(sha1) w/ dddddd... as base64
> ok 10 should be strictly equal
> # hmac(sha1) w/ dddddd... as hex
> ok 11 should be strictly equal
> # hmac(sha1) w/ dddddd... as binary
> ok 12 should be strictly equal
> # hmac(sha1) w/ cdcdcd... as undefined
> ok 13 should be strictly equal
> # hmac(sha1) w/ cdcdcd... as base64
> ok 14 should be strictly equal
> # hmac(sha1) w/ cdcdcd... as hex
> ok 15 should be strictly equal
> # hmac(sha1) w/ cdcdcd... as binary
> ok 16 should be strictly equal
> # hmac(sha1) w/ 546573... as undefined
> ok 17 should be strictly equal
> # hmac(sha1) w/ 546573... as base64
> ok 18 should be strictly equal
> # hmac(sha1) w/ 546573... as hex
> ok 19 should be strictly equal
> # hmac(sha1) w/ 546573... as binary
> ok 20 should be strictly equal
> # hmac(sha1) w/ 546869... as undefined
> ok 21 should be strictly equal
> # hmac(sha1) w/ 546869... as base64
> ok 22 should be strictly equal
> # hmac(sha1) w/ 546869... as hex
> ok 23 should be strictly equal
> # hmac(sha1) w/ 546869... as binary
> ok 24 should be strictly equal
> # hmac(sha1) as stream w/ 486920...
> ok 25 should be strictly equal
> # hmac(sha1) as stream w/ 776861...
> ok 26 should be strictly equal
> # hmac(sha1) as stream w/ dddddd...
> ok 27 should be strictly equal
> # hmac(sha1) as stream w/ cdcdcd...
> ok 28 should be strictly equal
> # hmac(sha1) as stream w/ 546573...
> ok 29 should be strictly equal
> # hmac(sha1) as stream w/ 546869...
> ok 30 should be strictly equal
> # hmac(sha224) w/ 486920... as undefined
> ok 31 should be strictly equal
> # hmac(sha224) w/ 486920... as base64
> ok 32 should be strictly equal
> # hmac(sha224) w/ 486920... as hex
> ok 33 should be strictly equal
> # hmac(sha224) w/ 486920... as binary
> ok 34 should be strictly equal
> # hmac(sha224) w/ 776861... as undefined
> ok 35 should be strictly equal
> # hmac(sha224) w/ 776861... as base64
> ok 36 should be strictly equal
> # hmac(sha224) w/ 776861... as hex
> ok 37 should be strictly equal
> # hmac(sha224) w/ 776861... as binary
> ok 38 should be strictly equal
> # hmac(sha224) w/ dddddd... as undefined
> ok 39 should be strictly equal
> # hmac(sha224) w/ dddddd... as base64
> ok 40 should be strictly equal
> # hmac(sha224) w/ dddddd... as hex
> ok 41 should be strictly equal
> # hmac(sha224) w/ dddddd... as binary
> ok 42 should be strictly equal
> # hmac(sha224) w/ cdcdcd... as undefined
> ok 43 should be strictly equal
> # hmac(sha224) w/ cdcdcd... as base64
> ok 44 should be strictly equal
> # hmac(sha224) w/ cdcdcd... as hex
> ok 45 should be strictly equal
> # hmac(sha224) w/ cdcdcd... as binary
> ok 46 should be strictly equal
> # hmac(sha224) w/ 546573... as undefined
> ok 47 should be strictly equal
> # hmac(sha224) w/ 546573... as base64
> ok 48 should be strictly equal
> # hmac(sha224) w/ 546573... as hex
> ok 49 should be strictly equal
> # hmac(sha224) w/ 546573... as binary
> ok 50 should be strictly equal
> # hmac(sha224) w/ 546869... as undefined
> ok 51 should be strictly equal
> # hmac(sha224) w/ 546869... as base64
> ok 52 should be strictly equal
> # hmac(sha224) w/ 546869... as hex
> ok 53 should be strictly equal
> # hmac(sha224) w/ 546869... as binary
> ok 54 should be strictly equal
> # hmac(sha224) as stream w/ 486920...
> ok 55 should be strictly equal
> # hmac(sha224) as stream w/ 776861...
> ok 56 should be strictly equal
> # hmac(sha224) as stream w/ dddddd...
> ok 57 should be strictly equal
> # hmac(sha224) as stream w/ cdcdcd...
> ok 58 should be strictly equal
> # hmac(sha224) as stream w/ 546573...
> ok 59 should be strictly equal
> # hmac(sha224) as stream w/ 546869...
> ok 60 should be strictly equal
> # hmac(sha256) w/ 486920... as undefined
> ok 61 should be strictly equal
> # hmac(sha256) w/ 486920... as base64
> ok 62 should be strictly equal
> # hmac(sha256) w/ 486920... as hex
> ok 63 should be strictly equal
> # hmac(sha256) w/ 486920... as binary
> ok 64 should be strictly equal
> # hmac(sha256) w/ 776861... as undefined
> ok 65 should be strictly equal
> # hmac(sha256) w/ 776861... as base64
> ok 66 should be strictly equal
> # hmac(sha256) w/ 776861... as hex
> ok 67 should be strictly equal
> # hmac(sha256) w/ 776861... as binary
> ok 68 should be strictly equal
> # hmac(sha256) w/ dddddd... as undefined
> ok 69 should be strictly equal
> # hmac(sha256) w/ dddddd... as base64
> ok 70 should be strictly equal
> # hmac(sha256) w/ dddddd... as hex
> ok 71 should be strictly equal
> # hmac(sha256) w/ dddddd... as binary
> ok 72 should be strictly equal
> # hmac(sha256) w/ cdcdcd... as undefined
> ok 73 should be strictly equal
> # hmac(sha256) w/ cdcdcd... as base64
> ok 74 should be strictly equal
> # hmac(sha256) w/ cdcdcd... as hex
> ok 75 should be strictly equal
> # hmac(sha256) w/ cdcdcd... as binary
> ok 76 should be strictly equal
> # hmac(sha256) w/ 546573... as undefined
> ok 77 should be strictly equal
> # hmac(sha256) w/ 546573... as base64
> ok 78 should be strictly equal
> # hmac(sha256) w/ 546573... as hex
> ok 79 should be strictly equal
> # hmac(sha256) w/ 546573... as binary
> ok 80 should be strictly equal
> # hmac(sha256) w/ 546869... as undefined
> ok 81 should be strictly equal
> # hmac(sha256) w/ 546869... as base64
> ok 82 should be strictly equal
> # hmac(sha256) w/ 546869... as hex
> ok 83 should be strictly equal
> # hmac(sha256) w/ 546869... as binary
> ok 84 should be strictly equal
> # hmac(sha256) as stream w/ 486920...
> ok 85 should be strictly equal
> # hmac(sha256) as stream w/ 776861...
> ok 86 should be strictly equal
> # hmac(sha256) as stream w/ dddddd...
> ok 87 should be strictly equal
> # hmac(sha256) as stream w/ cdcdcd...
> ok 88 should be strictly equal
> # hmac(sha256) as stream w/ 546573...
> ok 89 should be strictly equal
> # hmac(sha256) as stream w/ 546869...
> ok 90 should be strictly equal
> # hmac(sha384) w/ 486920... as undefined
> ok 91 should be strictly equal
> # hmac(sha384) w/ 486920... as base64
> ok 92 should be strictly equal
> # hmac(sha384) w/ 486920... as hex
> ok 93 should be strictly equal
> # hmac(sha384) w/ 486920... as binary
> ok 94 should be strictly equal
> # hmac(sha384) w/ 776861... as undefined
> ok 95 should be strictly equal
> # hmac(sha384) w/ 776861... as base64
> ok 96 should be strictly equal
> # hmac(sha384) w/ 776861... as hex
> ok 97 should be strictly equal
> # hmac(sha384) w/ 776861... as binary
> ok 98 should be strictly equal
> # hmac(sha384) w/ dddddd... as undefined
> ok 99 should be strictly equal
> # hmac(sha384) w/ dddddd... as base64
> ok 100 should be strictly equal
> # hmac(sha384) w/ dddddd... as hex
> ok 101 should be strictly equal
> # hmac(sha384) w/ dddddd... as binary
> ok 102 should be strictly equal
> # hmac(sha384) w/ cdcdcd... as undefined
> ok 103 should be strictly equal
> # hmac(sha384) w/ cdcdcd... as base64
> ok 104 should be strictly equal
> # hmac(sha384) w/ cdcdcd... as hex
> ok 105 should be strictly equal
> # hmac(sha384) w/ cdcdcd... as binary
> ok 106 should be strictly equal
> # hmac(sha384) w/ 546573... as undefined
> ok 107 should be strictly equal
> # hmac(sha384) w/ 546573... as base64
> ok 108 should be strictly equal
> # hmac(sha384) w/ 546573... as hex
> ok 109 should be strictly equal
> # hmac(sha384) w/ 546573... as binary
> ok 110 should be strictly equal
> # hmac(sha384) w/ 546869... as undefined
> ok 111 should be strictly equal
> # hmac(sha384) w/ 546869... as base64
> ok 112 should be strictly equal
> # hmac(sha384) w/ 546869... as hex
> ok 113 should be strictly equal
> # hmac(sha384) w/ 546869... as binary
> ok 114 should be strictly equal
> # hmac(sha384) as stream w/ 486920...
> ok 115 should be strictly equal
> # hmac(sha384) as stream w/ 776861...
> ok 116 should be strictly equal
> # hmac(sha384) as stream w/ dddddd...
> ok 117 should be strictly equal
> # hmac(sha384) as stream w/ cdcdcd...
> ok 118 should be strictly equal
> # hmac(sha384) as stream w/ 546573...
> ok 119 should be strictly equal
> # hmac(sha384) as stream w/ 546869...
> ok 120 should be strictly equal
> # hmac(sha512) w/ 486920... as undefined
> ok 121 should be strictly equal
> # hmac(sha512) w/ 486920... as base64
> ok 122 should be strictly equal
> # hmac(sha512) w/ 486920... as hex
> ok 123 should be strictly equal
> # hmac(sha512) w/ 486920... as binary
> ok 124 should be strictly equal
> # hmac(sha512) w/ 776861... as undefined
> ok 125 should be strictly equal
> # hmac(sha512) w/ 776861... as base64
> ok 126 should be strictly equal
> # hmac(sha512) w/ 776861... as hex
> ok 127 should be strictly equal
> # hmac(sha512) w/ 776861... as binary
> ok 128 should be strictly equal
> # hmac(sha512) w/ dddddd... as undefined
> ok 129 should be strictly equal
> # hmac(sha512) w/ dddddd... as base64
> ok 130 should be strictly equal
> # hmac(sha512) w/ dddddd... as hex
> ok 131 should be strictly equal
> # hmac(sha512) w/ dddddd... as binary
> ok 132 should be strictly equal
> # hmac(sha512) w/ cdcdcd... as undefined
> ok 133 should be strictly equal
> # hmac(sha512) w/ cdcdcd... as base64
> ok 134 should be strictly equal
> # hmac(sha512) w/ cdcdcd... as hex
> ok 135 should be strictly equal
> # hmac(sha512) w/ cdcdcd... as binary
> ok 136 should be strictly equal
> # hmac(sha512) w/ 546573... as undefined
> ok 137 should be strictly equal
> # hmac(sha512) w/ 546573... as base64
> ok 138 should be strictly equal
> # hmac(sha512) w/ 546573... as hex
> ok 139 should be strictly equal
> # hmac(sha512) w/ 546573... as binary
> ok 140 should be strictly equal
> # hmac(sha512) w/ 546869... as undefined
> ok 141 should be strictly equal
> # hmac(sha512) w/ 546869... as base64
> ok 142 should be strictly equal
> # hmac(sha512) w/ 546869... as hex
> ok 143 should be strictly equal
> # hmac(sha512) w/ 546869... as binary
> ok 144 should be strictly equal
> # hmac(sha512) as stream w/ 486920...
> ok 145 should be strictly equal
> # hmac(sha512) as stream w/ 776861...
> ok 146 should be strictly equal
> # hmac(sha512) as stream w/ dddddd...
> ok 147 should be strictly equal
> # hmac(sha512) as stream w/ cdcdcd...
> ok 148 should be strictly equal
> # hmac(sha512) as stream w/ 546573...
> ok 149 should be strictly equal
> # hmac(sha512) as stream w/ 546869...
> ok 150 should be strictly equal
> # hmac(SHA512) w/ 486920... as undefined
> ok 151 should be strictly equal
> # hmac(SHA512) w/ 486920... as base64
> ok 152 should be strictly equal
> # hmac(SHA512) w/ 486920... as hex
> ok 153 should be strictly equal
> # hmac(SHA512) w/ 486920... as binary
> ok 154 should be strictly equal
> # hmac(SHA512) w/ 776861... as undefined
> ok 155 should be strictly equal
> # hmac(SHA512) w/ 776861... as base64
> ok 156 should be strictly equal
> # hmac(SHA512) w/ 776861... as hex
> ok 157 should be strictly equal
> # hmac(SHA512) w/ 776861... as binary
> ok 158 should be strictly equal
> # hmac(SHA512) w/ dddddd... as undefined
> ok 159 should be strictly equal
> # hmac(SHA512) w/ dddddd... as base64
> ok 160 should be strictly equal
> # hmac(SHA512) w/ dddddd... as hex
> ok 161 should be strictly equal
> # hmac(SHA512) w/ dddddd... as binary
> ok 162 should be strictly equal
> # hmac(SHA512) w/ cdcdcd... as undefined
> ok 163 should be strictly equal
> # hmac(SHA512) w/ cdcdcd... as base64
> ok 164 should be strictly equal
> # hmac(SHA512) w/ cdcdcd... as hex
> ok 165 should be strictly equal
> # hmac(SHA512) w/ cdcdcd... as binary
> ok 166 should be strictly equal
> # hmac(SHA512) w/ 546573... as undefined
> ok 167 should be strictly equal
> # hmac(SHA512) w/ 546573... as base64
> ok 168 should be strictly equal
> # hmac(SHA512) w/ 546573... as hex
> ok 169 should be strictly equal
> # hmac(SHA512) w/ 546573... as binary
> ok 170 should be strictly equal
> # hmac(SHA512) w/ 546869... as undefined
> ok 171 should be strictly equal
> # hmac(SHA512) w/ 546869... as base64
> ok 172 should be strictly equal
> # hmac(SHA512) w/ 546869... as hex
> ok 173 should be strictly equal
> # hmac(SHA512) w/ 546869... as binary
> ok 174 should be strictly equal
> # hmac(SHA512) as stream w/ 486920...
> ok 175 should be strictly equal
> # hmac(SHA512) as stream w/ 776861...
> ok 176 should be strictly equal
> # hmac(SHA512) as stream w/ dddddd...
> ok 177 should be strictly equal
> # hmac(SHA512) as stream w/ cdcdcd...
> ok 178 should be strictly equal
> # hmac(SHA512) as stream w/ 546573...
> ok 179 should be strictly equal
> # hmac(SHA512) as stream w/ 546869...
> ok 180 should be strictly equal
> # hmac(md5) w/ 486920... as undefined
> ok 181 should be strictly equal
> # hmac(md5) w/ 486920... as base64
> ok 182 should be strictly equal
> # hmac(md5) w/ 486920... as hex
> ok 183 should be strictly equal
> # hmac(md5) w/ 486920... as binary
> ok 184 should be strictly equal
> # hmac(md5) w/ 776861... as undefined
> ok 185 should be strictly equal
> # hmac(md5) w/ 776861... as base64
> ok 186 should be strictly equal
> # hmac(md5) w/ 776861... as hex
> ok 187 should be strictly equal
> # hmac(md5) w/ 776861... as binary
> ok 188 should be strictly equal
> # hmac(md5) w/ dddddd... as undefined
> ok 189 should be strictly equal
> # hmac(md5) w/ dddddd... as base64
> ok 190 should be strictly equal
> # hmac(md5) w/ dddddd... as hex
> ok 191 should be strictly equal
> # hmac(md5) w/ dddddd... as binary
> ok 192 should be strictly equal
> # hmac(md5) w/ cdcdcd... as undefined
> ok 193 should be strictly equal
> # hmac(md5) w/ cdcdcd... as base64
> ok 194 should be strictly equal
> # hmac(md5) w/ cdcdcd... as hex
> ok 195 should be strictly equal
> # hmac(md5) w/ cdcdcd... as binary
> ok 196 should be strictly equal
> # hmac(md5) w/ 546573... as undefined
> ok 197 should be strictly equal
> # hmac(md5) w/ 546573... as base64
> ok 198 should be strictly equal
> # hmac(md5) w/ 546573... as hex
> ok 199 should be strictly equal
> # hmac(md5) w/ 546573... as binary
> ok 200 should be strictly equal
> # hmac(md5) w/ 546869... as undefined
> ok 201 should be strictly equal
> # hmac(md5) w/ 546869... as base64
> ok 202 should be strictly equal
> # hmac(md5) w/ 546869... as hex
> ok 203 should be strictly equal
> # hmac(md5) w/ 546869... as binary
> ok 204 should be strictly equal
> # hmac(md5) as stream w/ 486920...
> ok 205 should be strictly equal
> # hmac(md5) as stream w/ 776861...
> ok 206 should be strictly equal
> # hmac(md5) as stream w/ dddddd...
> ok 207 should be strictly equal
> # hmac(md5) as stream w/ cdcdcd...
> ok 208 should be strictly equal
> # hmac(md5) as stream w/ 546573...
> ok 209 should be strictly equal
> # hmac(md5) as stream w/ 546869...
> ok 210 should be strictly equal
> # hmac(rmd160) w/ 486920... as undefined
> ok 211 should be strictly equal
> # hmac(rmd160) w/ 486920... as base64
> ok 212 should be strictly equal
> # hmac(rmd160) w/ 486920... as hex
> ok 213 should be strictly equal
> # hmac(rmd160) w/ 486920... as binary
> ok 214 should be strictly equal
> # hmac(rmd160) w/ 776861... as undefined
> ok 215 should be strictly equal
> # hmac(rmd160) w/ 776861... as base64
> ok 216 should be strictly equal
> # hmac(rmd160) w/ 776861... as hex
> ok 217 should be strictly equal
> # hmac(rmd160) w/ 776861... as binary
> ok 218 should be strictly equal
> # hmac(rmd160) w/ dddddd... as undefined
> ok 219 should be strictly equal
> # hmac(rmd160) w/ dddddd... as base64
> ok 220 should be strictly equal
> # hmac(rmd160) w/ dddddd... as hex
> ok 221 should be strictly equal
> # hmac(rmd160) w/ dddddd... as binary
> ok 222 should be strictly equal
> # hmac(rmd160) w/ cdcdcd... as undefined
> ok 223 should be strictly equal
> # hmac(rmd160) w/ cdcdcd... as base64
> ok 224 should be strictly equal
> # hmac(rmd160) w/ cdcdcd... as hex
> ok 225 should be strictly equal
> # hmac(rmd160) w/ cdcdcd... as binary
> ok 226 should be strictly equal
> # hmac(rmd160) w/ 546573... as undefined
> ok 227 should be strictly equal
> # hmac(rmd160) w/ 546573... as base64
> ok 228 should be strictly equal
> # hmac(rmd160) w/ 546573... as hex
> ok 229 should be strictly equal
> # hmac(rmd160) w/ 546573... as binary
> ok 230 should be strictly equal
> # hmac(rmd160) w/ 546869... as undefined
> ok 231 should be strictly equal
> # hmac(rmd160) w/ 546869... as base64
> ok 232 should be strictly equal
> # hmac(rmd160) w/ 546869... as hex
> ok 233 should be strictly equal
> # hmac(rmd160) w/ 546869... as binary
> ok 234 should be strictly equal
> # hmac(rmd160) as stream w/ 486920...
> ok 235 should be strictly equal
> # hmac(rmd160) as stream w/ 776861...
> ok 236 should be strictly equal
> # hmac(rmd160) as stream w/ dddddd...
> ok 237 should be strictly equal
> # hmac(rmd160) as stream w/ cdcdcd...
> ok 238 should be strictly equal
> # hmac(rmd160) as stream w/ 546573...
> ok 239 should be strictly equal
> # hmac(rmd160) as stream w/ 546869...
> ok 240 should be strictly equal
>
> 1..240
> # tests 240
> # pass 240
>
> # ok
> }
>
> 1..1
> # time=1165.09ms
> ERROR: Coverage for lines (97.01%) does not meet global threshold (100%)
> ERROR: Coverage for branches (85.71%) does not meet global threshold (100%)
> ERROR: Coverage for statements (97.1%) does not meet global threshold (100%)
> ------------|---------|----------|---------|---------|-------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ------------|---------|----------|---------|---------|-------------------
> All files | 97.1 | 85.71 | 100 | 97.01 |
> browser.js | 97.56 | 90.9 | 100 | 97.5 | 16
> legacy.js | 96.42 | 66.66 | 100 | 96.29 | 13
> ------------|---------|----------|---------|---------|-------------------
> 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-create-hmac_1.1.7+~1.1.0-1_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