[Pkg-javascript-devel] Bug#1009580: node-inline-source-map: FTBFS: ERROR: Coverage for statements (98.18%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:19:36 BST 2022
Source: node-inline-source-map
Version: 0.6.2~git-6
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/inline-source-map
> /bin/sh -ex debian/tests/pkg-js/test
> + tap test/inline-source-map.js test/source-content.js
> TAP version 13
> (node:123364) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:123363) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 1 - test/inline-source-map.js # time=64.03ms {
> # Subtest: generated mappings
> # Subtest: one file no offset
> ok 1 - generates correct mappings
> ok 2 - encodes generated mappings
> ok 3 - returns correct inline mapping url
> 1..3
> ok 1 - one file no offset # time=11.982ms
>
> # Subtest: two files no offset
> ok 1 - generates correct mappings
> ok 2 - encodes generated mappings
> ok 3 - returns correct inline mapping url
> 1..3
> ok 2 - two files no offset # time=3.628ms
>
> # Subtest: one line source
> ok 1 - generates correct mappings
> 1..1
> ok 3 - one line source # time=1.095ms
>
> # Subtest: with offset
> ok 1 - generates correct mappings
> ok 2 - encodes generated mappings with offset
> 1..2
> ok 4 - with offset # time=2.727ms
>
> 1..4
> ok 1 - generated mappings # time=38.512ms
>
> # Subtest: given mappings, with one having no original
> # Subtest: no offset
> ok 1 - adds correct mappings
> ok 2 - encodes generated mappings
> ok 3 - returns correct inline mapping url
> 1..3
> ok 1 - no offset # time=2.163ms
>
> # Subtest: with offset
> ok 1 - adds correct mappings
> ok 2 - encodes mappings with offset
> 1..2
> ok 2 - with offset # time=2.028ms
>
> 1..2
> ok 2 - given mappings, with one having no original # time=11.728ms
>
> # Subtest: inline mapping url with charset opt
> # Subtest: set inline mapping url charset to gbk
> ok 1 - charset set to gbk
> 1..1
> ok 1 - set inline mapping url charset to gbk # time=0.688ms
>
> # Subtest: default charset should be utf-8
> ok 1 - charset default to utf-8
> 1..1
> ok 2 - default charset should be utf-8 # time=0.676ms
>
> 1..2
> ok 3 - inline mapping url with charset opt # time=6.088ms
>
> 1..3
> # time=64.03ms
> }
>
> ok 2 - test/source-content.js # time=45.324ms {
> # Subtest: generated mappings
> # Subtest: one file with source content
> ok 1 - includes source content
> ok 2 - encodes generated mappings including source content
> ok 3 - returns correct inline mapping url including source content
> 1..3
> ok 1 - one file with source content # time=10.565ms
>
> # Subtest: two files with source content
> ok 1 - includes source content for both files
> ok 2 - encodes generated mappings including source content
> ok 3 - returns correct inline mapping url including source content
> 1..3
> ok 2 - two files with source content # time=5.413ms
>
> # Subtest: two files, only one with source content
> ok 1 - includes source content for the file with source content and [null] for the other file
> ok 2 - encodes generated mappings including source content
> ok 3 - returns correct inline mapping url including source content
> 1..3
> ok 3 - two files, only one with source content # time=2.8ms
>
> # Subtest: one file with empty source
> ok 1 - should be equivalent
> 1..1
> ok 4 - one file with empty source # time=1.169ms
>
> 1..4
> ok 1 - generated mappings # time=39.897ms
>
> 1..1
> # time=45.324ms
> }
>
> 1..2
> # time=827.61ms
> ERROR: Coverage for lines (98.03%) does not meet global threshold (100%)
> ERROR: Coverage for functions (93.33%) does not meet global threshold (100%)
> ERROR: Coverage for statements (98.18%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|-------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ----------|---------|----------|---------|---------|-------------------
> All files | 98.18 | 100 | 93.33 | 98.03 |
> index.js | 98.18 | 100 | 93.33 | 98.03 | 131
> ----------|---------|----------|---------|---------|-------------------
> 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-inline-source-map_0.6.2~git-6_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