[Pkg-javascript-devel] Bug#1009535: node-console-control-strings: FTBFS: ERROR: Coverage for branches (90%) does not meet global threshold (100%)

Lucas Nussbaum lucas at debian.org
Tue Apr 12 20:18:28 BST 2022


Source: node-console-control-strings
Version: 1.1.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 --with nodejs
>    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/console-control-strings
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test/console-strings.js
> TAP version 13
> (node:379108) DeprecationWarning: is() is deprecated, use equal() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> not ok 1 - test/console-strings.js # time=36.939ms
>   ---
>   env: {}
>   file: test/console-strings.js
>   timeout: 30000
>   command: /usr/bin/node
>   args:
>     - test/console-strings.js
>   stdio:
>     - 0
>     - pipe
>     - 2
>   cwd: /<<PKGBUILDDIR>>
>   exitCode: 1
>   ...
> {
>     # Subtest: consoleControl
>         ok 1 - up
>         ok 2 - up 10
>         ok 3 - down
>         ok 4 - down 10
>         ok 5 - forward
>         ok 6 - forward 10
>         ok 7 - back
>         ok 8 - back 10
>         ok 9 - nextLine
>         ok 10 - nextLine 10
>         ok 11 - previousLine
>         ok 12 - previousLine 10
>         ok 13 - eraseData
>         ok 14 - eraseLine
>         ok 15 - hideCursor
>         ok 16 - showCursor
>         ok 17 - horizontalAbsolute 10
>         ok 18 - horizontalAbsolute 0
>         ok 19 - horizontalAbsolute
>         ok 20 - set color
>         ok 21 - set invalid color
>         ok 22 - absolute position
>         ok 23 - goto start of line
>         ok 24 - beep beeps
>         not ok 25 - t.done is not a function
>           ---
>           stack: |
>             Test.<anonymous> (test/console-strings.js:45:5)
>             Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40)
>             /usr/share/nodejs/libtap/lib/test.js:369:21
>             Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7)
>             Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15)
>             /usr/share/nodejs/libtap/lib/test.js:485:13
>             TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5)
>             Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14)
>           at:
>             line: 45
>             column: 5
>             file: test/console-strings.js
>             function: Test.<anonymous>
>           type: TypeError
>           tapCaught: testFunctionThrow
>           test: consoleControl
>           source: |2
>               t.is(consoleControl.beep(), '\x07', 'beep beeps')
>               t.done()
>             ----^
>             })
>           ...
>         
>         1..25
>         # failed 1 of 25 tests
>     not ok 1 - consoleControl # time=27.979ms
>     
>     1..1
>     # failed 1 test
>     # time=36.939ms
> }
> 
> 1..1
> # failed 1 test
> # time=1058.185ms
> ERROR: Coverage for branches (90%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|-------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ----------|---------|----------|---------|---------|-------------------
> All files |     100 |       90 |     100 |     100 |                   
>  index.js |     100 |       90 |     100 |     100 | 116               
> ----------|---------|----------|---------|---------|-------------------
> 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-console-control-strings_1.1.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