[Pkg-javascript-devel] Bug#1009590: node-npm-bundled: FTBFS: ERROR: Coverage for statements (85.45%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:20:07 BST 2022
Source: node-npm-bundled
Version: 1.1.2-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/npm-normalize-package-bin -> ../npm-normalize-package-bin
> 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/npm-bundled
> /bin/sh -ex debian/tests/pkg-js/test
> + tap test/all-bundle.js test/bad-json.js test/basic.js test/caches.js test/cycle.js test/metadeps.js test/missing-package-json.js test/no-bundle.js test/non-array-bundledeps.js test/pkgtree.js test/readdir-fail.js test/scoped.js test/weird-scope.js -J --100
> TAP version 13
> ok 1 - test/all-bundle.js # time=75.656ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=21.553ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=28.082ms
>
> 1..2
> # time=75.656ms
> }
>
> ok 2 - test/bad-json.js # time=72.221ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=16.458ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=41.327ms
>
> 1..2
> # time=72.221ms
> }
>
> ok 3 - test/basic.js # time=52.154ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=16.167ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=24.044ms
>
> 1..2
> # time=52.154ms
> }
>
> ok 4 - test/caches.js # time=88.34ms {
> # Subtest: sync
> 1..2
> ok 1 - should be equivalent
> ok 2 - should be equivalent
> ok 1 - sync # time=17.609ms
>
> # Subtest: async
> 1..2
> ok 1 - should be equivalent
> ok 2 - should be equivalent
> ok 2 - async # time=33.933ms
>
> # Subtest: mixed
> 1..2
> ok 1 - should be equivalent
> ok 2 - should be equivalent
> ok 3 - mixed # time=4.668ms
>
> # Subtest: mixed, nothing to bundle
> 1..2
> ok 1 - should be equivalent
> ok 2 - should be equivalent
> ok 4 - mixed, nothing to bundle # time=2.444ms
>
> 1..4
> # time=88.34ms
> }
>
> ok 5 - test/cycle.js # time=56.363ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=19.742ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=18.981ms
>
> 1..2
> # time=56.363ms
> }
>
> ok 6 - test/metadeps.js # time=44.13ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=16.11ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=15.225ms
>
> 1..2
> # time=44.13ms
> }
>
> ok 7 - test/missing-package-json.js # time=58.184ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=22.076ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=21.014ms
>
> 1..2
> # time=58.184ms
> }
>
> ok 8 - test/no-bundle.js # time=38.046ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=11.262ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=13.584ms
>
> 1..2
> # time=38.046ms
> }
>
> ok 9 - test/non-array-bundledeps.js # time=48.537ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=16.678ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=19.22ms
>
> 1..2
> # time=48.537ms
> }
>
> ok 10 - test/pkgtree.js # time=7.114ms {
> ok 1 - this is fine
> 1..1
> # time=7.114ms
> }
>
> ok 11 - test/readdir-fail.js # time=65.492ms {
> # Subtest: fail the readdir
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=27.773ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=16.743ms
>
> 1..2
> ok 1 - fail the readdir # time=55.619ms
>
> 1..1
> # time=65.492ms
> }
>
> ok 12 - test/scoped.js # time=40.042ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=10.395ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=19.11ms
>
> 1..2
> # time=40.042ms
> }
>
> ok 13 - test/weird-scope.js # time=65.179ms {
> # Subtest: sync
> ok 1 - should be equivalent
> 1..1
> ok 1 - sync # time=10.452ms
>
> # Subtest: async
> ok 1 - should be equivalent
> 1..1
> ok 2 - async # time=44.906ms
>
> 1..2
> # time=65.179ms
> }
>
> 1..13
> # time=2709.589ms
> ERROR: Coverage for lines (84.71%) does not meet global threshold (100%)
> ERROR: Coverage for functions (89.13%) does not meet global threshold (100%)
> ERROR: Coverage for branches (80%) does not meet global threshold (100%)
> ERROR: Coverage for statements (85.45%) does not meet global threshold (100%)
> ---------------------------------------|---------|----------|---------|---------|-------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ---------------------------------------|---------|----------|---------|---------|-------------------
> All files | 85.45 | 80 | 89.13 | 84.71 |
> node-npm-bundled-1.1.2 | 100 | 100 | 100 | 100 |
> index.js | 100 | 100 | 100 | 100 |
> ...ed-1.1.2/npm-normalize-package-bin | 29.41 | 5.55 | 28.57 | 29.41 |
> index.js | 29.41 | 5.55 | 28.57 | 29.41 | 13-16,20-24,33-57
> ---------------------------------------|---------|----------|---------|---------|-------------------
> 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-npm-bundled_1.1.2-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