[Pkg-javascript-devel] Bug#1011784: node-cacache: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Thu May 26 20:09:55 BST 2022


Source: node-cacache
Version: 16.0.7+~cs8.3.7-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 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/fs-minipass -> ../fs-minipass
> Link node_modules/@gar/promisify -> ../../gar-promisify
> Link node_modules/infer-owner -> ../infer-owner
> Link node_modules/@npmcli/fs -> ../../npmcli-fs
> Link node_modules/@npmcli/move-file -> ../../npmcli-move-file
>    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
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../. node_modules/cacache
> 	/bin/sh -ex debian/tests/pkg-js/test
> + ls test/content.read.js test/content.rm.js test/content.write.chownr.js test/content.write.js test/entry-index.js test/get.js test/index.find.js test/index.insert.js test/ls.js test/memoization.js test/put.js test/rm.js test/strict.js test/util.fix-owner.js test/util.move-file.js test/util.tmp.js test/verify.js
> + grep -v test/strict
> + grep -v test/verify.js
> + grep -v test/util.tmp.js
> + grep -v+  test/util.fix-owner.js
> grep -v test/util.move-file.js
> + + grep -v test/entry-index.js
> grep -v test/content.write.js
> + pwd
> + NODE_PATH=/<<PKGBUILDDIR>>/node_modules tap -R tap --no-cov -J --bail test/content.read.js test/content.rm.js test/content.write.chownr.js test/get.js test/index.find.js test/index.insert.js test/ls.js test/memoization.js test/put.js test/rm.js
> TAP version 13
> # Subtest: test/content.read.js
>     # Subtest: read: returns a Promise with cache content data
>         ok 1 - cache contents read correctly
>         1..1
>     ok 1 - read: returns a Promise with cache content data # time=99.72ms
>     
>     # Subtest: read.sync: reads synchronously
>         ok 1 - cache contents read correctly
>         1..1
>     ok 2 - read.sync: reads synchronously # time=5.204ms
>     
>     # Subtest: read.stream: returns a stream with cache content data
>         ok 1 - stream data checks out
>         ok 2 - promise data checks out
>         1..2
>     ok 3 - read.stream: returns a stream with cache content data # time=15.205ms
>     
>     # Subtest: read: allows hashAlgorithm configuration
>         not ok 1 - error:0308010C:digital envelope routines::unsupported
>           ---
>           stack: |
>             /usr/share/nodejs/ssri/lib/index.js:336:27
>             Array.reduce (<anonymous>)
>             Object.fromData (/usr/share/nodejs/ssri/lib/index.js:335:21)
>             Test.<anonymous> (test/content.read.js:81:26)
>             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)
>           at:
>             line: 67
>             column: 19
>             file: node:internal/crypto/hash
>             constructor: true
>             function: Hash
>           opensslErrorStack:
>             - error:03000086:digital envelope routines::initialization error
>           library: digital envelope routines
>           reason: unsupported
>           code: ERR_OSSL_EVP_UNSUPPORTED
>           tapCaught: testFunctionThrow
>           test: "read: allows hashAlgorithm configuration"
>           ...
>         
>         Bail out! error:0308010C:digital envelope routines::unsupported
> Bail out! error:0308010C:digital envelope routines::unsupported
> 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/05/25/node-cacache_16.0.7+~cs8.3.7-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&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