[Pkg-javascript-devel] Bug#1009531: node-browserify: FTBFS: ERROR: Coverage for statements (84.75%) does not meet global threshold (100%)

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


Source: node-browserify
Version: 17.0.0+ds-3
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>>'
> mkdir -p node_modules
> ln -s .. node_modules/browserify
> dh_auto_build -i --buildsystem=nodejs
> No build command found, searching known files
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	test -e node_modules
> 	ln -s ../. node_modules/browserify
> ln: failed to create symbolic link 'node_modules/browserify/.': File exists
> 	/bin/sh -ex debian/tests/pkg-js/test
> + set -ex
> + export NODE_PATH=/usr/share/nodejs:/usr/lib/nodejs
> + grep -v test/crypto
> + + lsgrep -v test/spread.js
> + grep -v test/quotes.js
> + grep test/args.js test/array.js test/async.js test/backbone.js test/bare.js test/bare_shebang.js test/bin.js test/bin_entry.js test/bin_tr_error.js test/bom.js test/browser_field_file.js test/browser_field_resolve.js test/buffer.js test/bundle-bundle-external.js test/bundle-stream.js test/bundle.js test/bundle_external.js test/bundle_external_global.js test/bundle_sourcemap.js test/catch.js test/circular.js test/coffee_bin.js test/coffeeify.js test/comment.js test/constants.js test/crypto.js test/crypto_ig.js test/cycle.js test/debug_standalone.js test/dedupe-deps.js test/dedupe-nomap.js test/delay.js test/dep.js test/dollar.js test/double_buffer.js test/double_bundle.js test/double_bundle_error.js test/double_bundle_json.js test/double_bundle_parallel.js test/double_bundle_parallel_cache.js test/entry.js test/entry_exec.js test/entry_expose.js test/entry_relative.js test/error_code.js test/exclude.js test/export.js test/external.js test/external_shim.js test/externalize.js test/fake.js test/field.js test/file_event.js test/five_bundle.js test/full_paths.js test/glob.js test/global.js test/global_coffeeify.js test/global_noparse.js test/global_recorder.js test/hash.js test/hash_instance_context.js test/identical.js test/identical_different.js test/ignore.js test/ignore_browser_field.js test/ignore_missing.js test/ignore_transform_key.js test/json.js test/leak.js test/maxlisteners.js test/multi_bundle.js test/multi_bundle_unique.js test/multi_entry.js test/multi_entry_cross_require.js test/multi_require.js test/multi_symlink.js test/no_builtins.js test/noparse.js test/pack.js test/paths.js test/paths_transform.js test/pipeline_deps.js test/pkg.js test/pkg_event.js test/plugin.js test/preserve-symlinks.js test/process.js test/quotes.js test/relative_dedupe.js test/require_cache.js test/require_expose.js test/reset.js test/resolve_exposed.js test/retarget.js+  test/reverse_multi_bundle.js test/shared_symlink.js test/shebang.js test/spread.js test/standalone.js test/standalone_events.js test/standalone_sourcemap.js test/stdin.js test/stream.js test/stream_file.js test/subdep.js test/symlink_dedupe.js test/syntax_cache.js test/tr.js+  test/tr_args.js test/tr_error.js test/tr_flags.js test/tr_global.js test/tr_no_entry.js test/tr_once.js test/tr_order.js test/tr_symlink.jsgrep test/unicode.js -v test/util.js test/coffee_bin.js test/yield.js
> 
> grep -v coffeeify.js
>  -v+  test/syntax_cache.js
> grep -v test/multi_entry.js
> + grep -v test/backbone.js
> + tap -R spec test/args.js test/array.js test/async.js test/bare.js test/bare_shebang.js test/bin.js test/bin_entry.js test/bin_tr_error.js test/bom.js test/browser_field_file.js test/browser_field_resolve.js test/buffer.js test/bundle-bundle-external.js test/bundle-stream.js test/bundle.js test/bundle_external.js test/bundle_external_global.js test/bundle_sourcemap.js test/catch.js test/circular.js test/comment.js test/constants.js test/cycle.js test/debug_standalone.js test/dedupe-deps.js test/dedupe-nomap.js test/delay.js test/dep.js test/dollar.js test/double_buffer.js test/double_bundle.js test/double_bundle_error.js test/double_bundle_json.js test/double_bundle_parallel.js test/double_bundle_parallel_cache.js test/entry.js test/entry_exec.js test/entry_expose.js test/entry_relative.js test/error_code.js test/exclude.js test/export.js test/external.js test/external_shim.js test/externalize.js test/fake.js test/field.js test/file_event.js test/five_bundle.js test/full_paths.js test/glob.js test/global.js test/global_noparse.js test/global_recorder.js test/hash.js test/hash_instance_context.js test/identical.js test/identical_different.js test/ignore.js test/ignore_browser_field.js test/ignore_missing.js test/ignore_transform_key.js test/json.js test/leak.js test/maxlisteners.js test/multi_bundle.js test/multi_bundle_unique.js test/multi_entry_cross_require.js test/multi_require.js test/multi_symlink.js test/no_builtins.js test/noparse.js test/pack.js test/paths.js test/paths_transform.js test/pipeline_deps.js test/pkg.js test/pkg_event.js test/plugin.js test/preserve-symlinks.js test/process.js test/relative_dedupe.js test/require_cache.js test/require_expose.js test/reset.js test/resolve_exposed.js test/retarget.js test/reverse_multi_bundle.js test/shared_symlink.js test/shebang.js test/standalone.js test/standalone_events.js test/standalone_sourcemap.js test/stdin.js test/stream.js test/stream_file.js test/subdep.js test/symlink_dedupe.js test/tr.js test/tr_args.js test/tr_error.js test/tr_flags.js test/tr_global.js test/tr_no_entry.js test/tr_once.js test/tr_order.js test/tr_symlink.js test/unicode.js test/util.js test/yield.js
> 
> (node:3343584) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/args.js
>   bundle from an arguments array
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   external flag for node modules
> 
>     ✓ should not error
> 
>     ✓ expect truthy value
> 
>   bundle from an arguments with --insert-global-vars
> 
>     ✓ b.bundle()
> 
>     ✓ x = c.require('x')
> 
>     ✓ x.filename
> 
>     ✓ x.dirname
> 
>   numeric module names
> 
>     ✓ should not error
> 
>   entry expose
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3343581) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/array.js
>   array add
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   array require
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equivalent
> 
>   array require opts
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equivalent
> 
>   array external
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3343605) DeprecationWarning: notEqual() is deprecated, use not() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/async.js
>   async/await
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> (node:3343583) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343590) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343668) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343706) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343706) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (node:3343738) DeprecationWarning: notok() is deprecated, use notOk() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343728) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343713) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343754) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343754) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (node:3343821) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343847) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343860) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/bare.js
>   bare
> 
>     ✓ should be equal
> 
>     ✓ expect truthy value
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   bare api
> 
>     ✓ should be equal
> 
>     ✓ expect truthy value
> 
>     ✓ should be equal
> 
>   bare inserts __filename,__dirname but not process,global,Buffer
> 
>     ✓ should be equivalent
> 
>     ✓ should be equal
> 
>   bare inserts dynamic __filename,__dirname
> 
>     ✓ should be equivalent
> 
>     ✓ should be equal
> 
>   bare inserts dynamic __filename,__dirname with basedir
> 
>     ✓ should be equivalent
> 
>     ✓ should be equal
> 
> test/bare_shebang.js
>   bare shebang
> 
>     ✓ should be equal
> 
>     ✓ expect truthy value
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/bin.js
>   bin
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ expect truthy value
> 
> test/bin_entry.js
>   bin --entry
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ expect truthy value
> 
> test/bin_tr_error.js
>   function transform
> 
>     ✓ should not be equal
> 
>     ✓ Error should contain error message
> 
>     ✓ Error should contain stack trace
> 
> test/bom.js
>   byte order marker
> 
>     ✓ should be equal
> 
>     ✓ expect falsey value
> 
> test/browser_field_file.js
>   browser field file no ext
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> test/browser_field_resolve.js
>   browser field resolve (a)
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   browser field resolve (b)
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   browser field resolve (c)
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   browser field resolve (d)
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   browser field resolve (e)
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   browser field resolve (f)
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   browser field resolve (g)
> 
>     ✓ should not error
> 
>     ✓ should be equivalent
> 
>   browser field resolve (h)
> 
>     ✓ should not error
> 
>     ✓ should be equivalent
> 
>   browser field resolve (i)
> 
>     ✓ should not error
> 
>     ✓ should be equivalent
> 
>   browser field resolve (j)
> 
>     ✓ should not error
> 
>     ✓ should be equivalent
> 
>   browser field resolve (k)
> 
>     ✓ should not error
> 
>     ✓ should be equivalent
> 
>   browser field resolve (l)
> 
>     ✓ should not error
> 
>     ✓ should be equivalent
> 
> test/buffer.js
>   utf8 buffer to base64
> 
>     ✓ should be equal
> 
>   utf8 buffer to hex
> 
>     ✓ should be equal
> 
>   ascii buffer to base64
> 
>     ✓ should be equal
> 
>   ascii buffer to hex
> 
>     ✓ should be equal
> 
>   base64 buffer to utf8
> 
>     ✓ should be equal
> 
>   hex buffer to utf8
> 
>     ✓ should be equal
> 
>   base64 buffer to ascii
> 
>     ✓ should be equal
> 
>   hex buffer to ascii
> 
>     ✓ should be equal
> 
>   indexing a buffer
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/bundle-bundle-external.js
>   bundle bundle external
> 
>     ✓ should not error
> 
> test/bundle-stream.js
>   bundle is readable stream
> 
>     ✓ expect truthy value
> 
>     ✓ expect falsey value
> 
>     ✓ expect truthy value
> 
>     ✓ expect falsey value
> 
> test/bundle.js
>   bundle
> 
>     ✓ should not error
> 
>     ✓ expect truthy value
> 
>     ✓ should be equivalent
> 
> test/bundle_external.js
>   bundle external
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/bundle_external_global.js
>   bundle external global
> 
>     ✓ should be equal
> 
> test/bundle_sourcemap.js
>   bundle in debug mode
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
>     ✓ includes sourcemap
> 
>   bundle in non debug mode
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
>     ✓ includes no sourcemap
> 
> test/catch.js
>   catch pipeline errors with a callback
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
>   catch pipeline errors with an event
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
> test/circular.js
>   circular
> 
>     ✓ should be equivalent
> 
>   circular expose
> 
>     ✓ should be equivalent
> 
>   circular require
> 
>     ✓ should be equivalent
> 
> test/comment.js
>   trailing comment
> 
>     ✓ should be equivalent
> 
> test/constants.js
>   constants
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> test/cycle.js
>   cycle
> 
>     ✓ should not error
> 
>     ✓ expect truthy value
> 
> test/debug_standalone.js
>   ordinary debug
> 
>     ✓ expect truthy value
> 
>   debug standalone
> 
>     ✓ expect truthy value
> 
>   debug standalone exposed
> 
>     ✓ expect truthy value
> 
>     ✓ should be equal
> 
> (node:3343905) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343906) DeprecationWarning: similar() is deprecated, use match() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343923) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/dedupe-deps.js
>   identical content gets deduped and the row gets an implicit dep on the original source
> 
>     ✓ adds implicit dep
> 
>   identical content gets deduped with fullPaths
> 
>     ✓ dedupes content
> 
>   identical content does not get deduped with dedupe option false
> 
>     ✓ does not dedupe
> 
> test/dedupe-nomap.js
>   identical content gets deduped and the row gets a "nomap" flag set when sourcemaps are turned on
> 
>     ✓ packs 3 rows
> 
>     ✓ one of has nomapped flag set
> 
>     ✓ 2 rows with the same hash as the duplicate exist
> 
>     ✓ redirects duplicate to original via require call
> 
>   identical content gets deduped and the row gets a "nomap" flag set when sourcemaps are turned off
> 
>     ✓ packs 3 rows
> 
>     ✓ one of has nomapped flag set
> 
>     ✓ 2 rows with the same hash as the duplicate exist
> 
>     ✓ redirects duplicate to original via require call
> 
> test/delay.js
>   delay for pipelines
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> (node:3343930) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/dep.js
>   dependency events
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equivalent
> 
> test/dollar.js
>   dollar
> 
>     ✓ expect truthy value
> 
>     ✓ should be equal
> 
> (node:3343967) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343985) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3343986) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/double_buffer.js
>   double buffer
> 
>     ✓ should be equal
> 
> test/double_bundle.js
>   double bundle
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> test/double_bundle_error.js
>   double bundle error
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
> (node:3343991) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/double_bundle_json.js
>   double bundle json
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/double_bundle_parallel.js
>   double bundle parallel
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/double_bundle_parallel_cache.js
>   double bundle parallel cached
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/entry.js
>   entry
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   entry via add
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/entry_exec.js
>   only execute entry files
> 
>     ✓ expect truthy value
> 
> (node:3344044) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/entry_expose.js
>   entry expose
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/entry_relative.js
>   entry - relative path
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   entry - relative path via add
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3344066) DeprecationWarning: notEqual() is deprecated, use not() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/error_code.js
>   error code
> 
>     ✓ expect truthy value
> 
>     ✓ should not be equal
> 
> test/exclude.js
>   exclude array
> 
>     ✓ expected to throw
> 
>     ✓ expected to throw
> 
> test/export.js
>   no exports when no files are loaded
> 
>     ✓ should be equivalent
> 
>   no exports when entries are defined
> 
>     ✓ should be equivalent
> 
>   require export when files are required
> 
>     ✓ should be equivalent
> 
> test/external.js
>   external
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/external_shim.js
>   requiring a shimmed module name from an external bundle
> 
>     ✓ expect truthy value
> 
> (node:3344159) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344170) DeprecationWarning: notEqual() is deprecated, use not() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344252) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344267) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344266) DeprecationWarning: notEqual() is deprecated, use not() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/externalize.js
>   externalize bin
> 
>     ✓ exit code
> 
>     ✓ exit code
> 
>     ✓ exit code
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/fake.js
>   fake
> 
>     ✓ should be equal
> 
> test/field.js
>   fieldString
> 
>     ✓ should be equal
> 
>   fieldObject
> 
>     ✓ should be equal
> 
>   missObject
> 
>     ✓ should be equal
> 
>   fieldSub
> 
>     ✓ should be equal
> 
> test/file_event.js
>   file event
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/five_bundle.js
>   five bundle
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> test/full_paths.js
>   fullPaths enabled
> 
>     ✓ full path name for dep.id
> 
>     ✓ full path name for dep.id
> 
>     ✓ full path name for dep.id
> 
>   fullPaths disabled
> 
>     ✓ full path name no longer available
> 
>     ✓ full path name no longer available
> 
>     ✓ full path name no longer available
> 
>   fullPaths enabled, with custom exposed dependency name
> 
>     ✓ expected to not throw
> 
> test/glob.js
>   glob
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/global.js
>   global
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   __filename and __dirname with insertGlobals: true
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   __filename and __dirname
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   __filename and __dirname with basedir
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   process.nextTick
> 
>     ✓ expect truthy value
> 
>   Buffer
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/global_noparse.js
>   global noparse module
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   global noparse module file
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   global noparse module deep file
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   global noparse basedir
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   global noparse function
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/global_recorder.js
>   recorded global tr
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/hash.js
>   hash
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/hash_instance_context.js
>   hash instances with hashed contexts
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should not be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/identical.js
>   identical
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3344303) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/identical_different.js
>   identical
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3344326) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344327) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/ignore.js
>   ignore
> 
>     ✓ should be equivalent
> 
>   ignore array
> 
>     ✓ should be equivalent
> 
>     ✓ should be equivalent
> 
>   ignore by package or id
> 
>     ✓ should be equivalent
> 
>     ✓ should be equivalent
> 
>     ✓ should be equivalent
> 
>   ignore files referenced by relative path
> 
>     ✓ should be equivalent
> 
>   do not ignore files with relative paths that do not resolve
> 
>     ✓ should be equivalent
> 
>     ✓ should be equivalent
> 
> test/ignore_browser_field.js
>   ignore browser field
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/ignore_missing.js
>   ignoreMissing option
>     on browserify
> 
>       ✓ bundle completed with missing file ignored
>     on .bundle
> 
>       ✓ bundle completed with missing file ignored
>     defaults to false
> 
>       ✓ ignoreMissing was false, an error was raised
> 
> test/ignore_transform_key.js
>   ignore transform
> 
>     ✓ should be equal
> 
> test/json.js
>   json
> 
>     ✓ should be equivalent
> 
>     ✓ should be equivalent
> 
>   - verify evil json
>   evil json
> 
>     ✓ should be equivalent
> 
>     ✓ should be equivalent
> 
>   invalid json
> 
>     ✓ expect truthy value
> 
> test/leak.js
>   leaking information about system paths (process)
> 
>     ✓ temp directory visible
> 
>     ✓ cwd directory visible
> 
>     ✓ home directory visible
> 
>     ✓ expect truthy value
> 
>   leaking information about system paths (Buffer)
> 
>     ✓ temp directory visible
> 
>     ✓ cwd directory visible
> 
>     ✓ home directory visible
> 
>     ✓ should be equal
> 
> test/maxlisteners.js
>   setMaxListener
> 
>     ✓ expect truthy value
> 
> test/multi_bundle.js
>   multi bundle
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   multi bundle
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/multi_bundle_unique.js
>   unique require
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3344412) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/multi_entry_cross_require.js
>   multi entry cross require
> 
>     ✓ should contain full entry path
> 
>     ✓ should contain full entry path
> 
>     ✓ should contain full entry path
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   multi entry cross require - relative cwd
> 
>     ✓ should contain full entry path
> 
>     ✓ should contain full entry path
> 
>     ✓ should contain full entry path
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   multi entry cross require - relative
> 
>     ✓ should contain full entry path
> 
>     ✓ should contain full entry path
> 
>     ✓ should contain full entry path
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/multi_require.js
>   require same file locally and globally
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> test/multi_symlink.js
>   multiple symlink execution
> 
>     ✓ should be equal
> 
> test/no_builtins.js
>   builtins false
> 
>     ✓ should be equal
> 
>   builtins []
> 
>     ✓ should be equal
> 
>   builtins object
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3344457) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344457) DeprecationWarning: deepEqual() is deprecated, use same() instead
> test/noparse.js
>   noParse array
> 
>     ✓ should not error
> 
>     ✓ should be equivalent
> 
> (node:3344476) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/pack.js
>   custom packer
> 
>     ✓ should be equal
> 
>     ✓ should be equivalent
> 
>     ✓ should be equal
> 
>     ✓ should be equivalent
> 
>     ✓ should be equal
> 
>     ✓ should be equivalent
> 
>     ✓ should be equal
> 
> (node:3344508) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344508) DeprecationWarning: ifError() is deprecated, use error() instead
> (node:3344494) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344519) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/paths.js
>   $NODE_PATHS
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   opts.paths
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3344519) DeprecationWarning: ifError() is deprecated, use error() instead
> (node:3344526) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/paths_transform.js
>   absolute paths with transform property
> 
>     ✓ should not error
> 
>     ✓ should not contain AX's
> 
>     ✓ should contain AZ's
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   relative paths with transform property
> 
>     ✓ should not error
> 
>     ✓ should not contain AX's
> 
>     ✓ should contain AZ's
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   absolute paths with transform method
> 
>     ✓ should not error
> 
>     ✓ should not contain AX's
> 
>     ✓ should contain AZ's
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>   relative paths with transform method
> 
>     ✓ should not error
> 
>     ✓ should not contain AX's
> 
>     ✓ should contain AZ's
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/pipeline_deps.js
>   deps pipeline
> 
>     ✓ should be equal
> 
> test/pkg.js
>   package
> 
>     ✓ should be equivalent
> 
>     ✓ should not error
> 
> test/pkg_event.js
>   package event
> 
>     ✓ should be equivalent
> 
>     ✓ should be equivalent
> 
>     ✓ should be equivalent
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> test/plugin.js
>   plugin fn
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>   plugin module
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> (node:3344537) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/preserve-symlinks.js
>   optionally preserves symlinks
> 
>     ✓ should not error
> 
>     ✓ expect truthy value
> 
>   always resolve entry point symlink
> 
>     ✓ should not error
> 
>     ✓ expect truthy value
> 
> test/process.js
>   implicit process global
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3344582) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344575) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/relative_dedupe.js
>   relative dedupe
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> (node:3344607) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:3344594) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/require_cache.js
>   cached require results
> 
>     ✓ expect truthy value
> 
> test/require_expose.js
>   require expose external module
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   renaming builtin
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   exposed modules do not leak across bundles
> 
>     ✓ should be equal
> 
>     ✓ should fail with missing module
> 
> test/reset.js
>   reset
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> test/resolve_exposed.js
>   resolve exposed files
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   resolve exposed files without extension
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   resolve exposed directories
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   resolve exposed index from directories
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>   resolve exposed index.js from directories
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> test/retarget.js
>   retarget with -r
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/reverse_multi_bundle.js
>   reverse multi bundle
> 
>     ✓ the main app bundle can already use the shared library
> 
>     ✓ lazy bundle is not executed yet so the lazy module cannot be required yet
> 
>     ✓ lazy.js can use the shared library
> 
>     ✓ lazy.js can use library code with arbitrary names
> 
>     ✓ lazy module was able to use shared code
> 
> test/shared_symlink.js
>   shared symlink
> 
>     ✓ should be equal
> 
> test/shebang.js
>   files with shebangs
> 
>     ✓ should be equal
> 
> test/standalone.js
>   standalone
>     window global
> 
>       ✓ should be equal
> 
>       ✓ should be equal
>     CommonJS
> 
>       ✓ should be equal
> 
>       ✓ should be equal
>     RequireJS
> 
>       ✓ should be equal
> 
>       ✓ should be equal
> 
>   A.B.C standalone
>     window global
> 
>       ✓ should be equal
> 
>       ✓ should be equal
>     CommonJS
> 
>       ✓ should be equal
> 
>       ✓ should be equal
>     RequireJS
> 
>       ✓ should be equal
> 
>       ✓ should be equal
> 
> test/standalone_events.js
>   standalone bundle close event
> 
>     ✓ expect truthy value
> 
> test/standalone_sourcemap.js
>   standalone in debug mode
>     window global
> 
>       ✓ should be equal
> 
>       ✓ should be equal
>     CommonJS
> 
>       ✓ should be equal
> 
>       ✓ should be equal
>     RequireJS
> 
>       ✓ should be equal
> 
>       ✓ should be equal
> 
> test/stdin.js
>   stdin
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/stream.js
>   stream
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/stream_file.js
>   stream file
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/subdep.js
>   subdep
> 
>     ✓ should be equal
> 
> test/symlink_dedupe.js
>   hash instances with hashed contexts
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/tr.js
>   function transform
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ transformation scope
> 
>     ✓ sub-transformation applied
> 
>     ✓ GGG leak
> 
>     ✓ should be equal
> 
> test/tr_args.js
>   transform arguments
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/tr_error.js
>   transform errors errback
> 
>     ✓ expect truthy value
> 
>     ✓ should be equal
> 
>   transform errors propagate
> 
>     ✓ expect truthy value
> 
> test/tr_flags.js
>   --debug passed to transforms
> 
>     ✓ debug: true
> 
>     ✓ debug: false
> 
>     ✓ transform arguents are preserved
> 
> test/tr_global.js
>   global transform precedence
> 
>     ✓ should be equal
> 
> (node:3344823) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/tr_no_entry.js
>   transform with no entry files
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> (node:3344840) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/tr_once.js
>   transform exactly once
> 
>     ✓ should be equal
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
> (node:3344847) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/tr_order.js
>   function transform
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ transformation scope
> 
>     ✓ sub-transformation applied
> 
>     ✓ GGG leak
> 
>     ✓ should be equal
> 
> (node:3344855) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> test/tr_symlink.js
>   transform symlink
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/unicode.js
>   unicode entry
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> test/util.js
>   util.inspect
> 
>     ✓ should be equal
> 
>   util.inherits
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
>   util.inherits without Object.create
> 
>     ✓ expect truthy value
> 
>     ✓ expect truthy value
> 
> test/yield.js
>   yield
> 
>     ✓ should not error
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
>     ✓ should be equal
> 
> 
>   551 passing (16s)
>   1 pending
> ERROR: Coverage for lines (87.14%) does not meet global threshold (100%)
> ERROR: Coverage for functions (78.33%) does not meet global threshold (100%)
> ERROR: Coverage for branches (80.5%) does not meet global threshold (100%)
> ERROR: Coverage for statements (84.75%) does not meet global threshold (100%)
> -------------------------------|---------|----------|---------|---------|---------------------------
> File                           | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s         
> -------------------------------|---------|----------|---------|---------|---------------------------
> All files                      |   84.75 |     80.5 |   78.33 |   87.14 |                           
>  node-browserify-17.0.0+ds     |    92.5 |    85.79 |   95.18 |   94.71 |                           
>   index.js                     |    92.5 |    85.79 |   95.18 |   94.71 | ...37,548,684,694,748,827 
>  node-browserify-17.0.0+ds/bin |   56.06 |    63.71 |   40.54 |   58.97 |                           
>   args.js                      |      55 |     62.5 |   42.85 |   57.94 | ...11,216-236,242-243,255 
>   cmd.js                       |   58.49 |    65.85 |   33.33 |   61.22 | ...6,32-34,38-44,48-54,76 
>  node-browserify-17.0.0+ds/lib |     100 |      100 |     100 |     100 |                           
>   builtins.js                  |     100 |      100 |     100 |     100 |                           
> -------------------------------|---------|----------|---------|---------|---------------------------
> 	rm -fr -- /tmp/dh-xdg-rundir-m_q50l7j
> 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-browserify_17.0.0+ds-3_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