[Pkg-javascript-devel] Bug#1011861: node-des.js: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 10

Lucas Nussbaum lucas at debian.org
Thu May 26 20:10:30 BST 2022


Source: node-des.js
Version: 1.0.1-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
>    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/des.js
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha -R spec test/
> 
> 
>   DES-CBC
>     encryption/decryption
>       1) should encrypt vector 0
>       2) should encrypt vector 1
>       3) should encrypt vector 2
>       4) should encrypt vector 3
>       5) should encrypt vector 4
> 
>   DES
>     Key Derivation
>       undefined should derive proper keys
>     encryption/decryption
>       6) should encrypt vector 0
>       7) should encrypt vector 1
>       8) should encrypt vector 2
>       9) should encrypt vector 3
>       10) should encrypt vector 4
>       undefined should buffer during encryption/decryption
> 
>   DES-EDE-CBC
>     encryption/decryption
>       undefined should encrypt vector 0
>       undefined should encrypt vector 1
>       undefined should encrypt vector 2
>       undefined should encrypt vector 3
>       undefined should encrypt vector 4
> 
>   utils
>     IP
>       undefined should permute properly
>       undefined should rev-permute properly
>     PC1
>       undefined should permute properly
>     r28shl
>       undefined should shl properly
>     PC2
>       undefined should permute properly
>     readUInt32BE
>       undefined should read number properly
>     writeUInt32BE
>       undefined should read number properly
>     expand
>       undefined should expand
>       undefined should expand with low 1
>       undefined should expand with low 1
>     substitute
>       undefined should substitute
>     permute
>       undefined should permute
> 
> 
>   19 passing (49ms)
>   10 failing
> 
>   1) DES-CBC
>        encryption/decryption
>          should encrypt vector 0:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/cbc-test.js:58:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   2) DES-CBC
>        encryption/decryption
>          should encrypt vector 1:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/cbc-test.js:58:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   3) DES-CBC
>        encryption/decryption
>          should encrypt vector 2:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/cbc-test.js:58:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   4) DES-CBC
>        encryption/decryption
>          should encrypt vector 3:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/cbc-test.js:58:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   5) DES-CBC
>        encryption/decryption
>          should encrypt vector 4:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/cbc-test.js:58:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   6) DES
>        encryption/decryption
>          should encrypt vector 0:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/des-test.js:100:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   7) DES
>        encryption/decryption
>          should encrypt vector 1:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/des-test.js:100:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   8) DES
>        encryption/decryption
>          should encrypt vector 2:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/des-test.js:100:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   9) DES
>        encryption/decryption
>          should encrypt vector 3:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/des-test.js:100:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
>   10) DES
>        encryption/decryption
>          should encrypt vector 4:
>      Error: error:0308010C:digital envelope routines::unsupported
>       at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
>       at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
>       at new Cipheriv (node:internal/crypto/cipher:243:3)
>       at Object.createCipheriv (node:crypto:138:10)
>       at Context.<anonymous> (test/des-test.js:100:29)
>       at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21)
>       at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:801:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:593:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:603:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:486:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5)
>       at processImmediate (node:internal/timers:466:21)
> 
> 
> 
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 10


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/node-des.js_1.0.1-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