[Pkg-javascript-devel] Bug#1009565: node-module-deps: FTBFS: ERROR: Coverage for statements (86.71%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:20:00 BST 2022
Source: node-module-deps
Version: 6.2.3-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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> help2man --no-info ./bin/cmd.js >debian/module-deps.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/module-deps
> /bin/sh -ex debian/tests/pkg-js/test
> + tap -R spec test/bundle.js test/cache.js test/cache_expose.js test/cache_partial.js test/cache_partial_expose.js test/cache_persistent.js test/cycle.js test/deps.js test/detect.js test/dotdot.js test/expose.js test/file_cache.js test/filter.js test/ignore_missing.js test/ignore_missing_cache.js test/invalid_pkg.js test/noparse.js test/noparse_row.js test/pkg.js test/pkg_filter.js test/quotes.js test/resolve.js test/row_expose.js test/row_expose_name_is_file_transform.js test/row_expose_transform.js test/source.js test/syntax.js test/tr_2dep_module.js test/tr_deps.js test/tr_err.js test/tr_flags.js test/tr_fn.js test/tr_global.js test/tr_module.js test/tr_no_entry.js test/tr_opts.js test/tr_rel.js test/tr_sh.js test/tr_whole_package.js test/tr_write.js test/undef_file.js test/unicode.js
>
> (node:1666788) DeprecationWarning: equals() is deprecated, use equal() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/bundle.js
> bundle
>
> ✓ should be equal
>
> test/cache.js
> uses cache
>
> ✓ should be equivalent
>
> test/cache_expose.js
> cache preserves expose and entry
>
> ✓ should be equivalent
>
> test/cache_partial.js
> uses cache and reads from disk
>
> ✓ should be equivalent
>
> test/cache_partial_expose.js
> preserves expose and entry with partial cache
>
> ✓ should be equivalent
>
> test/cache_persistent.js
> uses persistent cache
>
> ✓ should be equivalent
>
> passes persistent cache error through
>
> ✓ should be equal
>
> allow passing of the raw source as string
>
> ✓ should be equivalent
>
> send file event with persistent cache
>
> ✓ should be equivalent
>
> ✓ should be equivalent
>
> errors of transforms occur in the correct order with a persistent cache
>
> ✓ should be equivalent
>
> ✓ should be equivalent
>
> ✓ should be equivalent
>
> test/cycle.js
> cycle
>
> ✓ should be equal
>
> test/deps.js
> deps
>
> ✓ should be equivalent
>
> (node:1666861) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/detect.js
> detect
>
> ✓ should be equal
>
> test/dotdot.js
> dotdot
>
> ✓ should be equivalent
>
> ✓ should be equivalent
>
> test/expose.js
> single id export
>
> ✓ should be equivalent
>
> test/file_cache.js
> uses file cache
>
> ✓ should be equivalent
>
> (node:1666888) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/filter.js
> can filter core deps
>
> ✓ should be equal
>
> ✓ should be equivalent
>
> ✓ should be equal
>
> ✓ should be equal
>
> test/ignore_missing.js
> ignoreMissing
>
> ✓ should be equivalent
>
> ignoreMissing off
>
> ✓ should match pattern provided
>
> test/ignore_missing_cache.js
> ignoreMissing with cache
>
> ✓ should be equivalent
>
> test/invalid_pkg.js
>
> ✓ invalid pkg (61.269ms)
> (node:1666935) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/noparse.js
> noParse
>
> ✓ should be equivalent
>
> (node:1666950) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/noparse_row.js
> noParse row
>
> ✓ should be equivalent
>
> (node:1666964) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/pkg.js
> pkg
>
> ✓ should be equivalent
>
> ✓ should be equivalent
>
> ✓ should be equivalent
>
> ✓ should be equivalent
>
> test/pkg_filter.js
> pkg filter
>
> ✓ should be equal
>
> ✓ should be equal
>
> ✓ should be equal
>
> test/quotes.js
> different quote styles
>
> ✓ should be equivalent
>
> test/resolve.js
> browser resolve - missing
>
> ✓ should match pattern provided
>
> node resolve - missing
>
> ✓ should match pattern provided
>
> browser resolve
>
> ✓ should be equivalent
>
> node resolve
>
> ✓ should be equivalent
>
> test/row_expose.js
> row is exposed
>
> ✓ should be equal
>
> test/row_expose_name_is_file_transform.js
> row is exposed with a name equal to the path, and transformed
>
> ✓ should be equal
>
> ✓ expect truthy value
>
> test/row_expose_transform.js
> row is exposed and transformed
>
> ✓ should be equal
>
> ✓ expect truthy value
>
> test/source.js
> source
>
> ✓ should be equivalent
>
> test/syntax.js
> syntax error
>
> ✓ should emit a file event even if there was an error
>
> ✓ expect truthy value
>
> test/tr_2dep_module.js
> transform
>
> ✓ transformation scope
>
> ✓ sub-transformation applied
>
> ✓ GGG leak
>
> test/tr_deps.js
> deps added by transforms
>
> ✓ should be equivalent
>
> test/tr_err.js
> transform
>
> ✓ expect truthy value
>
> test/tr_flags.js
> --debug passed to transforms
>
> ✓ debug: true
>
> ✓ debug: true
>
> ✓ debug: false
>
> ✓ transform arguments are preserved
>
> ✓ debug: false
>
> test/tr_fn.js
> transform
>
> ✓ transformation scope
>
> ✓ sub-transformation applied
>
> ✓ GGG leak
>
> test/tr_global.js
> global transforms
>
> ✓ should be equal
>
> test/tr_module.js
> transform
>
> ✓ transformation scope
>
> ✓ sub-transformation applied
>
> ✓ GGG leak
>
> ✓ 123
>
> test/tr_no_entry.js
> transform no entry
>
> ✓ should be equal
>
> test/tr_opts.js
> transform options
>
> ✓ should be equal
>
> test/tr_rel.js
> transform
>
> ✓ should be equal
>
> test/tr_sh.js
> transform
>
> ✓ transformation scope
>
> ✓ sub-transformation applied
>
> ✓ GGG leak
>
> test/tr_whole_package.js
> transform
>
> ✓ transformation scope
>
> test/tr_write.js
> transform write
>
> ✓ should be equal
>
> test/undef_file.js
> undef file
>
> ✓ should be equivalent
>
> test/unicode.js
> unicode deps
>
> ✓ should be equivalent
>
>
> 78 passing (6s)
> ERROR: Coverage for lines (90.56%) does not meet global threshold (100%)
> ERROR: Coverage for functions (88.33%) does not meet global threshold (100%)
> ERROR: Coverage for branches (78.71%) does not meet global threshold (100%)
> ERROR: Coverage for statements (86.71%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|------------------------------------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ----------|---------|----------|---------|---------|------------------------------------------------
> All files | 86.71 | 78.71 | 88.33 | 90.56 |
> index.js | 86.71 | 78.71 | 88.33 | 90.56 | ...319,360-362,365-375,399,537-538,559,630-634
> ----------|---------|----------|---------|---------|------------------------------------------------
> 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-module-deps_6.2.3-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