[Pkg-javascript-devel] Bug#1009522: node-move-concurrently: FTBFS: ERROR: Coverage for branches (93.75%) does not meet global threshold (100%)

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


Source: node-move-concurrently
Version: 1.0.1-4
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/move-concurrently
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tap test
> TAP version 13
> (node:4153194) DeprecationWarning: isDeeply() is deprecated, use strictSame() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:4153194) DeprecationWarning: is() is deprecated, use equal() instead
> not ok 1 - test/integration.js # time=92.054ms
>   ---
>   env: {}
>   file: test/integration.js
>   timeout: 30000
>   command: /usr/bin/node
>   args:
>     - test/integration.js
>   stdio:
>     - 0
>     - pipe
>     - 2
>   cwd: /<<PKGBUILDDIR>>
>   exitCode: 1
>   ...
> {
>     # Subtest: setup
>         not ok 1 - t.done is not a function
>           ---
>           stack: |
>             Test.<anonymous> (test/integration.js:58:5)
>             Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40)
>             /usr/share/nodejs/libtap/lib/test.js:369:21
>             Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7)
>             Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15)
>             /usr/share/nodejs/libtap/lib/test.js:485:13
>             TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5)
>             Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14)
>           at:
>             line: 58
>             column: 5
>             file: test/integration.js
>             function: Test.<anonymous>
>           type: TypeError
>           tapCaught: testFunctionThrow
>           test: setup
>           source: |2
>               testDirContent = loadFromDir(testdir('test-dir'))
>               t.done()
>             ----^
>             })
>           ...
>         
>         1..1
>         # failed 1 test
>     not ok 1 - setup # time=33.094ms
>     
>     # Subtest: move
>         1..4
>         ok 1 - moved file content
>         ok 2 - moved symlink
>         ok 3 - moved dir symlink
>         # Subtest: moved test directory
>             ok 1 - /: type
>             ok 2 - /subdir: type
>             ok 3 - /subdir/file1.json: type
>             ok 4 - /subdir/file1.json: file string content
>             ok 5 - /subdir/file2.json: type
>             ok 6 - /subdir/file2.json: file string content
>             ok 7 - /subdir2: type
>             ok 8 - /subdir2/file2.json: type
>             ok 9 - /subdir2/file2.json: file string content
>             ok 10 - /subdir2/linky: type
>             ok 11 - /subdir2/linky: symlink destination
>             ok 12 - /subdir2/subsub: type
>             ok 13 - /subdir2/subsub/aaaa: type
>             ok 14 - /subdir2/subsub/aaaa: symlink destination
>             ok 15 - /subdir2/subsub/bbbb: type
>             ok 16 - /subdir2/subsub/zzzz.json: type
>             ok 17 - /subdir2/subsub/zzzz.json: file string content
>             not ok 18 - t.done is not a function
>               ---
>               stack: |
>                 Test.<anonymous> (/usr/share/nodejs/tacks/tap.js:5:7)
>                 Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40)
>                 /usr/share/nodejs/libtap/lib/test.js:369:21
>                 Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7)
>                 Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15)
>                 /usr/share/nodejs/libtap/lib/test.js:485:13
>                 Test.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5)
>                 Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14)
>               at:
>                 line: 5
>                 column: 7
>                 file: /usr/share/nodejs/tacks/tap.js
>                 function: Test.<anonymous>
>               type: TypeError
>               tapCaught: testFunctionThrow
>               test: moved test directory
>               source: |2
>                     compare(t, '/', actual.fixture, expected.fixture)
>                     t.done()
>                 ------^
>                   })
>                 }
>               ...
>             
>             1..18
>             # failed 1 of 18 tests
>         not ok 4 - moved test directory # time=10.648ms
>         
>         # failed 1 of 4 tests
>     not ok 2 - move # time=32.831ms
>     
>     # Subtest: cleanup
>         not ok 1 - t.done is not a function
>           ---
>           stack: |
>             Test.<anonymous> (test/integration.js:82:5)
>             Test.cb (/usr/share/nodejs/libtap/lib/test.js:127:40)
>             /usr/share/nodejs/libtap/lib/test.js:369:21
>             Test.main (/usr/share/nodejs/libtap/lib/test.js:376:7)
>             Test.runMain (/usr/share/nodejs/libtap/lib/base.js:178:15)
>             /usr/share/nodejs/libtap/lib/test.js:485:13
>             TAP.writeSubComment (/usr/share/nodejs/libtap/lib/test.js:556:5)
>             Test.<anonymous> (/usr/share/nodejs/libtap/lib/test.js:484:14)
>           at:
>             line: 82
>             column: 5
>             file: test/integration.js
>             function: Test.<anonymous>
>           type: TypeError
>           tapCaught: testFunctionThrow
>           test: cleanup
>           source: |2
>               fixture.remove(basedir)
>               t.done()
>             ----^
>             })
>           ...
>         
>         1..1
>         # failed 1 test
>     not ok 3 - cleanup # time=16.104ms
>     
>     1..3
>     # failed 3 of 3 tests
>     # time=92.054ms
> }
> 
> (node:4153195) DeprecationWarning: is() is deprecated, use equal() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> ok 2 - test/move.js # time=25.976ms {
>     # Subtest: rename
>         1..5
>         ok 1 - dest exists
>         ok 2 - dest perm error
>         ok 3 - basic rename
>         ok 4 - source missing
>         # WROTE: content
>         ok 5 - fallback to copy
>     ok 1 - rename # time=17.963ms
>     
>     1..1
>     # time=25.976ms
> }
> 
> 1..2
> # failed 1 of 2 tests
> # time=1464.358ms
> ERROR: Coverage for branches (93.75%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|-------------------
> File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
> ----------|---------|----------|---------|---------|-------------------
> All files |     100 |    93.75 |     100 |     100 |                   
>  move.js  |     100 |    93.75 |     100 |     100 | 9                 
> ----------|---------|----------|---------|---------|-------------------
> 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-move-concurrently_1.0.1-4_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