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

Lucas Nussbaum lucas at debian.org
Tue Apr 12 20:21:04 BST 2022


Source: node-tape
Version: 5.5.2+~cs8.20.16-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/array.prototype.every -> ../array-prototype-every
> Link node_modules/dotignore -> ../dotignore
> Link node_modules/for-each -> ../for-each
> Link node_modules/has-dynamic-import -> ../has-dynamic-import
> Link node_modules/string.prototype.trim -> ../stringprototypetrim
> Link node_modules/@types/tape -> ../../types-tape
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../. node_modules/tape
> 	/bin/sh -ex debian/tests/pkg-js/test
> + + lsgrep -v -f debian/tests/tests_excluded
>  test/add-subtest-async.js test/anonymous-fn.js test/array.js test/async-await.js test/bound.js test/child_ordering.js test/circular-things.js test/comment.js test/common.js test/create_multiple_streams.js test/deep-equal-failure.js test/deep.js test/default-messages.js test/double_end.js test/edge-cases.js test/end-as-callback.js test/error.js test/exit.js test/exposed-harness.js test/fail.js test/has spaces.js test/ignore_from_gitignore.js test/import.js test/many.js test/match.js test/max_listeners.js test/nested-async-plan-noend.js test/nested-sync-noplan-noend.js test/nested.js test/nested2.js test/no_callback.js test/no_only.js test/not-deep-equal-failure.js test/not-equal-failure.js test/numerics.js test/objectMode.js test/objectModeWithComment.js test/onFailure.js test/onFinish.js test/only-twice.js test/only.js test/only2.js test/only3.js test/only4.js test/only5.js test/order.js test/plan_optional.js test/promise_fail.js test/require.js test/skip.js test/skip_explanation.js test/stackTrace.js test/subcount.js test/subtest_and_async.js test/subtest_plan.js test/teardown.js test/throws.js test/timeout.js test/timeoutAfter.js test/todo.js test/todo_explanation.js test/todo_single.js test/too_many.js test/undef.js
> + tap -J test/add-subtest-async.js test/anonymous-fn.js test/array.js test/bound.js test/child_ordering.js test/circular-things.js test/comment.js test/common.js test/create_multiple_streams.js test/deep.js test/default-messages.js test/double_end.js test/edge-cases.js test/end-as-callback.js test/error.js test/exposed-harness.js test/fail.js test/has spaces.js test/ignore_from_gitignore.js test/import.js test/many.js test/match.js test/max_listeners.js test/nested-async-plan-noend.js test/nested-sync-noplan-noend.js test/nested.js test/nested2.js test/no_callback.js test/no_only.js test/numerics.js test/objectMode.js test/objectModeWithComment.js test/onFailure.js test/onFinish.js test/only-twice.js test/only.js test/only2.js test/only3.js test/only4.js test/only5.js test/order.js test/plan_optional.js test/promise_fail.js test/require.js test/skip.js test/skip_explanation.js test/subcount.js test/subtest_and_async.js test/subtest_plan.js test/throws.js test/timeout.js test/timeoutAfter.js test/todo.js test/todo_explanation.js test/todo_single.js test/undef.js
> TAP version 13
> (node:1647734) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> ok 1 - test/add-subtest-async.js # time=2996.169ms {
>     # parent
>     ok 1 parent
> (node:1647732) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
>     # child
>     ok 2 child
>     
>     1..2
>     # tests 2
>     # pass  2
>     
>     # ok
> }
> 
> ok 2 - test/anonymous-fn.js # time=36.466ms {
>     # Subtest: inside anonymous functions
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - inside anonymous functions # time=30.903ms
>     
>     1..1
>     # time=36.466ms
> }
> 
> ok 3 - test/array.js # time=67.485ms {
>     # Subtest: array test
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - array test # time=62.353ms
>     
>     1..1
>     # time=67.485ms
> }
> 
> ok 4 - test/bound.js # time=2862.49ms {
>     # bind works
>     ok 1 should be strictly equal
>     ok 2 should be deeply equivalent
>     
>     1..2
>     # tests 2
>     # pass  2
>     
>     # ok
> }
> 
> ok 5 - test/child_ordering.js # time=2917.896ms {
>     # parent
>     # child
>     ok 1 child ran
>     # uncle
>     ok 2 Child should run before next top-level test
>     # grandparent
>     ok 3 grand parent ran twice
>     ok 4 grandparent ran
>     # parent
>     ok 5 parent ran twice
>     ok 6 parent ran
>     # grandchild
>     ok 7 grand child ran twice
>     ok 8 grand child ran
>     # other parent
>     ok 9 first parent runs before second parent
>     ok 10 grandchild runs before second parent
>     # second grandparent
>     ok 11 grandparent ran
>     ok 12 parent ran
>     ok 13 grandchild ran
>     ok 14 other grandparent ran
>     
>     1..14
>     # tests 14
>     # pass  14
>     
>     # ok
> }
> 
> ok 6 - test/circular-things.js # time=38.739ms {
>     # Subtest: circular test
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - circular test # time=31.127ms
>     
>     1..1
>     # time=38.739ms
> }
> 
> ok 7 - test/comment.js # time=86.334ms {
>     # Subtest: no comment
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - no comment # time=42.3ms
>     
>     # Subtest: missing argument
>         1..1
>         ok 1 - should be equal
>     ok 2 - missing argument # time=4.13ms
>     
>     # Subtest: null argument
>         1..1
>         ok 1 - should be equal
>     ok 3 - null argument # time=1.717ms
>     
>     # Subtest: whitespace
>         1..1
>         ok 1 - should be equal
>     ok 4 - whitespace # time=10.785ms
>     
>     # Subtest: non-string types
>         1..1
>         ok 1 - should be equal
>     ok 5 - non-string types # time=3.196ms
>     
>     # Subtest: multiline string
>         1..1
>         ok 1 - should be equal
>     ok 6 - multiline string # time=2.758ms
>     
>     # Subtest: comment with createStream/objectMode
>         1..1
>         ok 1 - should be equal
>     ok 7 - comment with createStream/objectMode # time=2.278ms
>     
>     1..7
>     # time=86.334ms
> }
> 
> ok 8 - test/common.js # SKIP no tests found {
>     1..0 # no tests found
> }
> 
> ok 9 - test/create_multiple_streams.js # time=2440.76ms {
>     # createMultipleStreams
>     ok 1 harness test ran
>     ok 2 harness test didn't fail
>     
>     1..2
>     # tests 2
>     # pass  2
>     
>     # ok
> }
> 
> ok 10 - test/deep.js # time=638.695ms {
>     # deep strict equal
>     ok 1 should not be deeply equivalent
>     # deep loose equal
>     ok 2 should be loosely deeply equivalent
>     # requires 2 arguments
>     ok 3 deepEqual: no args
>     ok 4 deepEqual: one arg
>     ok 5 deepLooseEqual: no args
>     ok 6 deepLooseEqual: one arg
>     ok 7 notDeepEqual: no args
>     ok 8 notDeepEqual: one arg
>     ok 9 notDeepLooseEqual: no args
>     ok 10 notDeepLooseEqual: one arg
>     ok 11 equal: no args
>     ok 12 equal: one arg
>     ok 13 notEqual: no args
>     ok 14 notEqual: one arg
>     
>     1..14
>     # tests 14
>     # pass  14
>     
>     # ok
> }
> 
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> ok 11 - test/default-messages.js # time=658.4ms {
>     # Subtest: default messages
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - default messages # time=649.76ms
>     
>     1..1
>     # time=658.4ms
> }
> 
> ok 12 - test/double_end.js # time=738.749ms {
>     # Subtest
>         1..2
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>     ok 1 # time=732.152ms
>     
>     1..1
>     # time=738.749ms
> }
> 
> ok 13 - test/edge-cases.js # time=100.68ms {
>     # Subtest: edge cases
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - edge cases # time=93.17ms
>     
>     1..1
>     # time=100.68ms
> }
> 
> ok 14 - test/end-as-callback.js # time=125.31ms {
>     # Subtest: tape assert.end as callback
>         ok 1 - should be equal
>         1..1
>     ok 1 - tape assert.end as callback # time=118.719ms
>     
>     1..1
>     # time=125.31ms
> }
> 
> ok 15 - test/error.js # time=38.357ms {
>     # Subtest: failures
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - failures # time=32.259ms
>     
>     1..1
>     # time=38.357ms
> }
> 
> ok 16 - test/exposed-harness.js # time=42.385ms {
>     # Subtest: main harness object is exposed
>         ok 1 - tape.getHarness is a function
>         ok 2 - should be equal
>         1..2
>     ok 1 - main harness object is exposed # time=8.638ms
>     
>     1..1
>     # time=42.385ms
>     
>     1..0
>     # tests 0
>     # pass  0
>     
>     # ok
> }
> 
> ok 17 - test/fail.js # time=86.892ms {
>     # Subtest: array test
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - array test # time=79.911ms
>     
>     1..1
>     # time=86.892ms
> }
> 
> not ok 18 - test/has # time=35.264ms {
>     not ok 1 - ENOENT: no such file or directory, stat 'test/has'
>       ---
>       stack: |
>         runAllFiles (/usr/share/nodejs/tap/bin/run.js:652:15)
>         runTests (/usr/share/nodejs/tap/bin/run.js:783:3)
>         mainAsync (/usr/share/nodejs/tap/bin/run.js:267:5)
>         main (/usr/share/nodejs/tap/bin/run.js:141:3)
>         Object.j.main (/usr/share/nodejs/jackspeak/index.js:483:5)
>         execute (/usr/share/nodejs/jackspeak/index.js:224:7)
>         jack (/usr/share/nodejs/jackspeak/index.js:163:31)
>         module.exports (/usr/share/nodejs/tap/bin/jack.js:28:26)
>         Object.<anonymous> (/usr/share/nodejs/tap/bin/run.js:874:23)
>       at:
>         line: 1131
>         column: 3
>         file: fs.js
>         function: Object.statSync
>       errno: -2
>       syscall: stat
>       code: ENOENT
>       path: test/has
>       test: test/has
>       ...
>     
>     1..1
>     # failed 1 test
> }
> 
> not ok 19 - spaces.js # time=4.926ms {
>     not ok 1 - ENOENT: no such file or directory, stat 'spaces.js'
>       ---
>       stack: |
>         runAllFiles (/usr/share/nodejs/tap/bin/run.js:652:15)
>         runTests (/usr/share/nodejs/tap/bin/run.js:783:3)
>         mainAsync (/usr/share/nodejs/tap/bin/run.js:267:5)
>         main (/usr/share/nodejs/tap/bin/run.js:141:3)
>         Object.j.main (/usr/share/nodejs/jackspeak/index.js:483:5)
>         execute (/usr/share/nodejs/jackspeak/index.js:224:7)
>         jack (/usr/share/nodejs/jackspeak/index.js:163:31)
>         module.exports (/usr/share/nodejs/tap/bin/jack.js:28:26)
>         Object.<anonymous> (/usr/share/nodejs/tap/bin/run.js:874:23)
>       at:
>         line: 1131
>         column: 3
>         file: fs.js
>         function: Object.statSync
>       errno: -2
>       syscall: stat
>       code: ENOENT
>       path: spaces.js
>       test: spaces.js
>       ...
>     
>     1..1
>     # failed 1 test
> }
> 
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> (node:1647946) DeprecationWarning: notEqual() is deprecated, use not() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1647972) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 20 - test/ignore_from_gitignore.js # time=2501.833ms {
>     # Subtest: Should pass with ignoring
>         1..2
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>     ok 1 - Should pass with ignoring # time=1292.067ms
>     
>     # Subtest: Should pass
>         1..2
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>     ok 2 - Should pass # time=749.98ms
>     
>     # Subtest: Should fail when ignore file does not exist
>         1..3
>         ok 1 - expect truthy value
>         ok 2 - should be equivalent
>         ok 3 - should be equal
>     ok 3 - Should fail when ignore file does not exist # time=452.234ms
>     
>     1..3
>     # time=2501.833ms
> }
> 
> (node:1648026) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 21 - test/import.js # time=3148.473ms {
>     # Subtest: importing mjs files
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>         1..2
>     ok 1 - importing mjs files # time=757.435ms
>     
>     # Subtest: importing type: "module" files
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>         1..2
>     ok 2 - importing type: "module" files # time=701.493ms
>     
>     # Subtest: errors importing test files
>         1..22
>         ok 1 - should have unhandled rejection warning: syntax errors in first imported esm file in `warn` mode`
>         ok 2 - syntax errors in first imported esm file in `warn` mode` has exit code 0
>         ok 3 - should not have unhandled rejection warning: thrown error in cjs file in `strict` mode`
>         ok 4 - thrown error in cjs file in `strict` mode` has exit code 1
>         ok 5 - should not have unhandled rejection warning: thrown error in cjs file in `warn` mode`
>         ok 6 - should not have unhandled rejection warning: thrown error in esm file in `strict` mode`
>         ok 7 - thrown error in esm file in `strict` mode` has exit code 1
>         ok 8 - thrown error in cjs file in `warn` mode` has exit code 1
>         ok 9 - should have unhandled rejection warning: thrown errors in first imported esm file in `warn` mode`
>         ok 10 - thrown errors in first imported esm file in `warn` mode` has exit code 0
>         ok 11 - should have unhandled rejection warning: syntax error in esm file in `warn` mode`
>         ok 12 - syntax error in esm file in `warn` mode` has exit code 1
>         ok 13 - should not have unhandled rejection warning: syntax error in cjs file in `strict` mode`
>         ok 14 - syntax error in cjs file in `strict` mode` has exit code 1
>         ok 15 - should not have unhandled rejection warning: syntax error in cjs file in loading promise in `strict` mode`
>         ok 16 - syntax error in cjs file in loading promise in `strict` mode` has exit code 1
>         ok 17 - should not have unhandled rejection warning: syntax error in cjs file in `warn` mode`
>         ok 18 - syntax error in cjs file in `warn` mode` has exit code 1
>         ok 19 - should not have unhandled rejection warning: syntax error in esm file in `strict` mode`
>         ok 20 - syntax error in esm file in `strict` mode` has exit code 1
>         ok 21 - should have unhandled rejection warning: syntax error in cjs file in loading promise in `warn` mode`
>         ok 22 - syntax error in cjs file in loading promise in `warn` mode` has exit code 1
>     ok 3 - errors importing test files # time=1681.971ms
>     
>     1..3
>     # time=3148.473ms
> }
> 
> ok 22 - test/many.js # time=585.178ms {
>     # many tests
>     ok 1 (unnamed assert)
>     ok 2 (unnamed assert)
>     ok 3 (unnamed assert)
>     ok 4 (unnamed assert)
>     ok 5 (unnamed assert)
>     ok 6 (unnamed assert)
>     ok 7 (unnamed assert)
>     ok 8 (unnamed assert)
>     ok 9 (unnamed assert)
>     ok 10 (unnamed assert)
>     ok 11 (unnamed assert)
>     ok 12 (unnamed assert)
>     ok 13 (unnamed assert)
>     ok 14 (unnamed assert)
>     ok 15 (unnamed assert)
>     ok 16 (unnamed assert)
>     ok 17 (unnamed assert)
>     ok 18 (unnamed assert)
>     ok 19 (unnamed assert)
>     ok 20 (unnamed assert)
>     ok 21 (unnamed assert)
>     ok 22 (unnamed assert)
>     ok 23 (unnamed assert)
>     ok 24 (unnamed assert)
>     ok 25 (unnamed assert)
>     ok 26 (unnamed assert)
>     ok 27 (unnamed assert)
>     ok 28 (unnamed assert)
>     ok 29 (unnamed assert)
>     ok 30 (unnamed assert)
>     ok 31 (unnamed assert)
>     ok 32 (unnamed assert)
>     ok 33 (unnamed assert)
>     ok 34 (unnamed assert)
>     ok 35 (unnamed assert)
>     ok 36 (unnamed assert)
>     ok 37 (unnamed assert)
>     ok 38 (unnamed assert)
>     ok 39 (unnamed assert)
>     ok 40 (unnamed assert)
>     ok 41 (unnamed assert)
>     ok 42 (unnamed assert)
>     ok 43 (unnamed assert)
>     ok 44 (unnamed assert)
>     ok 45 (unnamed assert)
>     ok 46 (unnamed assert)
>     ok 47 (unnamed assert)
>     ok 48 (unnamed assert)
>     ok 49 (unnamed assert)
>     ok 50 (unnamed assert)
>     ok 51 (unnamed assert)
>     ok 52 (unnamed assert)
>     ok 53 (unnamed assert)
>     ok 54 (unnamed assert)
>     ok 55 (unnamed assert)
>     ok 56 (unnamed assert)
>     ok 57 (unnamed assert)
>     ok 58 (unnamed assert)
>     ok 59 (unnamed assert)
>     ok 60 (unnamed assert)
>     ok 61 (unnamed assert)
>     ok 62 (unnamed assert)
>     ok 63 (unnamed assert)
>     ok 64 (unnamed assert)
>     ok 65 (unnamed assert)
>     ok 66 (unnamed assert)
>     ok 67 (unnamed assert)
>     ok 68 (unnamed assert)
>     ok 69 (unnamed assert)
>     ok 70 (unnamed assert)
>     ok 71 (unnamed assert)
>     ok 72 (unnamed assert)
>     ok 73 (unnamed assert)
>     ok 74 (unnamed assert)
>     ok 75 (unnamed assert)
>     ok 76 (unnamed assert)
>     ok 77 (unnamed assert)
>     ok 78 (unnamed assert)
>     ok 79 (unnamed assert)
>     ok 80 (unnamed assert)
>     ok 81 (unnamed assert)
>     ok 82 (unnamed assert)
>     ok 83 (unnamed assert)
>     ok 84 (unnamed assert)
>     ok 85 (unnamed assert)
>     ok 86 (unnamed assert)
>     ok 87 (unnamed assert)
>     ok 88 (unnamed assert)
>     ok 89 (unnamed assert)
>     ok 90 (unnamed assert)
>     ok 91 (unnamed assert)
>     ok 92 (unnamed assert)
>     ok 93 (unnamed assert)
>     ok 94 (unnamed assert)
>     ok 95 (unnamed assert)
>     ok 96 (unnamed assert)
>     ok 97 (unnamed assert)
>     ok 98 (unnamed assert)
>     ok 99 (unnamed assert)
>     ok 100 (unnamed assert)
>     
>     1..100
>     # tests 100
>     # pass  100
>     
>     # ok
> }
> 
> ok 23 - test/match.js # time=86.922ms {
>     # Subtest: match
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - match # time=56.426ms
>     
>     # Subtest: doesNotMatch
>         1..1
>         ok 1 - should be equivalent
>     ok 2 - doesNotMatch # time=21.474ms
>     
>     1..2
>     # time=86.922ms
> }
> 
> ok 24 - test/max_listeners.js # time=925.2ms {
>     # (anonymous)
>     ok 1 true is truthy
>     # (anonymous)
>     ok 2 true is truthy
>     # (anonymous)
>     ok 3 true is truthy
>     # (anonymous)
>     ok 4 true is truthy
>     # (anonymous)
>     ok 5 true is truthy
>     # (anonymous)
>     ok 6 true is truthy
>     # (anonymous)
>     ok 7 true is truthy
>     # (anonymous)
>     ok 8 true is truthy
>     # (anonymous)
>     ok 9 true is truthy
>     # (anonymous)
>     ok 10 true is truthy
>     # (anonymous)
>     ok 11 true is truthy
>     
>     1..11
>     # tests 11
>     # pass  11
>     
>     # ok
> }
> 
> ok 25 - test/nested-async-plan-noend.js # time=930.415ms {
>     # Harness async test support
>     ok 1 sync child A
>     # sync child B
>     # async grandchild A
>     ok 2 should be truthy
>     # async grandchild B
>     ok 3 should be truthy
>     # async child
>     ok 4 sync grandchild in async child A
>     # sync grandchild in async child B
>     ok 5 should be truthy
>     
>     1..5
>     # tests 5
>     # pass  5
>     
>     # ok
> }
> 
> ok 26 - test/nested-sync-noplan-noend.js # time=72.293ms {
>     # Subtest: nested sync test without plan or end
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - nested sync test without plan or end # time=66.672ms
>     
>     1..1
>     # time=72.293ms
> }
> 
> ok 27 - test/nested.js # time=233.765ms {
>     # Subtest: array test
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - array test # time=226.548ms
>     
>     1..1
>     # time=233.765ms
> }
> 
> ok 28 - test/nested2.js # time=620.636ms {
>     # (anonymous)
>     # setup
>     ok 1 called once
>     
>     # teardown
>     1..1
>     # tests 1
>     # pass  1
>     
>     # ok
> }
> 
> ok 29 - test/no_callback.js # time=70.178ms {
>     # Subtest: no callback
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - no callback # time=62.31ms
>     
>     1..1
>     # time=70.178ms
> }
> 
> (node:1648216) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 30 - test/no_only.js # time=4173.88ms {
>     # Subtest: Should throw error when --no-only is passed via cli and there is a .only test
>         1..3
>         ok 1 - should be equivalent
>         ok 2 - should match pattern provided
>         ok 3 - should be equal
>     ok 1 - Should throw error when --no-only is passed via cli and there is a .only test # time=745.138ms
>     
>     # Subtest: Should throw error when NODE_TAPE_NO_ONLY_TEST is passed via envs and there is an .only test
>         1..3
>         ok 1 - should be equivalent
>         ok 2 - should match pattern provided
>         ok 3 - should be equal
>     ok 2 - Should throw error when NODE_TAPE_NO_ONLY_TEST is passed via envs and there is an .only test # time=920.914ms
>     
>     # Subtest: Should override NODE_TAPE_NO_ONLY_TEST env if --no-only is passed from cli
>         1..3
>         ok 1 - should be equivalent
>         ok 2 - should match pattern provided
>         ok 3 - should be equal
>     ok 3 - Should override NODE_TAPE_NO_ONLY_TEST env if --no-only is passed from cli # time=1236.319ms
>     
>     # Subtest: Should run successfully if there is no only test
>         1..3
>         ok 1 - should match pattern provided
>         ok 2 - should be equivalent
>         ok 3 - should be equal
>     ok 4 - Should run successfully if there is no only test # time=606.778ms
>     
>     # Subtest: Should run successfully if there is an only test and no --no-only flag
>         1..3
>         ok 1 - should be equivalent
>         ok 2 - should match pattern provided
>         ok 3 - should be equal
>     ok 5 - Should run successfully if there is an only test and no --no-only flag # time=655.219ms
>     
>     1..5
>     # time=4173.88ms
> }
> 
> ok 31 - test/numerics.js # time=77.047ms {
>     # Subtest: numerics
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - numerics # time=69.309ms
>     
>     1..1
>     # time=77.047ms
> }
> 
> ok 32 - test/objectMode.js # time=116.783ms {
>     # Subtest: object results
>         ok 1 - should be equal
>         ok 2 - should not be equal
>         ok 3 - should not be equal
>         ok 4 - should not be equal
>         ok 5 - should not be equal
>         ok 6 - should be equal
>         ok 7 - should be equal
>         ok 8 - should be equal
>         ok 9 - should be equal
>         1..9
>     ok 1 - object results # time=107.346ms
>     
>     1..1
>     # time=116.783ms
> }
> 
> ok 33 - test/objectModeWithComment.js # time=46.765ms {
>     # Subtest: test.comment() in objectMode
>         ok 1 - should be equal
>         ok 2 - should be equivalent
>         1..2
>     ok 1 - test.comment() in objectMode # time=30.718ms
>     
>     1..1
>     # time=46.765ms
> }
> 
> ok 34 - test/onFailure.js # time=139.803ms {
>     # Subtest: on failure
>         1..1
>         ok 1 - tape ended
>     ok 1 - on failure # time=131.088ms
>     
>     1..1
>     # time=139.803ms
> }
> 
> ok 35 - test/onFinish.js # time=49.234ms {
>     # Subtest: on finish
>         1..1
>     # dummy test
>         ok 1 - tape ended
>     ok 1 - on finish # time=34.463ms
>     
>     1..1
>     # time=49.234ms
>     
>     1..0
>     # tests 0
>     # pass  0
>     
>     # ok
> }
> 
> ok 36 - test/only-twice.js # time=46.812ms {
>     # Subtest: only twice error
>         ok 1 - expected to throw
>         1..1
>     ok 1 - only twice error # time=15.296ms
>     
>     1..1
>     # time=46.812ms
> }
> 
> ok 37 - test/only.js # time=163.839ms {
>     # Subtest: tape only test
>         ok 1 - should be equivalent
>         ok 2 - should be equivalent
>         1..2
>     ok 1 - tape only test # time=111.765ms
>     
>     1..1
>     # time=163.839ms
> }
> 
> ok 38 - test/only2.js # SKIP {
>     # only2 test 2
>     
>     1..0
>     # tests 0
>     # pass  0
>     
>     # ok
> }
> 
> ok 39 - test/only3.js # SKIP {
>     # only3 test 2
>     
>     1..0
>     # tests 0
>     # pass  0
>     
>     # ok
> }
> 
> ok 40 - test/only4.js # SKIP {
>     # only4 duplicate test name
>     
>     1..0
>     # tests 0
>     # pass  0
>     
>     # ok
> }
> 
> ok 41 - test/only5.js # SKIP {
>     # only5 duplicate test name
>     
>     1..0
>     # tests 0
>     # pass  0
>     
>     # ok
> }
> 
> ok 42 - test/order.js # time=1191.445ms {
>     # (anonymous)
>     ok 1 should be strictly equal
>     # (anonymous)
>     ok 2 should be strictly equal
>     # (anonymous)
>     ok 3 should be strictly equal
>     
>     1..3
>     # tests 3
>     # pass  3
>     
>     # ok
> }
> 
> ok 43 - test/plan_optional.js # time=1486.662ms {
>     # plan should be optional
>     ok 1 no plan here
>     # no plan async
>     ok 2 ok
>     
>     1..2
>     # tests 2
>     # pass  2
>     
>     # ok
> }
> 
> ok 44 - test/promise_fail.js # time=1349.425ms {
>     # Subtest: callback returning rejected promise should cause that test (and only that test) to fail
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - callback returning rejected promise should cause that test (and only that test) to fail # time=691.061ms
>     
>     # Subtest: subtest callback returning rejected promise should cause that subtest (and only that subtest) to fail
>         1..1
>         ok 1 - should be equivalent
>     ok 2 - subtest callback returning rejected promise should cause that subtest (and only that subtest) to fail # time=643.21ms
>     
>     1..2
>     # time=1349.425ms
> }
> 
> ok 45 - test/require.js # time=1417.709ms {
>     # Subtest: requiring a single module
>         1..2
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>     ok 1 - requiring a single module # time=763.768ms
>     
>     # Subtest: requiring multiple modules
>         1..2
>         ok 1 - should be equivalent
>         ok 2 - should be equal
>     ok 2 - requiring multiple modules # time=646.326ms
>     
>     1..2
>     # time=1417.709ms
> }
> 
> ok 46 - test/skip.js # time=54.403ms {
>     # Subtest: test SKIP comment
>         1..1
>         ok 1 - should be equal
>     ok 1 - test SKIP comment # time=39.273ms
>     
>     # SKIP skip this
>     # skip subtest
>     # SKIP skip this
>     1..1
>     # time=54.403ms
>     
>     1..0
>     # tests 0
>     # pass  0
>     
>     # ok
> }
> 
> ok 47 - test/skip_explanation.js # time=67.562ms {
>     # Subtest: test skip explanations
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - test skip explanations # time=57.87ms
>     
>     1..1
>     # time=67.562ms
> }
> 
> ok 48 - test/subcount.js # time=638.729ms {
>     # parent test
>     # first child
>     ok 1 pass first child
>     # (anonymous)
>     ok 2 pass second child
>     
>     1..2
>     # tests 2
>     # pass  2
>     
>     # ok
> }
> 
> ok 49 - test/subtest_and_async.js # time=664.58ms {
>     # master test
>     # subtest 1
>     ok 1 subtest 1 before async call
>     ok 2 subtest 1 in async callback
>     # subtest 2
>     ok 3 subtest 2 before async call
>     ok 4 subtest 2 in async callback
>     
>     1..4
>     # tests 4
>     # pass  4
>     
>     # ok
> }
> 
> ok 50 - test/subtest_plan.js # time=653.658ms {
>     # parent
>     ok 1 assertion in parent
>     # first child
>     ok 2 pass first child
>     # second child
>     ok 3 first child ran first
>     ok 4 pass second child
>     
>     1..4
>     # tests 4
>     # pass  4
>     
>     # ok
> }
> 
> ok 51 - test/throws.js # time=101.637ms {
>     # Subtest: failures
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - failures # time=93.767ms
>     
>     1..1
>     # time=101.637ms
> }
> 
> ok 52 - test/timeout.js # time=723.329ms {
>     # timeout
>     ok 1 this should run
>     # should still run
>     ok 2 should be strictly equal
>     
>     1..2
>     # tests 2
>     # pass  2
>     
>     # ok
> }
> 
> ok 53 - test/timeoutAfter.js # time=87.618ms {
>     # Subtest: timeoutAfter test
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - timeoutAfter test # time=60.009ms
>     
>     # Subtest: timeoutAfter with Promises
>         1..1
>         ok 1 - should be equivalent
>     ok 2 - timeoutAfter with Promises # time=13.496ms
>     
>     1..2
>     # time=87.618ms
> }
> 
> (node:1648306) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1648300) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> not ok 54 - test/todo.js # time=124.558ms
>   ---
>   env: {}
>   file: test/todo.js
>   timeout: 30000
>   command: /usr/bin/node
>   args:
>     - test/todo.js
>   stdio:
>     - 0
>     - pipe
>     - 2
>   cwd: /<<PKGBUILDDIR>>
>   exitCode: 1
>   ...
> {
>     # Subtest: tape todo test
>         1..1
>         not ok 1 - should be equivalent
>           ---
>           diff: |
>             --- expected
>             +++ actual
>             @@ -6,7 +6,7 @@
>                "not ok 2 should never happen # TODO",
>                "  ---",
>                "    operator: fail",
>             -  "    at: Test.<anonymous> ($TEST/todo.js:$LINE:$COL)",
>             +  "    at: Test.apply ($TEST/todo.js:$LINE:$COL)",
>                "  ...",
>                "",
>                "1..2",
>           at:
>             line: 118
>             column: 15
>             file: internal/util.js
>             type: Test
>             function: deprecated
>           stack: |
>             test/todo.js:15:16
>             ConcatStream.<anonymous> (/usr/share/nodejs/concat-stream/index.js:37:43)
>             finishMaybe (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:624:14)
>             afterWrite (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:470:3)
>           ...
>         
>         # failed 1 test
>     not ok 1 - tape todo test # time=117.384ms
>     
>     1..1
>     # failed 1 test
>     # time=124.558ms
> }
> 
> not ok 55 - test/todo_explanation.js # time=125.558ms
>   ---
>   env: {}
>   file: test/todo_explanation.js
>   timeout: 30000
>   command: /usr/bin/node
>   args:
>     - test/todo_explanation.js
>   stdio:
>     - 0
>     - pipe
>     - 2
>   cwd: /<<PKGBUILDDIR>>
>   exitCode: 1
>   ...
> {
>     # Subtest: tape todo test
>         1..1
>         not ok 1 - should be equivalent
>           ---
>           diff: |
>             --- expected
>             +++ actual
>             @@ -8,20 +8,20 @@
>                "    operator: equal",
>                "    expected: false",
>                "    actual:   true",
>             -  "    at: Test.<anonymous> ($TEST/todo_explanation.js:$LINE:$COL)",
>             +  "    at: Test.apply ($TEST/todo_explanation.js:$LINE:$COL)",
>                "  ...",
>                "not ok 3 check vars output # TODO name conflict",
>                "  ---",
>                "    operator: equal",
>                "    expected: 0",
>                "    actual:   1",
>             -  "    at: Test.<anonymous> ($TEST/todo_explanation.js:$LINE:$COL)",
>             +  "    at: Test.apply ($TEST/todo_explanation.js:$LINE:$COL)",
>                "  ...",
>                "# incomplete test2",
>                "not ok 4 run openssl # TODO installer needs fix",
>                "  ---",
>                "    operator: fail",
>             -  "    at: Test.<anonymous> ($TEST/todo_explanation.js:$LINE:$COL)",
>             +  "    at: Test.apply ($TEST/todo_explanation.js:$LINE:$COL)",
>                "  ...",
>                "# TODO passing test",
>                "",
>           at:
>             line: 118
>             column: 15
>             file: internal/util.js
>             type: Test
>             function: deprecated
>           stack: |
>             test/todo_explanation.js:15:16
>             ConcatStream.<anonymous> (/usr/share/nodejs/concat-stream/index.js:37:43)
>             finishMaybe (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:624:14)
>             afterWrite (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:470:3)
>           ...
>         
>         # failed 1 test
>     not ok 1 - tape todo test # time=118.074ms
>     
>     1..1
>     # failed 1 test
>     # time=125.558ms
> }
> 
> (node:1648335) DeprecationWarning: deepEqual() is deprecated, use same() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> not ok 56 - test/todo_single.js # time=92.785ms
>   ---
>   env: {}
>   file: test/todo_single.js
>   timeout: 30000
>   command: /usr/bin/node
>   args:
>     - test/todo_single.js
>   stdio:
>     - 0
>     - pipe
>     - 2
>   cwd: /<<PKGBUILDDIR>>
>   exitCode: 1
>   ...
> {
>     # Subtest: tape todo test
>         1..1
>         not ok 1 - should be equivalent
>           ---
>           diff: |
>             --- expected
>             +++ actual
>             @@ -6,7 +6,7 @@
>                "    operator: equal",
>                "    expected: false",
>                "    actual:   true",
>             -  "    at: Test.<anonymous> ($TEST/todo_single.js:$LINE:$COL)",
>             +  "    at: Test.apply ($TEST/todo_single.js:$LINE:$COL)",
>                "  ...",
>                "",
>                "1..1",
>           at:
>             line: 118
>             column: 15
>             file: internal/util.js
>             type: Test
>             function: deprecated
>           stack: |
>             test/todo_single.js:15:16
>             ConcatStream.<anonymous> (/usr/share/nodejs/concat-stream/index.js:37:43)
>             finishMaybe (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:624:14)
>             afterWrite (/usr/share/nodejs/readable-stream/lib/_stream_writable.js:470:3)
>           ...
>         
>         # failed 1 test
>     not ok 1 - tape todo test # time=87.275ms
>     
>     1..1
>     # failed 1 test
>     # time=92.785ms
> }
> 
> ok 57 - test/undef.js # time=30.115ms {
>     # Subtest: array test
>         1..1
>         ok 1 - should be equivalent
>     ok 1 - array test # time=25.618ms
>     
>     1..1
>     # time=30.115ms
> }
> 
> 1..57
> # failed 5 of 57 tests
> # skip: 5
> # time=9952.976ms
> ERROR: Coverage for lines (48.42%) does not meet global threshold (100%)
> ERROR: Coverage for functions (35.16%) does not meet global threshold (100%)
> ERROR: Coverage for branches (71.45%) does not meet global threshold (100%)
> ERROR: Coverage for statements (48.12%) does not meet global threshold (100%)
> 
> =============================== Coverage summary ===============================
> Statements   : 48.12% ( 705/1465 )
> Branches     : 71.45% ( 338/473 )
> Functions    : 35.16% ( 109/310 )
> Lines        : 48.42% ( 676/1396 )
> ================================================================================
> ---------------------------------------|---------|----------|---------|---------|-------------------
> File                                   | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ---------------------------------------|---------|----------|---------|---------|-------------------
> All files                              |   48.12 |    71.45 |   35.16 |   48.42 |                   
>  node-tape-5.5.2+~cs8.20.16            |   94.73 |    87.93 |      92 |      98 |                   
>   index.js                             |   94.73 |    87.93 |      92 |      98 | 43,51             
>  ...2+~cs8.20.16/array-prototype-every |      64 |    27.27 |      50 |    65.3 |                   
>   auto.js                              |       0 |      100 |     100 |       0 | 3                 
>   implementation.js                    |   42.85 |     12.5 |       0 |      45 | 16-34             
>   index.js                             |     100 |      100 |     100 |     100 |                   
>   polyfill.js                          |    87.5 |    66.66 |     100 |    87.5 | 14                
>   shim.js                              |   42.85 |      100 |       0 |   42.85 | 7-13              
>  ...8.20.16/array-prototype-every/test |       0 |        0 |       0 |       0 |                   
>   implementation.js                    |       0 |        0 |       0 |       0 | 1-42              
>   index.js                             |       0 |      100 |       0 |       0 | 3-17              
>   shimmed.js                           |       0 |        0 |       0 |       0 | 1-60              
>   tests.js                             |       0 |        0 |       0 |       0 | 1-166             
>  node-tape-5.5.2+~cs8.20.16/bin        |     100 |      100 |     100 |     100 |                   
>   import-or-require.js                 |     100 |      100 |     100 |     100 |                   
>  node-tape-5.5.2+~cs8.20.16/dotignore  |   91.42 |    73.33 |     100 |   91.17 |                   
>   index.js                             |   91.42 |    73.33 |     100 |   91.17 | 16,40-41          
>  ...pe-5.5.2+~cs8.20.16/dotignore/test |       0 |        0 |       0 |       0 |                   
>   index.js                             |       0 |        0 |       0 |       0 | 3-52              
>  node-tape-5.5.2+~cs8.20.16/example    |       0 |        0 |       0 |       0 |                   
>   array.js                             |       0 |        0 |       0 |       0 | 3-34              
>   fail.js                              |       0 |        0 |       0 |       0 | 3-34              
>   nested.js                            |       0 |        0 |       0 |       0 | 3-51              
>   nested_fail.js                       |       0 |        0 |       0 |       0 | 3-51              
>   no_callback.js                       |       0 |      100 |     100 |       0 | 3-5               
>   not_enough_fail.js                   |       0 |        0 |       0 |       0 | 3-34              
>   throw_fail.js                        |       0 |      100 |       0 |       0 | 3-9               
>   timing.js                            |       0 |      100 |       0 |       0 | 3-12              
>   too_many_fail.js                     |       0 |        0 |       0 |       0 | 3-34              
>   two.js                               |       0 |      100 |       0 |       0 | 3-18              
>  ...pe-5.5.2+~cs8.20.16/example/static |       0 |      100 |     100 |       0 |                   
>   server.js                            |       0 |      100 |     100 |       0 | 3-6               
>  ...pe-5.5.2+~cs8.20.16/example/stream |       0 |      100 |       0 |       0 |                   
>   object.js                            |       0 |      100 |       0 |       0 | 3-11              
>   tap.js                               |       0 |      100 |       0 |       0 | 3-9               
>  ...5.2+~cs8.20.16/example/stream/test |       0 |      100 |       0 |       0 |                   
>   x_fail.js                            |       0 |      100 |       0 |       0 | 3-6               
>   y.js                                 |       0 |      100 |       0 |       0 | 3-12              
>  node-tape-5.5.2+~cs8.20.16/for-each   |   51.42 |    27.77 |      50 |   51.61 |                   
>   index.js                             |   51.42 |    27.77 |      50 |   51.61 | ...37,45,50,55-58 
>  ...ape-5.5.2+~cs8.20.16/for-each/test |       0 |        0 |       0 |       0 |                   
>   test.js                              |       0 |        0 |       0 |       0 | 5-181             
>  ....5.2+~cs8.20.16/has-dynamic-import |   36.53 |    36.36 |   23.07 |   36.53 |                   
>   browser-syntax.js                    |       0 |      100 |       0 |       0 | 3-9               
>   browser.js                           |       0 |        0 |       0 |       0 | 3-28              
>   import.js                            |     100 |      100 |      50 |     100 |                   
>   index.js                             |   65.21 |    57.14 |      40 |   65.21 | 12,20-31,39       
>   syntax.js                            |       0 |      100 |       0 |       0 | 3-9               
>  ...~cs8.20.16/has-dynamic-import/test |       0 |        0 |       0 |       0 |                   
>   index.js                             |       0 |        0 |       0 |       0 | 3-105             
>  node-tape-5.5.2+~cs8.20.16/lib        |   91.71 |    84.33 |   95.94 |      92 |                   
>   default_stream.js                    |      80 |       75 |     100 |   78.94 | 26-29,35          
>   results.js                           |   98.73 |    94.73 |     100 |     100 | 17,146-153,166    
>   test.js                              |   89.05 |    81.01 |   93.75 |   89.16 | ...50,665,674,698 
>  ...5.2+~cs8.20.16/stringprototypetrim |   74.19 |       75 |      25 |   74.19 |                   
>   auto.js                              |       0 |      100 |     100 |       0 | 3                 
>   implementation.js                    |   77.77 |      100 |       0 |   77.77 | 14-15             
>   index.js                             |     100 |      100 |     100 |     100 |                   
>   polyfill.js                          |   83.33 |       75 |     100 |   83.33 | 11                
>   shim.js                              |   42.85 |      100 |       0 |   42.85 | 7-13              
>  ...cs8.20.16/stringprototypetrim/test |       0 |      100 |       0 |       0 |                   
>   implementation.js                    |       0 |      100 |       0 |       0 | 3-20              
>   index.js                             |       0 |      100 |       0 |       0 | 3-16              
>   shimmed.js                           |       0 |      100 |       0 |       0 | 3-35              
>   tests.js                             |       0 |      100 |       0 |       0 | 3-24              
> ---------------------------------------|---------|----------|---------|---------|-------------------
> 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-tape_5.5.2+~cs8.20.16-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