[Pkg-javascript-devel] Bug#1009494: node-fs-vacuum: FTBFS: ERROR: Coverage for statements (72.72%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:19:03 BST 2022
Source: node-fs-vacuum
Version: 1.2.10-6
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/fs-vacuum
> /bin/sh -ex debian/tests/pkg-js/test
> + tap test/arguments.js test/base-leaf-mismatch.js test/no-entries-file-no-purge.js test/no-entries-link-no-purge.js test/no-entries-no-purge.js test/no-entries-with-link-purge.js test/no-entries-with-purge.js test/not-remove-home-directory.js test/other-directories-no-purge.js test/racy-entries-eexist.js test/racy-entries-enotempty.js test/racy-entries.js
> TAP version 13
> (node:438379) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:438381) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:438382) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 1 - test/arguments.js # time=71.313ms {
> # Subtest: vacuum throws on missing parameters
> ok 1 - called with no parameters
> ok 2 - called with no callback
> 1..2
> ok 1 - vacuum throws on missing parameters # time=39.884ms
>
> # Subtest: vacuum throws on incorrect types ("Forrest is pedantic" section)
> ok 1 - called with path parameter of incorrect type
> ok 2 - called with options of wrong type
> ok 3 - called with callback that isn't callable
> 1..3
> ok 2 - vacuum throws on incorrect types ("Forrest is pedantic" section) # time=14.791ms
>
> 1..2
> # time=71.313ms
> }
>
> (node:438380) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:438377) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:438378) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 2 - test/base-leaf-mismatch.js # time=10.637ms {
> # Subtest: vacuum errors when base is set and path is not under it
> ok 1 - got an error
> ok 2 - got the expected error message
> 1..2
> ok 1 - vacuum errors when base is set and path is not under it # time=5.703ms
>
> 1..1
> # time=10.637ms
> }
>
> ok 3 - test/no-entries-file-no-purge.js # time=52.071ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> ok 3 - made file
> 1..3
> ok 1 - xXx setup xXx # time=27.328ms
>
> # Subtest: remove up to a point
> ok 1 - cleaned up to base
> ok 2 - got 5 removal & 1 finish message
> ok 3 - should be equal
> ok 4 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that/ends/at/a/file cannot be statted
> ok 5 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that/ends/at/a/file is totally gone
> ok 6 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that/ends/at/a cannot be statted
> ok 7 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that/ends/at/a is totally gone
> ok 8 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that/ends/at cannot be statted
> ok 9 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that/ends/at is totally gone
> ok 10 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that/ends cannot be statted
> ok 11 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that/ends is totally gone
> ok 12 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that cannot be statted
> ok 13 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path/that is totally gone
> ok 14 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path can be statted
> ok 15 - /tmp/tmp-438377-NYJifGA2aPbx/i/am/a/path is still a directory
> ok 16 - nothing left in base directory
> 1..16
> ok 2 - remove up to a point # time=17.379ms
>
> 1..2
> # time=52.071ms
> }
>
> ok 4 - test/no-entries-link-no-purge.js # time=86.165ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> ok 3 - made target path
> 1..3
> ok 1 - xXx setup xXx # time=50.556ms
>
> # Subtest: remove up to a point
> ok 1 - cleaned up to base
> ok 2 - got 6 removal & 1 finish message
> ok 3 - should be equal
> ok 4 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a/link/in/the/middle cannot be statted
> ok 5 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a/link/in/the/middle is totally gone
> ok 6 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a/link/in/the cannot be statted
> ok 7 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a/link/in/the is totally gone
> ok 8 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a/link/in cannot be statted
> ok 9 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a/link/in is totally gone
> ok 10 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a/link cannot be statted
> ok 11 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a/link is totally gone
> ok 12 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a cannot be statted
> ok 13 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with/a is totally gone
> ok 14 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with cannot be statted
> ok 15 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path/with is totally gone
> ok 16 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path can be statted
> ok 17 - /tmp/tmp-438379-BsjXmvhgIInY/i/am/a/path is still a directory
> ok 18 - nothing left in base directory
> 1..18
> ok 2 - remove up to a point # time=28.457ms
>
> 1..2
> # time=86.165ms
> }
>
> ok 5 - test/no-entries-no-purge.js # time=30.585ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> 1..2
> ok 1 - xXx setup xXx # time=13.613ms
>
> # Subtest: remove up to a point
> ok 1 - cleaned up to base
> ok 2 - got 4 removal & 1 finish message
> ok 3 - should be equal
> ok 4 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path/of/a/certain/length cannot be statted
> ok 5 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path/of/a/certain/length is totally gone
> ok 6 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path/of/a/certain cannot be statted
> ok 7 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path/of/a/certain is totally gone
> ok 8 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path/of/a cannot be statted
> ok 9 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path/of/a is totally gone
> ok 10 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path/of cannot be statted
> ok 11 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path/of is totally gone
> ok 12 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path can be statted
> ok 13 - /tmp/tmp-438378-tEjyNuIlHaBV/i/am/a/path is still a directory
> 1..13
> ok 2 - remove up to a point # time=11.181ms
>
> 1..2
> # time=30.585ms
> }
>
> ok 6 - test/no-entries-with-link-purge.js # time=44.675ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> ok 3 - made target path
> 1..3
> ok 1 - xXx setup xXx # time=26.899ms
>
> # Subtest: remove up to a point
> ok 1 - cleaned up to base
> ok 2 - got 4 removal & 1 finish message
> ok 3 - should be equal
> ok 4 - should be equal
> ok 5 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path/with/a/definite/target cannot be statted
> ok 6 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path/with/a/definite/target is totally gone
> ok 7 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path/with/a/definite cannot be statted
> ok 8 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path/with/a/definite is totally gone
> ok 9 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path/with/a cannot be statted
> ok 10 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path/with/a is totally gone
> ok 11 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path/with cannot be statted
> ok 12 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path/with is totally gone
> ok 13 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path can be statted
> ok 14 - /tmp/tmp-438380-zSqvMcb3FgJ2/i/am/a/path is still a directory
> 1..14
> ok 2 - remove up to a point # time=11.667ms
>
> 1..2
> # time=44.675ms
> }
>
> ok 7 - test/no-entries-with-purge.js # time=91.069ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> 1..2
> ok 1 - xXx setup xXx # time=38.668ms
>
> # Subtest: remove up to a point
> ok 1 - cleaned up to base
> ok 2 - got 4 removal & 1 finish message
> ok 3 - should be equal
> ok 4 - should be equal
> ok 5 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path/of/a/certain/kind cannot be statted
> ok 6 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path/of/a/certain/kind is totally gone
> ok 7 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path/of/a/certain cannot be statted
> ok 8 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path/of/a/certain is totally gone
> ok 9 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path/of/a cannot be statted
> ok 10 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path/of/a is totally gone
> ok 11 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path/of cannot be statted
> ok 12 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path/of is totally gone
> ok 13 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path can be statted
> ok 14 - /tmp/tmp-438381-mJ6InLbTGyVw/i/am/a/path is still a directory
> 1..14
> ok 2 - remove up to a point # time=44.852ms
>
> 1..2
> # time=91.069ms
> }
>
> ok 8 - test/not-remove-home-directory.js # time=74.271ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> 1..2
> ok 1 - xXx setup xXx # time=62.554ms
>
> # Subtest: do not remove home directory
> ok 1 - cleaned up to base
> ok 2 - should be equal
> 1..2
> ok 2 - do not remove home directory # time=4.202ms
>
> 1..2
> # time=74.271ms
> }
>
> (node:438448) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:438449) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:438455) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 9 - test/other-directories-no-purge.js # time=52.537ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> ok 3 - made other path
> 1..3
> ok 1 - xXx setup xXx # time=33.689ms
>
> # Subtest: remove up to a point
> ok 1 - cleaned up to base
> ok 2 - got 3 removal & 1 finish message
> ok 3 - got expected final message
> ok 4 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of/a/certain/length cannot be statted
> ok 5 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of/a/certain/length is totally gone
> ok 6 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of/a/certain cannot be statted
> ok 7 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of/a/certain is totally gone
> ok 8 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of/a cannot be statted
> ok 9 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of/a is totally gone
> ok 10 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of/no/qualities can be statted
> ok 11 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of/no/qualities is still a directory
> ok 12 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of can be statted
> ok 13 - /tmp/tmp-438448-Ct407Cx3QqUv/i/am/a/path/of is still a directory
> 1..13
> ok 2 - remove up to a point # time=11.879ms
>
> 1..2
> # time=52.537ms
> }
>
> (node:438454) DeprecationWarning: ifError() is deprecated, use error() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 10 - test/racy-entries-eexist.js # time=55.019ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> ok 3 - made file
> 1..3
> ok 1 - xXx setup xXx # time=36.935ms
>
> # Subtest: racy removal should quit gracefully
> ok 1 - cleaned up to base
> ok 2 - got 2 removal & 1 quit message
> ok 3 - should be equal
> ok 4 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that/ends/at/a/file cannot be statted
> ok 5 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that/ends/at/a/file is totally gone
> ok 6 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that/ends/at/a can be statted
> ok 7 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that/ends/at/a is still a directory
> ok 8 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that/ends/at can be statted
> ok 9 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that/ends/at is still a directory
> ok 10 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that/ends can be statted
> ok 11 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that/ends is still a directory
> ok 12 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that can be statted
> ok 13 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path/that is still a directory
> ok 14 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path can be statted
> ok 15 - /tmp/tmp-438449-GNqsLtGanmsQ/i/am/a/path is still a directory
> ok 16 - base directory untouched
> 1..16
> ok 2 - racy removal should quit gracefully # time=11.858ms
>
> 1..2
> # time=55.019ms
> }
>
> ok 11 - test/racy-entries-enotempty.js # time=47.157ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> ok 3 - made file
> 1..3
> ok 1 - xXx setup xXx # time=35.211ms
>
> # Subtest: racy removal should quit gracefully
> ok 1 - cleaned up to base
> ok 2 - got 2 removal & 1 quit message
> ok 3 - should be equal
> ok 4 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that/ends/at/a/file cannot be statted
> ok 5 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that/ends/at/a/file is totally gone
> ok 6 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that/ends/at/a can be statted
> ok 7 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that/ends/at/a is still a directory
> ok 8 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that/ends/at can be statted
> ok 9 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that/ends/at is still a directory
> ok 10 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that/ends can be statted
> ok 11 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that/ends is still a directory
> ok 12 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that can be statted
> ok 13 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path/that is still a directory
> ok 14 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path can be statted
> ok 15 - /tmp/tmp-438454-rfr2DsfwRhYX/i/am/a/path is still a directory
> ok 16 - base directory untouched
> 1..16
> ok 2 - racy removal should quit gracefully # time=7.276ms
>
> 1..2
> # time=47.157ms
> }
>
> ok 12 - test/racy-entries.js # time=36.556ms {
> # Subtest: xXx setup xXx
> ok 1 - temp directory exists
> ok 2 - made test path
> ok 3 - made file
> 1..3
> ok 1 - xXx setup xXx # time=20.216ms
>
> # Subtest: racy removal should quit gracefully
> ok 1 - cleaned up to base
> ok 2 - got 2 removal & 1 quit message
> ok 3 - should be equal
> ok 4 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that/ends/at/a/file cannot be statted
> ok 5 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that/ends/at/a/file is totally gone
> ok 6 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that/ends/at/a can be statted
> ok 7 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that/ends/at/a is still a directory
> ok 8 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that/ends/at can be statted
> ok 9 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that/ends/at is still a directory
> ok 10 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that/ends can be statted
> ok 11 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that/ends is still a directory
> ok 12 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that can be statted
> ok 13 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path/that is still a directory
> ok 14 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path can be statted
> ok 15 - /tmp/tmp-438455-tOR4s3VL1CSv/i/am/a/path is still a directory
> ok 16 - base directory untouched
> 1..16
> ok 2 - racy removal should quit gracefully # time=10.844ms
>
> 1..2
> # time=36.556ms
> }
>
> 1..12
> # time=2055.928ms
> ERROR: Coverage for lines (78.87%) does not meet global threshold (100%)
> ERROR: Coverage for functions (88.88%) does not meet global threshold (100%)
> ERROR: Coverage for branches (74.57%) does not meet global threshold (100%)
> ERROR: Coverage for statements (72.72%) does not meet global threshold (100%)
> -----------|---------|----------|---------|---------|-----------------------------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> -----------|---------|----------|---------|---------|-----------------------------------------
> All files | 72.72 | 74.57 | 88.88 | 78.87 |
> vacuum.js | 72.72 | 74.57 | 88.88 | 78.87 | 31-34,38-39,71-74,90-93,100-101,108-109
> -----------|---------|----------|---------|---------|-----------------------------------------
> 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-fs-vacuum_1.2.10-6_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-javascript-devel
mailing list